probe

package
v0.0.0-...-0eceb23 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 9, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// HTTPReadyzEndpoint is the endpoint at which the readiness probe is supported
	HTTPReadyzEndpoint = "/readyz"
)

Variables

This section is empty.

Functions

func ReadyzHandler

func ReadyzHandler(w http.ResponseWriter, r *http.Request)

ReadyzHandler writes back the HTTP status code 200 if the operator is ready, and 500 otherwise

func SetReady

func SetReady()

SetReady sets the ready condition to true, which causes the handler to respond with an OK status to readiness probes

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL