healthz

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: May 28, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Check

type Check struct {
	// contains filtered or unexported fields
}

Check holds a single check of a readiness probe

func (*Check) Set

func (c *Check) Set(ready bool)

type Healthz

type Healthz struct {
	// contains filtered or unexported fields
}

Healthz is used to maintain and expose a readiness probe

func New

func New() *Healthz

func (*Healthz) Check

func (h *Healthz) Check(_ *http.Request) error

func (*Healthz) Register

func (h *Healthz) Register() *Check

Register will add another check to the healthz list

Jump to

Keyboard shortcuts

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