controller

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2025 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PhaseQueued       = "PHASE_QUEUED"
	PhaseInitializing = "PHASE_INITIALIZING"
	PhaseRunning      = "PHASE_RUNNING"
	PhaseSucceeded    = "PHASE_SUCCEEDED"
	PhaseFailed       = "PHASE_FAILED"
	PhaseAborted      = "PHASE_ABORTED"
)

Phase constants

Variables

This section is empty.

Functions

This section is empty.

Types

type TaskActionReconciler

type TaskActionReconciler struct {
	client.Client
	Scheme          *runtime.Scheme
	StateServiceURL string
	// 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