statefulset

package
v1.87.5 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AdaptFunc

func AdaptFunc(
	monitor mntr.Monitor,
	sfsSelectable *labels.Selectable,
	podSelector *labels.Selector,
	force bool,
	namespace string,
	image string,
	serviceAccountName string,
	replicaCount int,
	storageCapacity resource.Quantity,
	dbPort int32,
	httpPort int32,
	storageClass string,
	nodeSelector map[string]string,
	tolerations []corev1.Toleration,
	resourcesSFS *k8s.Resources,
	cache string,
	maxSqlMemory string,
	clientCertsPath string,
	rootCertsSecret string,
	nodeSecret string,
) (
	resources.QueryFunc,
	resources.DestroyFunc,
	operator.EnsureFunc,
	operator.EnsureFunc,
	error,
)

func CleanPVCs

func CleanPVCs(
	monitor mntr.Monitor,
	namespace string,
	sfsSelectable *labels.Selectable,
	replicaCount int,
) resources.QueryFunc

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