status

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: May 4, 2020 License: Apache-2.0 Imports: 23 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StatusCommand

func StatusCommand() *cobra.Command

Types

type CaptureIdentifiersFilter

type CaptureIdentifiersFilter struct {
	Identifiers []object.ObjMetadata
	Mapper      meta.RESTMapper
}

CaptureIdentifiersFilter implements the Filter interface in the kio package. It captures the identifiers for all resources passed through the pipeline.

func (*CaptureIdentifiersFilter) Filter

func (f *CaptureIdentifiersFilter) Filter(slice []*yaml.RNode) ([]*yaml.RNode,
	error)

type StatusRunner

type StatusRunner struct {
	IncludeSubpackages bool
	Interval           time.Duration
	Timeout            time.Duration
	PollForever        bool
	WaitForDeletion    bool
	Output             string
	Command            *cobra.Command
}

WaitRunner captures the parameters for the command and contains the run function.

func GetStatusRunner

func GetStatusRunner() *StatusRunner

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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