tasks

package
v0.0.1-dev.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 24, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeletionTask

type DeletionTask struct {
	*worker.BaseTask
	// contains filtered or unexported fields
}

DeletionTask implements the worker.Task interface for service deletion operations

func NewDeletionTask

func NewDeletionTask(
	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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL