# Functions
DeleteUnusedMariaDBAccountFinalizers searches for all MariaDBAccounts associated with the given MariaDBDatabase name and removes the finalizer for all of them except for the given named account.
EnsureMariaDBAccount ensures a MariaDBAccount has been created for a given operator calling the function, and returns the MariaDBAccount and its Secret for use in consumption into a configuration.
GetAccount returns an existing MariaDBAccount object from the cluster.
GetAccount returns an existing MariaDBAccount object and its associated Secret object from the cluster.
No description provided by the author
No description provided by the author
NewDatabaseForAccount returns an initialized Database struct.
SetupDefaults - initializes any CRD field defaults based on environment variables (the defaulting mechanism itself is implemented via webhooks).
SetupGaleraDefaults - initialize MariaDB spec defaults for use with either internal or external webhooks.
# Constants
AccountCreateHash hash.
AccountDeleteHash hash.
CustomServiceConfigFile name of the additional mariadb config file.
DatabaseAdminPasswordKey - key in secret which holds the admin user password.
DatabasePassword selector for MariaDBAccount->Secret.
DatabaseUserPasswordKey - key in secret which holds the service user DB password.
DbCreateHash hash.
DbDeleteHash hash.
DbRootPassword selector for galera root account.
GaleraContainerImage is the fall-back container image for Galera.
MariaDB Messages used by API objects.
MariaDB Messages used by API objects.
MariaDB Condition Types used by API objects.
MariaDB Messages used by API objects.
MariaDB Messages used by API objects.
MariaDB Messages used by API objects.
MariaDB Messages used by API objects.
MariaDB Condition Types used by API objects.
MariaDB Messages used by API objects.
MariaDB Messages used by API objects.
MariaDB Messages used by API objects.
MariaDB Messages used by API objects.
MariaDBInitializedCondition Status=True condition which indicates if the MariaDB dbinit has completed.
MariaDBInitializedErrorMessage.
MariaDBReady condition messages
MariaDBInitializedInitMessage.
MariaDBInitializedReadyMessage.
MariaDBInitializedRunningMessage.
MariaDBInputSecretNotFoundMessage.
MariaDB Messages used by API objects.
MariaDBServerReadyCondition Status=True condition which indicates that the MariaDB and/or Galera server is ready for database / account create/drop operations to proceed.
MariaDB Messages used by API objects.
MariaDB Messages used by API objects.
ReasonDBError - DB error.
ReasonDBNotFound - DB object not found.
ReasonDBPatchError - new resource set to reason Init.
ReasonDBPathOK - DB object created or patched ok.
ReasonDBServiceNameError - error getting the DB service hostname.
ReasonDBSync - Database sync in progress.
ReasonDBWaitingInitialized - waiting for service DB to be initialized.
# Variables
AddToScheme adds the types in this group-version to the given scheme.
GroupVersion is group version used to register these objects.
SchemeBuilder is used to add go types to the GroupVersionKind scheme.
# Structs
AdoptionRedirectSpec defines redirection to a different DB instance during Adoption.
Database - a facade on top of the combination of a MariaDBDatabase and MariaDBAccount pair.
Galera is the Schema for the galeras API.
GaleraAttributes holds startup information for a Galera host.
GaleraDefaults -.
GaleraList contains a list of Galera.
GaleraSpec defines the desired state of Galera.
GaleraSpec defines the desired state of Galera.
GaleraStatus defines the observed state of Galera.
MariaDBAccount is the Schema for the mariadbaccounts API.
MariaDBAccountList contains a list of MariaDBAccount.
MariaDBAccountSpec defines the desired state of MariaDBAccount.
MariaDBAccountStatus defines the observed state of MariaDBAccount.
MariaDBDatabase is the Schema for the mariadbdatabases API.
MariaDBDatabaseList contains a list of MariaDBDatabase.
MariaDBDatabaseSpec defines the desired state of MariaDBDatabase.
MariaDBDatabaseStatus defines the observed state of MariaDBDatabase.