package
0.2.0
Repository: https://github.com/ondat/operator-toolkit.git
Documentation: pkg.go.dev

# Packages

Package mocks is a generated GoMock package.

# Functions

CallCleanup is an OperandRunCall type function that calls the Cleanup function of a given operand.
CallEnsure is an OperandRunCall type function that calls the Ensure function and the ReadyCheck of a given operand.
StepRequeueStrategy returns the requeue strategy of a step.

# Constants

RequeueAlways is used to requeue result after every applied change.
RequeueOnError is used for requeue on error only.

# Variables

ErrNotReady is returned by operand when the ready check fails.

# Interfaces

Operand defines a single operation that's part of a composite operator.

# Type aliases

BlockingOperands stores the names of operands that are considered as blocking operands.
OperandOrder stores the operands in order of their execution.
OperandRunCall defines a function type used to define a function that returns an operand execute call.
RequeueStrategy defines the requeue strategy of an operand.