Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for attachmentID (0.36 sec)

  1. pkg/volume/csi/csi_mounter.go

    var (
    	volDataKey = struct {
    		specVolID,
    		volHandle,
    		driverName,
    		nodeName,
    		attachmentID,
    		volumeLifecycleMode,
    		seLinuxMountContext string
    	}{
    		"specVolID",
    		"volumeHandle",
    		"driverName",
    		"nodeName",
    		"attachmentID",
    		"volumeLifecycleMode",
    		"seLinuxMountContext",
    	}
    )
    
    type csiMountMgr struct {
    	csiClientGetter
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jan 30 10:47:59 UTC 2024
    - 21K bytes
    - Viewed (1)
  2. pkg/volume/csi/csi_plugin.go

    	attachID := getAttachmentName(handle, driver, nodeName)
    
    	// search for attachment by VolumeAttachment.Spec.Source.PersistentVolumeName
    	attachment, err := client.StorageV1().VolumeAttachments().Get(context.TODO(), attachID, meta.GetOptions{})
    	if err != nil {
    		return nil, err // This err already has enough context ("VolumeAttachment xyz not found")
    	}
    
    	if attachment == nil {
    		err = errors.New("no existing VolumeAttachment found")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  3. pkg/volume/csi/csi_mounter_test.go

    			}
    
    			attachID := getAttachmentName(csiMounter.volumeID, string(csiMounter.driverName), string(plug.host.GetNodeName()))
    			attachment := makeTestAttachment(attachID, "test-node", csiMounter.spec.Name())
    			_, err = csiMounter.k8s.StorageV1().VolumeAttachments().Create(context.TODO(), attachment, meta.CreateOptions{})
    			if err != nil {
    				t.Fatalf("failed to setup VolumeAttachment: %v", err)
    			}
    
    			if tc.unsetClient {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 50.1K bytes
    - Viewed (0)
  4. plugin/pkg/auth/authorizer/node/node_authorizer_test.go

    			pods = append(pods, pod)
    			pvs = append(pvs, podPVs...)
    		}
    		for a := 0; a < opts.attachmentsPerNode; a++ {
    			attachment := &storagev1.VolumeAttachment{}
    			attachment.Name = fmt.Sprintf("attachment%d-%s", a, nodeName)
    			attachment.Spec.NodeName = nodeName
    			attachments = append(attachments, attachment)
    		}
    
    		nodes = append(nodes, &corev1.Node{
    			ObjectMeta: metav1.ObjectMeta{Name: nodeName},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 40.5K bytes
    - Viewed (0)
  5. plugin/pkg/auth/authorizer/node/graph_populator.go

    func (g *graphPopulator) updateVolumeAttachment(oldObj, obj interface{}) {
    	attachment := obj.(*storagev1.VolumeAttachment)
    	if oldObj != nil {
    		// skip add if node name is identical
    		oldAttachment := oldObj.(*storagev1.VolumeAttachment)
    		if oldAttachment.Spec.NodeName == attachment.Spec.NodeName {
    			return
    		}
    	}
    	g.graph.AddVolumeAttachment(attachment.Name, attachment.Spec.NodeName)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. releasenotes/notes/49700.yaml

    # process. This will appear in the release notes.
    upgradeNotes:
      - title: New ambient mode waypoint attachment method
        content: |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. manifests/charts/istio-cni/templates/network-attachment-definition.yaml

    Ben Leggett <******@****.***> 1715982749 -0400
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 21:52:29 UTC 2024
    - 231 bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/console/ConsoleAttachmentTestInterceptor.groovy

            ConsoleAttachment.values().each { ConsoleAttachment attachment ->
                add(new ConsoleAttachmentExecution(attachment))
            }
        }
    
        private static class ConsoleAttachmentExecution extends Execution {
            private final ConsoleAttachment attachment
    
            ConsoleAttachmentExecution(ConsoleAttachment attachment) {
                this.attachment = attachment
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. pkg/volume/csi/csi_attacher_test.go

    			attachID := getAttachmentName(volID, testDriver, nodeName)
    			attachment := makeTestAttachment(attachID, nodeName, pvName)
    			attachment.Status.Attached = tc.initAttached
    			attachment.Status.AttachError = tc.initAttachErr
    			_, err = csiAttacher.k8s.StorageV1().VolumeAttachments().Create(context.TODO(), attachment, metav1.CreateOptions{})
    			if err != nil {
    				t.Fatalf("failed to attach: %v", err)
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 58.1K bytes
    - Viewed (0)
  10. pkg/controller/volume/attachdetach/attach_detach_controller.go

    	adc.actualStateOfWorld.SetVolumesMountedByNode(logger, volumesInUse, nodeName)
    }
    
    // Process Volume-Attachment objects.
    // Should be called only after populating attached volumes in the ASW.
    // For each VA object, this function checks if its present in the ASW.
    // If not, adds the volume to ASW as an "uncertain" attachment.
    // In the reconciler, the logic checks if the volume is present in the DSW;
    //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 32.6K bytes
    - Viewed (0)
Back to top