controller

package
v2.0.7 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2026 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TaskActionDefaultRequeueDuration = 5 * time.Second
)

Variables

This section is empty.

Functions

This section is empty.

Types

type K8sEventType added in v2.0.1

type K8sEventType string
const (
	FailedUnmarshal     K8sEventType = "FailedUnmarshal"
	FailedPluginResolve K8sEventType = "FailedPluginResolve"
	FailedPluginHandle  K8sEventType = "FailedPluginHandle"
)

type TaskActionReconciler

type TaskActionReconciler struct {
	client.Client
	Scheme          *runtime.Scheme
	Recorder        record.EventRecorder
	PluginRegistry  *plugin.Registry
	DataStore       *storage.DataStore
	SecretManager   pluginsCore.SecretManager
	ResourceManager pluginsCore.ResourceManager
	CatalogClient   catalog.AsyncClient
}

TaskActionReconciler reconciles a TaskAction object

func NewTaskActionReconciler

func NewTaskActionReconciler(
	c client.Client,
	scheme *runtime.Scheme,
	registry *plugin.Registry,
	dataStore *storage.DataStore,
) *TaskActionReconciler

NewTaskActionReconciler creates a new TaskActionReconciler

func (*TaskActionReconciler) Reconcile

func (r *TaskActionReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

func (*TaskActionReconciler) SetupWithManager

func (r *TaskActionReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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