Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 39 for claimrefns (0.17 sec)

  1. pkg/printers/internalversion/printers_test.go

    				ObjectMeta: metav1.ObjectMeta{
    					Name: "test1",
    				},
    				Spec: api.PersistentVolumeSpec{
    					ClaimRef:    &claimRef,
    					AccessModes: []api.PersistentVolumeAccessMode{api.ReadOnlyMany},
    					Capacity: map[api.ResourceName]resource.Quantity{
    						api.ResourceStorage: resource.MustParse("4Gi"),
    					},
    				},
    				Status: api.PersistentVolumeStatus{
    					Phase: api.VolumeBound,
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  2. pkg/volume/util/operationexecutor/operation_generator.go

    			pv := volumeToMount.VolumeSpec.PersistentVolume
    			pvc, err := og.kubeClient.CoreV1().PersistentVolumeClaims(pv.Spec.ClaimRef.Namespace).Get(context.TODO(), pv.Spec.ClaimRef.Name, metav1.GetOptions{})
    			if err != nil {
    				eventErr, detailedErr := volumeToMount.GenerateError("VerifyControllerAttachedVolume fetching pvc failed", err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 101.4K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  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/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)
  7. 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)
  8. staging/src/k8s.io/api/core/v1/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.9K bytes
    - Viewed (0)
  9. pkg/apis/core/types.go

    	PersistentVolumeSource
    	// AccessModes contains all ways the volume can be mounted
    	// +optional
    	AccessModes []PersistentVolumeAccessMode
    	// ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim.
    	// ClaimRef is expected to be non-nil when bound.
    	// claim.VolumeName is the authoritative bind between PV and PVC.
    	// When set to non-nil value, PVC.Spec.Selector of the referenced PVC is
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 268.9K bytes
    - Viewed (0)
  10. pkg/apis/core/v1/zz_generated.conversion.go

    		return err
    	}
    	out.AccessModes = *(*[]core.PersistentVolumeAccessMode)(unsafe.Pointer(&in.AccessModes))
    	out.ClaimRef = (*core.ObjectReference)(unsafe.Pointer(in.ClaimRef))
    	out.PersistentVolumeReclaimPolicy = core.PersistentVolumeReclaimPolicy(in.PersistentVolumeReclaimPolicy)
    	out.StorageClassName = in.StorageClassName
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 472.1K bytes
    - Viewed (0)
Back to top