controllers

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 3, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// LabelAppName for discovery.
	LabelAppName = "mariadb.amazee.io/service-name"
	// LabelAppType for discovery.
	LabelAppType = "mariadb.amazee.io/type"
	// LabelAppManaged for discovery.
	LabelAppManaged = "mariadb.amazee.io/managed-by"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type MariaDBConsumerReconciler

type MariaDBConsumerReconciler struct {
	client.Client
	Log                        logr.Logger
	Scheme                     *runtime.Scheme
	Environment                string
	Hostname                   string
	ServiceHostname            string
	ReadReplicaHostname        string
	ServiceReadReplicaHostname string
	Password                   string
	Port                       string
	Username                   string
	Provider                   struct {
		Name      string
		Namespace string
	}
	Consumer struct {
		Database string
		Password string
		Username string
		Services struct {
			ServiceHostname            string
			ServiceReadReplicaHostname string
		}
	}
}

MariaDBConsumerReconciler reconciles a MariaDBConsumer object

func (*MariaDBConsumerReconciler) Reconcile

Reconcile .

func (*MariaDBConsumerReconciler) SetupWithManager

func (r *MariaDBConsumerReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager .

type MariaDBProviderReconciler

type MariaDBProviderReconciler struct {
	client.Client
	Log                  logr.Logger
	Scheme               *runtime.Scheme
	Environment          string
	Hostname             string
	ReadReplicaHostnames []string
	Password             string
	Port                 string
	Username             string
	Type                 string
}

MariaDBProviderReconciler reconciles a MariaDBProvider object

func (*MariaDBProviderReconciler) Reconcile

Reconcile .

func (*MariaDBProviderReconciler) SetupWithManager

func (r *MariaDBProviderReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager .

type MariaDBUsage

type MariaDBUsage struct {
	SchemaCount int
	TableCount  int
}

MariaDBUsage .

Jump to

Keyboard shortcuts

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