Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for myattacher (0.21 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. pkg/volume/testing/testing.go

    // a zero AttachCallCount. Otherwise it returns an error.
    func VerifyZeroAttachCalls(fakeVolumePlugin *FakeVolumePlugin) error {
    	for _, attacher := range fakeVolumePlugin.GetAttachers() {
    		actualCallCount := attacher.GetAttachCallCount()
    		if actualCallCount != 0 {
    			return fmt.Errorf(
    				"At least one attacher has non-zero AttachCallCount: <%v>.",
    				actualCallCount)
    		}
    	}
    
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/storage/v1/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
    - 24.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/storage/v1/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: Thu May 23 17:42:49 UTC 2024
    - 32K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/storage/v1beta1/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
    - 24.9K bytes
    - Viewed (0)
Back to top