Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var InvalidDelay = errors.New("WriteReadDelay must be less than the PollFrequency")
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { PidFile string `yaml:"PidFile" validate:"nonzero"` Logger lager.Logger MySQL MySQL `yaml:"MySQL" validate:"nonzero"` Canary Canary `yaml:"Canary" validate:"nonzero"` Notifications Notifications `yaml:"Notifications" validate:"nonzero"` Switchboard Switchboard `yaml:"Switchboard" validate:"nonzero"` WriteReadDelay int `yaml:"WriteReadDelay" validate:"nonzero"` PollFrequency int `yaml:"PollFrequency" validate:"nonzero,min=1"` NotifyOnly bool `yaml:"NotifyOnly"` SkipSSLValidation bool `yaml:"SkipSSLValidation"` APIPort uint `yaml:"APIPort"` }
type Notifications ¶
type Notifications struct { AdminClientUsername string `yaml:"AdminClientUsername" validate:"nonzero"` AdminClientSecret string `yaml:"AdminClientSecret" validate:"nonzero"` ClientUsername string `yaml:"ClientUsername" validate:"nonzero"` ClientSecret string `yaml:"ClientSecret" validate:"nonzero"` NotificationsDomain string `yaml:"NotificationsDomain" validate:"nonzero"` UAADomain string `yaml:"UAADomain" validate:"nonzero"` ToAddress string `yaml:"ToAddress" validate:"nonzero"` SystemDomain string `yaml:"SystemDomain" validate:"nonzero"` ClusterIdentifier string `yaml:"ClusterIdentifier" validate:"nonzero"` }
type Switchboard ¶
Click to show internal directories.
Click to hide internal directories.