Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ready ¶
type Ready interface {
// Set ensures that future readiness/liveness probes will indicate that
// the controller is ready.
Set() error
// Unset ensures that future readiness/liveness probes will indicate
// that the controller is not ready.
Unset() error
}
Ready holds state about whether the controller is ready and communicates that to a Kubernetes readiness/liveness probe.
func NewFileReady ¶
NewFileReady returns a Ready that uses the presence of a file on disk to communicate whether the controller is ready.
Click to show internal directories.
Click to hide internal directories.