globalhookwaitkubernetessynchronization

package
v1.7.3 Latest Latest
Warning

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

Go to latest
Published: May 7, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterTaskHandler

func RegisterTaskHandler(svc TaskDependencies) func(t sh_task.Task, logger *log.Logger) task.Task

RegisterTaskHandler creates a factory function for global hook wait kubernetes synchronization tasks

Types

type Task

type Task struct {
	// contains filtered or unexported fields
}

Task handles waiting for kubernetes synchronization for global hooks

func NewTask

func NewTask(
	shellTask sh_task.Task,
	moduleManager *module_manager.ModuleManager,
	logger *log.Logger,
) *Task

NewTask creates a new task handler for global hook wait kubernetes synchronization

func (*Task) Handle

func (s *Task) Handle(_ context.Context) queue.TaskResult

type TaskDependencies

type TaskDependencies interface {
	GetModuleManager() *module_manager.ModuleManager
}

TaskDependencies defines the interface for accessing necessary components

Jump to

Keyboard shortcuts

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