Documentation ¶
Index ¶
- func FetchObject(client client.Client, namespace string, name string, obj client.Object) error
- func IsObjectFound(client client.Client, namespace string, name string, obj client.Object) bool
- func ZapLogger(development bool) logr.Logger
- type ArgoCDRoleBindingReconciler
- type ArgoCDRoleReconciler
- type SchemeOpt
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FetchObject ¶
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 ¶
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.
Types ¶
type ArgoCDRoleBindingReconciler ¶
ArgoCDRoleBindingReconciler reconciles a ArgoCDRoleBinding object
func (*ArgoCDRoleBindingReconciler) Reconcile ¶
func (r *ArgoCDRoleBindingReconciler) 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. TODO(user): Modify the Reconcile function to compare the state specified by the ArgoCDRoleBinding 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.18.2/pkg/reconcile
func (*ArgoCDRoleBindingReconciler) SetupWithManager ¶
func (r *ArgoCDRoleBindingReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ArgoCDRoleReconciler ¶
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. TODO(user): Modify the Reconcile function to compare the state specified by the Role 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.18.2/pkg/reconcile
func (*ArgoCDRoleReconciler) SetupWithManager ¶
func (r *ArgoCDRoleReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.