k8s

package
v0.1.19 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchObject

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

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

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

Jump to

Keyboard shortcuts

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