kube

package
v0.1.12 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddPodFinalizer

func AddPodFinalizer(ctx context.Context, pod client.Object, finalizerName string) error

func Init

func Init(mgr ctrl.Manager)

func RemovePodFinalizer

func RemovePodFinalizer(ctx context.Context, pod client.Object, finalizerName string) error

func SetPodAnnotation

func SetPodAnnotation(ctx context.Context, cachedPod client.Object, name, value string) error

func StripPodUnusedFields

func StripPodUnusedFields(obj any) (any, error)

StripPodUnusedFields is the transform function for shared pod informers, it removes unused fields from objects before they are stored in the cache to save memory.

Types

This section is empty.

Jump to

Keyboard shortcuts

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