credentialsrequestcontroller

package
v0.0.0-...-52527b8 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

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

Jump to

Keyboard shortcuts

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