Documentation ¶
Index ¶
- func ConfigureMyCloudsqlInstance(_ context.Context, cm resource.Claim, cs resource.NonPortableClass, ...) error
- func ConfigurePostgreSQLCloudsqlInstance(_ context.Context, cm resource.Claim, cs resource.NonPortableClass, ...) error
- type CloudsqlController
- type MySQLInstanceClaimController
- type PostgreSQLInstanceClaimController
- type Reconciler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureMyCloudsqlInstance ¶
func ConfigureMyCloudsqlInstance(_ context.Context, cm resource.Claim, cs resource.NonPortableClass, mg resource.Managed) error
ConfigureMyCloudsqlInstance configures the supplied instance (presumed to be a CloudsqlInstance) using the supplied instance claim (presumed to be a MySQLInstance) and instance class.
func ConfigurePostgreSQLCloudsqlInstance ¶
func ConfigurePostgreSQLCloudsqlInstance(_ context.Context, cm resource.Claim, cs resource.NonPortableClass, mg resource.Managed) error
ConfigurePostgreSQLCloudsqlInstance configures the supplied instance (presumed to be a CloudsqlInstance) using the supplied instance claim (presumed to be a PostgreSQLInstance) and instance class.
Types ¶
type CloudsqlController ¶
type CloudsqlController struct{}
CloudsqlController is responsible for adding the Cloudsql controller and its corresponding reconciler to the manager with any runtime configuration.
func (*CloudsqlController) SetupWithManager ¶
func (c *CloudsqlController) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager creates a Controller that reconciles CloudsqlInstance resources.
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 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 Reconciler ¶
type Reconciler struct {
// contains filtered or unexported fields
}
Reconciler reconciles cloudsql instance objects