Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Prober ¶
Prober is an interface that defines the Probe function for doing TCP readiness/liveness checks.
type Result ¶
type Result string
Result is a string used to handle the results for probing container readiness/liveness
func DoTCPProbe ¶
DoTCPProbe checks that a TCP socket to the address can be opened. If the socket can be opened, it returns Success If the socket fails to open, it returns Failure. This is exported because some other packages may want to do direct TCP probes.
Click to show internal directories.
Click to hide internal directories.