Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { CfDeploymentName string `env:"CF_DEPLOYMENT_NAME" envDefault:"cf-"` EtcdJobName string `env:"ETCD_JOB_NAME" envDefault:"etcd_server"` SSLEnabled bool `env:"SSL_ENABLED" envDefault:"false"` SkipSSLVerification bool `env:"SKIP_SSL_VERIFICATION" envDefault:"false"` }
Config struct
type Controller ¶
Controller struct
func CreateController ¶
func CreateController(boshClient *gogobosh.Client, etcdHTTPClient *http.Client) *Controller
CreateController - returns a populated controller object
func (*Controller) CheckLeaders ¶
func (c *Controller) CheckLeaders(w http.ResponseWriter, r *http.Request)
CheckLeaders - checks if leaders are in a healthy state
Click to show internal directories.
Click to hide internal directories.