statefulset

package
v1.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 5, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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 (c *HAProxy) AppContainer(spec *api.PodSpec, secrets string, cr *api.PerconaXtraDBCluster) (corev1.Container, error)

func (*HAProxy) Labels added in v1.7.1

func (c *HAProxy) Labels() map[string]string

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 (c *HAProxy) PMMContainer(spec *api.PMMSpec, secrets string, cr *api.PerconaXtraDBCluster) (*corev1.Container, error)

func (*HAProxy) Service added in v1.7.1

func (c *HAProxy) Service() string

func (*HAProxy) SidecarContainers added in v1.7.1

func (c *HAProxy) SidecarContainers(spec *api.PodSpec, secrets string, cr *api.PerconaXtraDBCluster) ([]corev1.Container, error)

func (*HAProxy) StatefulSet added in v1.7.1

func (c *HAProxy) StatefulSet() *appsv1.StatefulSet

func (*HAProxy) UpdateStrategy added in v1.7.1

func (*HAProxy) Volumes added in v1.7.1

func (c *HAProxy) Volumes(podSpec *api.PodSpec, cr *api.PerconaXtraDBCluster) (*api.Volume, error)

type Node

type Node struct {
	// contains filtered or unexported fields
}

func NewNode

func NewNode(cr *api.PerconaXtraDBCluster) *Node

func (*Node) AppContainer

func (c *Node) AppContainer(spec *api.PodSpec, secrets string, cr *api.PerconaXtraDBCluster) (corev1.Container, error)

func (*Node) Labels added in v0.3.0

func (c *Node) Labels() map[string]string

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 (c *Node) PMMContainer(spec *api.PMMSpec, secrets string, cr *api.PerconaXtraDBCluster) (*corev1.Container, error)

func (*Node) Service added in v0.3.0

func (c *Node) Service() string

func (*Node) SidecarContainers added in v0.3.0

func (c *Node) SidecarContainers(spec *api.PodSpec, secrets string, cr *api.PerconaXtraDBCluster) ([]corev1.Container, error)

func (*Node) StatefulSet

func (c *Node) StatefulSet() *appsv1.StatefulSet

func (*Node) UpdateStrategy added in v1.7.1

func (*Node) Volumes added in v0.3.0

func (c *Node) Volumes(podSpec *api.PodSpec, cr *api.PerconaXtraDBCluster) (*api.Volume, error)

type Proxy

type Proxy struct {
	// contains filtered or unexported fields
}

func NewProxy

func NewProxy(cr *api.PerconaXtraDBCluster) *Proxy

func (*Proxy) AppContainer

func (c *Proxy) AppContainer(spec *api.PodSpec, secrets string, cr *api.PerconaXtraDBCluster) (corev1.Container, error)

func (*Proxy) Labels added in v0.3.0

func (c *Proxy) Labels() map[string]string

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 (c *Proxy) PMMContainer(spec *api.PMMSpec, secrets string, cr *api.PerconaXtraDBCluster) (*corev1.Container, error)

func (*Proxy) Service added in v0.3.0

func (c *Proxy) Service() string

func (*Proxy) SidecarContainers added in v0.3.0

func (c *Proxy) SidecarContainers(spec *api.PodSpec, secrets string, cr *api.PerconaXtraDBCluster) ([]corev1.Container, error)

func (*Proxy) StatefulSet

func (c *Proxy) StatefulSet() *appsv1.StatefulSet

func (*Proxy) UpdateStrategy added in v1.7.1

func (*Proxy) Volumes added in v0.3.0

func (c *Proxy) Volumes(podSpec *api.PodSpec, cr *api.PerconaXtraDBCluster) (*api.Volume, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL