util

package
v1.6.3 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: Apache-2.0 Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddWatcherDynamically added in v1.4.0

func AddWatcherDynamically(c controller.Controller, h handler.EventHandler, gvk schema.GroupVersionKind, controllerKey string) (bool, error)

func DiscoverGVK added in v1.4.0

func DiscoverGVK(gvk schema.GroupVersionKind) bool

func GetMessageKvFromCondition added in v1.5.0

func GetMessageKvFromCondition(condition *v1.PodCondition) (map[string]interface{}, error)

using pod condition message to get key-value pairs

func GetOrdinal

func GetOrdinal(pod *corev1.Pod) int32

func UpdateMessageKvCondition added in v1.5.0

func UpdateMessageKvCondition(kv map[string]interface{}, condition *v1.PodCondition)

using pod condition message to save key-value pairs

Types

This section is empty.

Jump to

Keyboard shortcuts

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