status

package
v1.35.1-aplha Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2021 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// DefaultStatusCheckDeadline is the default timeout for resource status checks
	DefaultStatusCheckDeadline = 10 * time.Minute
)

Functions

This section is empty.

Types

type Config

type Config interface {
	kubectl.Config

	StatusCheckDeadlineSeconds() int
	Muted() config.Muted
	StatusCheck() *bool
}

type Monitor

type Monitor interface {
	status.Monitor
	RegisterDeployManifests(manifest.ManifestList)
}

Monitor runs status checks for selected resources

func NewStatusMonitor

func NewStatusMonitor(cfg Config, labeller *label.DefaultLabeller, namespaces *[]string) Monitor

NewStatusMonitor returns a status monitor which runs checks on selected resource rollouts. Currently implemented for deployments and statefulsets.

type NoopMonitor added in v1.34.1

type NoopMonitor struct {
	status.NoopMonitor
}

func (*NoopMonitor) RegisterDeployManifests added in v1.34.1

func (n *NoopMonitor) RegisterDeployManifests(manifest.ManifestList)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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