waiter

package
v0.0.4-rc6 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureActive

func EnsureActive(ctx *clicontext.CLIContext, objs ...*types.Resource) error

func WaitCommand

func WaitCommand() cli.Command

func WaitFor

func WaitFor(ctx *clicontext.CLIContext, objs ...*types.Resource) error

Types

type ResourceID

type ResourceID string

func NewResourceID

func NewResourceID(resourceType, id string) ResourceID

func (ResourceID) ID

func (r ResourceID) ID() string

func (ResourceID) Type

func (r ResourceID) Type() string

type Waiter

type Waiter struct {
	// contains filtered or unexported fields
}

func NewWaiter

func NewWaiter(ctx *clicontext.CLIContext) (*Waiter, error)

func (*Waiter) Add

func (w *Waiter) Add(resources ...*types.Resource) *Waiter

func (*Waiter) Wait

func (w *Waiter) Wait(ctx context.Context) error

Jump to

Keyboard shortcuts

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