k8s

package
v0.7.10 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchObject added in v0.7.0

func FetchObject(ctx context.Context, client client.Client, namespace string, name string, obj client.Object) error

FetchObject is a helper function to fetch an object.

func IsObjectFound added in v0.7.0

func IsObjectFound(ctx context.Context, client client.Client, namespace string, name string, obj client.Object) bool

IsObjectFound is a helper function to check if an object exists.

func PhaseExecute added in v0.7.0

func PhaseExecute[P comparable](fn func() error, phase P, phases ...P) error

PhaseExecute executes a function based on a phase.

Types

This section is empty.

Directories

Path Synopsis
skip
Package skip allows a Context to carry the intention to skip parts of the code execution.
Package skip allows a Context to carry the intention to skip parts of the code execution.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL