statefulset

package
v0.31.4 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AdaptFunc

func AdaptFunc(
	monitor mntr.Monitor,
	namespace string,
	name string,
	image string,
	labels map[string]string,
	serviceAccountName string,
	replicaCount int,
	storageCapacity string,
	dbPort int32,
	httpPort int32,
	storageClass string,
	nodeSelector map[string]string,
	tolerations []corev1.Toleration,
	resourcesSFS *k8s.Resources,
) (
	resources.QueryFunc,
	resources.DestroyFunc,
	zitadel.EnsureFunc,
	zitadel.EnsureFunc,
	error,
)

Types

type Affinity

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

type Affinitys

type Affinitys []metav1.LabelSelectorRequirement

func (Affinitys) Len

func (a Affinitys) Len() int

func (Affinitys) Less

func (a Affinitys) Less(i, j int) bool

func (Affinitys) Swap

func (a Affinitys) Swap(i, j int)

Jump to

Keyboard shortcuts

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