Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for UniqueVolumeName (0.13 sec)

  1. pkg/kubelet/kubelet_node_status_test.go

    			existingVolumes: []v1.UniqueVolumeName{"vol1"},
    			existingNode: &v1.Node{
    				ObjectMeta: metav1.ObjectMeta{Name: testKubeletHostname, Labels: map[string]string{v1.LabelOSStable: goruntime.GOOS, v1.LabelArchStable: goruntime.GOARCH}},
    				Status: v1.NodeStatus{
    					VolumesInUse: []v1.UniqueVolumeName{"vol1"},
    				},
    			},
    			expectedReportedInUse: []v1.UniqueVolumeName{"vol1"},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 19:23:19 UTC 2024
    - 115.8K bytes
    - Viewed (0)
  2. pkg/volume/util/operationexecutor/operation_generator.go

    	volumesPerPlugin := make(map[string][]*volume.Spec)
    	// volumeSpecMap maps from a volume spec to its unique volumeName which will be used
    	// when calling MarkVolumeAsDetached
    	volumeSpecMap := make(map[*volume.Spec]v1.UniqueVolumeName)
    
    	// Iterate each volume spec and put them into a map index by the pluginName
    	for _, volumeAttached := range attachedVolumes {
    		if volumeAttached.VolumeSpec == nil {
    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/kubelet/kubelet_test.go

    	}
    
    	return nil
    }
    
    func waitForVolumeDetach(
    	volumeName v1.UniqueVolumeName,
    	volumeManager kubeletvolume.VolumeManager) error {
    	attachedVolumes := []v1.UniqueVolumeName{}
    	err := retryWithExponentialBackOff(
    		time.Duration(50*time.Millisecond),
    		func() (bool, error) {
    			// Verify volumes detached
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  4. pkg/apis/core/zz_generated.deepcopy.go

    		for i := range *in {
    			(*in)[i].DeepCopyInto(&(*out)[i])
    		}
    	}
    	if in.VolumesInUse != nil {
    		in, out := &in.VolumesInUse, &out.VolumesInUse
    		*out = make([]UniqueVolumeName, len(*in))
    		copy(*out, *in)
    	}
    	if in.VolumesAttached != nil {
    		in, out := &in.VolumesAttached, &out.VolumesAttached
    		*out = make([]AttachedVolume, len(*in))
    		copy(*out, *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)
  5. staging/src/k8s.io/api/core/v1/zz_generated.deepcopy.go

    		for i := range *in {
    			(*in)[i].DeepCopyInto(&(*out)[i])
    		}
    	}
    	if in.VolumesInUse != nil {
    		in, out := &in.VolumesInUse, &out.VolumesInUse
    		*out = make([]UniqueVolumeName, len(*in))
    		copy(*out, *in)
    	}
    	if in.VolumesAttached != nil {
    		in, out := &in.VolumesAttached, &out.VolumesAttached
    		*out = make([]AttachedVolume, len(*in))
    		copy(*out, *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)
Back to top