secret

package
v1.20.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HaveDataKeyValue

func HaveDataKeyValue(key string, value []byte) matcher.GomegaMatcher

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

func HaveNonEmptyKeyValue

func HaveNonEmptyKeyValue(key string) matcher.GomegaMatcher

HaveNonEmptyKeyValue returns true if Secret has the given key, and the value of the key is non-empty

func HaveStringDataKeyValue

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

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

func NotHaveDataKey

func NotHaveDataKey(key string) matcher.GomegaMatcher

NotHaveDataKey returns true if Secret's .data 'key' does not exist, false otherwise

func Update

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

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

func UpdateWithError

func UpdateWithError(obj *corev1.Secret, modify func(*corev1.Secret)) error

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