Documentation ¶
Index ¶
Constants ¶
View Source
const ( UserAgent = "HealthChecker/webhook-tester" Route = "/healthz" Method = http.MethodGet )
Variables ¶
This section is empty.
Functions ¶
func NewCommand ¶
func NewCommand(defaultHttpPort uint16) *cli.Command
NewCommand creates `healthcheck` command.
Types ¶
type HealthChecker ¶
type HealthChecker struct {
// contains filtered or unexported fields
}
HealthChecker is a heals checker.
func NewHealthChecker ¶
func NewHealthChecker(client ...httpClient) *HealthChecker
NewHealthChecker creates heals checker.
Click to show internal directories.
Click to hide internal directories.