health

package
v0.42.1 Latest Latest
Warning

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

Go to latest
Published: May 30, 2024 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 HealthzCfg

type HealthzCfg struct {
	// Max time between successful poll actions to consider cluster-controller alive
	HealthyPollIntervalLimit time.Duration
	// Max wait time for application to start
	StartTimeLimit time.Duration
}

type HealthzProvider

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

func NewHealthzProvider

func NewHealthzProvider(cfg HealthzCfg, log logrus.FieldLogger) *HealthzProvider

func (*HealthzProvider) ActionPoll

func (h *HealthzProvider) ActionPoll()

func (*HealthzProvider) Check

func (h *HealthzProvider) Check(_ *http.Request) (err error)

func (*HealthzProvider) Initializing

func (h *HealthzProvider) Initializing()

func (*HealthzProvider) Name

func (h *HealthzProvider) Name() string

Jump to

Keyboard shortcuts

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