health

package
v0.28.1 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 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 HealthzCfg

type HealthzCfg struct {
	// Max time between successful poll actions to consider cluster-controller alive
	HealthyPollIntervalLimit 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