Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithCondition ¶
WithCondition sets the condition.Satisfier used by the Awaiter. This is required and determines when Await can conclude.
func WithLogger ¶
func WithLogger(l logger) awaiterOption
WithLogger uses the provided logger. If not provided stdout is used.
func WithNamespace ¶
func WithNamespace(ns string) awaiterOption
WithNamespace configures the namespace used by Informers spawned by the Awaiter.
func WithObservers ¶
WithObservers attaches optional condition.Observers to the Awaiter. This enables reporting informational messages while waiting for the condition to be met.
Types ¶
type Awaiter ¶
type Awaiter struct {
// contains filtered or unexported fields
}
Awaiter orchestrates a condition Satisfier and optional Observers.
func NewAwaiter ¶
NewAwaiter creates a new Awaiter with the given options.
Click to show internal directories.
Click to hide internal directories.