controller

package
v2.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2026 License: Apache-2.0 Imports: 21 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type K8sEventType added in v2.0.1

type K8sEventType string
const (
	TaskActionDefaultRequeueDuration              = 5 * time.Second
	FailedUnmarshal                  K8sEventType = "FailedUnmarshal"
)

type TaskActionReconciler

type TaskActionReconciler struct {
	client.Client
	Scheme          *runtime.Scheme
	StateServiceURL string

	Recorder record.EventRecorder
	// contains filtered or unexported fields
}

TaskActionReconciler reconciles a TaskAction object

func NewTaskActionReconciler

func NewTaskActionReconciler(c client.Client, scheme *runtime.Scheme, stateServiceURL string) *TaskActionReconciler

NewTaskActionReconciler creates a new TaskActionReconciler with initialized clients

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