Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for VolumeAttachments (0.21 sec)

  1. pkg/controller/volume/attachdetach/testing/testvolumespec.go

    		return true, obj, nil
    	})
    	volumeAttachments = &storagev1.VolumeAttachmentList{}
    	fakeClient.AddReactor("list", "volumeattachments", func(action core.Action) (handled bool, ret runtime.Object, err error) {
    		obj := &storagev1.VolumeAttachmentList{}
    		obj.Items = append(obj.Items, volumeAttachments.Items...)
    		return true, obj, nil
    	})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 17 08:48:30 UTC 2023
    - 16.5K bytes
    - Viewed (0)
  2. pkg/volume/csi/csi_attacher_test.go

    				attachment := test.makeAttachment()
    				_, err = csiAttacher.k8s.StorageV1().VolumeAttachments().Create(context.TODO(), attachment, metav1.CreateOptions{})
    				if err != nil {
    					t.Fatalf("failed to create VolumeAttachment: %v", err)
    				}
    				gotAttachment, err := csiAttacher.k8s.StorageV1().VolumeAttachments().Get(context.TODO(), attachment.Name, metav1.GetOptions{})
    				if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 58.1K bytes
    - Viewed (0)
  3. pkg/registry/storage/rest/storage_storage.go

    	if resource := "storageclasses"; apiResourceConfigSource.ResourceEnabled(storageapiv1.SchemeGroupVersion.WithResource(resource)) {
    		storage[resource] = storageClassStorage
    	}
    
    	// volumeattachments
    	if resource := "volumeattachments"; apiResourceConfigSource.ResourceEnabled(storageapiv1.SchemeGroupVersion.WithResource(resource)) {
    		storage[resource] = volumeAttachmentStorage.VolumeAttachment
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 02 12:51:06 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  4. pkg/volume/csi/csi_block_test.go

    	attachment := makeTestAttachment(attachID, nodeName, pvName)
    	attachment.Status.Attached = true
    	_, err = csiMapper.k8s.StorageV1().VolumeAttachments().Create(context.TODO(), attachment, metav1.CreateOptions{})
    	if err != nil {
    		t.Fatalf("failed to setup VolumeAttachment: %v", err)
    	}
    	t.Log("created attachment ", attachID)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 11 06:07:40 UTC 2023
    - 26.5K bytes
    - Viewed (0)
  5. pkg/volume/csi/csi_attacher.go

    				Name: attachID,
    			},
    			Spec: storage.VolumeAttachmentSpec{
    				NodeName: node,
    				Attacher: pvSrc.Driver,
    				Source:   vaSrc,
    			},
    		}
    
    		_, err = c.k8s.StorageV1().VolumeAttachments().Create(context.TODO(), attachment, metav1.CreateOptions{})
    		if err != nil {
    			if !apierrors.IsAlreadyExists(err) {
    				return "", errors.New(log("attacher.Attach failed: %v", err))
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 03 07:38:14 UTC 2023
    - 25.9K bytes
    - Viewed (0)
  6. pkg/controller/volume/attachdetach/attach_detach_controller_test.go

    		informerFactory.Core().V1().PersistentVolumes(),
    		informerFactory.Storage().V1().CSINodes(),
    		informerFactory.Storage().V1().CSIDrivers(),
    		informerFactory.Storage().V1().VolumeAttachments(),
    		plugins,
    		nil, /* prober */
    		false,
    		1*time.Second,
    		false,
    		DefaultTimerConfig,
    	)
    
    	if err != nil {
    		t.Fatalf("Run failed with error. Expected: <no error> Actual: <%v>", err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 11:00:37 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  7. pkg/controlplane/storageversionhashdata/data.go

    	"storage.k8s.io/v1/storageclasses":                                  "K+m6uJwbjGY=",
    	"storage.k8s.io/v1/csistoragecapacities":                            "xeVl+2Ly1kE=",
    	"storage.k8s.io/v1/volumeattachments":                               "tJx/ezt6UDU=",
    	"apps/v1/controllerrevisions":                                       "85nkx63pcBU=",
    	"apps/v1/daemonsets":                                                "dd7pWHUlMKQ=",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 20:14:51 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  8. pkg/volume/csi/csi_mounter_test.go

    					},
    				},
    				Status: storage.VolumeAttachmentStatus{
    					Attached:    false,
    					AttachError: nil,
    					DetachError: nil,
    				},
    			}
    			_, err = csiMounter.k8s.StorageV1().VolumeAttachments().Create(context.TODO(), attachment, meta.CreateOptions{})
    			if err != nil {
    				t.Fatalf("failed to setup VolumeAttachment: %v", err)
    			}
    
    			// Mounter.SetUp()
    			var mounterArgs volume.MounterArgs
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 50.1K bytes
    - Viewed (0)
  9. pkg/volume/csi/csi_block.go

    		nodeName := string(m.plugin.host.GetNodeName())
    		attachID := getAttachmentName(csiSource.VolumeHandle, csiSource.Driver, nodeName)
    		attachment, err = m.k8s.StorageV1().VolumeAttachments().Get(context.TODO(), attachID, meta.GetOptions{})
    		if err != nil {
    			return "", errors.New(log("blockMapper.SetupDevice failed to get volume attachment [id=%v]: %v", attachID, err))
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 11 06:07:40 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  10. pkg/kubeapiserver/authorizer/config.go

    				config.VersionedInformerFactory.Core().V1().Pods(),
    				config.VersionedInformerFactory.Core().V1().PersistentVolumes(),
    				config.VersionedInformerFactory.Storage().V1().VolumeAttachments(),
    				slices, // Nil check in AddGraphEventHandlers can be removed when always creating this.
    			)
    			r.nodeAuthorizer = node.NewAuthorizer(graph, nodeidentifier.NewDefaultNodeIdentifier(), bootstrappolicy.NodeRules())
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top