statefulset

package
v1.17.0-rc5 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTemplateSpecContainerByName

func GetTemplateSpecContainerByName(name string, depl appsv1.StatefulSet) *corev1.Container

func GetTemplateSpecInitContainerByName

func GetTemplateSpecInitContainerByName(name string, depl appsv1.StatefulSet) *corev1.Container

func HaveContainerCommandSubstring

func HaveContainerCommandSubstring(expectedCommandSubstring string, containerIndex int) matcher.GomegaMatcher

func HaveContainerImage

func HaveContainerImage(containerImage string, containerIndex int) matcher.GomegaMatcher

func HaveContainerWithEnvVar

func HaveContainerWithEnvVar(envKey string, envValue string, containerIndex int) matcher.GomegaMatcher

func HaveReadyReplicas

func HaveReadyReplicas(readyReplicas int) matcher.GomegaMatcher

func HaveReplicas

func HaveReplicas(replicas int) matcher.GomegaMatcher

func HaveTemplateAnnotationWithValue

func HaveTemplateAnnotationWithValue(key string, value string) matcher.GomegaMatcher

func HaveTemplateLabelWithValue

func HaveTemplateLabelWithValue(key string, value string) matcher.GomegaMatcher

func HaveTemplateSpecNodeSelector

func HaveTemplateSpecNodeSelector(nodeSelector map[string]string) matcher.GomegaMatcher

func HaveTolerations

func HaveTolerations(tolerations []corev1.Toleration) matcher.GomegaMatcher

func NotHaveContainerImage

func NotHaveContainerImage(containerImage string, containerIndex int) matcher.GomegaMatcher

func Update

func Update(obj *appsv1.StatefulSet, modify func(*appsv1.StatefulSet))

Update will keep trying to update object until it succeeds, or times out.

Types

This section is empty.

Jump to

Keyboard shortcuts

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