Documentation
¶
Index ¶
- func ExistByName() matcher.GomegaMatcher
- func HaveAnnotationWithValue(key string, value string) matcher.GomegaMatcher
- func HaveLabelWithValue(key string, value string) matcher.GomegaMatcher
- func NotExistByName() matcher.GomegaMatcher
- func NotHaveLabelWithValue(key string, value string) matcher.GomegaMatcher
- func Update(obj client.Object, modify func(client.Object))
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExistByName ¶
func ExistByName() matcher.GomegaMatcher
ExistByName checks if the given k8s resource exists, when retrieving it by name/namespace. - It does NOT check if the resource content matches. It only checks that a resource of that type and name exists.
func HaveAnnotationWithValue ¶
func HaveAnnotationWithValue(key string, value string) matcher.GomegaMatcher
func HaveLabelWithValue ¶
func HaveLabelWithValue(key string, value string) matcher.GomegaMatcher
func NotExistByName ¶
func NotExistByName() matcher.GomegaMatcher
NotExistByName checks if the given resource does not exist, when retrieving it by name/namespace. Does NOT check if the resource content matches.
func NotHaveLabelWithValue ¶
func NotHaveLabelWithValue(key string, value string) matcher.GomegaMatcher
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.