status

package
v1.28.1 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 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 pods and deployments

func NewStatusMonitor

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

NewStatusMonitor returns a status monitor which runs checks on deployments and pods.

func (*Monitor) Check

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

Check runs the status checks on deployments and pods deployed in current skaffold dev iteration.

func (*Monitor) Reset

func (s *Monitor) Reset()

Jump to

Keyboard shortcuts

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