Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CmdHealthCheck ¶
type CmdHealthCheck struct { SshContext *ssh.SSHContext Description string Cmd []string Period int Timeout int }
func (CmdHealthCheck) GetDescription ¶
func (healthCheck CmdHealthCheck) GetDescription() string
func (CmdHealthCheck) GetPeriod ¶
func (healthCheck CmdHealthCheck) GetPeriod() int
func (CmdHealthCheck) Run ¶
func (healthCheck CmdHealthCheck) Run(host Host) error
type HealthCheck ¶
type HealthChecks ¶
type HealthChecks struct { Http []HttpHealthCheck Cmd []CmdHealthCheck }
type Host ¶
type Host interface { GetName() string GetTargetHost() string GetTargetPort() int GetTargetUser() string GetHealthChecks() HealthChecks }
type HttpHealthCheck ¶
type HttpHealthCheck struct { Description string Headers map[string]string Host *string InsecureSSL bool Path string Port int Scheme string Period int Timeout int }
func (HttpHealthCheck) GetDescription ¶
func (healthCheck HttpHealthCheck) GetDescription() string
func (HttpHealthCheck) GetPeriod ¶
func (healthCheck HttpHealthCheck) GetPeriod() int
func (HttpHealthCheck) Run ¶
func (healthCheck HttpHealthCheck) Run(host Host) error
Click to show internal directories.
Click to hide internal directories.