controller

package
v0.1.64 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: MIT Imports: 23 Imported by: 0

README

Kubebuilder controllers

  • CRD reconciliation loop

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SignalEventHandler added in v0.1.32

type SignalEventHandler struct{}

func (SignalEventHandler) Create added in v0.1.32

func (SignalEventHandler) Delete added in v0.1.32

func (SignalEventHandler) Generic added in v0.1.32

func (SignalEventHandler) Update added in v0.1.32

type TinyModuleReconciler

type TinyModuleReconciler struct {
	client.Client
	Scheme     *runtime.Scheme
	Module     module.Info
	ClientPool clientpool.Pool
}

TinyModuleReconciler reconciles a TinyModule object

func (*TinyModuleReconciler) Reconcile

func (r *TinyModuleReconciler) 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. TODO(user): Modify the Reconcile function to compare the state specified by the TinyModule object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.15.0/pkg/reconcile

func (*TinyModuleReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type TinyNodeReconciler

type TinyNodeReconciler struct {
	client.Client
	Scheme    *runtime.Scheme
	Recorder  record.EventRecorder
	Scheduler scheduler.Scheduler
	Module    module.Info
}

TinyNodeReconciler reconciles a TinyNode object

func (*TinyNodeReconciler) Reconcile

func (r *TinyNodeReconciler) 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. TODO(user): Modify the Reconcile function to compare the state specified by the TinyNode object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.15.0/pkg/reconcile

func (*TinyNodeReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type TinySignalReconciler added in v0.1.30

type TinySignalReconciler struct {
	client.Client
	Scheme    *runtime.Scheme
	Scheduler scheduler.Scheduler
	Module    module.Info
}

TinySignalReconciler reconciles a TinySignal object

func (*TinySignalReconciler) Reconcile added in v0.1.30

func (r *TinySignalReconciler) 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. TODO(user): Modify the Reconcile function to compare the state specified by the TinySignal object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.15.0/pkg/reconcile

func (*TinySignalReconciler) SetupWithManager added in v0.1.30

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

SetupWithManager sets up the controller with the Manager.

type TinyTrackerReconciler

type TinyTrackerReconciler struct {
	client.Client
	Scheme  *runtime.Scheme
	Manager tracker.Manager
}

TinyTrackerReconciler reconciles a TinyTracker object

func (*TinyTrackerReconciler) Reconcile

func (r *TinyTrackerReconciler) 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. TODO(user): Modify the Reconcile function to compare the state specified by the TinyTracker object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.15.0/pkg/reconcile

func (*TinyTrackerReconciler) SetupWithManager

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