controllers

package
v0.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterDevfileRegistriesListReconciler

type ClusterDevfileRegistriesListReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
}

ClusterDevfileRegistriesListReconciler reconciles a ClusterDevfileRegistriesList object

func (*ClusterDevfileRegistriesListReconciler) 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. the ClusterDevfileRegistriesList 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.11.0/pkg/reconcile

func (*ClusterDevfileRegistriesListReconciler) SetValidateDevfileRegistriesConditionAndUpdateCR added in v0.1.1

func (r *ClusterDevfileRegistriesListReconciler) SetValidateDevfileRegistriesConditionAndUpdateCR(ctx context.Context, req ctrl.Request, clusterDevfileRegistriesList *v1alpha1.ClusterDevfileRegistriesList, validateError error) error

SetValidateDevfileRegistriesConditionAndUpdateCR sets the condition of the cluster devfile registries list validation

func (*ClusterDevfileRegistriesListReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type DevfileRegistriesListReconciler

type DevfileRegistriesListReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
}

DevfileRegistriesListReconciler reconciles a DevfileRegistriesList object

func (*DevfileRegistriesListReconciler) 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. the DevfileRegistriesList 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.11.0/pkg/reconcile

func (*DevfileRegistriesListReconciler) SetValidateDevfileRegistriesConditionAndUpdateCR added in v0.1.1

func (r *DevfileRegistriesListReconciler) SetValidateDevfileRegistriesConditionAndUpdateCR(ctx context.Context, req ctrl.Request, devfileRegistriesList *v1alpha1.DevfileRegistriesList, validateError error) error

SetValidateDevfileRegistriesConditionAndUpdateCR sets the condition of the namespaced devfile registries list validation

func (*DevfileRegistriesListReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type DevfileRegistryReconciler

type DevfileRegistryReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
}

DevfileRegistryReconciler reconciles a DevfileRegistry object

func (*DevfileRegistryReconciler) Reconcile

func (*DevfileRegistryReconciler) SetupWithManager

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

Jump to

Keyboard shortcuts

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