probes

package
v0.0.0-...-cafa37b Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2024 License: Apache-2.0 Imports: 1 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HandleFunc

type HandleFunc func() error

type ProbeKind

type ProbeKind int
const (
	ReadinessProbe ProbeKind = iota
	LivenessProbe
)

type Probes

type Probes interface {
	Start(ctx context.Context) error
	RegisterCheck(name string, kind ProbeKind, fn HandleFunc) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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