credentialsrequest

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2023 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddFinalizer

func AddFinalizer(object metav1.Object, finalizer string)

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

func DeleteFinalizer(object metav1.Object, finalizer string)

DeleteFinalizer removes a finalizer from the given object

func HasFinalizer

func HasFinalizer(object metav1.Object, finalizer string) bool

HasFinalizer returns true if the given object has the given finalizer

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 (*ReconcileCredentialsRequest) GetRelatedObjects

func (r *ReconcileCredentialsRequest) GetRelatedObjects(logger log.FieldLogger) ([]configv1.ObjectReference, error)

func (*ReconcileCredentialsRequest) Name

func (*ReconcileCredentialsRequest) Reconcile

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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