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: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureMyRDSInstance

func ConfigureMyRDSInstance(_ context.Context, cm resource.Claim, cs resource.Class, mg resource.Managed) error

ConfigureMyRDSInstance configures the supplied resource (presumed to be a RDSInstance) using the supplied resource claim (presumed to be a MySQLInstance) and resource class.

func ConfigurePostgreRDSInstance

func ConfigurePostgreRDSInstance(_ context.Context, cm resource.Claim, cs resource.Class, mg resource.Managed) error

ConfigurePostgreRDSInstance configures the supplied resource (presumed to be a RDSInstance) using the supplied resource claim (presumed to be a PostgreSQLInstance) and resource class.

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 RDSInstances, 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 RDSInstanceClass 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 RDSInstanceClass, 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 RDSInstances, 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 RDSInstanceClass 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 RDSInstanceClass, if any.

func SetupRDSInstance added in v0.6.0

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

SetupRDSInstance adds a controller that reconciles RDSInstances.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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