watcher

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2021 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CrashLoopBackOff           = "CrashLoopBackOff"
	ErrImagePull               = "ErrImagePull"
	ImagePullBackOff           = "ImagePullBackOff"
	CreateContainerConfigError = "CreateContainerConfigError"
	InvalidImageName           = "InvalidImageName"
	CreateContainerError       = "CreateContainerError"
)

These are the valid reason for the container waiting

View Source
const (
	Terminated         = "Terminated"
	OOMKilled          = "OOMKilled"
	Error              = "Error"
	ContainerCannotRun = "ContainerCannotRun"
	DeadlineExceeded   = "DeadlineExceeded"
)

These are the valid reason for the container terminated

Variables

This section is empty.

Functions

func Start

func Start(kubeClient *kubernetes.Clientset, metricsClient *metrics.Clientset, agentKubeClient *agentclientset.Clientset, cfg *config.Config)

Start starts watcher

func Stop

func Stop()

Stop Stops watcher

Types

This section is empty.

Jump to

Keyboard shortcuts

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