Documentation ¶
Index ¶
- Constants
- func DeepHashObject(hasher hash.Hash32, pod *core1.PodSpec)
- func GenerateInstanceID(w workloadinterface.IWorkload) ([]instanceidhandler.IInstanceID, error)
- func GenerateInstanceIDFromPod(pod *core1.Pod) ([]instanceidhandler.IInstanceID, error)
- func GenerateInstanceIDFromString(input string) (instanceidhandler.IInstanceID, error)
Constants ¶
View Source
const ( Container = "container" InitContainer = "initContainer" EphemeralContainer = "ephemeralContainer" )
Variables ¶
This section is empty.
Functions ¶
func GenerateInstanceID ¶
func GenerateInstanceID(w workloadinterface.IWorkload) ([]instanceidhandler.IInstanceID, error)
GenerateInstanceID generates instance ID from workload
func GenerateInstanceIDFromPod ¶ added in v0.0.114
func GenerateInstanceIDFromPod(pod *core1.Pod) ([]instanceidhandler.IInstanceID, error)
GenerateInstanceIDFromPod generates instance ID from pod Deprecated: use GenerateInstanceID instead
func GenerateInstanceIDFromString ¶ added in v0.0.114
func GenerateInstanceIDFromString(input string) (instanceidhandler.IInstanceID, error)
GenerateInstanceIDFromString generates instance ID from string The string format is: apiVersion-<apiVersion>/namespace-<namespace>/kind-<kind>/name-<name>/...
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.