quiesce

package
v0.1.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	DefaultPollInterval = 1 * time.Second
	DefaultPollTimeout  = 60 * time.Second
)

Variables

This section is empty.

Functions

func NewCommand

func NewCommand(client *client.Client) *cobra.Command

Types

type QuiesceOptions

type QuiesceOptions struct {
	Name string
	Wait bool
}

func (*QuiesceOptions) BindFlags

func (q *QuiesceOptions) BindFlags(flags *pflag.FlagSet, c *cobra.Command)

func (*QuiesceOptions) Run

func (q *QuiesceOptions) Run(kubeclient *client.Client) error

func (*QuiesceOptions) Validate

func (q *QuiesceOptions) Validate(command *cobra.Command, kubeclient *client.Client) error

Jump to

Keyboard shortcuts

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