Documentation ¶
Index ¶
- Constants
- func EntrypointInitContainer(initImageName string, resources *api.PodResources, ...) (corev1.Container, error)
- type HAProxy
- func (c *HAProxy) AppContainer(spec *api.PodSpec, secrets string, cr *api.PerconaXtraDBCluster) (corev1.Container, error)
- func (c *HAProxy) Labels() map[string]string
- func (c *HAProxy) LogCollectorContainer(spec *api.LogCollectorSpec, logPsecrets string, logRsecrets string, ...) ([]corev1.Container, error)
- func (c *HAProxy) PMMContainer(spec *api.PMMSpec, secrets string, cr *api.PerconaXtraDBCluster) (*corev1.Container, error)
- func (c *HAProxy) Service() string
- func (c *HAProxy) SidecarContainers(spec *api.PodSpec, secrets string, cr *api.PerconaXtraDBCluster) ([]corev1.Container, error)
- func (c *HAProxy) StatefulSet() *appsv1.StatefulSet
- func (c *HAProxy) UpdateStrategy(cr *api.PerconaXtraDBCluster) appsv1.StatefulSetUpdateStrategy
- func (c *HAProxy) Volumes(podSpec *api.PodSpec, cr *api.PerconaXtraDBCluster) (*api.Volume, error)
- type Node
- func (c *Node) AppContainer(spec *api.PodSpec, secrets string, cr *api.PerconaXtraDBCluster) (corev1.Container, error)
- func (c *Node) Labels() map[string]string
- func (c *Node) LogCollectorContainer(spec *api.LogCollectorSpec, logPsecrets string, logRsecrets string, ...) ([]corev1.Container, error)
- func (c *Node) PMMContainer(spec *api.PMMSpec, secrets string, cr *api.PerconaXtraDBCluster) (*corev1.Container, error)
- func (c *Node) Service() string
- func (c *Node) SidecarContainers(spec *api.PodSpec, secrets string, cr *api.PerconaXtraDBCluster) ([]corev1.Container, error)
- func (c *Node) StatefulSet() *appsv1.StatefulSet
- func (c *Node) UpdateStrategy(cr *api.PerconaXtraDBCluster) appsv1.StatefulSetUpdateStrategy
- func (c *Node) Volumes(podSpec *api.PodSpec, cr *api.PerconaXtraDBCluster) (*api.Volume, error)
- type Proxy
- func (c *Proxy) AppContainer(spec *api.PodSpec, secrets string, cr *api.PerconaXtraDBCluster) (corev1.Container, error)
- func (c *Proxy) Labels() map[string]string
- func (c *Proxy) LogCollectorContainer(spec *api.LogCollectorSpec, logPsecrets string, logRsecrets string, ...) ([]corev1.Container, error)
- func (c *Proxy) PMMContainer(spec *api.PMMSpec, secrets string, cr *api.PerconaXtraDBCluster) (*corev1.Container, error)
- func (c *Proxy) Service() string
- func (c *Proxy) SidecarContainers(spec *api.PodSpec, secrets string, cr *api.PerconaXtraDBCluster) ([]corev1.Container, error)
- func (c *Proxy) StatefulSet() *appsv1.StatefulSet
- func (c *Proxy) UpdateStrategy(cr *api.PerconaXtraDBCluster) appsv1.StatefulSetUpdateStrategy
- func (c *Proxy) Volumes(podSpec *api.PodSpec, cr *api.PerconaXtraDBCluster) (*api.Volume, error)
Constants ¶
View Source
const ( DataVolumeName = "datadir" VaultSecretVolumeName = "vault-keyring-secret" )
Variables ¶
This section is empty.
Functions ¶
func EntrypointInitContainer ¶ added in v1.7.1
func EntrypointInitContainer(initImageName string, resources *api.PodResources, securityContext *corev1.SecurityContext) (corev1.Container, error)
Types ¶
type HAProxy ¶ added in v1.7.1
type HAProxy struct {
// contains filtered or unexported fields
}
func NewHAProxy ¶ added in v1.7.1
func NewHAProxy(cr *api.PerconaXtraDBCluster) *HAProxy
func (*HAProxy) AppContainer ¶ added in v1.7.1
func (*HAProxy) LogCollectorContainer ¶ added in v1.7.1
func (c *HAProxy) LogCollectorContainer(spec *api.LogCollectorSpec, logPsecrets string, logRsecrets string, cr *api.PerconaXtraDBCluster) ([]corev1.Container, error)
func (*HAProxy) PMMContainer ¶ added in v1.7.1
func (*HAProxy) SidecarContainers ¶ added in v1.7.1
func (*HAProxy) StatefulSet ¶ added in v1.7.1
func (c *HAProxy) StatefulSet() *appsv1.StatefulSet
func (*HAProxy) UpdateStrategy ¶ added in v1.7.1
func (c *HAProxy) UpdateStrategy(cr *api.PerconaXtraDBCluster) appsv1.StatefulSetUpdateStrategy
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
func NewNode ¶
func NewNode(cr *api.PerconaXtraDBCluster) *Node
func (*Node) AppContainer ¶
func (*Node) LogCollectorContainer ¶ added in v1.7.1
func (c *Node) LogCollectorContainer(spec *api.LogCollectorSpec, logPsecrets string, logRsecrets string, cr *api.PerconaXtraDBCluster) ([]corev1.Container, error)
func (*Node) PMMContainer ¶
func (*Node) SidecarContainers ¶ added in v0.3.0
func (*Node) StatefulSet ¶
func (c *Node) StatefulSet() *appsv1.StatefulSet
func (*Node) UpdateStrategy ¶ added in v1.7.1
func (c *Node) UpdateStrategy(cr *api.PerconaXtraDBCluster) appsv1.StatefulSetUpdateStrategy
type Proxy ¶
type Proxy struct {
// contains filtered or unexported fields
}
func NewProxy ¶
func NewProxy(cr *api.PerconaXtraDBCluster) *Proxy
func (*Proxy) AppContainer ¶
func (*Proxy) LogCollectorContainer ¶ added in v1.7.1
func (c *Proxy) LogCollectorContainer(spec *api.LogCollectorSpec, logPsecrets string, logRsecrets string, cr *api.PerconaXtraDBCluster) ([]corev1.Container, error)
func (*Proxy) PMMContainer ¶
func (*Proxy) SidecarContainers ¶ added in v0.3.0
func (*Proxy) StatefulSet ¶
func (c *Proxy) StatefulSet() *appsv1.StatefulSet
func (*Proxy) UpdateStrategy ¶ added in v1.7.1
func (c *Proxy) UpdateStrategy(cr *api.PerconaXtraDBCluster) appsv1.StatefulSetUpdateStrategy
Click to show internal directories.
Click to hide internal directories.