waiter

package
v0.0.3-rc6 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WaitCommand

func WaitCommand() cli.Command

func WaitFor

func WaitFor(ctx *server.Context, resource *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 *server.Context) (*Waiter, error)

func (*Waiter) Add

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

func (*Waiter) Wait

func (w *Waiter) Wait() error

Jump to

Keyboard shortcuts

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