healthcheck

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2021 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HealthCheckController

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

func NewCloudAPIHealthChecker

func NewCloudAPIHealthChecker(
	podLister registry.PodLister,
	cloudClient cloud.CloudClient,
	checkInterval time.Duration,
	unhealthyTimeout time.Duration) *HealthCheckController

func NewStatusHealthChecker

func NewStatusHealthChecker(
	podLister registry.PodLister,
	nodeLister registry.NodeLister,
	nodeClientFactory nodeclient.ItzoClientFactoryer,
	checkInterval time.Duration,
	unhealthyTimeout time.Duration) *HealthCheckController

func (*HealthCheckController) ClearLastStatusTime

func (c *HealthCheckController) ClearLastStatusTime(podName string)

func (*HealthCheckController) LastStatusTime

func (c *HealthCheckController) LastStatusTime(podName string) (time.Time, bool)

func (*HealthCheckController) SetLastStatusTime

func (c *HealthCheckController) SetLastStatusTime(podName string)

func (*HealthCheckController) Start

func (c *HealthCheckController) Start()

func (*HealthCheckController) TerminatePodsChan

func (c *HealthCheckController) TerminatePodsChan() <-chan *api.Pod

Jump to

Keyboard shortcuts

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