probe

package
v0.42.1 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AreProbesHealthy

func AreProbesHealthy(probes []*Probe) bool

func IsRequestKubeletProbe

func IsRequestKubeletProbe(r *http.Request) bool

Types

type Probe

type Probe struct {
	*kcore.Probe
	sync.RWMutex
	// contains filtered or unexported fields
}

func NewDefaultProbe

func NewDefaultProbe(target string, logger *zap.SugaredLogger) *Probe

func NewProbe

func NewProbe(probe *kcore.Probe, logger *zap.SugaredLogger) *Probe

func (*Probe) HasRunOnce

func (p *Probe) HasRunOnce() bool

func (*Probe) IsHealthy

func (p *Probe) IsHealthy() bool

func (*Probe) StartProbing

func (p *Probe) StartProbing() chan struct{}

Jump to

Keyboard shortcuts

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