Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for CreateVolume (0.2 sec)

  1. pkg/volume/portworx/portworx.go

    	}
    
    	return nil, false, fmt.Errorf("Spec does not reference a Portworx Volume type")
    }
    
    // Abstract interface to PD operations.
    type portworxManager interface {
    	// Creates a volume
    	CreateVolume(provisioner *portworxVolumeProvisioner) (volumeID string, volumeSizeGB int64, labels map[string]string, err error)
    	// Deletes a volume
    	DeleteVolume(deleter *portworxVolumeDeleter) error
    	// Attach a volume
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  2. pkg/volume/portworx/portworx_util.go

    	pxServiceName      = "portworx-service"
    	pxDriverName       = "pxd-sched"
    )
    
    type portworxVolumeUtil struct {
    	portworxClient *osdclient.Client
    }
    
    // CreateVolume creates a Portworx volume.
    func (util *portworxVolumeUtil) CreateVolume(p *portworxVolumeProvisioner) (string, int64, map[string]string, error) {
    	driver, err := util.getPortworxDriver(p.plugin.host)
    	if err != nil || driver == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 16 11:12:06 UTC 2022
    - 12.2K bytes
    - Viewed (0)
  3. pkg/volume/csi/fake/fake_client.go

    					},
    				},
    			},
    		}
    	}
    	return &csipb.ControllerGetCapabilitiesResponse{
    		Capabilities: f.nextCapabilities,
    	}, nil
    }
    
    // CreateVolume implements csi method
    func (f *ControllerClient) CreateVolume(ctx context.Context, in *csipb.CreateVolumeRequest, opts ...grpc.CallOption) (*csipb.CreateVolumeResponse, error) {
    	return nil, nil
    }
    
    // DeleteVolume implements csi method
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 14:49:03 UTC 2023
    - 16K bytes
    - Viewed (0)
  4. pkg/volume/portworx/portworx_test.go

    	fake.mountCalled = true
    	return nil
    }
    
    func (fake *fakePortworxManager) UnmountVolume(c *portworxVolumeUnmounter, mountPath string) error {
    	return nil
    }
    
    func (fake *fakePortworxManager) CreateVolume(c *portworxVolumeProvisioner) (volumeID string, volumeSizeGB int64, labels map[string]string, err error) {
    	labels = make(map[string]string)
    	labels["fakeportworxmanager"] = "yes"
    	return PortworxTestVolume, 100, labels, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 21 02:17:04 UTC 2021
    - 7.4K bytes
    - Viewed (0)
  5. CHANGELOG/CHANGELOG-1.10.md

    * K8s now supports rbd-nbd for Ceph rbd volume mounts. ([#58916](https://github.com/kubernetes/kubernetes/pull/58916), [@ianchakeres](https://github.com/ianchakeres))
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 05 13:44:43 UTC 2022
    - 341.8K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/core/v1/generated.proto

      // driver is the name of the driver to use for this volume.
      // Required.
      optional string driver = 1;
    
      // volumeHandle is the unique volume name returned by the CSI volume
      // plugin’s CreateVolume to refer to the volume on all subsequent calls.
      // Required.
      optional string volumeHandle = 2;
    
      // readOnly value to pass to ControllerPublishVolumeRequest.
      // Defaults to false (read/write).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 255.8K bytes
    - Viewed (0)
  7. pkg/apis/core/types.go

    	// Driver is the name of the driver to use for this volume.
    	// Required.
    	Driver string
    
    	// VolumeHandle is the unique volume name returned by the CSI volume
    	// plugin’s CreateVolume to refer to the volume on all subsequent calls.
    	// Required.
    	VolumeHandle string
    
    	// Optional: The value to pass to ControllerPublishVolumeRequest.
    	// Defaults to false (read/write).
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 268.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/core/v1/types_swagger_doc_generated.go

    	"driver":                     "driver is the name of the driver to use for this volume. Required.",
    	"volumeHandle":               "volumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls. Required.",
    	"readOnly":                   "readOnly value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 254.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/core/v1/generated.proto

      // driver is the name of the driver to use for this volume.
      // Required.
      optional string driver = 1;
    
      // volumeHandle is the unique volume name returned by the CSI volume
      // plugin’s CreateVolume to refer to the volume on all subsequent calls.
      // Required.
      optional string volumeHandle = 2;
    
      // readOnly value to pass to ControllerPublishVolumeRequest.
      // Defaults to false (read/write).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 280.3K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.7.md

    ### Other notable changes
    
    * Fixes CVE-2017-1002101 - See https://issue.k8s.io/60813 for details ([#61047](https://github.com/kubernetes/kubernetes/pull/61047), [@liggitt](https://github.com/liggitt))
    * fix CreateVolume func: use search mode instead ([#54687](https://github.com/kubernetes/kubernetes/pull/54687), [@andyzhangx](https://github.com/andyzhangx))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 05 13:44:43 UTC 2022
    - 308.7K bytes
    - Viewed (0)
Back to top