Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeletionTask ¶
DeletionTask implements the worker.Task interface for service deletion operations
func NewDeletionTask ¶
func NewDeletionTask( taskID string, service *types.Service, request *types.DeletionRequest, finalizerTypes []types.FinalizerType, finalizerExecutor *finalizers.FinalizerExecutor, store store.Store, logger log.Logger, ) *DeletionTask
NewDeletionTask creates a new deletion task. When taskID is non-empty it must match the DeletionOperation ID stored by the service controller.
func (*DeletionTask) Execute ¶
func (dt *DeletionTask) Execute(ctx context.Context) error
Execute implements the worker.Task interface
func (*DeletionTask) Validate ¶
func (dt *DeletionTask) Validate() error
Validate implements the worker.Task interface
Click to show internal directories.
Click to hide internal directories.