- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 113 for volumeattachments (0.22 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", "get",
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/registry/storage/volumeattachment/storage/storage.go
CreateStrategy: volumeattachment.Strategy, UpdateStrategy: volumeattachment.Strategy, DeleteStrategy: volumeattachment.Strategy, ResetFieldsStrategy: volumeattachment.Strategy, ReturnDeletedObject: true, TableConvertor: printerstorage.TableConvertor{TableGenerator: printers.NewTableGenerator().With(printersinternal.AddHandlers)}, }
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/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/strategy_test.go
t.Errorf("VolumeAttachment should not allow create on update") } volumeAttachment := getValidVolumeAttachment("valid-attachment") Strategy.PrepareForCreate(ctx, volumeAttachment) errs := Strategy.Validate(ctx, volumeAttachment) if len(errs) != 0 { t.Errorf("unexpected error validating %v", errs) } // Create with status should drop status statusVolumeAttachment := volumeAttachment.DeepCopy()
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/registry/storage/rest/storage_storage.go
storage[resource] = storageClassStorage } // volumeattachments if resource := "volumeattachments"; apiResourceConfigSource.ResourceEnabled(storageapiv1.SchemeGroupVersion.WithResource(resource)) { storage[resource] = volumeAttachmentStorage.VolumeAttachment storage[resource+"/status"] = volumeAttachmentStorage.Status } // register csinodes
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_attacher_test.go
_, 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 { t.Fatalf("failed to get created VolumeAttachment: %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) -
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) stagingPath, err := csiMapper.SetUpDevice() if err != nil {
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
klog.V(4).Info(log("probing VolumeAttachment [id=%v]", attachID)) verifyStatus := func() (bool, error) { volumeAttachment, err := c.plugin.volumeAttachmentLister.Get(attachID) if err != nil { // Ignore "not found" errors in case the VolumeAttachment was just created and hasn't yet made it into the lister. if !apierrors.IsNotFound(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
newVa := controllervolumetesting.NewVolumeAttachment(tc.vaName, tc.pvName, tc.vaNodeName, tc.vaAttachStatus) _, err = adc.kubeClient.StorageV1().VolumeAttachments().Create(tCtx, newVa, metav1.CreateOptions{}) if err != nil { t.Fatalf("Run failed with error. Failed to create a new volumeAttachment: <%v>", err) } vaInformer.GetIndexer().Add(newVa) } // Makesure the informer cache is synced informerFactory.Start(tCtx.Done())
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/registry/storage/volumeattachment/storage/storage_test.go
defer storage.Store.DestroyFunc() test := genericregistrytest.New(t, storage.Store).ClusterScope() volumeAttachment := validNewVolumeAttachment("foo") volumeAttachment.ObjectMeta = metav1.ObjectMeta{GenerateName: "foo"} pvName := "foo" test.TestCreate( // valid volumeAttachment, // invalid &storageapi.VolumeAttachment{ ObjectMeta: metav1.ObjectMeta{Name: "*BadName!"}, Spec: storageapi.VolumeAttachmentSpec{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:46:12 UTC 2023 - 6.2K bytes - Viewed (0)