probes

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Implement kubernetes probes.

Index

Constants

This section is empty.

Variables

View Source
var (
	State     = state{}
	ReadyFlag = dflag.NewBool(false, "Initial readiness state")
)

Functions

func LivenessProbe

func LivenessProbe(w http.ResponseWriter, _ *http.Request)

func ReadinessProbe

func ReadinessProbe(w http.ResponseWriter, _ *http.Request)

func Setup

func Setup(mux *http.ServeMux)

func StartupProbe

func StartupProbe(w http.ResponseWriter, _ *http.Request)

Types

This section is empty.

Jump to

Keyboard shortcuts

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