Documentation ¶
Index ¶
- Constants
- func ServiceInCatalog(sc primazaiov1alpha1.ServiceCatalog, serviceName string) int
- type ClusterEnvironmentReconciler
- func (r *ClusterEnvironmentReconciler) CreateServiceCatalog(ctx context.Context, ce *primazaiov1alpha1.ClusterEnvironment) error
- func (r *ClusterEnvironmentReconciler) MonitorHealth(ctx context.Context, ns string, hci int)
- func (r *ClusterEnvironmentReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *ClusterEnvironmentReconciler) RunAppInformer(ctx context.Context, config *rest.Config, ce *v1alpha1.ClusterEnvironment, ...) error
- func (r *ClusterEnvironmentReconciler) RunAppInformers(ctx context.Context, cfg *rest.Config, ce v1alpha1.ClusterEnvironment, ...) error
- func (r *ClusterEnvironmentReconciler) RunSvcInformer(ctx context.Context, config *rest.Config, ceName string, ...) error
- func (r *ClusterEnvironmentReconciler) RunSvcInformers(ctx context.Context, cfg *rest.Config, ce v1alpha1.ClusterEnvironment, ...) error
- func (r *ClusterEnvironmentReconciler) SetupWithManager(mgr ctrl.Manager) error
- type ClusterEnvironmentReconcilerConfig
- type RegisteredServiceReconciler
- type ServiceCatalogReconciler
- func (r *ServiceCatalogReconciler) PushServiceCatalog(ctx context.Context, serviceCatalog v1alpha1.ServiceCatalog, ...) error
- func (r *ServiceCatalogReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *ServiceCatalogReconciler) SetupWithManager(mgr ctrl.Manager) error
- type ServiceClaimReconciler
- func (r *ServiceClaimReconciler) DeleteServiceBindingsAndSecret(ctx context.Context, req ctrl.Request, sclaim primazaiov1alpha1.ServiceClaim) error
- func (r *ServiceClaimReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *ServiceClaimReconciler) SetupWithManager(mgr ctrl.Manager) error
- type ServiceClassReconciler
Constants ¶
const ( PermissionsGrantedReason = "PermissionsGranted" ClientCreationErrorReason = "ClientCreationError" PermissionsNotGrantedReason = "PermissionsNotGranted" ErrorDuringHealthCheckReason = "ErrorDuringHealthCheck" HealthCheckFailedReason = "HealthCheckFailed" )
const ServiceClaimFinalizer = "serviceclaims.primaza.io/finalizer"
Variables ¶
This section is empty.
Functions ¶
func ServiceInCatalog ¶
func ServiceInCatalog(sc primazaiov1alpha1.ServiceCatalog, serviceName string) int
Types ¶
type ClusterEnvironmentReconciler ¶
type ClusterEnvironmentReconciler struct { client.Client Scheme *runtime.Scheme // contains filtered or unexported fields }
ClusterEnvironmentReconciler reconciles a ClusterEnvironment object
func NewClusterEnvironmentReconciler ¶
func NewClusterEnvironmentReconciler(mgr ctrl.Manager, config ClusterEnvironmentReconcilerConfig) *ClusterEnvironmentReconciler
func (*ClusterEnvironmentReconciler) CreateServiceCatalog ¶
func (r *ClusterEnvironmentReconciler) CreateServiceCatalog(ctx context.Context, ce *primazaiov1alpha1.ClusterEnvironment) error
func (*ClusterEnvironmentReconciler) MonitorHealth ¶
func (r *ClusterEnvironmentReconciler) MonitorHealth(ctx context.Context, ns string, hci int)
func (*ClusterEnvironmentReconciler) Reconcile ¶
func (r *ClusterEnvironmentReconciler) 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 ClusterEnvironment 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 (*ClusterEnvironmentReconciler) RunAppInformer ¶
func (r *ClusterEnvironmentReconciler) RunAppInformer(ctx context.Context, config *rest.Config, ce *v1alpha1.ClusterEnvironment, namespace string) error
func (*ClusterEnvironmentReconciler) RunAppInformers ¶
func (r *ClusterEnvironmentReconciler) RunAppInformers(ctx context.Context, cfg *rest.Config, ce v1alpha1.ClusterEnvironment, failedApplicationNamespaces []string) error
func (*ClusterEnvironmentReconciler) RunSvcInformer ¶
func (*ClusterEnvironmentReconciler) RunSvcInformers ¶
func (r *ClusterEnvironmentReconciler) RunSvcInformers(ctx context.Context, cfg *rest.Config, ce v1alpha1.ClusterEnvironment, failedServiceNamespaces []string) error
func (*ClusterEnvironmentReconciler) SetupWithManager ¶
func (r *ClusterEnvironmentReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type RegisteredServiceReconciler ¶
RegisteredServiceReconciler reconciles a RegisteredService object
func (*RegisteredServiceReconciler) Reconcile ¶
func (r *RegisteredServiceReconciler) 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 RegisteredService 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 (*RegisteredServiceReconciler) SetupWithManager ¶
func (r *RegisteredServiceReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ServiceCatalogReconciler ¶
ServiceCatalogReconciler reconciles a ServiceCatalog object
func (*ServiceCatalogReconciler) PushServiceCatalog ¶
func (r *ServiceCatalogReconciler) PushServiceCatalog(ctx context.Context, serviceCatalog v1alpha1.ServiceCatalog, ce v1alpha1.ClusterEnvironment) error
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) DeleteServiceBindingsAndSecret ¶
func (r *ServiceClaimReconciler) DeleteServiceBindingsAndSecret( ctx context.Context, req ctrl.Request, sclaim primazaiov1alpha1.ServiceClaim, ) error
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.
type ServiceClassReconciler ¶
ServiceClassReconciler reconciles a ServiceClass object
func (*ServiceClassReconciler) Reconcile ¶
func (r *ServiceClassReconciler) 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 ServiceClass 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 (*ServiceClassReconciler) SetupWithManager ¶
func (r *ServiceClassReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.