Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Specification ¶
type Specification struct { BindAddress string `default:"localhost"` MetalAPIURL string `default:"http://localhost:8080" envconfig:"metal_api_url"` Port int `default:"2222"` HMACKey string `default:"" envconfig:"hmac_key"` PublicKey string `default:"" split_words:"true"` BmcReverseProxyAddress string `default:"" split_words:"true"` AdminGroupName string `default:"maas-all-all-admin" envconfig:"admin_group_name" split_words:"true"` }
Specification configures the application via environment.
func (*Specification) DevMode ¶
func (s *Specification) DevMode() bool
Click to show internal directories.
Click to hide internal directories.