Documentation
¶
Index ¶
- func GetTemplateSpecContainerByName(name string, depl appsv1.StatefulSet) *corev1.Container
- func GetTemplateSpecInitContainerByName(name string, depl appsv1.StatefulSet) *corev1.Container
- func HaveContainerCommandSubstring(expectedCommandSubstring string, containerIndex int) matcher.GomegaMatcher
- func HaveContainerImage(containerImage string, containerIndex int) matcher.GomegaMatcher
- func HaveContainerWithEnvVar(envKey string, envValue string, containerIndex int) matcher.GomegaMatcher
- func HaveReadyReplicas(readyReplicas int) matcher.GomegaMatcher
- func HaveReplicas(replicas int) matcher.GomegaMatcher
- func HaveTemplateAnnotationWithValue(key string, value string) matcher.GomegaMatcher
- func HaveTemplateLabelWithValue(key string, value string) matcher.GomegaMatcher
- func HaveTemplateSpecNodeSelector(nodeSelector map[string]string) matcher.GomegaMatcher
- func HaveTolerations(tolerations []corev1.Toleration) matcher.GomegaMatcher
- func NotHaveContainerImage(containerImage string, containerIndex int) matcher.GomegaMatcher
- func Update(obj *appsv1.StatefulSet, modify func(*appsv1.StatefulSet))
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.
Click to show internal directories.
Click to hide internal directories.