Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNotAllPXCPodsRunning = errors.New("not all pxc pods are running")
)
Functions ¶
Types ¶
type CronRegistry ¶ added in v1.5.0
type CronRegistry struct {
// contains filtered or unexported fields
}
func NewCronRegistry ¶ added in v1.5.0
func NewCronRegistry() CronRegistry
type DepVersion ¶ added in v1.5.0
type DepVersion struct { PXCImage string `json:"pxcImage,omitempty"` PXCVersion string `json:"pxcVersion,omitempty"` BackupImage string `json:"backupImage,omitempty"` BackupVersion string `json:"backupVersion,omitempty"` ProxySqlImage string `json:"proxySqlImage,omitempty"` ProxySqlVersion string `json:"proxySqlVersion,omitempty"` HAProxyImage string `json:"haproxyImage,omitempty"` HAProxyVersion string `json:"haproxyVersion,omitempty"` PMMImage string `json:"pmmImage,omitempty"` PMMVersion string `json:"pmmVersion,omitempty"` LogCollectorVersion string `json:"logCollectorVersion,omitempty"` LogCollectorImage string `json:"LogCollectorImage,omitempty"` }
type ReconcilePerconaXtraDBCluster ¶
type ReconcilePerconaXtraDBCluster struct {
// contains filtered or unexported fields
}
ReconcilePerconaXtraDBCluster reconciles a PerconaXtraDBCluster object
func (*ReconcilePerconaXtraDBCluster) Reconcile ¶
func (r *ReconcilePerconaXtraDBCluster) Reconcile(request reconcile.Request) (reconcile.Result, error)
Reconcile reads that state of the cluster for a PerconaXtraDBCluster object and makes changes based on the state read and what is in the PerconaXtraDBCluster.Spec Note: The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.
type VersionService ¶ added in v1.5.0
type VersionService interface {
GetExactVersion(cr *api.PerconaXtraDBCluster, endpoint string, vm versionMeta) (DepVersion, error)
}
type VersionServiceClient ¶ added in v1.5.0
type VersionServiceClient struct {
OpVersion string
}
func (VersionServiceClient) GetExactVersion ¶ added in v1.5.0
func (vs VersionServiceClient) GetExactVersion(cr *api.PerconaXtraDBCluster, endpoint string, vm versionMeta) (DepVersion, error)
Click to show internal directories.
Click to hide internal directories.