Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the database v1alpha1 API group +kubebuilder:object:generate=true +groupName=mariadb.mmontes.io
Index ¶
- Constants
- Variables
- type Backup
- func (in *Backup) DeepCopy() *Backup
- func (in *Backup) DeepCopyInto(out *Backup)
- func (in *Backup) DeepCopyObject() runtime.Object
- func (b *Backup) IsComplete() bool
- func (r *Backup) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Backup) ValidateCreate() error
- func (r *Backup) ValidateDelete() error
- func (r *Backup) ValidateUpdate(old runtime.Object) error
- func (b *Backup) Volume() (*corev1.VolumeSource, error)
- type BackupList
- type BackupSchedule
- type BackupSpec
- type BackupStatus
- type BackupStorage
- type Connection
- func (in *Connection) DeepCopy() *Connection
- func (in *Connection) DeepCopyInto(out *Connection)
- func (in *Connection) DeepCopyObject() runtime.Object
- func (c *Connection) Init()
- func (c *Connection) IsInit() bool
- func (c *Connection) IsReady() bool
- func (c *Connection) SecretKey() string
- func (c *Connection) SecretName() string
- func (r *Connection) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Connection) ValidateCreate() error
- func (r *Connection) ValidateDelete() error
- func (r *Connection) ValidateUpdate(old runtime.Object) error
- type ConnectionList
- type ConnectionSpec
- type ConnectionStatus
- type ConnectionTemplate
- type Database
- func (in *Database) DeepCopy() *Database
- func (in *Database) DeepCopyInto(out *Database)
- func (in *Database) DeepCopyObject() runtime.Object
- func (d *Database) IsBeingDeleted() bool
- func (m *Database) IsReady() bool
- func (m *Database) MariaDBRef() *MariaDBRef
- func (r *Database) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Database) ValidateCreate() error
- func (r *Database) ValidateDelete() error
- func (r *Database) ValidateUpdate(old runtime.Object) error
- type DatabaseList
- type DatabaseSpec
- type DatabaseStatus
- type Exporter
- type Grant
- func (in *Grant) DeepCopy() *Grant
- func (in *Grant) DeepCopyInto(out *Grant)
- func (in *Grant) DeepCopyObject() runtime.Object
- func (g *Grant) IsBeingDeleted() bool
- func (m *Grant) IsReady() bool
- func (g *Grant) MariaDBRef() *MariaDBRef
- func (r *Grant) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Grant) ValidateCreate() error
- func (r *Grant) ValidateDelete() error
- func (r *Grant) ValidateUpdate(old runtime.Object) error
- type GrantList
- type GrantSpec
- type GrantStatus
- type HealthCheck
- type Image
- type MariaDB
- func (m *MariaDB) ConfigMapKeyRef() *corev1.ConfigMapKeySelector
- func (m *MariaDB) ConfigMapValue() *string
- func (in *MariaDB) DeepCopy() *MariaDB
- func (in *MariaDB) DeepCopyInto(out *MariaDB)
- func (in *MariaDB) DeepCopyObject() runtime.Object
- func (m *MariaDB) IsBootstrapped() bool
- func (m *MariaDB) IsReady() bool
- func (r *MariaDB) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *MariaDB) ValidateCreate() error
- func (r *MariaDB) ValidateDelete() error
- func (r *MariaDB) ValidateUpdate(old runtime.Object) error
- type MariaDBList
- type MariaDBRef
- type MariaDBSpec
- type MariaDBStatus
- type Metrics
- type Restore
- func (in *Restore) DeepCopy() *Restore
- func (in *Restore) DeepCopyInto(out *Restore)
- func (in *Restore) DeepCopyObject() runtime.Object
- func (r *Restore) IsComplete() bool
- func (r *Restore) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Restore) ValidateCreate() error
- func (r *Restore) ValidateDelete() error
- func (r *Restore) ValidateUpdate(old runtime.Object) error
- type RestoreList
- type RestoreSource
- type RestoreSpec
- type RestoreStatus
- type SecretTemplate
- type ServiceMonitor
- type SqlJob
- func (s *SqlJob) ConfigMapKeyRef() *corev1.ConfigMapKeySelector
- func (s *SqlJob) ConfigMapValue() *string
- func (in *SqlJob) DeepCopy() *SqlJob
- func (in *SqlJob) DeepCopyInto(out *SqlJob)
- func (in *SqlJob) DeepCopyObject() runtime.Object
- func (b *SqlJob) IsComplete() bool
- func (r *SqlJob) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *SqlJob) ValidateCreate() error
- func (r *SqlJob) ValidateDelete() error
- func (r *SqlJob) ValidateUpdate(old runtime.Object) error
- type SqlJobList
- type SqlJobSpec
- type SqlJobStatus
- type User
- func (in *User) DeepCopy() *User
- func (in *User) DeepCopyInto(out *User)
- func (in *User) DeepCopyObject() runtime.Object
- func (u *User) IsBeingDeleted() bool
- func (u *User) IsReady() bool
- func (u *User) MariaDBRef() *MariaDBRef
- func (r *User) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *User) ValidateCreate() error
- func (r *User) ValidateDelete() error
- func (r *User) ValidateUpdate(old runtime.Object) error
- type UserList
- type UserSpec
- type UserStatus
Constants ¶
const ( ConditionTypeReady string = "Ready" ConditionTypeBootstrapped string = "Bootstrapped" ConditionTypeComplete string = "Complete" )
const ( ConditionReasonStatefulSetNotReady string = "StatefulSetNotReady" ConditionReasonStatefulSetReady string = "StatefulSetReady" ConditionReasonRestoreNotComplete string = "RestoreNotComplete" ConditionReasonRestoreComplete string = "RestoreComplete" ConditionReasonJobComplete string = "JobComplete" ConditionReasonJobSuspended string = "JobSuspended" ConditionReasonJobFailed string = "JobFailed" ConditionReasonJobRunning string = "JobRunning" ConditionReasonCronJobScheduled string = "CronJobScheduled" ConditionReasonCronJobFailed string = "CronJobScheduled" ConditionReasonCronJobRunning string = "CronJobRunning" ConditionReasonCronJobSuccess string = "CronJobSucess" ConditionReasonConnectionFailed string = "ConnectionFailed" ConditionReasonCreated string = "Created" ConditionReasonHealthy string = "Healthy" ConditionReasonFailed string = "Failed" )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "mariadb.mmontes.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type Backup ¶ added in v0.0.6
type Backup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec BackupSpec `json:"spec,omitempty"` Status BackupStatus `json:"status,omitempty"` }
Backup is the Schema for the backups API
func (*Backup) DeepCopy ¶ added in v0.0.6
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Backup.
func (*Backup) DeepCopyInto ¶ added in v0.0.6
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Backup) DeepCopyObject ¶ added in v0.0.6
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Backup) IsComplete ¶ added in v0.0.6
func (*Backup) SetupWebhookWithManager ¶ added in v0.0.6
func (*Backup) ValidateCreate ¶ added in v0.0.6
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Backup) ValidateDelete ¶ added in v0.0.6
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*Backup) ValidateUpdate ¶ added in v0.0.6
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type BackupList ¶ added in v0.0.6
type BackupList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Backup `json:"items"` }
BackupList contains a list of Backup
func (*BackupList) DeepCopy ¶ added in v0.0.6
func (in *BackupList) DeepCopy() *BackupList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupList.
func (*BackupList) DeepCopyInto ¶ added in v0.0.6
func (in *BackupList) DeepCopyInto(out *BackupList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupList) DeepCopyObject ¶ added in v0.0.6
func (in *BackupList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BackupSchedule ¶ added in v0.0.2
type BackupSchedule struct { // +kubebuilder:validation:Required Cron string `json:"cron"` // +kubebuilder:default=false Supend bool `json:"suspend,omitempty"` }
func (*BackupSchedule) DeepCopy ¶ added in v0.0.2
func (in *BackupSchedule) DeepCopy() *BackupSchedule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupSchedule.
func (*BackupSchedule) DeepCopyInto ¶ added in v0.0.2
func (in *BackupSchedule) DeepCopyInto(out *BackupSchedule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupSpec ¶ added in v0.0.6
type BackupSpec struct { // +kubebuilder:validation:Required MariaDBRef MariaDBRef `json:"mariaDbRef" webhook:"inmutable"` // +kubebuilder:validation:Required Storage BackupStorage `json:"storage" webhook:"inmutable"` // +kubebuilder:default=false Physical bool `json:"physical,omitempty" webhook:"inmutable"` Schedule *BackupSchedule `json:"schedule,omitempty"` // +kubebuilder:default=5 BackoffLimit int32 `json:"backoffLimit,omitempty"` // +kubebuilder:default=30 MaxRetentionDays int32 `json:"maxRetentionDays,omitempty" webhook:"inmutable"` // +kubebuilder:default=OnFailure RestartPolicy corev1.RestartPolicy `json:"restartPolicy,omitempty" webhook:"inmutable"` // +kubebuilder:validation:Optional Resources *corev1.ResourceRequirements `json:"resources,omitempty" webhook:"inmutable"` }
BackupSpec defines the desired state of Backup
func (*BackupSpec) DeepCopy ¶ added in v0.0.6
func (in *BackupSpec) DeepCopy() *BackupSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupSpec.
func (*BackupSpec) DeepCopyInto ¶ added in v0.0.6
func (in *BackupSpec) DeepCopyInto(out *BackupSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupStatus ¶ added in v0.0.6
BackupStatus defines the observed state of Backup
func (*BackupStatus) DeepCopy ¶ added in v0.0.6
func (in *BackupStatus) DeepCopy() *BackupStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupStatus.
func (*BackupStatus) DeepCopyInto ¶ added in v0.0.6
func (in *BackupStatus) DeepCopyInto(out *BackupStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupStatus) SetCondition ¶ added in v0.0.6
func (b *BackupStatus) SetCondition(condition metav1.Condition)
type BackupStorage ¶ added in v0.0.5
type BackupStorage struct { Volume *corev1.VolumeSource `json:"volume,omitempty"` PersistentVolumeClaim *corev1.PersistentVolumeClaimSpec `json:"persistentVolumeClaim,omitempty"` }
func (*BackupStorage) DeepCopy ¶ added in v0.0.5
func (in *BackupStorage) DeepCopy() *BackupStorage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupStorage.
func (*BackupStorage) DeepCopyInto ¶ added in v0.0.5
func (in *BackupStorage) DeepCopyInto(out *BackupStorage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupStorage) Validate ¶ added in v0.0.5
func (s *BackupStorage) Validate() error
type Connection ¶ added in v0.0.7
type Connection struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ConnectionSpec `json:"spec,omitempty"` Status ConnectionStatus `json:"status,omitempty"` }
Connection is the Schema for the connections API
func (*Connection) DeepCopy ¶ added in v0.0.7
func (in *Connection) DeepCopy() *Connection
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Connection.
func (*Connection) DeepCopyInto ¶ added in v0.0.7
func (in *Connection) DeepCopyInto(out *Connection)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Connection) DeepCopyObject ¶ added in v0.0.7
func (in *Connection) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Connection) Init ¶ added in v0.0.7
func (c *Connection) Init()
func (*Connection) IsInit ¶ added in v0.0.7
func (c *Connection) IsInit() bool
func (*Connection) IsReady ¶ added in v0.0.7
func (c *Connection) IsReady() bool
func (*Connection) SecretKey ¶ added in v0.0.7
func (c *Connection) SecretKey() string
func (*Connection) SecretName ¶ added in v0.0.7
func (c *Connection) SecretName() string
func (*Connection) SetupWebhookWithManager ¶ added in v0.0.7
func (r *Connection) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*Connection) ValidateCreate ¶ added in v0.0.7
func (r *Connection) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Connection) ValidateDelete ¶ added in v0.0.7
func (r *Connection) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*Connection) ValidateUpdate ¶ added in v0.0.7
func (r *Connection) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type ConnectionList ¶ added in v0.0.7
type ConnectionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Connection `json:"items"` }
ConnectionList contains a list of Connection
func (*ConnectionList) DeepCopy ¶ added in v0.0.7
func (in *ConnectionList) DeepCopy() *ConnectionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionList.
func (*ConnectionList) DeepCopyInto ¶ added in v0.0.7
func (in *ConnectionList) DeepCopyInto(out *ConnectionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConnectionList) DeepCopyObject ¶ added in v0.0.7
func (in *ConnectionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ConnectionSpec ¶ added in v0.0.7
type ConnectionSpec struct { ConnectionTemplate `json:",inline"` // +kubebuilder:validation:Required MariaDBRef MariaDBRef `json:"mariaDbRef" webhook:"inmutable"` // +kubebuilder:validation:Required Username string `json:"username" webhook:"inmutable"` // +kubebuilder:validation:Required PasswordSecretKeyRef corev1.SecretKeySelector `json:"passwordSecretKeyRef" webhook:"inmutable"` Database *string `json:"database,omitempty" webhook:"inmutable"` }
ConnectionSpec defines the desired state of Connection
func (*ConnectionSpec) DeepCopy ¶ added in v0.0.7
func (in *ConnectionSpec) DeepCopy() *ConnectionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionSpec.
func (*ConnectionSpec) DeepCopyInto ¶ added in v0.0.7
func (in *ConnectionSpec) DeepCopyInto(out *ConnectionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConnectionStatus ¶ added in v0.0.7
ConnectionStatus defines the observed state of Connection
func (*ConnectionStatus) DeepCopy ¶ added in v0.0.7
func (in *ConnectionStatus) DeepCopy() *ConnectionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionStatus.
func (*ConnectionStatus) DeepCopyInto ¶ added in v0.0.7
func (in *ConnectionStatus) DeepCopyInto(out *ConnectionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConnectionStatus) SetCondition ¶ added in v0.0.7
func (c *ConnectionStatus) SetCondition(condition metav1.Condition)
type ConnectionTemplate ¶ added in v0.0.7
type ConnectionTemplate struct { SecretName *string `json:"secretName,omitempty" webhook:"inmutableinit"` SecretTemplate *SecretTemplate `json:"secretTemplate,omitempty" webhook:"inmutableinit"` HealthCheck *HealthCheck `json:"healthCheck,omitempty"` Params map[string]string `json:"params,omitempty" webhook:"inmutable"` }
func (*ConnectionTemplate) DeepCopy ¶ added in v0.0.7
func (in *ConnectionTemplate) DeepCopy() *ConnectionTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionTemplate.
func (*ConnectionTemplate) DeepCopyInto ¶ added in v0.0.7
func (in *ConnectionTemplate) DeepCopyInto(out *ConnectionTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Database ¶ added in v0.0.6
type Database struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DatabaseSpec `json:"spec,omitempty"` Status DatabaseStatus `json:"status,omitempty"` }
Database is the Schema for the databases API
func (*Database) DeepCopy ¶ added in v0.0.6
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Database.
func (*Database) DeepCopyInto ¶ added in v0.0.6
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Database) DeepCopyObject ¶ added in v0.0.6
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Database) IsBeingDeleted ¶ added in v0.0.6
func (*Database) MariaDBRef ¶ added in v0.0.6
func (m *Database) MariaDBRef() *MariaDBRef
func (*Database) SetupWebhookWithManager ¶ added in v0.0.6
func (*Database) ValidateCreate ¶ added in v0.0.6
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Database) ValidateDelete ¶ added in v0.0.6
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type DatabaseList ¶ added in v0.0.6
type DatabaseList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Database `json:"items"` }
DatabaseList contains a list of Database
func (*DatabaseList) DeepCopy ¶ added in v0.0.6
func (in *DatabaseList) DeepCopy() *DatabaseList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseList.
func (*DatabaseList) DeepCopyInto ¶ added in v0.0.6
func (in *DatabaseList) DeepCopyInto(out *DatabaseList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DatabaseList) DeepCopyObject ¶ added in v0.0.6
func (in *DatabaseList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DatabaseSpec ¶ added in v0.0.6
type DatabaseSpec struct { // +kubebuilder:validation:Required MariaDBRef MariaDBRef `json:"mariaDbRef" webhook:"inmutable"` // +kubebuilder:default=utf8 CharacterSet string `json:"characterSet,omitempty" webhook:"inmutable"` // +kubebuilder:default=utf8_general_ci Collate string `json:"collate,omitempty" webhook:"inmutable"` }
DatabaseSpec defines the desired state of Database
func (*DatabaseSpec) DeepCopy ¶ added in v0.0.6
func (in *DatabaseSpec) DeepCopy() *DatabaseSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseSpec.
func (*DatabaseSpec) DeepCopyInto ¶ added in v0.0.6
func (in *DatabaseSpec) DeepCopyInto(out *DatabaseSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseStatus ¶ added in v0.0.6
DatabaseStatus defines the observed state of Database
func (*DatabaseStatus) DeepCopy ¶ added in v0.0.6
func (in *DatabaseStatus) DeepCopy() *DatabaseStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseStatus.
func (*DatabaseStatus) DeepCopyInto ¶ added in v0.0.6
func (in *DatabaseStatus) DeepCopyInto(out *DatabaseStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DatabaseStatus) SetCondition ¶ added in v0.0.6
func (d *DatabaseStatus) SetCondition(condition metav1.Condition)
type Exporter ¶
type Exporter struct { // +kubebuilder:validation:Required Image Image `json:"image"` Resources *corev1.ResourceRequirements `json:"resources,omitempty"` }
func (*Exporter) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Exporter.
func (*Exporter) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Grant ¶ added in v0.0.6
type Grant struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec GrantSpec `json:"spec,omitempty"` Status GrantStatus `json:"status,omitempty"` }
Grant is the Schema for the grants API
func (*Grant) DeepCopy ¶ added in v0.0.6
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Grant.
func (*Grant) DeepCopyInto ¶ added in v0.0.6
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Grant) DeepCopyObject ¶ added in v0.0.6
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Grant) IsBeingDeleted ¶ added in v0.0.6
func (*Grant) MariaDBRef ¶ added in v0.0.6
func (g *Grant) MariaDBRef() *MariaDBRef
func (*Grant) SetupWebhookWithManager ¶ added in v0.0.6
func (*Grant) ValidateCreate ¶ added in v0.0.6
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Grant) ValidateDelete ¶ added in v0.0.6
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type GrantList ¶ added in v0.0.6
type GrantList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Grant `json:"items"` }
GrantList contains a list of Grant
func (*GrantList) DeepCopy ¶ added in v0.0.6
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrantList.
func (*GrantList) DeepCopyInto ¶ added in v0.0.6
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GrantList) DeepCopyObject ¶ added in v0.0.6
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GrantSpec ¶ added in v0.0.6
type GrantSpec struct { // +kubebuilder:validation:Required MariaDBRef MariaDBRef `json:"mariaDbRef" webhook:"inmutable"` // +kubebuilder:validation:Required // +kubebuilder:validation:MinItems=1 Privileges []string `json:"privileges" webhook:"inmutable"` // +kubebuilder:default=* Database string `json:"database,omitempty" webhook:"inmutable"` // +kubebuilder:default=* Table string `json:"table,omitempty" webhook:"inmutable"` // +kubebuilder:validation:Required Username string `json:"username" webhook:"inmutable"` // +kubebuilder:default=false GrantOption bool `json:"grantOption,omitempty" webhook:"inmutable"` }
GrantSpec defines the desired state of Grant
func (*GrantSpec) DeepCopy ¶ added in v0.0.6
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrantSpec.
func (*GrantSpec) DeepCopyInto ¶ added in v0.0.6
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GrantStatus ¶ added in v0.0.6
GrantStatus defines the observed state of Grant
func (*GrantStatus) DeepCopy ¶ added in v0.0.6
func (in *GrantStatus) DeepCopy() *GrantStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrantStatus.
func (*GrantStatus) DeepCopyInto ¶ added in v0.0.6
func (in *GrantStatus) DeepCopyInto(out *GrantStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GrantStatus) SetCondition ¶ added in v0.0.6
func (g *GrantStatus) SetCondition(condition metav1.Condition)
type HealthCheck ¶ added in v0.0.7
type HealthCheck struct { Interval *metav1.Duration `json:"interval,omitempty"` RetryInterval *metav1.Duration `json:"retryInterval,omitempty"` }
func (*HealthCheck) DeepCopy ¶ added in v0.0.7
func (in *HealthCheck) DeepCopy() *HealthCheck
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HealthCheck.
func (*HealthCheck) DeepCopyInto ¶ added in v0.0.7
func (in *HealthCheck) DeepCopyInto(out *HealthCheck)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Image ¶
type Image struct { // +kubebuilder:validation:Required Repository string `json:"repository"` // +kubebuilder:default=latest Tag string `json:"tag,omitempty"` // +kubebuilder:default=IfNotPresent PullPolicy corev1.PullPolicy `json:"pullPolicy,omitempty"` }
func (*Image) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image.
func (*Image) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MariaDB ¶
type MariaDB struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MariaDBSpec `json:"spec"` Status MariaDBStatus `json:"status,omitempty"` }
MariaDB is the Schema for the mariadbs API
func (*MariaDB) ConfigMapKeyRef ¶ added in v0.0.10
func (m *MariaDB) ConfigMapKeyRef() *corev1.ConfigMapKeySelector
func (*MariaDB) ConfigMapValue ¶ added in v0.0.10
func (*MariaDB) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariaDB.
func (*MariaDB) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MariaDB) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*MariaDB) IsBootstrapped ¶
func (*MariaDB) SetupWebhookWithManager ¶
func (*MariaDB) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*MariaDB) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type MariaDBList ¶
type MariaDBList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []MariaDB `json:"items"` }
MariaDBList contains a list of MariaDB
func (*MariaDBList) DeepCopy ¶
func (in *MariaDBList) DeepCopy() *MariaDBList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariaDBList.
func (*MariaDBList) DeepCopyInto ¶
func (in *MariaDBList) DeepCopyInto(out *MariaDBList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MariaDBList) DeepCopyObject ¶
func (in *MariaDBList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MariaDBRef ¶ added in v0.0.2
type MariaDBRef struct { // +kubebuilder:validation:Required corev1.LocalObjectReference `json:",inline"` // +kubebuilder:default=true WaitForIt bool `json:"waitForIt,omitempty"` }
func (*MariaDBRef) DeepCopy ¶ added in v0.0.2
func (in *MariaDBRef) DeepCopy() *MariaDBRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariaDBRef.
func (*MariaDBRef) DeepCopyInto ¶ added in v0.0.2
func (in *MariaDBRef) DeepCopyInto(out *MariaDBRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MariaDBSpec ¶
type MariaDBSpec struct { // +kubebuilder:validation:Required RootPasswordSecretKeyRef corev1.SecretKeySelector `json:"rootPasswordSecretKeyRef" webhook:"inmutable"` Database *string `json:"database,omitempty" webhook:"inmutable"` Username *string `json:"username,omitempty" webhook:"inmutable"` PasswordSecretKeyRef *corev1.SecretKeySelector `json:"passwordSecretKeyRef,omitempty" webhook:"inmutable"` Connection *ConnectionTemplate `json:"connection,omitempty" webhook:"inmutable"` // +kubebuilder:validation:Required Image Image `json:"image" webhook:"inmutable"` ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets,omitempty" webhook:"inmutable"` // +kubebuilder:default=3306 Port int32 `json:"port,omitempty"` // +kubebuilder:validation:Required VolumeClaimTemplate corev1.PersistentVolumeClaimSpec `json:"volumeClaimTemplate" webhook:"inmutable"` MyCnf *string `json:"myCnf,omitempty" webhook:"inmutable"` MyCnfConfigMapKeyRef *corev1.ConfigMapKeySelector `json:"myCnfConfigMapKeyRef,omitempty" webhook:"inmutableinit"` BootstrapFrom *RestoreSource `json:"bootstrapFrom,omitempty" webhook:"inmutable"` Metrics *Metrics `json:"metrics,omitempty"` Resources *corev1.ResourceRequirements `json:"resources,omitempty"` Env []corev1.EnvVar `json:"env,omitempty"` EnvFrom []corev1.EnvFromSource `json:"envFrom,omitempty"` PodSecurityContext *corev1.PodSecurityContext `json:"podSecurityContext,omitempty"` SecurityContext *corev1.SecurityContext `json:"securityContext,omitempty"` }
MariaDBSpec defines the desired state of MariaDB
func (*MariaDBSpec) DeepCopy ¶
func (in *MariaDBSpec) DeepCopy() *MariaDBSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariaDBSpec.
func (*MariaDBSpec) DeepCopyInto ¶
func (in *MariaDBSpec) DeepCopyInto(out *MariaDBSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MariaDBStatus ¶
MariaDBStatus defines the observed state of MariaDB
func (*MariaDBStatus) DeepCopy ¶
func (in *MariaDBStatus) DeepCopy() *MariaDBStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MariaDBStatus.
func (*MariaDBStatus) DeepCopyInto ¶
func (in *MariaDBStatus) DeepCopyInto(out *MariaDBStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MariaDBStatus) SetCondition ¶
func (s *MariaDBStatus) SetCondition(condition metav1.Condition)
type Metrics ¶
type Metrics struct { // +kubebuilder:validation:Required Exporter Exporter `json:"exporter"` // +kubebuilder:validation:Required ServiceMonitor ServiceMonitor `json:"serviceMonitor"` }
func (*Metrics) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Metrics.
func (*Metrics) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Restore ¶ added in v0.0.6
type Restore struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RestoreSpec `json:"spec,omitempty"` Status RestoreStatus `json:"status,omitempty"` }
Restore is the Schema for the restores API
func (*Restore) DeepCopy ¶ added in v0.0.6
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Restore.
func (*Restore) DeepCopyInto ¶ added in v0.0.6
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Restore) DeepCopyObject ¶ added in v0.0.6
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Restore) IsComplete ¶ added in v0.0.6
func (*Restore) SetupWebhookWithManager ¶ added in v0.0.6
func (*Restore) ValidateCreate ¶ added in v0.0.6
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Restore) ValidateDelete ¶ added in v0.0.6
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type RestoreList ¶ added in v0.0.6
type RestoreList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Restore `json:"items"` }
RestoreList contains a list of restore
func (*RestoreList) DeepCopy ¶ added in v0.0.6
func (in *RestoreList) DeepCopy() *RestoreList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreList.
func (*RestoreList) DeepCopyInto ¶ added in v0.0.6
func (in *RestoreList) DeepCopyInto(out *RestoreList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RestoreList) DeepCopyObject ¶ added in v0.0.6
func (in *RestoreList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RestoreSource ¶ added in v0.0.5
type RestoreSource struct { // It will be used to init the rest of the fields if specified BackupRef *corev1.LocalObjectReference `json:"backupRef,omitempty" webhook:"inmutableinit"` Volume *corev1.VolumeSource `json:"volume,omitempty" webhook:"inmutableinit"` // +kubebuilder:default=false Physical *bool `json:"physical,omitempty" webhook:"inmutableinit"` FileName *string `json:"fileName,omitempty" webhook:"inmutableinit"` }
func (*RestoreSource) DeepCopy ¶ added in v0.0.5
func (in *RestoreSource) DeepCopy() *RestoreSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreSource.
func (*RestoreSource) DeepCopyInto ¶ added in v0.0.5
func (in *RestoreSource) DeepCopyInto(out *RestoreSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RestoreSource) Init ¶ added in v0.0.5
func (r *RestoreSource) Init(backup *Backup)
func (*RestoreSource) IsInit ¶ added in v0.0.5
func (r *RestoreSource) IsInit() bool
func (*RestoreSource) Validate ¶ added in v0.0.5
func (r *RestoreSource) Validate() error
type RestoreSpec ¶ added in v0.0.6
type RestoreSpec struct { RestoreSource `json:",inline"` // +kubebuilder:validation:Required MariaDBRef MariaDBRef `json:"mariaDbRef" webhook:"inmutable"` // +kubebuilder:default=5 BackoffLimit int32 `json:"backoffLimit,omitempty"` // +kubebuilder:default=OnFailure RestartPolicy corev1.RestartPolicy `json:"restartPolicy,omitempty" webhook:"inmutable"` Resources *corev1.ResourceRequirements `json:"resources,omitempty" webhook:"inmutable"` }
RestoreSpec defines the desired state of restore
func (*RestoreSpec) DeepCopy ¶ added in v0.0.6
func (in *RestoreSpec) DeepCopy() *RestoreSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreSpec.
func (*RestoreSpec) DeepCopyInto ¶ added in v0.0.6
func (in *RestoreSpec) DeepCopyInto(out *RestoreSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RestoreStatus ¶ added in v0.0.6
RestoreStatus defines the observed state of restore
func (*RestoreStatus) DeepCopy ¶ added in v0.0.6
func (in *RestoreStatus) DeepCopy() *RestoreStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RestoreStatus.
func (*RestoreStatus) DeepCopyInto ¶ added in v0.0.6
func (in *RestoreStatus) DeepCopyInto(out *RestoreStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RestoreStatus) SetCondition ¶ added in v0.0.6
func (r *RestoreStatus) SetCondition(condition metav1.Condition)
type SecretTemplate ¶ added in v0.0.7
type SecretTemplate struct { Labels map[string]string `json:"labels,omitempty"` Annotations map[string]string `json:"annotations,omitempty"` Key *string `json:"key,omitempty"` }
func (*SecretTemplate) DeepCopy ¶ added in v0.0.7
func (in *SecretTemplate) DeepCopy() *SecretTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretTemplate.
func (*SecretTemplate) DeepCopyInto ¶ added in v0.0.7
func (in *SecretTemplate) DeepCopyInto(out *SecretTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceMonitor ¶
type ServiceMonitor struct { // +kubebuilder:validation:Required PrometheusRelease string `json:"prometheusRelease"` Interval string `json:"interval,omitempty"` ScrapeTimeout string `json:"scrapeTimeout,omitempty"` }
func (*ServiceMonitor) DeepCopy ¶
func (in *ServiceMonitor) DeepCopy() *ServiceMonitor
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceMonitor.
func (*ServiceMonitor) DeepCopyInto ¶
func (in *ServiceMonitor) DeepCopyInto(out *ServiceMonitor)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SqlJob ¶ added in v0.0.10
type SqlJob struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SqlJobSpec `json:"spec,omitempty"` Status SqlJobStatus `json:"status,omitempty"` }
SqlJob is the Schema for the sqljobs API
func (*SqlJob) ConfigMapKeyRef ¶ added in v0.0.10
func (s *SqlJob) ConfigMapKeyRef() *corev1.ConfigMapKeySelector
func (*SqlJob) ConfigMapValue ¶ added in v0.0.10
func (*SqlJob) DeepCopy ¶ added in v0.0.10
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SqlJob.
func (*SqlJob) DeepCopyInto ¶ added in v0.0.10
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SqlJob) DeepCopyObject ¶ added in v0.0.10
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SqlJob) IsComplete ¶ added in v0.0.10
func (*SqlJob) SetupWebhookWithManager ¶ added in v0.0.10
func (*SqlJob) ValidateCreate ¶ added in v0.0.10
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*SqlJob) ValidateDelete ¶ added in v0.0.10
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type SqlJobList ¶ added in v0.0.10
type SqlJobList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []SqlJob `json:"items"` }
SqlJobList contains a list of SqlJob
func (*SqlJobList) DeepCopy ¶ added in v0.0.10
func (in *SqlJobList) DeepCopy() *SqlJobList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SqlJobList.
func (*SqlJobList) DeepCopyInto ¶ added in v0.0.10
func (in *SqlJobList) DeepCopyInto(out *SqlJobList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SqlJobList) DeepCopyObject ¶ added in v0.0.10
func (in *SqlJobList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SqlJobSpec ¶ added in v0.0.10
type SqlJobSpec struct { // +kubebuilder:validation:Required MariaDBRef MariaDBRef `json:"mariaDbRef" webhook:"inmutable"` // +kubebuilder:validation:Required Username string `json:"username" webhook:"inmutable"` // +kubebuilder:validation:Required PasswordSecretKeyRef corev1.SecretKeySelector `json:"passwordSecretKeyRef" webhook:"inmutable"` Database *string `json:"database,omitempty" webhook:"inmutable"` DependsOn []corev1.LocalObjectReference `json:"dependsOn,omitempty" webhook:"inmutable"` Sql *string `json:"sql,omitempty" webhook:"inmutable"` SqlConfigMapKeyRef *corev1.ConfigMapKeySelector `json:"sqlConfigMapKeyRef,omitempty" webhook:"inmutableinit"` // +kubebuilder:default=5 BackoffLimit int32 `json:"backoffLimit,omitempty"` // +kubebuilder:default=OnFailure RestartPolicy corev1.RestartPolicy `json:"restartPolicy,omitempty" webhook:"inmutable"` // +kubebuilder:validation:Optional Resources *corev1.ResourceRequirements `json:"resources,omitempty" webhook:"inmutable"` }
SqlJobSpec defines the desired state of SqlJob
func (*SqlJobSpec) DeepCopy ¶ added in v0.0.10
func (in *SqlJobSpec) DeepCopy() *SqlJobSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SqlJobSpec.
func (*SqlJobSpec) DeepCopyInto ¶ added in v0.0.10
func (in *SqlJobSpec) DeepCopyInto(out *SqlJobSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SqlJobStatus ¶ added in v0.0.10
SqlJobStatus defines the observed state of SqlJob
func (*SqlJobStatus) DeepCopy ¶ added in v0.0.10
func (in *SqlJobStatus) DeepCopy() *SqlJobStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SqlJobStatus.
func (*SqlJobStatus) DeepCopyInto ¶ added in v0.0.10
func (in *SqlJobStatus) DeepCopyInto(out *SqlJobStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SqlJobStatus) SetCondition ¶ added in v0.0.10
func (s *SqlJobStatus) SetCondition(condition metav1.Condition)
type User ¶ added in v0.0.6
type User struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec UserSpec `json:"spec,omitempty"` Status UserStatus `json:"status,omitempty"` }
User is the Schema for the users API
func (*User) DeepCopy ¶ added in v0.0.6
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new User.
func (*User) DeepCopyInto ¶ added in v0.0.6
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*User) DeepCopyObject ¶ added in v0.0.6
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*User) IsBeingDeleted ¶ added in v0.0.6
func (*User) MariaDBRef ¶ added in v0.0.6
func (u *User) MariaDBRef() *MariaDBRef
func (*User) SetupWebhookWithManager ¶ added in v0.0.6
func (*User) ValidateCreate ¶ added in v0.0.6
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*User) ValidateDelete ¶ added in v0.0.6
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type UserList ¶ added in v0.0.6
type UserList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []User `json:"items"` }
UserList contains a list of User
func (*UserList) DeepCopy ¶ added in v0.0.6
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserList.
func (*UserList) DeepCopyInto ¶ added in v0.0.6
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*UserList) DeepCopyObject ¶ added in v0.0.6
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type UserSpec ¶ added in v0.0.6
type UserSpec struct { // +kubebuilder:validation:Required MariaDBRef MariaDBRef `json:"mariaDbRef" webhook:"inmutable"` // +kubebuilder:validation:Required PasswordSecretKeyRef corev1.SecretKeySelector `json:"passwordSecretKeyRef" webhook:"inmutable"` // +kubebuilder:default=10 MaxUserConnections int32 `json:"maxUserConnections,omitempty" webhook:"inmutable"` }
UserSpec defines the desired state of User
func (*UserSpec) DeepCopy ¶ added in v0.0.6
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSpec.
func (*UserSpec) DeepCopyInto ¶ added in v0.0.6
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UserStatus ¶ added in v0.0.6
UserStatus defines the observed state of User
func (*UserStatus) DeepCopy ¶ added in v0.0.6
func (in *UserStatus) DeepCopy() *UserStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserStatus.
func (*UserStatus) DeepCopyInto ¶ added in v0.0.6
func (in *UserStatus) DeepCopyInto(out *UserStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*UserStatus) SetCondition ¶ added in v0.0.6
func (u *UserStatus) SetCondition(condition metav1.Condition)
Source Files
¶
- backup_types.go
- backup_webhook.go
- common_types.go
- condition_types.go
- connection_types.go
- connection_webhook.go
- database_types.go
- database_webhook.go
- grant_types.go
- grant_webhook.go
- groupversion_info.go
- mariadb_types.go
- mariadb_webhook.go
- restore_types.go
- restore_webhook.go
- sqljob_types.go
- sqljob_webhook.go
- user_types.go
- user_webhook.go
- zz_generated.deepcopy.go