Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BindingReconciler ¶
type BindingReconciler struct {
client.Client
Log logr.Logger
Scheme *runtime.Scheme
CreateResourceServiceKey resource.KeyCreator
CreateCFServiceKey cfservice.KeyCreator
DeleteResourceServiceKey resource.KeyDeleter
DeleteCFServiceKey cfservice.KeyDeleter
GetIBMCloudInfo IBMCloudInfoGetter
GetResourceServiceKey resource.KeyGetter
GetServiceInstanceCRN resource.ServiceInstanceCRNGetter
GetCFServiceKeyCredentials cfservice.KeyGetter
GetServiceName resource.ServiceNameGetter
GetServiceRoleCRN iam.ServiceRolesGetter
SetControllerReference OwnerReferenceSetter
SetOwnerReference OwnerReferenceSetter
}
BindingReconciler reconciles a Binding object
func (*BindingReconciler) Reconcile ¶
Reconcile reads the state of the cluster for a Binding object and makes changes based on the state read and what is in the Binding.Spec. Automatically generates RBAC rules to allow the Controller to read and write Deployments.
func (*BindingReconciler) SetupWithManager ¶
func (r *BindingReconciler) SetupWithManager(mgr ctrl.Manager, options controller.Options) error
type Controllers ¶ added in v0.3.2
type Controllers struct {
*BindingReconciler
*ServiceReconciler
*TokenReconciler
}
Controllers passes back references to set up controllers for test mocking purposes
func SetUpControllers ¶ added in v0.3.2
func SetUpControllers(mgr ctrl.Manager) (*Controllers, error)
type IBMCloudInfoGetter ¶ added in v0.2.3
type OwnerReferenceSetter ¶ added in v1.0.10
type ServiceReconciler ¶
type ServiceReconciler struct {
client.Client
Log logr.Logger
Scheme *runtime.Scheme
CreateCFServiceInstance cfservice.InstanceCreator
CreateResourceServiceInstance resource.ServiceInstanceCreator
DeleteCFServiceInstance cfservice.InstanceDeleter
DeleteResourceServiceInstance resource.ServiceInstanceDeleter
GetCFServiceInstance cfservice.InstanceGetter
GetIBMCloudInfo IBMCloudInfoGetter
GetResourceServiceAliasInstance resource.ServiceAliasInstanceGetter
GetResourceServiceInstanceState resource.ServiceInstanceStatusGetter
UpdateResourceServiceInstance resource.ServiceInstanceUpdater
}
ServiceReconciler reconciles a Service object
func (*ServiceReconciler) Reconcile ¶
Reconcile reads the state of the cluster for a Service object and makes changes based on the state read and what is in the Service.Spec. Automatically generate RBAC rules to allow the Controller to read and write Deployments.
func (*ServiceReconciler) SetupWithManager ¶
func (r *ServiceReconciler) SetupWithManager(mgr ctrl.Manager, options controller.Options) error
type TokenReconciler ¶
type TokenReconciler struct {
client.Client
Log logr.Logger
Scheme *runtime.Scheme
Authenticate auth.Authenticator
}
TokenReconciler reconciles a Token object
func (*TokenReconciler) SetupWithManager ¶
func (r *TokenReconciler) SetupWithManager(mgr ctrl.Manager, options controller.Options) error