Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for withPVCSVolume (0.15 sec)

  1. 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)
Back to top