Documentation ¶
Index ¶
- Constants
- type AgentApplicationReconciler
- type ServiceBindingReconciler
- func (r *ServiceBindingReconciler) GetSecret(ctx context.Context, serviceBinding v1alpha1.ServiceBinding, ...) (*v1.Secret, error)
- func (r *ServiceBindingReconciler) PrepareBinding(ctx context.Context, serviceBinding v1alpha1.ServiceBinding, ...) error
- func (r *ServiceBindingReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *ServiceBindingReconciler) RunInformer(ctx context.Context, resource schema.GroupVersionResource, ...) error
- func (r *ServiceBindingReconciler) SetWatchersForResources(ctx context.Context, serviceBinding v1alpha1.ServiceBinding) error
- func (r *ServiceBindingReconciler) SetupWithManager(mgr ctrl.Manager) error
- type ServiceCatalogReconciler
- type ServiceClaimReconciler
Constants ¶
const ( ServiceBindingRoot = "SERVICE_BINDING_ROOT" ServiceBindingFinalizer = "servicebindings.primaza.io/finalizer" )
ServiceBindingRoot points to the environment variable in the container which is used as the volume mount path. In the absence of this environment variable, `/bindings` is used as the volume mount path. Refer: https://github.com/servicebinding/spec#reconciler-implementation
const ServiceClaimFinalizer = "serviceclaims.primaza.io/finalizer"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentApplicationReconciler ¶
Agent Application Reconciler reconciles a Agent Application object
func NewAgentApplicationReconciler ¶
func NewAgentApplicationReconciler(mgr ctrl.Manager) *AgentApplicationReconciler
func (*AgentApplicationReconciler) SetupWithManager ¶
func (r *AgentApplicationReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ServiceBindingReconciler ¶
type ServiceBindingReconciler struct { client.Client Scheme *runtime.Scheme dynamic.Interface // contains filtered or unexported fields }
ServiceBindingReconciler reconciles a ServiceBinding object
func NewServiceBindingReconciler ¶
func NewServiceBindingReconciler(mgr ctrl.Manager) *ServiceBindingReconciler
func (*ServiceBindingReconciler) GetSecret ¶
func (r *ServiceBindingReconciler) GetSecret(ctx context.Context, serviceBinding v1alpha1.ServiceBinding, applications []unstructured.Unstructured) (*v1.Secret, error)
func (*ServiceBindingReconciler) PrepareBinding ¶
func (r *ServiceBindingReconciler) PrepareBinding(ctx context.Context, serviceBinding v1alpha1.ServiceBinding, applications []unstructured.Unstructured, psSecret *v1.Secret) error
func (*ServiceBindingReconciler) Reconcile ¶
func (r *ServiceBindingReconciler) 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. TODO(user): Modify the Reconcile function to compare the state specified by the ServiceBinding object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.13.0/pkg/reconcile
func (*ServiceBindingReconciler) RunInformer ¶
func (r *ServiceBindingReconciler) RunInformer(ctx context.Context, resource schema.GroupVersionResource, serviceBinding v1alpha1.ServiceBinding) error
func (*ServiceBindingReconciler) SetWatchersForResources ¶
func (r *ServiceBindingReconciler) SetWatchersForResources(ctx context.Context, serviceBinding v1alpha1.ServiceBinding) error
func (*ServiceBindingReconciler) SetupWithManager ¶
func (r *ServiceBindingReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ServiceCatalogReconciler ¶
ServiceCatalogReconciler reconciles a ServiceCatalog object
func (*ServiceCatalogReconciler) Reconcile ¶
func (r *ServiceCatalogReconciler) 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. TODO(user): Modify the Reconcile function to compare the state specified by the ServiceCatalog object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.14.1/pkg/reconcile
func (*ServiceCatalogReconciler) SetupWithManager ¶
func (r *ServiceCatalogReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ServiceClaimReconciler ¶
ServiceClaimReconciler reconciles a ServiceClaim object
func NewServiceClaimReconciler ¶
func NewServiceClaimReconciler(mgr ctrl.Manager) *ServiceClaimReconciler
func (*ServiceClaimReconciler) Reconcile ¶
func (r *ServiceClaimReconciler) 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. TODO(user): Modify the Reconcile function to compare the state specified by the ServiceClaim object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.13.0/pkg/reconcile
func (*ServiceClaimReconciler) SetupWithManager ¶
func (r *ServiceClaimReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.