Documentation ¶
Index ¶
- func AddMySQL(mgr manager.Manager) error
- func AddPostgreSQL(mgr manager.Manager) error
- type AzureMySQLServerHandler
- func (h *AzureMySQLServerHandler) Find(name types.NamespacedName, c client.Client) (corev1alpha1.Resource, error)
- func (h *AzureMySQLServerHandler) Provision(class *corev1alpha1.ResourceClass, claim corev1alpha1.ResourceClaim, ...) (corev1alpha1.Resource, error)
- func (h *AzureMySQLServerHandler) SetBindStatus(name types.NamespacedName, c client.Client, bound bool) error
- type AzurePostgreSQLServerHandler
- func (h *AzurePostgreSQLServerHandler) Find(name types.NamespacedName, c client.Client) (corev1alpha1.Resource, error)
- func (h *AzurePostgreSQLServerHandler) Provision(class *corev1alpha1.ResourceClass, claim corev1alpha1.ResourceClaim, ...) (corev1alpha1.Resource, error)
- func (h *AzurePostgreSQLServerHandler) SetBindStatus(name types.NamespacedName, c client.Client, bound bool) error
- type CloudSQLServerHandler
- func (h *CloudSQLServerHandler) Find(name types.NamespacedName, c client.Client) (corev1alpha1.Resource, error)
- func (h *CloudSQLServerHandler) Provision(class *corev1alpha1.ResourceClass, claim corev1alpha1.ResourceClaim, ...) (corev1alpha1.Resource, error)
- func (h *CloudSQLServerHandler) SetBindStatus(name types.NamespacedName, c client.Client, bound bool) error
- type MySQLReconciler
- type PostgreSQLReconciler
- type RDSInstanceHandler
- func (h *RDSInstanceHandler) Find(name types.NamespacedName, c client.Client) (corev1alpha1.Resource, error)
- func (h *RDSInstanceHandler) Provision(class *corev1alpha1.ResourceClass, claim corev1alpha1.ResourceClaim, ...) (corev1alpha1.Resource, error)
- func (h RDSInstanceHandler) SetBindStatus(name types.NamespacedName, c client.Client, bound bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddMySQL ¶
AddMySQL creates a new MySQLInstance Controller and adds it to the Manager with default RBAC. The Manager will set fields on the Controller and Start it when the Manager is Started.
func AddPostgreSQL ¶
AddPostgreSQL creates a new PostgreSQLInstance Controller and adds it to the Manager with default RBAC. The Manager will set fields on the Controller and Start it when the Manager is Started.
Types ¶
type AzureMySQLServerHandler ¶
type AzureMySQLServerHandler struct{}
AzureMySQLServerHandler is a dynamic provisioning handler for Azure MySQLServer
func (*AzureMySQLServerHandler) Find ¶
func (h *AzureMySQLServerHandler) Find(name types.NamespacedName, c client.Client) (corev1alpha1.Resource, error)
Find Azure MysqlServer resource
func (*AzureMySQLServerHandler) Provision ¶
func (h *AzureMySQLServerHandler) Provision(class *corev1alpha1.ResourceClass, claim corev1alpha1.ResourceClaim, c client.Client) (corev1alpha1.Resource, error)
Provision (create) a new Azure SQL Server resource
func (*AzureMySQLServerHandler) SetBindStatus ¶
func (h *AzureMySQLServerHandler) SetBindStatus(name types.NamespacedName, c client.Client, bound bool) error
SetBindStatus updates resource state binding phase TODO: this SetBindStatus function could be refactored to 1 common implementation for all providers
type AzurePostgreSQLServerHandler ¶
type AzurePostgreSQLServerHandler struct{}
AzurePostgreSQLServerHandler is a dynamic provisioning handler for Azure PostgreSQLServer
func (*AzurePostgreSQLServerHandler) Find ¶
func (h *AzurePostgreSQLServerHandler) Find(name types.NamespacedName, c client.Client) (corev1alpha1.Resource, error)
Find a PostgreSQL server.
func (*AzurePostgreSQLServerHandler) Provision ¶
func (h *AzurePostgreSQLServerHandler) Provision(class *corev1alpha1.ResourceClass, claim corev1alpha1.ResourceClaim, c client.Client) (corev1alpha1.Resource, error)
Provision (create) a new Azure SQL Server resource
func (*AzurePostgreSQLServerHandler) SetBindStatus ¶
func (h *AzurePostgreSQLServerHandler) SetBindStatus(name types.NamespacedName, c client.Client, bound bool) error
SetBindStatus updates resource state binding phase TODO: this SetBindStatus function could be refactored to 1 common implementation for all providers
type CloudSQLServerHandler ¶
type CloudSQLServerHandler struct{}
CloudSQLServerHandler is a dynamic provisioning handler for CloudSQL resource
func (*CloudSQLServerHandler) Find ¶
func (h *CloudSQLServerHandler) Find(name types.NamespacedName, c client.Client) (corev1alpha1.Resource, error)
Find CloudSQL resource
func (*CloudSQLServerHandler) Provision ¶
func (h *CloudSQLServerHandler) Provision(class *corev1alpha1.ResourceClass, claim corev1alpha1.ResourceClaim, c client.Client) (corev1alpha1.Resource, error)
Provision (create) a new CloudSQL resource
func (*CloudSQLServerHandler) SetBindStatus ¶
func (h *CloudSQLServerHandler) SetBindStatus(name types.NamespacedName, c client.Client, bound bool) error
SetBindStatus updates resource state binding phase TODO: this SetBindStatus function could be refactored to 1 common implementation for all providers
type MySQLReconciler ¶
type MySQLReconciler struct {
*corecontroller.Reconciler
}
MySQLReconciler is the reconciler for MySQLInstance objects
type PostgreSQLReconciler ¶
type PostgreSQLReconciler struct {
*corecontroller.Reconciler
}
PostgreSQLReconciler is the reconciler for PostgreSQLInstance objects
type RDSInstanceHandler ¶
type RDSInstanceHandler struct{}
RDSInstanceHandler handles RDS Instance functionality
func (*RDSInstanceHandler) Find ¶
func (h *RDSInstanceHandler) Find(name types.NamespacedName, c client.Client) (corev1alpha1.Resource, error)
Find RDSInstance
func (*RDSInstanceHandler) Provision ¶
func (h *RDSInstanceHandler) Provision(class *corev1alpha1.ResourceClass, claim corev1alpha1.ResourceClaim, c client.Client) (corev1alpha1.Resource, error)
Provision create new RDSInstance
func (RDSInstanceHandler) SetBindStatus ¶
func (h RDSInstanceHandler) SetBindStatus(name types.NamespacedName, c client.Client, bound bool) error
SetBindStatus updates resource state binding phase TODO: this SetBindStatus function could be refactored to 1 common implementation for all providers