Documentation ¶
Index ¶
- func AddFinalizer(object metav1.Object, finalizer string)
- func AddWithActuator(mgr manager.Manager, actuator actuator.Actuator, ...) error
- func DeleteFinalizer(object metav1.Object, finalizer string)
- func HasFinalizer(object metav1.Object, finalizer string) bool
- type ReconcileCredentialsRequest
- func (r *ReconcileCredentialsRequest) GetConditions(logger log.FieldLogger) ([]configv1.ClusterOperatorStatusCondition, error)
- func (r *ReconcileCredentialsRequest) GetRelatedObjects(logger log.FieldLogger) ([]configv1.ObjectReference, error)
- func (r *ReconcileCredentialsRequest) Name() string
- func (r *ReconcileCredentialsRequest) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddFinalizer ¶
AddFinalizer adds a finalizer to the given object
func AddWithActuator ¶
func AddWithActuator(mgr manager.Manager, actuator actuator.Actuator, platType configv1.PlatformType) error
AddWithActuator creates a new CredentialsRequest Controller and adds it to the Manager with default RBAC. The Manager will set fields on the Controller and Start it when the Manager is Started.
func DeleteFinalizer ¶
DeleteFinalizer removes a finalizer from the given object
Types ¶
type ReconcileCredentialsRequest ¶
type ReconcileCredentialsRequest struct { client.Client Actuator actuator.Actuator // contains filtered or unexported fields }
ReconcileCredentialsRequest reconciles a CredentialsRequest object
func (*ReconcileCredentialsRequest) GetConditions ¶
func (r *ReconcileCredentialsRequest) GetConditions(logger log.FieldLogger) ([]configv1.ClusterOperatorStatusCondition, error)
func (*ReconcileCredentialsRequest) GetRelatedObjects ¶
func (r *ReconcileCredentialsRequest) GetRelatedObjects(logger log.FieldLogger) ([]configv1.ObjectReference, error)
func (*ReconcileCredentialsRequest) Name ¶
func (r *ReconcileCredentialsRequest) Name() string
func (*ReconcileCredentialsRequest) Reconcile ¶
func (r *ReconcileCredentialsRequest) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)
Reconcile reads that state of the cluster for a CredentialsRequest object and makes changes based on the state read and what is in the CredentialsRequest.Spec Automatically generate RBAC rules to allow the Controller to read and write required types. +kubebuilder:rbac:groups=cloudcredential.openshift.io,resources=credentialsrequests;credentialsrequests/status;credentialsrequests/finalizers,verbs=get;list;watch;create;update;patch;delete Configmaps required for leader election: +kubebuilder:rbac:groups=core,resources=secrets;configmaps;events,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=core,resources=namespaces,verbs=get;list;watch +kubebuilder:rbac:groups=config.openshift.io,resources=clusterversions,verbs=get;list;watch +kubebuilder:rbac:groups=config.openshift.io,resources=infrastructures;dnses,verbs=get;list;watch +kubebuilder:rbac:groups=config.openshift.io,resources=clusteroperators;clusteroperators/status,verbs=create;get;update;list;watch