|
@@ -32,48 +32,48 @@ type EnvironmentConfig struct {
|
|
|
|
|
|
// ServerConfig - server conf struct
|
|
// ServerConfig - server conf struct
|
|
type ServerConfig struct {
|
|
type ServerConfig struct {
|
|
- CoreDNSAddr string `yaml:"corednsaddr"`
|
|
|
|
- APIConnString string `yaml:"apiconn"`
|
|
|
|
- APIHost string `yaml:"apihost"`
|
|
|
|
- APIPort string `yaml:"apiport"`
|
|
|
|
- Broker string `yam:"broker"`
|
|
|
|
- ServerBrokerEndpoint string `yaml:"serverbrokerendpoint"`
|
|
|
|
- BrokerType string `yaml:"brokertype"`
|
|
|
|
- EmqxRestEndpoint string `yaml:"emqxrestendpoint"`
|
|
|
|
- MasterKey string `yaml:"masterkey"`
|
|
|
|
- DNSKey string `yaml:"dnskey"`
|
|
|
|
- AllowedOrigin string `yaml:"allowedorigin"`
|
|
|
|
- NodeID string `yaml:"nodeid"`
|
|
|
|
- RestBackend string `yaml:"restbackend"`
|
|
|
|
- MessageQueueBackend string `yaml:"messagequeuebackend"`
|
|
|
|
- DNSMode string `yaml:"dnsmode"`
|
|
|
|
- DisableRemoteIPCheck string `yaml:"disableremoteipcheck"`
|
|
|
|
- Version string `yaml:"version"`
|
|
|
|
- SQLConn string `yaml:"sqlconn"`
|
|
|
|
- Platform string `yaml:"platform"`
|
|
|
|
- Database string `yaml:"database"`
|
|
|
|
- Verbosity int32 `yaml:"verbosity"`
|
|
|
|
- AuthProvider string `yaml:"authprovider"`
|
|
|
|
- OIDCIssuer string `yaml:"oidcissuer"`
|
|
|
|
- ClientID string `yaml:"clientid"`
|
|
|
|
- ClientSecret string `yaml:"clientsecret"`
|
|
|
|
- FrontendURL string `yaml:"frontendurl"`
|
|
|
|
- DisplayKeys string `yaml:"displaykeys"`
|
|
|
|
- AzureTenant string `yaml:"azuretenant"`
|
|
|
|
- Telemetry string `yaml:"telemetry"`
|
|
|
|
- HostNetwork string `yaml:"hostnetwork"`
|
|
|
|
- Server string `yaml:"server"`
|
|
|
|
- PublicIPService string `yaml:"publicipservice"`
|
|
|
|
- MQPassword string `yaml:"mqpassword"`
|
|
|
|
- MQUserName string `yaml:"mqusername"`
|
|
|
|
- MetricsExporter string `yaml:"metrics_exporter"`
|
|
|
|
- BasicAuth string `yaml:"basic_auth"`
|
|
|
|
- LicenseValue string `yaml:"license_value"`
|
|
|
|
- NetmakerAccountID string `yaml:"netmaker_account_id"`
|
|
|
|
- IsEE string `yaml:"is_ee"`
|
|
|
|
- StunPort int `yaml:"stun_port"`
|
|
|
|
- StunHost string `yaml:"stun_host"`
|
|
|
|
- Proxy string `yaml:"proxy"`
|
|
|
|
|
|
+ CoreDNSAddr string `yaml:"corednsaddr"`
|
|
|
|
+ APIConnString string `yaml:"apiconn"`
|
|
|
|
+ APIHost string `yaml:"apihost"`
|
|
|
|
+ APIPort string `yaml:"apiport"`
|
|
|
|
+ Broker string `yam:"broker"`
|
|
|
|
+ ServerBrokerEndpoint string `yaml:"serverbrokerendpoint"`
|
|
|
|
+ BrokerType string `yaml:"brokertype"`
|
|
|
|
+ EmqxRestEndpoint string `yaml:"emqxrestendpoint"`
|
|
|
|
+ MasterKey string `yaml:"masterkey"`
|
|
|
|
+ DNSKey string `yaml:"dnskey"`
|
|
|
|
+ AllowedOrigin string `yaml:"allowedorigin"`
|
|
|
|
+ NodeID string `yaml:"nodeid"`
|
|
|
|
+ RestBackend string `yaml:"restbackend"`
|
|
|
|
+ MessageQueueBackend string `yaml:"messagequeuebackend"`
|
|
|
|
+ DNSMode string `yaml:"dnsmode"`
|
|
|
|
+ DisableRemoteIPCheck string `yaml:"disableremoteipcheck"`
|
|
|
|
+ Version string `yaml:"version"`
|
|
|
|
+ SQLConn string `yaml:"sqlconn"`
|
|
|
|
+ Platform string `yaml:"platform"`
|
|
|
|
+ Database string `yaml:"database"`
|
|
|
|
+ Verbosity int32 `yaml:"verbosity"`
|
|
|
|
+ AuthProvider string `yaml:"authprovider"`
|
|
|
|
+ OIDCIssuer string `yaml:"oidcissuer"`
|
|
|
|
+ ClientID string `yaml:"clientid"`
|
|
|
|
+ ClientSecret string `yaml:"clientsecret"`
|
|
|
|
+ FrontendURL string `yaml:"frontendurl"`
|
|
|
|
+ DisplayKeys string `yaml:"displaykeys"`
|
|
|
|
+ AzureTenant string `yaml:"azuretenant"`
|
|
|
|
+ Telemetry string `yaml:"telemetry"`
|
|
|
|
+ HostNetwork string `yaml:"hostnetwork"`
|
|
|
|
+ Server string `yaml:"server"`
|
|
|
|
+ PublicIPService string `yaml:"publicipservice"`
|
|
|
|
+ MQPassword string `yaml:"mqpassword"`
|
|
|
|
+ MQUserName string `yaml:"mqusername"`
|
|
|
|
+ MetricsExporter string `yaml:"metrics_exporter"`
|
|
|
|
+ BasicAuth string `yaml:"basic_auth"`
|
|
|
|
+ LicenseValue string `yaml:"license_value"`
|
|
|
|
+ NetmakerAccountID string `yaml:"netmaker_account_id"`
|
|
|
|
+ IsEE string `yaml:"is_ee"`
|
|
|
|
+ StunPort int `yaml:"stun_port"`
|
|
|
|
+ StunList string `yaml:"stun_list"`
|
|
|
|
+ Proxy string `yaml:"proxy"`
|
|
}
|
|
}
|
|
|
|
|
|
// SQLConfig - Generic SQL Config
|
|
// SQLConfig - Generic SQL Config
|