Documentation ¶
Index ¶
- type Cluster
- func (c *Cluster) CreatePeers() string
- func (c *Cluster) EnsureMysqlConf()
- func (c *Cluster) EnsureVolumeClaimTemplates(schema *runtime.Scheme) ([]corev1.PersistentVolumeClaim, error)
- func (c *Cluster) EnsureVolumes() []corev1.Volume
- func (c *Cluster) GetLabels() labels.Set
- func (c *Cluster) GetMySQLVersion() string
- func (c *Cluster) GetNameForResource(name utils.ResourceName) string
- func (c *Cluster) GetPodHostName(p int) string
- func (c *Cluster) GetSelectorLabels() labels.Set
- func (c *Cluster) Unwrap() *apiv1.Cluster
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
func (*Cluster) CreatePeers ¶
func (*Cluster) EnsureMysqlConf ¶
func (c *Cluster) EnsureMysqlConf()
func (*Cluster) EnsureVolumeClaimTemplates ¶
func (*Cluster) EnsureVolumes ¶
func (*Cluster) GetMySQLVersion ¶
GetMySQLVersion returns the MySQL server version.
func (*Cluster) GetNameForResource ¶
func (c *Cluster) GetNameForResource(name utils.ResourceName) string
GetNameForResource returns the name of a resource from above
func (*Cluster) GetPodHostName ¶
func (*Cluster) GetSelectorLabels ¶
GetSelectorLabels returns the labels that will be used as selector
Click to show internal directories.
Click to hide internal directories.