func GetPartialReference ¶
GetPartialReference is exactly like GetReference, but allows you to set the FieldPath.
func GetReference ¶
GetReference returns an ObjectReference which refers to the given object, or an error if the object doesn't follow the conventions that would allow this. TODO: should take a meta.Interface see http://issue.k8s.io/7127