Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 80 for claimrefns (0.21 sec)

  1. pkg/volume/util/operationexecutor/operation_generator_test.go

    			featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.RecoverVolumeExpansionFailure, true)
    			volumePluginMgr, fakePlugin := volumetesting.GetTestKubeletVolumePluginMgr(t)
    			test.pv.Spec.ClaimRef = &v1.ObjectReference{
    				Namespace: test.pvc.Namespace,
    				Name:      test.pvc.Name,
    			}
    
    			pvc := test.pvc
    			pv := test.pv
    			pod := getTestPod("test-pod", pvc.Name)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  2. pkg/kubelet/volumemanager/reconciler/reconstruct_test.go

    	pv := &v1.PersistentVolume{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: pvName,
    			UID:  "pvuid",
    		},
    		Spec: v1.PersistentVolumeSpec{
    			ClaimRef:   &v1.ObjectReference{Name: pvcName},
    			VolumeMode: &volumeMode,
    		},
    	}
    	pvc := &v1.PersistentVolumeClaim{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: pvcName,
    			UID:  "pvcuid",
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  3. pkg/volume/iscsi/iscsi_test.go

    				ISCSI: &v1.ISCSIPersistentVolumeSource{
    					TargetPortal: "127.0.0.1:3260",
    					IQN:          "iqn.2014-12.server:storage.target01",
    					FSType:       "ext4",
    					Lun:          0,
    				},
    			},
    			ClaimRef: &v1.ObjectReference{
    				Name: "claimA",
    			},
    		},
    	}
    
    	claim := &v1.PersistentVolumeClaim{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "claimA",
    			Namespace: "nsA",
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 01 15:56:32 UTC 2022
    - 16.4K bytes
    - Viewed (0)
  4. pkg/volume/fc/fc_test.go

    			PersistentVolumeSource: v1.PersistentVolumeSource{
    				FC: &v1.FCVolumeSource{
    					TargetWWNs: []string{"some_wwn"},
    					FSType:     "ext4",
    					Lun:        &lun,
    				},
    			},
    			ClaimRef: &v1.ObjectReference{
    				Name: "claimA",
    			},
    			VolumeMode: &fs,
    		},
    	}
    
    	claim := &v1.PersistentVolumeClaim{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "claimA",
    			Namespace: "nsA",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 01 15:56:32 UTC 2022
    - 14.1K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/volumebinding/assume_cache_test.go

    	assumecache.AddTestObject(cache.AssumeCache, pv)
    	if err := verifyPV(cache, pvName, pv); err != nil {
    		t.Fatalf("failed to get PV: %v", err)
    	}
    
    	// Assume PV
    	newPV := pv.DeepCopy()
    	newPV.Spec.ClaimRef = &v1.ObjectReference{Name: "test-claim"}
    	if err := cache.Assume(newPV); err != nil {
    		t.Fatalf("failed to assume PV: %v", err)
    	}
    	if err := verifyPV(cache, pvName, newPV); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  6. pkg/controller/volume/persistentvolume/binder_test.go

    			expectedEvents:  []string{"Normal FailedBinding"},
    			errors:          noerrors,
    			test:            testSyncClaim,
    		},
    		{
    			// syncClaim completes binding - simulates controller crash after
    			// PV.ClaimRef is saved
    			name:            "1-8 - complete bind after crash - PV bound",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:37:30 UTC 2023
    - 65.8K bytes
    - Viewed (0)
  7. pkg/controller/volume/persistentvolume/framework_test.go

    			StorageClassName:              class,
    			VolumeMode:                    &fs,
    		},
    		Status: v1.PersistentVolumeStatus{
    			Phase: phase,
    		},
    	}
    
    	if boundToClaimName != "" {
    		volume.Spec.ClaimRef = &v1.ObjectReference{
    			Kind:       "PersistentVolumeClaim",
    			APIVersion: "v1",
    			UID:        types.UID(boundToClaimUID),
    			Namespace:  testNamespace,
    			Name:       boundToClaimName,
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 09:54:00 UTC 2023
    - 38.3K bytes
    - Viewed (0)
  8. pkg/volume/hostpath/host_path_test.go

    		},
    		Spec: v1.PersistentVolumeSpec{
    			PersistentVolumeSource: v1.PersistentVolumeSource{
    				HostPath: &v1.HostPathVolumeSource{Path: "foo", Type: newHostPathType(string(v1.HostPathDirectoryOrCreate))},
    			},
    			ClaimRef: &v1.ObjectReference{
    				Name: "claimA",
    			},
    		},
    	}
    	defer os.RemoveAll("foo")
    
    	claim := &v1.PersistentVolumeClaim{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "claimA",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:37:30 UTC 2023
    - 20.5K bytes
    - Viewed (0)
  9. pkg/printers/internalversion/printers.go

    	row := metav1.TableRow{
    		Object: runtime.RawExtension{Object: obj},
    	}
    
    	claimRefUID := ""
    	if obj.Spec.ClaimRef != nil {
    		claimRefUID += obj.Spec.ClaimRef.Namespace
    		claimRefUID += "/"
    		claimRefUID += obj.Spec.ClaimRef.Name
    	}
    
    	modesStr := helper.GetAccessModesAsString(obj.Spec.AccessModes)
    	reclaimPolicyStr := string(obj.Spec.PersistentVolumeReclaimPolicy)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
  10. pkg/apis/core/zz_generated.deepcopy.go

    	if in.AccessModes != nil {
    		in, out := &in.AccessModes, &out.AccessModes
    		*out = make([]PersistentVolumeAccessMode, len(*in))
    		copy(*out, *in)
    	}
    	if in.ClaimRef != nil {
    		in, out := &in.ClaimRef, &out.ClaimRef
    		*out = new(ObjectReference)
    		**out = **in
    	}
    	if in.MountOptions != nil {
    		in, out := &in.MountOptions, &out.MountOptions
    		*out = make([]string, len(*in))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.5K bytes
    - Viewed (0)
Back to top