Documentation
¶
Index ¶
- type Backup
- type Database
- type InternalDetails
- func (d *InternalDetails) GetAccessPort() int
- func (d *InternalDetails) GetCredentialsSecret() (*corev1.Secret, error)
- func (d *InternalDetails) GetDefaultConnectionPassword() (string, string)
- func (d *InternalDetails) GetDefaultConnectionUser() string
- func (d *InternalDetails) GetMainPodContainer() string
- func (d *InternalDetails) GetMasterService() string
- func (d *InternalDetails) GetPodMasterSelector() map[string]string
- func (d *InternalDetails) GetPodReplicaSelector() map[string]string
- func (d *InternalDetails) GetReplicaService() string
- type Mysql
- func (p *Mysql) AsClientObject() client.Object
- func (p *Mysql) AsMetaObject() metav1.Object
- func (p *Mysql) AsRuntimeObject() runtime.Object
- func (p *Mysql) GetBackupRestore() interfaces.BackupRestore
- func (p *Mysql) GetBackupSchedule() interfaces.BackupSchedule
- func (p *Mysql) GetInternalDetails() interfaces.InternalDetails
- func (p *Mysql) GetSession(kls *kuberlogicv1.KuberLogicService, client kubernetes.Interface, db string) (interfaces.Session, error)
- func (p *Mysql) Init(kls *kuberlogicv1.KuberLogicService, plat string)
- func (p *Mysql) InitFrom(o runtime.Object)
- func (p *Mysql) IsReady() (bool, string)
- func (p *Mysql) Name(kls *kuberlogicv1.KuberLogicService) string
- func (p *Mysql) Update(cm *kuberlogicv1.KuberLogicService) error
- type Restore
- type Session
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backup ¶
type Backup struct { base.BaseBackup Cluster *Mysql }
func (*Backup) SetBackupEnv ¶
func (p *Backup) SetBackupEnv(cm *kuberlogicv1.KuberLogicBackupSchedule)
func (*Backup) SetBackupImage ¶
type Database ¶
type Database struct {
// contains filtered or unexported fields
}
func (*Database) IsProtected ¶
type InternalDetails ¶
type InternalDetails struct {
Cluster *Mysql
}
func (*InternalDetails) GetAccessPort ¶
func (d *InternalDetails) GetAccessPort() int
func (*InternalDetails) GetCredentialsSecret ¶
func (d *InternalDetails) GetCredentialsSecret() (*corev1.Secret, error)
func (*InternalDetails) GetDefaultConnectionPassword ¶
func (d *InternalDetails) GetDefaultConnectionPassword() (string, string)
func (*InternalDetails) GetDefaultConnectionUser ¶
func (d *InternalDetails) GetDefaultConnectionUser() string
func (*InternalDetails) GetMainPodContainer ¶
func (d *InternalDetails) GetMainPodContainer() string
func (*InternalDetails) GetMasterService ¶
func (d *InternalDetails) GetMasterService() string
func (*InternalDetails) GetPodMasterSelector ¶
func (d *InternalDetails) GetPodMasterSelector() map[string]string
func (*InternalDetails) GetPodReplicaSelector ¶
func (d *InternalDetails) GetPodReplicaSelector() map[string]string
func (*InternalDetails) GetReplicaService ¶
func (d *InternalDetails) GetReplicaService() string
type Mysql ¶
type Mysql struct { Operator mysqlv1.MysqlCluster // contains filtered or unexported fields }
func (*Mysql) AsClientObject ¶
func (*Mysql) AsMetaObject ¶
func (*Mysql) AsRuntimeObject ¶
func (*Mysql) GetBackupRestore ¶
func (p *Mysql) GetBackupRestore() interfaces.BackupRestore
func (*Mysql) GetBackupSchedule ¶
func (p *Mysql) GetBackupSchedule() interfaces.BackupSchedule
func (*Mysql) GetInternalDetails ¶
func (p *Mysql) GetInternalDetails() interfaces.InternalDetails
func (*Mysql) GetSession ¶
func (p *Mysql) GetSession(kls *kuberlogicv1.KuberLogicService, client kubernetes.Interface, db string) (interfaces.Session, error)
func (*Mysql) Init ¶
func (p *Mysql) Init(kls *kuberlogicv1.KuberLogicService, plat string)
func (*Mysql) Name ¶
func (p *Mysql) Name(kls *kuberlogicv1.KuberLogicService) string
func (*Mysql) Update ¶
func (p *Mysql) Update(cm *kuberlogicv1.KuberLogicService) error
type Restore ¶
type Restore struct { base.BaseRestore Cluster *Mysql }
func (*Restore) SetRestoreEnv ¶
func (p *Restore) SetRestoreEnv(cm *cloudlinuxv1.KuberLogicBackupRestore)
func (*Restore) SetRestoreImage ¶
type Session ¶
type Session struct { base2.BaseSession // contains filtered or unexported fields }
func NewSession ¶
func NewSession(op interfaces.OperatorInterface, cm *kuberlogicv1.KuberLogicService, client kubernetes.Interface, db string) (*Session, error)
func (*Session) ConnectionString ¶
func (*Session) CreateTable ¶
func (*Session) GetDatabase ¶
func (session *Session) GetDatabase() interfaces.Database
func (*Session) GetUser ¶
func (session *Session) GetUser() interfaces.User
func (*Session) SetCredentials ¶
type User ¶
type User struct {
// contains filtered or unexported fields
}
func (*User) IsProtected ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.