controller

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrEnqueueing is returned whenever there is an error enqueueing additional resources.
	ErrEnqueueing = errors.New("enqueueing error")
)

Common Errors.

Functions

This section is empty.

Types

type ElementalClusterReconciler

type ElementalClusterReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

ElementalClusterReconciler reconciles a ElementalCluster object.

func (*ElementalClusterReconciler) Reconcile

func (r *ElementalClusterReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, rerr 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.

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

For more details about the reconciliation loop, check the official CAPI documentation: - https://cluster-api.sigs.k8s.io/developer/providers/cluster-infrastructure

func (*ElementalClusterReconciler) SetupWithManager

func (r *ElementalClusterReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type ElementalClusterTemplateReconciler

type ElementalClusterTemplateReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

ElementalClusterTemplateReconciler reconciles a ElementalClusterTemplate object.

func (*ElementalClusterTemplateReconciler) Reconcile

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

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

func (*ElementalClusterTemplateReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type ElementalHostReconciler

type ElementalHostReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

ElementalHostReconciler reconciles a ElementalHost object.

func (*ElementalHostReconciler) Reconcile

func (r *ElementalHostReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, rerr 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.

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

func (*ElementalHostReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type ElementalMachineReconciler

type ElementalMachineReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

ElementalMachineReconciler reconciles a ElementalMachine object.

func (*ElementalMachineReconciler) ClusterToElementalMachines

func (r *ElementalMachineReconciler) ClusterToElementalMachines(ctx context.Context, obj client.Object) []ctrl.Request

ClusterToElementalMachines is a handler.ToRequestsFunc to be used to enqeue requests for reconciliation of ElementalMachines.

func (*ElementalMachineReconciler) ElementalHostToElementalMachine

func (r *ElementalMachineReconciler) ElementalHostToElementalMachine(ctx context.Context, obj client.Object) []ctrl.Request

func (*ElementalMachineReconciler) MachineToElementalMachine

func (r *ElementalMachineReconciler) MachineToElementalMachine(ctx context.Context, obj client.Object) []ctrl.Request

func (*ElementalMachineReconciler) Reconcile

func (r *ElementalMachineReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, rerr 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.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.15.0/pkg/reconcile For more details about the reconciliation loop, check the official CAPI documentation: - https://cluster-api.sigs.k8s.io/developer/providers/machine-infrastructure

func (*ElementalMachineReconciler) SetupWithManager

func (r *ElementalMachineReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type ElementalMachineTemplateReconciler

type ElementalMachineTemplateReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

ElementalMachineTemplateReconciler reconciles a ElementalMachineTemplate object.

func (*ElementalMachineTemplateReconciler) Reconcile

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

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

func (*ElementalMachineTemplateReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type ElementalRegistrationReconciler

type ElementalRegistrationReconciler struct {
	client.Client
	Scheme      *runtime.Scheme
	APIEndpoint *url.URL
}

ElementalRegistrationReconciler reconciles a ElementalRegistration object.

func (*ElementalRegistrationReconciler) Reconcile

func (r *ElementalRegistrationReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, rerr 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.

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

func (*ElementalRegistrationReconciler) SetupWithManager

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