database

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 18, 2020 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureMyCloudSQLInstance

func ConfigureMyCloudSQLInstance(_ context.Context, cm resource.Claim, cs resource.Class, 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.Class, 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.

func SetupCloudSQLInstance added in v0.6.0

func SetupCloudSQLInstance(mgr ctrl.Manager, l logging.Logger) error

SetupCloudSQLInstance adds a controller that reconciles CloudSQLInstance managed resources.

func SetupMySQLInstanceClaimBinding added in v0.6.0

func SetupMySQLInstanceClaimBinding(mgr ctrl.Manager, l logging.Logger) error

SetupMySQLInstanceClaimBinding adds a controller that reconciles MySQLInstance claims with CloudSQLInstances, dynamically provisioning them if needed.

func SetupMySQLInstanceClaimDefaulting added in v0.6.0

func SetupMySQLInstanceClaimDefaulting(mgr ctrl.Manager, l logging.Logger) error

SetupMySQLInstanceClaimDefaulting adds a controller that reconciles MySQLInstance claims that omit their resource ref, class ref, and class selector by choosing a default CloudSQLInstanceClass if one exists.

func SetupMySQLInstanceClaimScheduling added in v0.6.0

func SetupMySQLInstanceClaimScheduling(mgr ctrl.Manager, l logging.Logger) error

SetupMySQLInstanceClaimScheduling adds a controller that reconciles MySQLInstance claims that include a class selector but omit their class and resource references by picking a random matching CloudSQLInstanceClass, if any.

func SetupPostgreSQLInstanceClaimBinding added in v0.6.0

func SetupPostgreSQLInstanceClaimBinding(mgr ctrl.Manager, l logging.Logger) error

SetupPostgreSQLInstanceClaimBinding adds a controller that reconciles PostgreSQLInstance claims with CloudSQLInstances, dynamically provisioning them if needed.

func SetupPostgreSQLInstanceClaimDefaulting added in v0.6.0

func SetupPostgreSQLInstanceClaimDefaulting(mgr ctrl.Manager, l logging.Logger) error

SetupPostgreSQLInstanceClaimDefaulting adds a controller that reconciles PostgreSQLInstance claims that omit their resource ref, class ref, and class selector by choosing a default CloudSQLInstanceClass if one exists.

func SetupPostgreSQLInstanceClaimScheduling added in v0.6.0

func SetupPostgreSQLInstanceClaimScheduling(mgr ctrl.Manager, l logging.Logger) error

SetupPostgreSQLInstanceClaimScheduling adds a controller that reconciles PostgreSQLInstance claims that include a class selector but omit their class and resource references by picking a random matching CloudSQLInstanceClass, if any.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL