Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 76 for attachmentID (0.42 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 (0)
  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. pkg/registry/storage/volumeattachment/storage/storage_test.go

    	// update status
    	attachmentIn := obj.(*storageapi.VolumeAttachment).DeepCopy()
    	attachmentIn.Status.Attached = true
    
    	_, _, err = statusStorage.Update(ctx, attachmentIn.Name, rest.DefaultUpdatedObjectInfo(attachmentIn), rest.ValidateAllObjectFunc, rest.ValidateAllObjectUpdateFunc, false, &metav1.UpdateOptions{})
    	if err != nil {
    		t.Fatalf("Failed to update status: %v", err)
    	}
    
    	// validate object got updated
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/mime/mediatype_test.go

    	{`"attachment"`, "attachment", "mime: no media type"},
    	{"attachment; filename=foo,bar.html", "attachment", "mime: invalid media parameter"},
    	{"attachment; ;filename=foo", "attachment", "mime: invalid media parameter"},
    	{"attachment; filename=foo bar.html", "attachment", "mime: invalid media parameter"},
    	{`attachment; filename="foo.html"; filename="bar.html"`, "attachment", "mime: duplicate parameter name"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 26 17:58:37 UTC 2022
    - 18.1K bytes
    - Viewed (0)
  10. 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)
Back to top