- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 66 for myattacher (0.22 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/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) -
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) -
staging/src/k8s.io/api/storage/v1alpha1/types.go
} // VolumeAttachmentSpec is the specification of a VolumeAttachment request. type VolumeAttachmentSpec struct { // attacher indicates the name of the volume driver that MUST handle this // request. This is the name returned by GetPluginName(). Attacher string `json:"attacher" protobuf:"bytes,1,opt,name=attacher"` // source represents the volume that should be attached.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 27 20:06:32 UTC 2023 - 13.4K bytes - Viewed (0) -
staging/src/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: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 28 15:34:11 UTC 2024 - 11.3K bytes - Viewed (0) -
pkg/volume/volume.go
type CustomBlockVolumeMapper interface { BlockVolumeMapper // SetUpDevice prepares the volume to the node by the plugin specific way. // For most in-tree plugins, attacher.Attach() and attacher.WaitForAttach() // will do necessary works. // This may be called more than once, so implementations must be idempotent. // SetUpDevice returns stagingPath if device setup was successful
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 11.8K bytes - Viewed (0) -
pkg/apis/storage/validation/validation.go
allErrs = append(allErrs, validateAttacher(spec.Attacher, fldPath.Child("attacher"))...) allErrs = append(allErrs, validateVolumeAttachmentSource(&spec.Source, fldPath.Child("source"))...) allErrs = append(allErrs, validateNodeName(spec.NodeName, fldPath.Child("nodeName"))...) return allErrs } // validateAttacher tests if attacher is a valid qualified name. func validateAttacher(attacher string, fldPath *field.Path) field.ErrorList {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 00:47:13 UTC 2024 - 25.5K bytes - Viewed (0)