controllers

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClusterToOCIManagedControlPlaneMapper added in v0.12.0

func ClusterToOCIManagedControlPlaneMapper() handler.MapFunc

func OCIManagedClusterToOCIManagedControlPlaneMapper added in v0.12.0

func OCIManagedClusterToOCIManagedControlPlaneMapper(c client.Client, log logr.Logger) (handler.MapFunc, error)

func OCIManagedControlPlaneToOCIManagedClusterMapper added in v0.12.0

func OCIManagedControlPlaneToOCIManagedClusterMapper(c client.Client, log logr.Logger) (handler.MapFunc, error)

Types

type OCIClusterReconciler

type OCIClusterReconciler struct {
	client.Client
	Scheme         *runtime.Scheme
	Recorder       record.EventRecorder
	Region         string
	ClientProvider *scope.ClientProvider
}

OCIClusterReconciler reconciles a OciCluster object

func (*OCIClusterReconciler) Reconcile

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

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

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

func (*OCIClusterReconciler) SetupWithManager

func (r *OCIClusterReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error

SetupWithManager sets up the controller with the Manager.

type OCIMachineReconciler

type OCIMachineReconciler struct {
	client.Client
	Scheme         *runtime.Scheme
	Recorder       record.EventRecorder
	ClientProvider *scope.ClientProvider
	Region         string
}

OCIMachineReconciler reconciles a OciMachine object

func (*OCIMachineReconciler) OCIClusterToOCIMachines

func (r *OCIMachineReconciler) OCIClusterToOCIMachines() handler.MapFunc

func (*OCIMachineReconciler) OCIManagedClusterToOCIMachines added in v0.14.0

func (r *OCIMachineReconciler) OCIManagedClusterToOCIMachines() handler.MapFunc

func (*OCIMachineReconciler) Reconcile

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

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

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

func (*OCIMachineReconciler) SetupWithManager

func (r *OCIMachineReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error

SetupWithManager sets up the controller with the Manager.

type OCIManagedClusterControlPlaneReconciler added in v0.12.0

type OCIManagedClusterControlPlaneReconciler struct {
	client.Client
	Scheme         *runtime.Scheme
	Recorder       record.EventRecorder
	Region         string
	ClientProvider *scope.ClientProvider
}

OCIManagedClusterControlPlaneReconciler reconciles a OCIManagedControlPlane object

func (*OCIManagedClusterControlPlaneReconciler) Reconcile added in v0.12.0

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

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

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

func (*OCIManagedClusterControlPlaneReconciler) SetupWithManager added in v0.12.0

SetupWithManager sets up the controller with the Manager.

type OCIManagedClusterReconciler added in v0.12.0

type OCIManagedClusterReconciler struct {
	client.Client
	Scheme         *runtime.Scheme
	Recorder       record.EventRecorder
	Region         string
	ClientProvider *scope.ClientProvider
}

OCIManagedClusterReconciler reconciles a OciCluster object

func (*OCIManagedClusterReconciler) Reconcile added in v0.12.0

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

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

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

func (*OCIManagedClusterReconciler) SetupWithManager added in v0.12.0

func (r *OCIManagedClusterReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) 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