health

package
v1.2.5 Latest Latest
Warning

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

Go to latest
Published: May 20, 2020 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Prober

type Prober interface {
	// Run means starts to run prober
	Run(ch <-chan struct{})
	// Exist tells you whether GPUManager's key is in the prober
	Exist(key string) bool
	// Set means sets a prober for the given GPUManager
	Set(key string, v *v1.GPUManager)
	// DeleteDaemonSet means remove a prober of the given GPUManager's key
	Del(key string)
}

Prober is used for probing the GPUManager instance status

func NewHealthProber

func NewHealthProber(lister gmlister.GPUManagerLister, operator operator.ObjectOperator) Prober

NewHealthProber returns a prober for GPUManager

Jump to

Keyboard shortcuts

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