- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for withPVCSVolume (0.32 sec)
-
pkg/scheduler/framework/plugins/volumebinding/test_utils.go
Name: name, VolumeSource: v1.VolumeSource{ PersistentVolumeClaim: &v1.PersistentVolumeClaimVolumeSource{ ClaimName: pvcName, }, }, }) return pb } func (pb podBuilder) withPVCSVolume(pvcs []*v1.PersistentVolumeClaim) podBuilder { for i, pvc := range pvcs { pb.withPVCVolume(pvc.Name, fmt.Sprintf("vol%v", i)) } return pb } func (pb podBuilder) withEmptyDirVolume() podBuilder {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 13 07:42:19 UTC 2023 - 4.9K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/volumebinding/binder_test.go
// b. Generate pod with given claims if scenario.pod == nil { scenario.pod = makePod("test-pod"). withNamespace("testns"). withNodeName("node1"). withPVCSVolume(scenario.podPVCs).Pod } // Execute podVolumes, reasons, err := findPodVolumes(logger, testEnv.binder, scenario.pod, testNode) // Validate if !scenario.shouldFail && err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 09:46:58 UTC 2024 - 82.8K bytes - Viewed (0)