Documentation
¶
Overview ¶
Package waiter watches API objects until they reach a desired state, showing the progress with a spinner.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResultFunc ¶
ResultFunc is the function called on a watch event during a wait. It should return true whenever the wait can be considered done.
type Stage ¶
type Stage struct {
Kind string
WaitMessage *Message
DoneMessage *Message
ObjectList runtimeclient.ObjectList
ListOpts []runtimeclient.ListOption
OnResult ResultFunc
DisableSpinner bool
// BeforeWait is a hook that is called just before the wait is being run.
BeforeWait func()
// AfterWait is a hook that is called after the wait to clean up.
AfterWait func()
// contains filtered or unexported fields
}
Stage is a single wait for an object list watch to report a desired state.
Click to show internal directories.
Click to hide internal directories.