- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 76 for myattacher (0.29 sec)
-
pkg/apis/storage/validation/validation_test.go
Spec: storage.VolumeAttachmentSpec{ Attacher: "myattacher", Source: storage.VolumeAttachmentSource{ PersistentVolumeName: &volumeName, }, NodeName: "mynode", }, }, { ObjectMeta: metav1.ObjectMeta{Name: "foo-with-inlinespec"}, Spec: storage.VolumeAttachmentSpec{ Attacher: "myattacher", Source: storage.VolumeAttachmentSource{ InlineVolumeSpec: &inlineSpec,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 69.7K bytes - Viewed (0) -
pkg/volume/fc/attacher.go
return volumesAttachedCheck, nil } func (attacher *fcAttacher) WaitForAttach(spec *volume.Spec, devicePath string, _ *v1.Pod, timeout time.Duration) (string, error) { mounter, err := volumeSpecToMounter(spec, attacher.host) if err != nil { klog.Warningf("failed to get fc mounter: %v", err) return "", err } return attacher.manager.AttachDisk(*mounter) } func (attacher *fcAttacher) GetDeviceMountPath(
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 31 12:02:51 UTC 2022 - 7.5K bytes - Viewed (0) -
pkg/volume/iscsi/attacher.go
} return volumesAttachedCheck, nil } func (attacher *iscsiAttacher) WaitForAttach(spec *volume.Spec, devicePath string, pod *v1.Pod, timeout time.Duration) (string, error) { mounter, err := volumeSpecToMounter(spec, attacher.host, attacher.targetLocks, pod) if err != nil { klog.Warningf("failed to get iscsi mounter: %v", err) return "", err } return attacher.manager.AttachDisk(*mounter) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Aug 04 08:51:31 UTC 2022 - 6.8K bytes - Viewed (0) -
pkg/controller/volume/attachdetach/testing/testvolumespec.go
}} } // Attacher type testPluginAttacher struct { ErrorEncountered *bool attachedVolumeMap map[string][]string pluginLock *sync.RWMutex } func (attacher *testPluginAttacher) Attach(spec *volume.Spec, nodeName types.NodeName) (string, error) { attacher.pluginLock.Lock() defer attacher.pluginLock.Unlock() if spec == nil { *attacher.ErrorEncountered = true
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/volume/csi/csi_attacher.go
func (c *csiAttacher) GetDeviceMountPath(spec *volume.Spec) (string, error) { klog.V(4).Info(log("attacher.GetDeviceMountPath(%v)", spec)) deviceMountPath, err := makeDeviceMountPath(c.plugin, spec) if err != nil { return "", errors.New(log("attacher.GetDeviceMountPath failed to make device mount path: %v", err)) } klog.V(4).Infof("attacher.GetDeviceMountPath succeeded, deviceMountPath: %s", deviceMountPath) return deviceMountPath, nil }
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/volume/csi/csi_attacher_test.go
// Setup // Create a new attacher fakeClient := fakeclient.NewSimpleClientset() plug, tmpDir := newTestPlugin(t, fakeClient) defer os.RemoveAll(tmpDir) attacher, err0 := plug.NewAttacher() if err0 != nil { t.Fatalf("failed to create new attacher: %v", err0) } csiAttacher := getCsiAttacherFromVolumeAttacher(attacher, testWatchTimeout)
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/volumeattachment/storage/storage_test.go
pvName := "foo" return &storageapi.VolumeAttachment{ ObjectMeta: metav1.ObjectMeta{ Name: name, }, Spec: storageapi.VolumeAttachmentSpec{ Attacher: "valid-attacher", Source: storageapi.VolumeAttachmentSource{ PersistentVolumeName: &pvName, }, NodeName: "valid-node", }, } } func TestCreate(t *testing.T) { storage, _, server := newStorage(t)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:46:12 UTC 2023 - 6.2K bytes - Viewed (1) -
pkg/registry/storage/volumeattachment/strategy_test.go
Name: "foo", }, Spec: storage.VolumeAttachmentSpec{ Attacher: "valid-attacher", Source: storage.VolumeAttachmentSource{ PersistentVolumeName: &invalidPVName, }, NodeName: "valid-node", }, }, true, }, { "invalid attacher name", &storage.VolumeAttachment{ ObjectMeta: metav1.ObjectMeta{ Name: "foo", },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:46:12 UTC 2023 - 8.8K bytes - Viewed (0) -
common-protos/k8s.io/api/storage/v1alpha1/generated.proto
} // VolumeAttachmentSpec is the specification of a VolumeAttachment request. message VolumeAttachmentSpec { // attacher indicates the name of the volume driver that MUST handle this // request. This is the name returned by GetPluginName(). optional string attacher = 1; // source represents the volume that should be attached. optional VolumeAttachmentSource source = 2;
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 9.4K bytes - Viewed (0) -
staging/src/k8s.io/api/storage/v1alpha1/types_swagger_doc_generated.go
return map_VolumeAttachmentSource } var map_VolumeAttachmentSpec = map[string]string{ "": "VolumeAttachmentSpec is the specification of a VolumeAttachment request.", "attacher": "attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().", "source": "source represents the volume that should be attached.",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 03:26:35 UTC 2023 - 10.6K bytes - Viewed (0)