wait

package
v0.1.53 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2021 License: Apache-2.0 Imports: 11 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 {
	secretfacade.Options

	Timeout    time.Duration
	PollPeriod time.Duration
	Results    []*secretfacade.SecretError
	// contains filtered or unexported fields
}

Options the options for the command

func NewCmdWait

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

NewCmdWait creates a command object for the command

func (*Options) Matches

func (o *Options) Matches(r *secretfacade.SecretPair) bool

Matches returns true if the given secret pair matches the predicate

func (*Options) Run

func (o *Options) Run() error

Run implements the command

func (*Options) WaitCheck

func (o *Options) WaitCheck() (bool, error)

Run implements the command

Jump to

Keyboard shortcuts

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