Documentation ¶
Index ¶
- func ConfigureMysqlServer(_ context.Context, cm resource.Claim, cs resource.NonPortableClass, ...) error
- func ConfigurePostgresqlServer(_ context.Context, cm resource.Claim, cs resource.NonPortableClass, ...) error
- type MySQLInstanceClaimController
- type MySQLReconciler
- type MysqlServerController
- type PostgreSQLInstanceClaimController
- type PostgreSQLReconciler
- type PostgresqlServerController
- type SQLReconciler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureMysqlServer ¶
func ConfigureMysqlServer(_ context.Context, cm resource.Claim, cs resource.NonPortableClass, mg resource.Managed) error
ConfigureMysqlServer configures the supplied resource (presumed to be a MysqlServer) using the supplied resource claim (presumed to be a MySQLInstance) and resource class.
func ConfigurePostgresqlServer ¶
func ConfigurePostgresqlServer(_ context.Context, cm resource.Claim, cs resource.NonPortableClass, mg resource.Managed) error
ConfigurePostgresqlServer configures the supplied resource (presumed to be a PostgresqlServer) using the supplied resource claim (presumed to be a PostgreSQLInstance) and resource class.
Types ¶
type MySQLInstanceClaimController ¶
type MySQLInstanceClaimController struct{}
MySQLInstanceClaimController is responsible for adding the MySQLInstance claim controller and its corresponding reconciler to the manager with any runtime configuration.
func (*MySQLInstanceClaimController) SetupWithManager ¶
func (c *MySQLInstanceClaimController) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager adds a controller that reconciles MySQLInstance instance claims.
type MySQLReconciler ¶
type MySQLReconciler struct {
*SQLReconciler
}
MySQLReconciler reconciles a MysqlServer object
func NewMysqlServerReconciler ¶
func NewMysqlServerReconciler(mgr manager.Manager, sqlServerAPIFactory azureclients.SQLServerAPIFactory, clientset kubernetes.Interface) *MySQLReconciler
NewMysqlServerReconciler returns a new reconcile.Reconciler
type MysqlServerController ¶
type MysqlServerController struct {
Reconciler reconcile.Reconciler
}
MysqlServerController is responsible for adding the MysqlServer controller and its corresponding reconciler to the manager with any runtime configuration.
func (*MysqlServerController) SetupWithManager ¶
func (c *MysqlServerController) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager creates a Controller that reconciles MysqlServer resources.
type PostgreSQLInstanceClaimController ¶
type PostgreSQLInstanceClaimController struct{}
PostgreSQLInstanceClaimController is responsible for adding the PostgreSQLInstance claim controller and its corresponding reconciler to the manager with any runtime configuration.
func (*PostgreSQLInstanceClaimController) SetupWithManager ¶
func (c *PostgreSQLInstanceClaimController) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager adds a controller that reconciles PostgreSQLInstance instance claims.
type PostgreSQLReconciler ¶
type PostgreSQLReconciler struct {
*SQLReconciler
}
PostgreSQLReconciler reconciles a PostgreSQLServer object
func NewPostgreSQLServerReconciler ¶
func NewPostgreSQLServerReconciler(mgr manager.Manager, sqlServerAPIFactory azureclients.SQLServerAPIFactory, clientset kubernetes.Interface) *PostgreSQLReconciler
NewPostgreSQLServerReconciler returns a new reconcile.Reconciler
type PostgresqlServerController ¶
type PostgresqlServerController struct {
Reconciler reconcile.Reconciler
}
PostgresqlServerController is responsible for adding the PostgresqlServer controller and its corresponding reconciler to the manager with any runtime configuration.
func (*PostgresqlServerController) SetupWithManager ¶
func (c *PostgresqlServerController) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager creates a Controller that reconciles PostgresqlServer resources.
type SQLReconciler ¶
SQLReconciler reconciles SQL resource specs with Azure.