Documentation ¶
Index ¶
- func AddWatcherDynamically(mgr manager.Manager, c controller.Controller, h handler.EventHandler, ...) (bool, error)
- func DiscoverGVK(gvk schema.GroupVersionKind) bool
- func GetMessageKvFromCondition(condition *v1.PodCondition) (map[string]interface{}, error)
- func GetOrdinal(pod *corev1.Pod) int32
- func UpdateMessageKvCondition(kv map[string]interface{}, condition *v1.PodCondition)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddWatcherDynamically ¶ added in v1.4.0
func AddWatcherDynamically(mgr manager.Manager, 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 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.
Click to show internal directories.
Click to hide internal directories.