controllers

package
v0.2023.21 Latest Latest
Warning

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

Go to latest
Published: May 22, 2023 License: Apache-2.0 Imports: 49 Imported by: 1

Documentation

Index

Constants

View Source
const LinkedFileRequestLabel = "spi.appstudio.redhat.com/file-content-request-name"
View Source
const SPIAccessTokenLinkLabel = "spi.appstudio.redhat.com/linked-access-token" //#nosec G101 -- false positive, this is not a private data

Variables

This section is empty.

Functions

func AggregateNonNilErrors added in v0.2023.21

func AggregateNonNilErrors(errs ...error) error

func SetupAllReconcilers added in v0.8.2

func SetupAllReconcilers(mgr controllerruntime.Manager, cfg *config.OperatorConfiguration, secretStorage secretstorage.SecretStorage, initializers *serviceprovider.Initializers) error

Types

type AggregatedError added in v0.5.5

type AggregatedError struct {
	// contains filtered or unexported fields
}

func NewAggregatedError added in v0.5.5

func NewAggregatedError(errs ...error) *AggregatedError

func (*AggregatedError) Add added in v0.5.5

func (ae *AggregatedError) Add(errs ...error)

func (*AggregatedError) Error added in v0.5.5

func (ae *AggregatedError) Error() string

func (*AggregatedError) HasErrors added in v0.2023.21

func (ae *AggregatedError) HasErrors() bool

type BindingMatchingFunc added in v0.8.1

type BindingMatchingFunc func(api.SPIAccessTokenBinding) bool

type RemoteSecretReconciler added in v0.2023.21

type RemoteSecretReconciler struct {
	client.Client
	Scheme              *runtime.Scheme
	Configuration       *opconfig.OperatorConfiguration
	RemoteSecretStorage remotesecretstorage.RemoteSecretStorage
	// contains filtered or unexported fields
}

func (*RemoteSecretReconciler) Reconcile added in v0.2023.21

Reconcile implements reconcile.Reconciler

func (*RemoteSecretReconciler) SetupWithManager added in v0.2023.21

func (r *RemoteSecretReconciler) SetupWithManager(mgr ctrl.Manager) error

type SPIAccessCheckReconciler added in v0.5.1

type SPIAccessCheckReconciler struct {
	client.Client
	Scheme                 *runtime.Scheme
	ServiceProviderFactory serviceprovider.Factory
	Configuration          *opconfig.OperatorConfiguration
}

SPIAccessCheckReconciler reconciles a SPIAccessCheck object

func (*SPIAccessCheckReconciler) Reconcile added in v0.5.1

func (*SPIAccessCheckReconciler) SetupWithManager added in v0.5.1

func (r *SPIAccessCheckReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type SPIAccessTokenBindingReconciler

type SPIAccessTokenBindingReconciler struct {
	client.Client
	Scheme        *runtime.Scheme
	TokenStorage  tokenstorage.TokenStorage
	Configuration *opconfig.OperatorConfiguration

	ServiceProviderFactory serviceprovider.Factory
	// contains filtered or unexported fields
}

SPIAccessTokenBindingReconciler reconciles a SPIAccessTokenBinding object

func (*SPIAccessTokenBindingReconciler) Reconcile

func (*SPIAccessTokenBindingReconciler) SetupWithManager

func (r *SPIAccessTokenBindingReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type SPIAccessTokenDataUpdateReconciler added in v0.3.0

type SPIAccessTokenDataUpdateReconciler struct {
	client.Client
}

SPIAccessTokenDataUpdateReconciler reconciles a SPIAccessTokenDataUpdate object

func (*SPIAccessTokenDataUpdateReconciler) Reconcile added in v0.3.0

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

func (*SPIAccessTokenDataUpdateReconciler) SetupWithManager added in v0.3.0

func (r *SPIAccessTokenDataUpdateReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type SPIAccessTokenReconciler

type SPIAccessTokenReconciler struct {
	client.Client
	Scheme                 *runtime.Scheme
	TokenStorage           tokenstorage.TokenStorage
	Configuration          *opconfig.OperatorConfiguration
	ServiceProviderFactory serviceprovider.Factory
	// contains filtered or unexported fields
}

SPIAccessTokenReconciler reconciles a SPIAccessToken object

func (*SPIAccessTokenReconciler) Reconcile

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

func (*SPIAccessTokenReconciler) SetupWithManager

func (r *SPIAccessTokenReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type SPIFileContentRequestReconciler added in v0.8.3

type SPIFileContentRequestReconciler struct {
	Configuration          *opconfig.OperatorConfiguration
	K8sClient              client.Client
	Scheme                 *runtime.Scheme
	HttpClient             *http.Client
	ServiceProviderFactory serviceprovider.Factory
	// contains filtered or unexported fields
}

func (*SPIFileContentRequestReconciler) Reconcile added in v0.8.3

func (*SPIFileContentRequestReconciler) SetupWithManager added in v0.8.3

func (r *SPIFileContentRequestReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type TokenUploadReconciler added in v0.2023.21

type TokenUploadReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	// TokenStorage IMPORTANT, for the correct function, this needs to use the secretstorage.NotifyingSecretStorage as the underlying
	// secret storage mechanism
	TokenStorage tokenstorage.TokenStorage
	// RemoteSecretStorage IMPORTANT, for the correct function, this needs to use the secretstorage.NotifyingSecretStorage as the underlying
	// secret storage mechanism
	RemoteSecretStorage remotesecretstorage.RemoteSecretStorage
}

TokenUploadReconciler reconciles a Secret object

func (*TokenUploadReconciler) Reconcile added in v0.2023.21

func (r *TokenUploadReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*TokenUploadReconciler) SetupWithManager added in v0.2023.21

func (r *TokenUploadReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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