status

package
v1.34.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2021 License: Apache-2.0 Imports: 26 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 struct {
	// contains filtered or unexported fields
}

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.

func (*Monitor) Check

func (s *Monitor) Check(ctx context.Context, out io.Writer) error

Check runs the status checks on selected resource rollouts in current skaffold dev iteration. Currently implemented for deployments.

func (*Monitor) Reset

func (s *Monitor) Reset()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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