controllers

package
v0.0.0-...-52772bf Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataConnectorReconciler

type DataConnectorReconciler struct {
	client.Reader
	Scheme        *runtime.Scheme
	EngineManager api.DataConnectorManager
}

DataConnectorReconciler reconciles a DataConnector object This reconciler is used in every instance of the app, and not only the leader. It is used to ensure the EngineManager's state is synchronized with the CustomResources.

For the creation and modification external resources, the operator's controller is used. For the operator's controller see the `internal/operator/dataconnector_controller.go` file

func (*DataConnectorReconciler) Reconcile

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

Reconcile is the main function of the reconciler.

func (*DataConnectorReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Controller Manager.

type FeatureReconciler

type FeatureReconciler struct {
	client.Reader
	Scheme         *runtime.Scheme
	UpdatesAllowed bool
	EngineManager  api.FeatureManager
}

FeatureReconciler reconciles a Feature object This reconciler is used in every instance of the app, and not only the leader. It is used to ensure the EngineManager's state is synchronized with the CustomResources.

For the creation and modification external resources, the operator's controller is used. For the operator's controller see the `internal/operator/feature_controller.go` file

func (*FeatureReconciler) Reconcile

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

Reconcile is the main function of the reconciler.

func (*FeatureReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Controller Manager.

type FeatureSetReconciler

type FeatureSetReconciler struct {
	client.Reader
	Scheme        *runtime.Scheme
	EngineManager api.FeatureManager
}

FeatureSetReconciler reconciles a Feature object This reconciler is used in every instance of the app, and not only the leader. It is used to ensure the EngineManager's state is synchronized with the CustomResources.

func (*FeatureSetReconciler) Reconcile

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

Reconcile is the main function of the reconciler.

func (*FeatureSetReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Controller Manager.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL