controllers

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2025 License: MulanPSL-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandReconciler

type CommandReconciler struct {
	client.Client
	APIReader client.Reader
	Scheme    *runtime.Scheme
	Ctx       context.Context
	Job       job.Job
	NodeName  string
	NodeIP    string
}

CommandReconciler reconciles a Command object

func (*CommandReconciler) Reconcile

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

Reconcile command

func (*CommandReconciler) SetupWithManager

func (r *CommandReconciler) 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