- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for pv01 (0.21 sec)
-
pkg/volume/csi/csi_attacher_test.go
spec: volume.NewSpecFromPersistentVolume(makeTestPV("pv01", 10, "testdriver-01", "testvol-01"), false), }, { name: "test ok 2", nodeName: "node02", driverName: "driver02", volumeName: "vol02", attachID: getAttachmentName("vol02", "driver02", "node02"), spec: volume.NewSpecFromPersistentVolume(makeTestPV("pv01", 10, "driver02", "vol02"), false), }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 12:23:16 UTC 2024 - 58.1K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/volumebinding/assume_cache_test.go
newPVC: makeClaim("pvc1", "5", "ns1"), shouldSucceed: false, }, "fail-new-lower-version": { oldPVC: makeClaim("pvc1", "5", "ns1"), newPVC: makeClaim("pvc1", "4", "ns1"), shouldSucceed: false, }, "fail-new-bad-version": { oldPVC: makeClaim("pvc1", "5", "ns1"), newPVC: makeClaim("pvc1", "a", "ns1"), shouldSucceed: false, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 09:46:58 UTC 2024 - 12.8K bytes - Viewed (0) -
pkg/scheduler/util/assumecache/assume_cache_test.go
oldObj: makeObj("pvc1", "5", ""), newObj: makeObj("pvc1", "4", ""), expectErr: cmpopts.AnyError, }, "fail-new-bad-version": { oldObj: makeObj("pvc1", "5", ""), newObj: makeObj("pvc1", "a", ""), expectErr: cmpopts.AnyError, }, "fail-old-bad-version": { oldObj: makeObj("pvc1", "a", ""), newObj: makeObj("pvc1", "5", ""), expectErr: cmpopts.AnyError, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 09:46:58 UTC 2024 - 9.5K bytes - Viewed (0) -
pkg/controller/volume/persistentvolume/index_test.go
} pv1 := testVolume("pv1", "1Gi") pv5 := testVolume("pv5", "5Gi") pv8 := testVolume("pv8", "8Gi") pvBadSize := testVolume("pvBadSize", "1Mi") pvBadMode := testVolume("pvBadMode", "1Gi") pvBadMode.Spec.AccessModes = []v1.PersistentVolumeAccessMode{v1.ReadOnlyMany} index := newPersistentVolumeOrderedIndex() index.store.Add(pv1) index.store.Add(pv5) index.store.Add(pv8)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 21 13:31:28 UTC 2023 - 44K bytes - Viewed (0) -
pkg/volume/util/resize_util_test.go
} }) } } func TestCreatePVCPatch(t *testing.T) { pvc1 := makePVC([]v1.PersistentVolumeClaimCondition{ { Type: v1.PersistentVolumeClaimFileSystemResizePending, Status: v1.ConditionTrue, LastTransitionTime: metav1.Now(), }, }).get() pvc1.SetResourceVersion("10") pvc2 := pvc1.DeepCopy() pvc2.Status.Capacity = v1.ResourceList{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 9.5K bytes - Viewed (0) -
pkg/apis/core/v1/defaults_test.go
} obj1 := roundTrip(t, runtime.Object(pvc)) pvc1 := obj1.(*v1.PersistentVolumeClaim) if pvc1.Status.Phase != v1.ClaimPending { t.Errorf("Expected claim phase %v, got %v", v1.ClaimPending, pvc1.Status.Phase) } if *pvc1.Spec.VolumeMode != test.expectedVolumeMode { t.Errorf("Test %s failed, Expected VolumeMode: %v, but got %v", test.name, test.volumeMode, *pvc1.Spec.VolumeMode) } } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 84.4K bytes - Viewed (0) -
pkg/scheduler/internal/cache/snapshot_test.go
}, { name: "scheduled pods that use PVC", pods: []*v1.Pod{ st.MakePod().Name("foo").Namespace("foo").Node("node-1").PVC("pvc1").Obj(), st.MakePod().Name("bar").Namespace("bar").Node("node-2").PVC("pvc2").Obj(), }, expected: sets.New("foo/pvc1", "bar/pvc2"), }, } for _, test := range tests { t.Run(test.name, func(t *testing.T) { usedPVCs := createUsedPVCSet(test.pods)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 05 08:00:25 UTC 2023 - 12K bytes - Viewed (0) -
pkg/controller/volume/attachdetach/attach_detach_controller_test.go
for _, tc := range []vaTest{ { // pod is scheduled testName: "Scheduled pod", volName: "vol1", podName: "pod1", podNodeName: "mynode-1", pvName: "pv1", vaName: "va1", vaNodeName: "mynode-1", vaAttachStatus: false, expected_attaches: map[string][]string{"mynode-1": {"vol1"}}, expected_detaches: map[string][]string{}, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 11:00:37 UTC 2024 - 24.2K bytes - Viewed (0) -
plugin/pkg/auth/authorizer/node/node_authorizer_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 21:22:55 UTC 2024 - 40.5K bytes - Viewed (0) -
pkg/volume/csi/csi_mounter_test.go
mode: storage.VolumeLifecycleEphemeral, fsType: "ext4", setupShouldFail: true, spec: func(fsType string, options []string) *volume.Spec { volSrc := makeTestVol("pv1", testDriver) volSrc.CSI.FSType = &fsType return volume.NewSpecFromVolume(volSrc) }, }, { name: "setup with persistent source", podUID: types.UID(fmt.Sprintf("%08X", rand.Uint64())),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 50.1K bytes - Viewed (0)