rds

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2019 License: Apache-2.0 Imports: 23 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.NonPortableClass, 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.NonPortableClass, 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 InstanceController

type InstanceController struct{}

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

func (*InstanceController) SetupWithManager

func (c *InstanceController) 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.

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 {
	client.Client
	// contains filtered or unexported fields
}

Reconciler reconciles a Instance object

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(request reconcile.Request) (reconcile.Result, error)

Reconcile reads that state of the cluster for a Instance object and makes changes based on the state read and what is in the Instance.Spec

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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