Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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.
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.