Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServerConfiguration ¶
type ServerConfiguration struct { Core struct { LogLevel string `yaml:"logLevel"` ListenPort int `yaml:"listenPort"` LogFile string `yaml:"logFile"` WorkflowSteps string `yaml:"workflowSteps"` WorkflowEntriesFile string `yaml:"workflowEntriesFile"` WorkflowActivityLauncherInterval time.Duration `yaml:"workflowActivityLauncherInterval"` WorkflowHousekeeperInterval time.Duration `yaml:"workflowHousekeeperInterval"` ServiceWIPTimeout time.Duration `yaml:"serviceWIPTimeout"` ServiceMaxLastUpdated time.Duration `yaml:"serviceMaxLastUpdated"` CleanUndeployedServiceAfter time.Duration `yaml:"cleanUndeployedServiceAfter"` } `yaml:"core"` Provider struct { Swarm *swarm.Provider `yaml:"swarm"` Kubernetes *kubernetes.Extension `yaml:"kubernetes"` } `yaml:"provider"` IPAM struct { IPAlloc *ipalloc.IPAlloc `yaml:"ipalloc"` } `yaml:"ipam"` DNS struct { Consul *consul.Consul `yaml:"consul"` } `yaml:"dns"` LB struct { KempLM *kemplm.KempLM `yaml:"kemplm"` F5LTM *f5ltm.BigIP `yaml:"f5ltm"` } `yaml:"lb"` }
ServerConfiguration holds the configuration This includes all the providers and extensions
func ReadConfig ¶
func ReadConfig(filename string) (*ServerConfiguration, error)
ReadConfig parse the configuration
Click to show internal directories.
Click to hide internal directories.