mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-20 17:38:50 +00:00
@@ -206,7 +206,7 @@ func NewPod(uid, name string) *v1.Pod {
|
||||
}
|
||||
}
|
||||
|
||||
// NewPod returns a test pod object
|
||||
// NewPodWithVolume returns a test pod object
|
||||
func NewPodWithVolume(podName, volumeName, nodeName string) *v1.Pod {
|
||||
return &v1.Pod{
|
||||
ObjectMeta: metav1.ObjectMeta{
|
||||
|
Reference in New Issue
Block a user