configmap

package
v1.17.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HaveNonEmptyDataKey

func HaveNonEmptyDataKey(key string) matcher.GomegaMatcher

HaveStringDataKeyValue returns true if ConfigMap has 'key' field under .data map, and the value of that field is equal to 'value'

func HaveStringDataKeyValue

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

HaveStringDataKeyValue returns true if ConfigMap has 'key' field under .data map, and the value of that field is equal to 'value' e.g.

kind: ConfigMap metadata:

(...)

data:

"key": "value"

func HaveStringDataKeyValueContainsSubstring

func HaveStringDataKeyValueContainsSubstring(key string, substring string) matcher.GomegaMatcher

HaveStringDataKeyValue returns true if ConfigMap has 'key' field under .data map, and the value of that field contains a specific substring

func Update

func Update(obj *corev1.ConfigMap, modify func(*corev1.ConfigMap))

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