wait

package
v0.1.19 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	PodName            string
	Namespace          string
	WaitDuration       time.Duration
	PollPeriod         time.Duration
	NoEditorWait       bool
	CommandRunner      cmdrunner.CommandRunner
	QuietCommandRunner cmdrunner.CommandRunner
	KubeClient         kubernetes.Interface
	Start              time.Time
}

Options the options for the command

func NewCmdWait

func NewCmdWait() (*cobra.Command, *Options)

NewCmdWait creates a command object for the command

func (*Options) AddFlags

func (o *Options) AddFlags(cmd *cobra.Command)

AddFlags adds the options flags to the command

func (*Options) Run

func (o *Options) Run() error

Run implements the command

func (*Options) Validate

func (o *Options) Validate() error

Validate validates the setup

Jump to

Keyboard shortcuts

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