// CreateCallbackDisplayOrFail creates callback-display pod or fail.
CreateCallbackDisplayOrFail creates callback-display pod or fail.
// CreateCallbackDisplayOrFail creates callback - display pod or fail .
func CreateCallbackDisplayOrFail(ctx context.Context, client *lib.Client) *v1.Pod {
	const receiverImageName = "callback-display"
	callbackPod := &v1.Pod{
		ObjectMeta: metav1.ObjectMeta{
			Namespace: client.Namespace,
			Name:      receiverImageName,
			Labels:    map[string]string{"e2e-test": uuid.New().String()},
		},
		Spec: v1.PodSpec{
			Containers: []v1.Container{{
				Name:            receiverImageName,
				Image:           test.ImagePath(receiverImageName),
				ImagePullPolicy: v1.PullAlways,
			}},
			RestartPolicy: v1.RestartPolicyNever,
		},
	}
	createPodOrFailWithMessage(ctx, client, callbackPod)
	return callbackPod
}
func CreateCallbackDisplayOrFail ( ctx context . Context , client * lib . Client ) * v1 . Pod { const receiverImageName = " " callbackPod := & v1 . Pod { ObjectMeta : metav1 . ObjectMeta { Namespace : client . Namespace , Name : receiverImageName , Labels : map [ string ] string { " " : uuid . New ( ) . String ( ) } , } , Spec : v1 . PodSpec { Containers : [ ] v1 . Container { { Name : receiverImageName , Image : test . ImagePath ( receiverImageName ) , ImagePullPolicy : v1 . PullAlways , } } , RestartPolicy : v1 . RestartPolicyNever , } , } createPodOrFailWithMessage ( ctx , client , callbackPod ) return callbackPod }
CreateCallbackDisplayOrFail creates callback-display pod or fail.
CreateCallbackDisplayOrFail creates callback - display pod or fail .