Documentation ¶
Index ¶
- Constants
- func AggregateNonNilErrors(errs ...error) error
- func SetupAllReconcilers(mgr controllerruntime.Manager, cfg *config.OperatorConfiguration, ...) error
- type AggregatedError
- type BindingMatchingFunc
- type RemoteSecretReconciler
- type SPIAccessCheckReconciler
- type SPIAccessTokenBindingReconciler
- type SPIAccessTokenDataUpdateReconciler
- type SPIAccessTokenReconciler
- type SPIFileContentRequestReconciler
- type TokenUploadReconciler
Constants ¶
const LinkedFileRequestLabel = "spi.appstudio.redhat.com/file-content-request-name"
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 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
func (r *RemoteSecretReconciler) Reconcile(ctx context.Context, req reconcile.Request) (reconcile.Result, error)
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) 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) SetupWithManager ¶
func (r *SPIAccessTokenBindingReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type SPIAccessTokenDataUpdateReconciler ¶ added in v0.3.0
SPIAccessTokenDataUpdateReconciler reconciles a SPIAccessTokenDataUpdate object
func (*SPIAccessTokenDataUpdateReconciler) Reconcile ¶ added in v0.3.0
func (r *SPIAccessTokenDataUpdateReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
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 ¶
func (r *SPIAccessTokenReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
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) 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) SetupWithManager ¶ added in v0.2023.21
func (r *TokenUploadReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.