exthealth

package
v1.8.22 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: MIT Imports: 11 Imported by: 22

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetAlive added in v1.8.15

func SetAlive(alive bool)

SetAlive sets the liveness state of the service. If the service is not alive the liveness probe will report an error and the container should restart.

func SetReady

func SetReady(ready bool)

SetReady sets the readiness state of the service. If the service is not ready the readiness probe will report an error.

func StartProbes added in v1.7.8

func StartProbes(port int)

StartProbes will start liveness and readiness probes.

func StopProbes added in v1.8.15

func StopProbes()

Types

type HealthSpecification added in v1.7.9

type HealthSpecification struct {
	Port int `json:"port" split_words:"true" required:"false"`
}

Jump to

Keyboard shortcuts

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