database

package
v0.5.0-rc Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2020 License: Apache-2.0 Imports: 24 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.

Types

type MySQLInstanceClaimController

type MySQLInstanceClaimController struct{}

A MySQLInstanceClaimController reconciles MySQLInstance claims with RDSInstances, dynamically provisioning them if needed

func (*MySQLInstanceClaimController) SetupWithManager

func (c *MySQLInstanceClaimController) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager adds a controller that reconciles MySQLInstance instance claims.

type MySQLInstanceClaimDefaultingController

type MySQLInstanceClaimDefaultingController struct{}

A MySQLInstanceClaimDefaultingController reconciles MySQLInstance claims that omit their resource ref, class ref, and class selector by choosing a default RDSInstanceClass if one exists.

func (*MySQLInstanceClaimDefaultingController) SetupWithManager

func (c *MySQLInstanceClaimDefaultingController) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the MySQLInstanceClaimDefaultingController using the supplied manager.

type MySQLInstanceClaimSchedulingController

type MySQLInstanceClaimSchedulingController struct{}

A MySQLInstanceClaimSchedulingController reconciles MySQLInstance claims that include a class selector but omit their class and resource references by picking a random matching RDSInstanceClass, if any.

func (*MySQLInstanceClaimSchedulingController) SetupWithManager

func (c *MySQLInstanceClaimSchedulingController) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the MySQLInstanceClaimSchedulingController using the supplied manager.

type PostgreSQLInstanceClaimController

type PostgreSQLInstanceClaimController struct{}

A PostgreSQLInstanceClaimController reconciles PostgreSQLInstance claims with RDSInstances, dynamically provisioning them if needed

func (*PostgreSQLInstanceClaimController) SetupWithManager

func (c *PostgreSQLInstanceClaimController) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager adds a controller that reconciles PostgreSQLInstance instance claims.

type PostgreSQLInstanceClaimDefaultingController

type PostgreSQLInstanceClaimDefaultingController struct{}

A PostgreSQLInstanceClaimDefaultingController reconciles PostgreSQLInstance claims that omit their resource ref, class ref, and class selector by choosing a default RDSInstanceClass if one exists.

func (*PostgreSQLInstanceClaimDefaultingController) SetupWithManager

SetupWithManager sets up the PostgreSQLInstanceClaimDefaultingController using the supplied manager.

type PostgreSQLInstanceClaimSchedulingController

type PostgreSQLInstanceClaimSchedulingController struct{}

A PostgreSQLInstanceClaimSchedulingController reconciles PostgreSQLInstance claims that include a class selector but omit their class and resource references by picking a random matching RDSInstanceClass, if any.

func (*PostgreSQLInstanceClaimSchedulingController) SetupWithManager

SetupWithManager sets up the PostgreSQLInstanceClaimSchedulingController using the supplied manager.

type RDSInstanceController

type RDSInstanceController struct{}

RDSInstanceController is responsible for adding the RDSInstance controller and its corresponding reconciler to the manager with any runtime configuration.

func (*RDSInstanceController) SetupWithManager

func (c *RDSInstanceController) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager creates a new 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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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