Documentation ¶
Index ¶
- Variables
- type ServiceBindingReconciler
- type ServiceInstanceReconciler
- func (r *ServiceInstanceReconciler) HandleError(ctx context.Context, serviceInstance *cfv1alpha1.ServiceInstance, issue error, ...) (ctrl.Result, error)
- func (r *ServiceInstanceReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, err error)
- func (r *ServiceInstanceReconciler) SetupWithManager(mgr ctrl.Manager) error
- type SpaceReconciler
Constants ¶
This section is empty.
Variables ¶
var RetryError = errors.New("retry")
RetryError is a special error to indicate that the operation should be retried.
Functions ¶
This section is empty.
Types ¶
type ServiceBindingReconciler ¶
type ServiceBindingReconciler struct { client.Client Scheme *runtime.Scheme ClusterResourceNamespace string EnableBindingMetadata bool ClientBuilder facade.SpaceClientBuilder }
ServiceBindingReconciler reconciles a ServiceBinding object
func (*ServiceBindingReconciler) SetupWithManager ¶
func (r *ServiceBindingReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ServiceInstanceReconciler ¶
type ServiceInstanceReconciler struct { client.Client Scheme *runtime.Scheme ClusterResourceNamespace string ClientBuilder facade.SpaceClientBuilder }
ServiceInstanceReconciler reconciles a ServiceInstance object
func (*ServiceInstanceReconciler) HandleError ¶ added in v0.4.14
func (r *ServiceInstanceReconciler) HandleError(ctx context.Context, serviceInstance *cfv1alpha1.ServiceInstance, issue error, log logr.Logger) (ctrl.Result, error)
HandleError sets conditions and the context to handle the error. Special handling for retryable errros: - retry after certain time interval - doubling time interval for consecutive errors - time interval is capped at a certain maximum value
func (*ServiceInstanceReconciler) SetupWithManager ¶
func (r *ServiceInstanceReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type SpaceReconciler ¶
type SpaceReconciler struct { Kind string client.Client Scheme *runtime.Scheme ClusterResourceNamespace string ClientBuilder facade.OrganizationClientBuilder HealthCheckerBuilder facade.SpaceHealthCheckerBuilder }
SpaceReconciler reconciles a (Cluster)Space object
func (*SpaceReconciler) SetupWithManager ¶
func (r *SpaceReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.