Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHTTPHealth ¶
GetHTTPHealth get http health
func GetShellHealth ¶
Types ¶
type HttpProbe ¶
type ShellProbe ¶
type ShellProbe struct { Name string Address string ResultsChan chan *service.HealthStatus Ctx context.Context Cancel context.CancelFunc TimeInterval int HostNode *client.HostNode MaxErrorsNum int }
func (*ShellProbe) Check ¶
func (h *ShellProbe) Check()
func (*ShellProbe) ShellCheck ¶
func (h *ShellProbe) ShellCheck()
func (*ShellProbe) Stop ¶
func (h *ShellProbe) Stop()
Click to show internal directories.
Click to hide internal directories.