Versions in this module Expand all Collapse all v1 v1.0.0 Apr 25, 2023 Changes in this version + var MissingHandlerResourcesErr = errors.New("missing handler resources, cannot perform handling") + var OperationNotReadyErr = errors.New("operation not ready yet") + type ExecuteResult struct + func (r ExecuteResult) Add(op Operation) ExecuteResult + func (r ExecuteResult) AddWithErr(op Operation, err error) ExecuteResult + func (r ExecuteResult) Error() error + func (r ExecuteResult) Errored() bool + func (r ExecuteResult) Name() string + func (r ExecuteResult) NotReady() bool + func (r ExecuteResult) Object() client.Object + func (r ExecuteResult) ProcessingOps() []string + func (r ExecuteResult) Ready() bool + func (r ExecuteResult) Skipped() bool + type Executor struct + CreateFunc func(ctx context.Context, obj T) error + FetchFunc func(ctx context.Context, obj T) error + IsReady func(ctx context.Context, obj T) bool + Name string + UpdateFunc func(ctx context.Context, obj T) (bool, error) + func NopExecutor[T client.Object](name string) Executor[T] + func (h *Executor[T]) Execute(ctx context.Context, obj T) ExecuteResult + type Operation int + const Check + const Create + const Fetch + const Skip + const Update + func (o Operation) String() string