var ImplicitContainerPrefix … // GenerateContainerRef returns an *v1.ObjectReference which references the given container // within the given pod. Returns an error if the reference can't be constructed or the // container doesn't actually belong to the pod. func GenerateContainerRef(pod *v1.Pod, container *v1.Container) (*v1.ObjectReference, error) { … } // fieldPath returns a fieldPath locating container within pod. // Returns an error if the container isn't part of the pod. func fieldPath(pod *v1.Pod, container *v1.Container) (string, error) { … }