status

package
v1.24.2 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2022 License: Apache-2.0 Imports: 20 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 Checker

type Checker interface {
	Check(context.Context, io.Writer) error
}

Checker waits for the application to be totally deployed.

func NewStatusChecker

func NewStatusChecker(cfg Config, labeller *label.DefaultLabeller) Checker

NewStatusChecker returns a status checker which runs checks on deployments and pods.

type Config

type Config interface {
	kubectl.Config

	GetNamespaces() []string
	StatusCheckDeadlineSeconds() int
	Muted() config.Muted
}

Jump to

Keyboard shortcuts

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