statefulset

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2019 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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) corev1.Container

func (*Node) Labels added in v0.3.0

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

func (*Node) PMMContainer

func (c *Node) PMMContainer(spec *api.PMMSpec, secrets string) corev1.Container

func (*Node) Resources

func (c *Node) Resources(spec *api.PodResources) (corev1.ResourceRequirements, 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) []corev1.Container

func (*Node) StatefulSet

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

func (*Node) Volumes added in v0.3.0

func (c *Node) Volumes(podSpec *api.PodSpec) *api.Volume

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) corev1.Container

func (*Proxy) Labels added in v0.3.0

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

func (*Proxy) PMMContainer

func (c *Proxy) PMMContainer(spec *api.PMMSpec, secrets string) corev1.Container

func (*Proxy) Resources

func (c *Proxy) Resources(spec *api.PodResources) (corev1.ResourceRequirements, 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) []corev1.Container

func (*Proxy) StatefulSet

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

func (*Proxy) Volumes added in v0.3.0

func (c *Proxy) Volumes(podSpec *api.PodSpec) *api.Volume

Jump to

Keyboard shortcuts

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