Documentation ¶
Index ¶
- func InitConfig(configFile string, config *EdgeCloudConfig)
- func PrintMinConfigAndExitIfRequested(config interface{})
- type AiArtsAuthConfig
- type AuthConfig
- type CloudHubConfig
- type ClusterConfig
- type DbConfig
- type EdgeCloudConfig
- type HttpConfig
- type ImageConfig
- type LogConfig
- type PortalConfig
- type WebsocketConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitConfig ¶
func InitConfig(configFile string, config *EdgeCloudConfig)
func PrintMinConfigAndExitIfRequested ¶
func PrintMinConfigAndExitIfRequested(config interface{})
Types ¶
type AiArtsAuthConfig ¶
type AiArtsAuthConfig struct {
Key string
}
type AuthConfig ¶
type AuthConfig struct { AuthType string AiArtsAuth AiArtsAuthConfig }
type CloudHubConfig ¶
type CloudHubConfig struct {
Websocket WebsocketConfig
}
type ClusterConfig ¶
type EdgeCloudConfig ¶
type EdgeCloudConfig struct { DebugModel bool Portal PortalConfig ContainerImage ImageConfig CloudHub CloudHubConfig Log LogConfig Db DbConfig Authentication AuthConfig Clusters []ClusterConfig }
func NewMinCloudConfig ¶
func NewMinCloudConfig() *EdgeCloudConfig
NewMinCloudCoreConfig returns a min ClusterConfig object
type HttpConfig ¶
type ImageConfig ¶
type ImageConfig struct {
ImageCheckerInterval int32
}
type PortalConfig ¶
type PortalConfig struct { NodeCheckerInterval int32 ApplicationCheckerInterval int32 Http HttpConfig }
type WebsocketConfig ¶
Click to show internal directories.
Click to hide internal directories.