controllers

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 15, 2023 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
const ServiceClaimFinalizer = "serviceclaims.primaza.io/finalizer"

Variables

This section is empty.

Functions

This section is empty.

Types

type AgentApplicationReconciler

type AgentApplicationReconciler struct {
	client.Client
}

Agent Application Reconciler reconciles a Agent Application object

func NewAgentApplicationReconciler

func NewAgentApplicationReconciler(mgr ctrl.Manager) *AgentApplicationReconciler

func (*AgentApplicationReconciler) Reconcile

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

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

type ServiceCatalogReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

ServiceCatalogReconciler reconciles a ServiceCatalog object

func (*ServiceCatalogReconciler) Reconcile

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

type ServiceClaimReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	Mapper meta.RESTMapper
}

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL