- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 49 for VolumeAttachments (0.39 sec)
-
api/discovery/apis__storage.k8s.io__v1.json
"deletecollection", "get", "list", "patch", "update", "watch" ] }, { "kind": "VolumeAttachment", "name": "volumeattachments", "namespaced": false, "singularName": "volumeattachment", "storageVersionHash": "tJx/ezt6UDU=", "verbs": [ "create", "delete", "deletecollection",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 15 18:18:19 UTC 2023 - 2.1K bytes - Viewed (0) -
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) -
pkg/registry/storage/volumeattachment/storage/storage.go
) // VolumeAttachmentStorage includes storage for VolumeAttachments and all subresources type VolumeAttachmentStorage struct { VolumeAttachment *REST Status *StatusREST } // REST object that will work for VolumeAttachments type REST struct { *genericregistry.Store } // NewStorage returns a RESTStorage object that will work against VolumeAttachments
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 18 09:21:19 UTC 2022 - 4.3K bytes - Viewed (0) -
pkg/registry/storage/volumeattachment/strategy_test.go
func TestVolumeAttachmentStrategy(t *testing.T) { ctx := genericapirequest.WithRequestInfo(genericapirequest.NewContext(), &genericapirequest.RequestInfo{ APIGroup: "storage.k8s.io", APIVersion: "v1", Resource: "volumeattachments", }) if Strategy.NamespaceScoped() { t.Errorf("VolumeAttachment must not be namespace scoped") } if Strategy.AllowCreateOnUpdate() { t.Errorf("VolumeAttachment should not allow create on update") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:46:12 UTC 2023 - 8.8K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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)