database

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureMysqlServer

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

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

func ConfigurePostgresqlServer

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

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

Types

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 MySQLReconciler

type MySQLReconciler struct {
	*SQLReconciler
}

MySQLReconciler reconciles a MysqlServer object

func NewMysqlServerReconciler

func NewMysqlServerReconciler(mgr manager.Manager, sqlServerAPIFactory azureclients.SQLServerAPIFactory,
	clientset kubernetes.Interface) *MySQLReconciler

NewMysqlServerReconciler returns a new reconcile.Reconciler

func (*MySQLReconciler) Reconcile

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

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

type MysqlServerController

type MysqlServerController struct {
	Reconciler reconcile.Reconciler
}

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

func (*MysqlServerController) SetupWithManager

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

SetupWithManager creates a Controller that reconciles MysqlServer resources.

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 PostgreSQLReconciler

type PostgreSQLReconciler struct {
	*SQLReconciler
}

PostgreSQLReconciler reconciles a PostgreSQLServer object

func NewPostgreSQLServerReconciler

func NewPostgreSQLServerReconciler(mgr manager.Manager, sqlServerAPIFactory azureclients.SQLServerAPIFactory,
	clientset kubernetes.Interface) *PostgreSQLReconciler

NewPostgreSQLServerReconciler returns a new reconcile.Reconciler

func (*PostgreSQLReconciler) Reconcile

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

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

type PostgresqlServerController

type PostgresqlServerController struct {
	Reconciler reconcile.Reconciler
}

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

func (*PostgresqlServerController) SetupWithManager

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

SetupWithManager creates a Controller that reconciles PostgresqlServer resources.

type SQLReconciler

type SQLReconciler struct {
	client.Client
	// contains filtered or unexported fields
}

SQLReconciler reconciles SQL resource specs with Azure.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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