controller

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2025 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchObject

func FetchObject(client client.Client, namespace string, name string, obj client.Object) error

FetchObject will retrieve the object with the given namespace and name using the Kubernetes API. The result will be stored in the given object.

func IsObjectFound

func IsObjectFound(client client.Client, namespace string, name string, obj client.Object) bool

IsObjectFound will perform a basic check that the given object exists via the Kubernetes API. If an error occurs as part of the check, the function will return false.

func ZapLogger added in v0.1.1

func ZapLogger(development bool) logr.Logger

Types

type ArgoCDProjectRoleBindingReconciler added in v0.2.0

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

ArgoCDProjectRoleBindingReconciler reconciles a ArgoCDProjectRoleBinding object

func (*ArgoCDProjectRoleBindingReconciler) Reconcile added in v0.2.0

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

func (*ArgoCDProjectRoleBindingReconciler) SetupWithManager added in v0.2.0

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

SetupWithManager sets up the controller with the Manager.

type ArgoCDProjectRoleReconciler added in v0.2.0

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

ArgoCDProjectRoleReconciler reconciles a ArgoCDProjectRole object

func (*ArgoCDProjectRoleReconciler) Reconcile added in v0.2.0

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

func (*ArgoCDProjectRoleReconciler) SetupWithManager added in v0.2.0

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

SetupWithManager sets up the controller with the Manager.

type ArgoCDRoleBindingReconciler

type ArgoCDRoleBindingReconciler struct {
	client.Client
	Log                          logr.Logger
	Scheme                       *runtime.Scheme
	ArgoCDRBACConfigMapName      string
	ArgoCDRBACConfigMapNamespace string
}

ArgoCDRoleBindingReconciler reconciles a ArgoCDRoleBinding object

func (*ArgoCDRoleBindingReconciler) 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.

func (*ArgoCDRoleBindingReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type ArgoCDRoleReconciler

type ArgoCDRoleReconciler struct {
	client.Client
	Log                          logr.Logger
	Scheme                       *runtime.Scheme
	ArgoCDRBACConfigMapName      string
	ArgoCDRBACConfigMapNamespace string
}

ArgoCDRoleReconciler reconciles a Role object

func (*ArgoCDRoleReconciler) Reconcile

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

func (*ArgoCDRoleReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type SchemeOpt added in v0.1.1

type SchemeOpt func(*runtime.Scheme) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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