- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for myattacher (0.21 sec)
-
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/volume/flexvolume/attacher.go
"k8s.io/klog/v2" "k8s.io/kubernetes/pkg/volume" ) type flexVolumeAttacher struct { plugin *flexVolumeAttachablePlugin } var _ volume.Attacher = &flexVolumeAttacher{} var _ volume.DeviceMounter = &flexVolumeAttacher{} // Attach is part of the volume.Attacher interface func (a *flexVolumeAttacher) Attach(spec *volume.Spec, hostName types.NodeName) (string, error) { call := a.plugin.NewDriverCall(attachCmd)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jul 03 23:29:42 UTC 2021 - 3.6K bytes - Viewed (0) -
pkg/volume/flexvolume/attacher-defaults.go
type attacherDefaults flexVolumeAttacher // Attach is part of the volume.Attacher interface func (a *attacherDefaults) Attach(spec *volume.Spec, hostName types.NodeName) (string, error) { klog.Warning(logPrefix(a.plugin.flexVolumePlugin), "using default Attach for volume ", spec.Name(), ", host ", hostName) return "", nil } // WaitForAttach is part of the volume.Attacher interface
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Sep 17 04:51:24 UTC 2020 - 2.4K 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/testdata/v1.29.0/storage.k8s.io.v1.VolumeAttachment.json
"time": "2004-01-01T01:01:01Z", "fieldsType": "fieldsTypeValue", "fieldsV1": {}, "subresource": "subresourceValue" } ] }, "spec": { "attacher": "attacherValue", "source": { "persistentVolumeName": "persistentVolumeNameValue", "inlineVolumeSpec": { "capacity": { "capacityKey": "0" }, "gcePersistentDisk": {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 04:12:07 UTC 2023 - 9K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.30.0/storage.k8s.io.v1.VolumeAttachment.json
"time": "2004-01-01T01:01:01Z", "fieldsType": "fieldsTypeValue", "fieldsV1": {}, "subresource": "subresourceValue" } ] }, "spec": { "attacher": "attacherValue", "source": { "persistentVolumeName": "persistentVolumeNameValue", "inlineVolumeSpec": { "capacity": { "capacityKey": "0" }, "gcePersistentDisk": {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:52:25 UTC 2024 - 9K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.30.0/storage.k8s.io.v1.VolumeAttachment.yaml
blockOwnerDeletion: true controller: true kind: kindValue name: nameValue uid: uidValue resourceVersion: resourceVersionValue selfLink: selfLinkValue uid: uidValue spec: attacher: attacherValue nodeName: nodeNameValue source: inlineVolumeSpec: accessModes: - accessModesValue awsElasticBlockStore: fsType: fsTypeValue partition: 3
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:52:25 UTC 2024 - 6.6K bytes - Viewed (0)