Documentation ¶
Index ¶
- func FindOwnerWithKind(ors []metav1.OwnerReference, kind string) *metav1.OwnerReference
- func GetIDForCache(namespace string, resourceName string) string
- func GetUIDForObject(obj runtime.Object) (types.UID, error)
- func StringSliceToMap(strings []string) map[string]bool
- func StripContainerID(id string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindOwnerWithKind ¶
func FindOwnerWithKind(ors []metav1.OwnerReference, kind string) *metav1.OwnerReference
FindOwnerWithKind returns the OwnerReference of the matching kind from the provided list of owner references.
func GetIDForCache ¶
GetIDForCache returns keys to lookup resources from the cache exposed by shared informers.
func GetUIDForObject ¶
GetUIDForObject returns the UID for a Kubernetes object.
func StringSliceToMap ¶
StringSliceToMap converts a slice of strings into a map with keys from the slice
func StripContainerID ¶
StripContainerID returns a pure container id without the runtime scheme://.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.