Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCredentialsRequestController ¶
func NewCredentialsRequestController( name, targetNamespace string, manifest []byte, dynamicClient dynamic.Interface, operatorClient v1helpers.OperatorClientWithFinalizers, operatorInformer operatorinformer.SharedInformerFactory, recorder events.Recorder, hooks ...CredentialsRequestHook, ) factory.Controller
NewCredentialsRequestController returns a CredentialsRequestController.
Types ¶
type CredentialsRequestController ¶
type CredentialsRequestController struct {
// contains filtered or unexported fields
}
CredentialsRequestController is a simple controller that maintains a CredentialsRequest static manifest. It uses unstructured.Unstructured as currently there's no API type for this resource. This controller produces the following conditions: <name>Available: indicates that the secret was successfully provisioned by cloud-credential-operator. <name>Progressing: indicates that the secret is yet to be provisioned by cloud-credential-operator. <name>Degraded: produced when the sync() method returns an error.
type CredentialsRequestHook ¶
type CredentialsRequestHook func(*opv1.OperatorSpec, *unstructured.Unstructured) error
Click to show internal directories.
Click to hide internal directories.