- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 829 for attacher (0.17 sec)
-
pkg/volume/iscsi/attacher.go
return plugin.NewDetacher() } func (detacher *iscsiDetacher) Detach(volumeName string, nodeName types.NodeName) error { return nil } func (detacher *iscsiDetacher) UnmountDevice(deviceMountPath string) error { unMounter := volumeSpecToUnmounter(detacher.mounter, detacher.host, detacher.plugin) err := detacher.manager.DetachDisk(*unMounter, deviceMountPath) if err != nil {
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/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/csi/csi_attacher.go
klog.Error(log("attacher.VolumesAreAttached failed for attach.ID=%v: %v", attachID, err)) continue } klog.V(4).Info(log("attacher.VolumesAreAttached attachment [%v] has status.attached=%t", attachID, attach.Status.Attached)) attached[spec] = attach.Status.Attached } return attached, nil } func (c *csiAttacher) GetDeviceMountPath(spec *volume.Spec) (string, error) {
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
if attached.attached && !ok { t.Error("failed to retrieve attached status for:", attached.spec) } if attached.attached != stat { t.Errorf("expecting volume attachment %t, got %t", attached.attached, stat) } } }) } } func TestAttacherVolumesAreAttachedWithInline(t *testing.T) { type attachedSpec struct { volName string spec *volume.Spec attached bool
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/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) -
staging/src/k8s.io/api/storage/v1alpha1/types_swagger_doc_generated.go
"attached": "attached indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 03:26:35 UTC 2023 - 10.6K bytes - Viewed (0) -
pkg/registry/storage/volumeattachment/storage/storage_test.go
func(obj runtime.Object) runtime.Object { object := obj.(*storageapi.VolumeAttachment) object.Status.Attached = true return object }, //invalid update func(obj runtime.Object) runtime.Object { object := obj.(*storageapi.VolumeAttachment) object.Spec.Attacher = "invalid-attacher-!@#$%^&*()" return object }, ) } func TestDelete(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:46:12 UTC 2023 - 6.2K bytes - Viewed (0) -
pkg/registry/storage/volumeattachment/strategy_test.go
newAttachment := va.DeepCopy() newAttachment.Status.Attached = true Strategy.PrepareForUpdate(context.TODO(), newAttachment, va) if newAttachment.Status.Attached { t.Errorf("expected status to be %v got %v", false, newAttachment.Status.Attached) } } func TestCreatePreventsStatusWrite(t *testing.T) { va := getValidVolumeAttachment("valid-attachment") va.Status.Attached = true Strategy.PrepareForCreate(context.TODO(), va)
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_test.go
t.Errorf("csiTest.VolumeAll attacher.Attach failed: %s", err) return } t.Logf("csiTest.VolumeAll got attachID %s", attachID) }() // Simulates external-attacher and marks VolumeAttachment.Status.Attached = true markVolumeAttached(t, attachDetachVolumeHost.GetKubeClient(), nil, attachName, storage.VolumeAttachmentStatus{Attached: true}) // Observe attach on this node.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 03 15:55:13 UTC 2022 - 21.1K bytes - Viewed (0) -
common-protos/k8s.io/api/storage/v1alpha1/generated.proto
message VolumeAttachmentStatus { // attached indicates the volume is successfully attached. // This field must only be set by the entity completing the attach // operation, i.e. the external-attacher. optional bool attached = 1; // attachmentMetadata is populated with any // information returned by the attach operation, upon successful attach, that must be passed
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 9.4K bytes - Viewed (0)