Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetAlive ¶ added in v1.8.15
func SetAlive(alive bool)
SetAlive sets the liveness state of the service. If the service is not alive the liveness probe will report an error and the container should restart.
func SetReady ¶
func SetReady(ready bool)
SetReady sets the readiness state of the service. If the service is not ready the readiness probe will report an error.
func StartProbes ¶ added in v1.7.8
func StartProbes(port int)
StartProbes will start liveness and readiness probes.
func StopProbes ¶ added in v1.8.15
func StopProbes()
Types ¶
type HealthSpecification ¶ added in v1.7.9
type HealthSpecification struct {
Port int `json:"port" split_words:"true" required:"false"`
}
Click to show internal directories.
Click to hide internal directories.