probe

package
v0.0.0-...-7e1f343 Latest Latest
Warning

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

Go to latest
Published: May 5, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Probe

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

Probe probe.

func New

func New(log logger.AdaptedLogger) *Probe

New return *Probe.

func (*Probe) LivenessProbe

func (p *Probe) LivenessProbe(w http.ResponseWriter, r *http.Request)

LivenessProbe liveness probe.

func (*Probe) ReadinessProbe

func (p *Probe) ReadinessProbe(w http.ResponseWriter, r *http.Request)

ReadinessProbe readiness probe.

func (*Probe) SetRunning

func (p *Probe) SetRunning()

SetRunning set running.

Jump to

Keyboard shortcuts

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