func ensurePodTargetRef(pod *v1.Pod, targetRef *v1.ObjectReference) {
	if targetRef == nil {
		framework.Failf("Expected TargetRef to not be nil")
	}
	if targetRef.Kind != "Pod" {
		framework.Failf("Expected TargetRef.Kind to be Pod, got %s", targetRef.Kind)
	}
	if targetRef.Namespace != pod.Namespace {
		framework.Failf("Expected TargetRef.Namespace to be %s, got %s", pod.Namespace, targetRef.Namespace)
	}
	if targetRef.Name != pod.Name {
		framework.Failf("Expected TargetRef.Name to be %s, got %s", pod.Name, targetRef.Name)
	}
	if targetRef.UID != pod.UID {
		framework.Failf("Expected TargetRef.UID to be %s, got %s", pod.UID, targetRef.UID)
	}
}
// ensurePodTargetRef ensures that a Pod matches the provided target reference.
ensurePodTargetRef ensures that a Pod matches the provided target reference.
// ensurePodTargetRef ensures that a Pod matches the provided target reference .
func ensurePodTargetRef(pod *v1.Pod, targetRef *v1.ObjectReference) {
	if targetRef == nil {
		framework.Failf("Expected TargetRef to not be nil")
	}
	if targetRef.Kind != "Pod" {
		framework.Failf("Expected TargetRef.Kind to be Pod, got %s", targetRef.Kind)
	}
	if targetRef.Namespace != pod.Namespace {
		framework.Failf("Expected TargetRef.Namespace to be %s, got %s", pod.Namespace, targetRef.Namespace)
	}
	if targetRef.Name != pod.Name {
		framework.Failf("Expected TargetRef.Name to be %s, got %s", pod.Name, targetRef.Name)
	}
	if targetRef.UID != pod.UID {
		framework.Failf("Expected TargetRef.UID to be %s, got %s", pod.UID, targetRef.UID)
	}
}
func ensurePodTargetRef ( pod * v1 . Pod , targetRef * v1 . ObjectReference ) { if targetRef == nil { framework . Failf ( " " ) } if targetRef . Kind != " " { framework . Failf ( " " , targetRef . Kind ) } if targetRef . Namespace != pod . Namespace { framework . Failf ( " " , pod . Namespace , targetRef . Namespace ) } if targetRef . Name != pod . Name { framework . Failf ( " " , pod . Name , targetRef . Name ) } if targetRef . UID != pod . UID { framework . Failf ( " " , pod . UID , targetRef . UID ) } }
ensurePodTargetRef ensures that a Pod matches the provided target reference.
ensurePodTargetRef ensures that a Pod matches the provided target reference .