k8s

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: May 25, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExistByName

func ExistByName(k8sClient client.Client) matcher.GomegaMatcher

ExistByName checks if the given resource exists, when retrieving it by name/namespace. Does NOT check if the resource content matches.

func UpdateWithoutConflict added in v0.0.3

func UpdateWithoutConflict(ctx context.Context, obj client.Object, k8sClient client.Client, modify func(client.Object)) error

UpdateWithoutConflict 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