watcher

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2021 License: Apache-2.0 Imports: 20 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"
	Evicted            = "Evicted"
)

These are the valid reason for the container terminated

Variables

This section is empty.

Functions

func RunOnce added in v1.6.0

func RunOnce(cfg *config.Config)

RunOnce run watcher runs e.g. serverless call

func Start

func Start(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