package
2.9.1+incompatible
Repository: https://github.com/db-operator/db-operator.git
Documentation: pkg.go.dev

# Functions

IsAccessTypeSupported returns an error if access type is not supported.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Make sure that credentials.templates are correct ConfigMaps templating is not allowed for DbUser, that's why we have the second argument: cmAllowed.

# Constants

No description provided by the author
No description provided by the author
Access types that are supported by the operator.
Access types that are supported by the operator.

# 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

BackendServer defines backend database server.
Credentials should be used to setup everything relates to k8s secrets and configmaps TODO(@allanger): Field .spec.secretName should be moved here in the v1beta2 version.
+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:resource:shortName=db +kubebuilder:printcolumn:name="Status",type=boolean,JSONPath=`.status.status`,description="current db status" +kubebuilder:printcolumn:name="Protected",type=boolean,JSONPath=`.spec.deletionProtected`,description="If database is protected to not get deleted." +kubebuilder:printcolumn:name="DBInstance",type=string,JSONPath=`.spec.instance`,description="instance reference" +kubebuilder:printcolumn:name="OperatorVersion",type=string,JSONPath=`.status.operatorVersion`,description="db-operator version of last full reconcile" +kubebuilder:printcolumn:name="Age",type=date,JSONPath=`.metadata.creationTimestamp`,description="time since creation of resource" +kubebuilder:storageversion Database is the Schema for the databases API.
DatabaseBackup defines the desired state of backup and schedule.
DatabaseList contains a list of Database.
DatabaseProxyStatus defines whether proxy for database is enabled or not if so, provide information.
DatabaseSpec defines the desired state of Database.
DatabaseStatus defines the observed state of Database.
DbInstance is the Schema for the dbinstances API.
DbInstanceBackup defines name of google bucket to use for storing database dumps for backup when backup is enabled.
DbInstanceList contains a list of DbInstance.
DbInstanceMonitoring defines if exporter.
DbInstanceSource represents the source of a instance.
DbInstanceSpec defines the desired state of DbInstance.
DbInstanceSSLConnection defines weather connection from db-operator to instance has to be ssl or not.
DbInstanceStatus defines the observed state of DbInstance.
DbUser is the Schema for the dbusers API.
DbUserList contains a list of DbUser.
DbUserSpec defines the desired state of DbUser.
DbUserStatus defines the observed state of DbUser.
No description provided by the author
GenericInstance is used when instance type is generic and describes necessary informations to use instance generic instance can be any backend, it must be reachable by described address and port.
GoogleInstance is used when instance type is Google Cloud SQL and describes necessary informations to use google API to create sql instances.
NamespacedName is a fork of the kubernetes api type of the same name.
Postgres struct should be used to provide resource that only applicable to postgres.
Tempaltes to add custom entries to ConfigMaps and Secrets.

# Type aliases

No description provided by the author