controllers

package
v1.12.1 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: Apache-2.0 Imports: 40 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBackendNamespace

func GetBackendNamespace(client client.Client) (string, error)

GetBackendNamespace returns the backend service namespace based on OpenShift Cluster version

Types

type ArgoCDMetricsReconciler

type ArgoCDMetricsReconciler struct {
	// This client, initialized using mgr.Client() above, is a split client
	// that reads objects from the cache and writes to the apiserver
	Client client.Client
	Scheme *runtime.Scheme
}

func (*ArgoCDMetricsReconciler) Reconcile

func (*ArgoCDMetricsReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type ReconcileArgoCDRoute

type ReconcileArgoCDRoute struct {
	// This client, initialized using mgr.Client() above, is a split client
	// that reads objects from the cache and writes to the apiserver
	Client client.Client
	Scheme *runtime.Scheme
}

ReconcileArgoCDRoute reconciles a ArgoCD Route object

func (*ReconcileArgoCDRoute) Reconcile

Reconcile reads that state of the cluster for a ArgoCD Route object and makes changes based on the state read and what is in the Route.Spec Note: The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.

func (*ReconcileArgoCDRoute) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type ReconcileGitopsService

type ReconcileGitopsService struct {
	// This client, initialized using mgr.Client() above, is a split client
	// that reads objects from the cache and writes to the apiserver
	Client client.Client
	Scheme *runtime.Scheme

	// disableDefaultInstall, if true, will ensure that the default ArgoCD instance is not instantiated in the openshift-gitops namespace.
	DisableDefaultInstall bool
}

ReconcileGitopsService reconciles a GitopsService object

func (*ReconcileGitopsService) Reconcile

Reconcile reads that state of the cluster for a GitopsService object and makes changes based on the state read and what is in the GitopsService.Spec

func (*ReconcileGitopsService) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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