Documentation
¶
Index ¶
- func HaveDataKeyValue(key string, value []byte) matcher.GomegaMatcher
- func HaveNonEmptyKeyValue(key string) matcher.GomegaMatcher
- func HaveStringDataKeyValue(key string, value string) matcher.GomegaMatcher
- func NotHaveDataKey(key string) matcher.GomegaMatcher
- func Update(obj *corev1.Secret, modify func(*corev1.Secret))
- func UpdateWithError(obj *corev1.Secret, modify func(*corev1.Secret)) error
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
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.