Documentation ¶
Index ¶
- Constants
- func SetupAllReconcilers(mgr controllerruntime.Manager, cfg *config.OperatorConfiguration, ...) error
- type AggregatedError
- type BindingMatchingFunc
- type SPIAccessCheckReconciler
- type SPIAccessTokenBindingReconciler
- type SPIAccessTokenDataUpdateReconciler
- type SPIAccessTokenReconciler
- type SPIFileContentRequestReconciler
Constants ¶
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 SetupAllReconcilers ¶ added in v0.8.2
func SetupAllReconcilers(mgr controllerruntime.Manager, cfg *config.OperatorConfiguration, ts tokenstorage.TokenStorage, initializers map[sconfig.ServiceProviderType]serviceprovider.Initializer) 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
type BindingMatchingFunc ¶ added in v0.8.1
type BindingMatchingFunc func(api.SPIAccessTokenBinding) bool
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.