Documentation
¶
Index ¶
- Constants
- Variables
- func GetInstallNamespace() (string, error)
- type DBaaSAuthzReconciler
- type DBaaSConnectionReconciler
- type DBaaSDefaultTenantReconciler
- type DBaaSInstanceReconciler
- type DBaaSInventoryReconciler
- type DBaaSPlatformReconciler
- type DBaaSProviderReconciler
- type DBaaSReconciler
- type DBaaSTenantAuthzReconciler
- type DBaaSTenantReconciler
Constants ¶
const ( RequeueDelaySuccess = 10 * time.Second RequeueDelayError = 5 * time.Second )
Variables ¶
var (
InstallNamespaceEnvVar = "INSTALL_NAMESPACE"
)
InstallNamespaceEnvVar is the constant for env variable INSTALL_NAMESPACE
Functions ¶
func GetInstallNamespace ¶
GetInstallNamespace returns the operator's install Namespace
Types ¶
type DBaaSAuthzReconciler ¶ added in v0.1.4
type DBaaSAuthzReconciler struct {
*DBaaSReconciler
*oauthzclientv1.AuthorizationV1Client
}
type DBaaSConnectionReconciler ¶
type DBaaSConnectionReconciler struct {
*DBaaSReconciler
}
DBaaSConnectionReconciler reconciles a DBaaSConnection object
func (*DBaaSConnectionReconciler) Reconcile ¶
func (r *DBaaSConnectionReconciler) 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.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.8.3/pkg/reconcile
func (*DBaaSConnectionReconciler) SetupWithManager ¶
func (r *DBaaSConnectionReconciler) SetupWithManager(mgr ctrl.Manager) (controller.Controller, error)
SetupWithManager sets up the controller with the Manager.
type DBaaSDefaultTenantReconciler ¶ added in v0.1.4
type DBaaSDefaultTenantReconciler struct {
*DBaaSReconciler
}
DBaaSDefaultTenantReconciler reconciles a DBaaSInventory object
func (*DBaaSDefaultTenantReconciler) Reconcile ¶ added in v0.1.4
func (r *DBaaSDefaultTenantReconciler) 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.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.8.3/pkg/reconcile
func (*DBaaSDefaultTenantReconciler) SetupWithManager ¶ added in v0.1.4
func (r *DBaaSDefaultTenantReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type DBaaSInstanceReconciler ¶ added in v0.1.4
type DBaaSInstanceReconciler struct {
*DBaaSReconciler
}
DBaaSInstanceReconciler reconciles a DBaaSInstance object
func (*DBaaSInstanceReconciler) Reconcile ¶ added in v0.1.4
func (r *DBaaSInstanceReconciler) 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.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.9.2/pkg/reconcile
func (*DBaaSInstanceReconciler) SetupWithManager ¶ added in v0.1.4
func (r *DBaaSInstanceReconciler) SetupWithManager(mgr ctrl.Manager) (controller.Controller, error)
SetupWithManager sets up the controller with the Manager.
type DBaaSInventoryReconciler ¶
type DBaaSInventoryReconciler struct {
*DBaaSReconciler
}
DBaaSInventoryReconciler reconciles a DBaaSInventory object
func (*DBaaSInventoryReconciler) Reconcile ¶
func (r *DBaaSInventoryReconciler) 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.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.8.3/pkg/reconcile
func (*DBaaSInventoryReconciler) SetupWithManager ¶
func (r *DBaaSInventoryReconciler) SetupWithManager(mgr ctrl.Manager) (controller.Controller, error)
SetupWithManager sets up the controller with the Manager.
type DBaaSPlatformReconciler ¶
type DBaaSPlatformReconciler struct {
*DBaaSReconciler
Log logr.Logger
OcpVersion string
// contains filtered or unexported fields
}
DBaaSPlatformReconciler reconciles a DBaaSPlatform object
func (*DBaaSPlatformReconciler) Reconcile ¶
func (r *DBaaSPlatformReconciler) 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.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.8.3/pkg/reconcile
func (*DBaaSPlatformReconciler) SetupWithManager ¶
func (r *DBaaSPlatformReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type DBaaSProviderReconciler ¶
type DBaaSProviderReconciler struct {
*DBaaSReconciler
ConnectionCtrl controller.Controller
InventoryCtrl controller.Controller
InstanceCtrl controller.Controller
}
DBaaSProviderReconciler reconciles a DBaaSProvider object
func (*DBaaSProviderReconciler) Reconcile ¶
func (r *DBaaSProviderReconciler) 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.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.8.3/pkg/reconcile
func (*DBaaSProviderReconciler) SetupWithManager ¶
func (r *DBaaSProviderReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type DBaaSReconciler ¶
type DBaaSTenantAuthzReconciler ¶ added in v0.1.4
type DBaaSTenantAuthzReconciler struct {
*DBaaSAuthzReconciler
}
DBaaSTenantAuthzReconciler reconciles Rbac
func (*DBaaSTenantAuthzReconciler) Reconcile ¶ added in v0.1.4
func (r *DBaaSTenantAuthzReconciler) 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.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.8.3/pkg/reconcile
func (*DBaaSTenantAuthzReconciler) SetupWithManager ¶ added in v0.1.4
func (r *DBaaSTenantAuthzReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type DBaaSTenantReconciler ¶
type DBaaSTenantReconciler struct {
*DBaaSAuthzReconciler
}
DBaaSTenantReconciler reconciles a DBaaSTenant object
func (*DBaaSTenantReconciler) Reconcile ¶
func (r *DBaaSTenantReconciler) 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.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.8.3/pkg/reconcile
func (*DBaaSTenantReconciler) SetupWithManager ¶
func (r *DBaaSTenantReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.