k8s

package
v1.17.0-rc4 Latest Latest
Warning

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

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

Documentation

Index

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

func Update

func Update(obj client.Object, modify func(client.Object))

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