database

package
v0.0.0-...-6faa70d Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2019 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureCockroachCluster

func ConfigureCockroachCluster(_ context.Context, cm resource.Claim, cs resource.NonPortableClass, mg resource.Managed) error

ConfigureCockroachCluster configures the supplied instance (presumed to be a CockroachCluster) using the supplied instance claim (presumed to be a PostgreSQLInstance) and instance class.

func ConfigureYugabyteCluster

func ConfigureYugabyteCluster(_ context.Context, cm resource.Claim, cs resource.NonPortableClass, mg resource.Managed) error

ConfigureYugabyteCluster configures the supplied instance (presumed to be a YugabyteCluster) using the supplied instance claim (presumed to be a PostgreSQLInstance) and instance class.

Types

type CockroachClusterController

type CockroachClusterController struct{}

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

func (*CockroachClusterController) SetupWithManager

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

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

type PostgreSQLInstanceCockroachClaimController struct{}

PostgreSQLInstanceCockroachClaimController is responsible for adding the PostgreSQLInstance claim controller and its corresponding reconciler to the manager with any runtime configuration.

func (*PostgreSQLInstanceCockroachClaimController) SetupWithManager

SetupWithManager adds a controller that reconciles PostgreSQLInstance instance claims.

type PostgreSQLInstanceYugabyteClaimController

type PostgreSQLInstanceYugabyteClaimController struct{}

PostgreSQLInstanceYugabyteClaimController is responsible for adding the PostgreSQLInstance claim controller and its corresponding reconciler to the manager with any runtime configuration.

func (*PostgreSQLInstanceYugabyteClaimController) SetupWithManager

SetupWithManager adds a controller that reconciles PostgreSQLInstance instance claims.

type YugabyteClusterController

type YugabyteClusterController struct{}

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

func (*YugabyteClusterController) SetupWithManager

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

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

Jump to

Keyboard shortcuts

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