package
0.36.0-flux.9
Repository: https://github.com/fluxcd/cli-utils.git
Documentation: pkg.go.dev

# Functions

NewTaskContext returns a new TaskContext.
NewTaskStatusRunner returns a new TaskStatusRunner.
NewWaitTask creates a new wait task where we will wait until the resources specifies by ids all meet the specified condition.

# Constants

AllCurrent Condition means all the provided resources has reached (and remains in) the Current status.
AllNotFound Condition means all the provided resources has reached the NotFound status, i.e.

# Structs

Options defines properties that is passed along to the statusPoller.
TaskContext defines a context that is passed between all the tasks that is in a taskqueue.
TaskResult is the type returned from tasks once they have completed or failed.
TaskStatusRunner is a taskRunner that executes a set of tasks while at the same time uses the statusPoller to keep track of the status of the resources.
WaitTask is an implementation of the Task interface that is used to wait for a set of resources (identified by a slice of ObjMetadata) will all meet the condition specified.

# Interfaces

Task is the interface that must be implemented by all tasks that will be executed by the taskrunner.

# Type aliases

Condition is a type that defines the types of conditions which a WaitTask can use.