Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 904 for volumeID (0.15 sec)

  1. pkg/volume/csi/csi_client_test.go

    		{
    			name:               "when nodeVolumeStats=on, VolumeID=on, DeviceMountPath=on, VolumeCondition=on",
    			volumeStatsSet:     true,
    			volumeConditionSet: true,
    			volumeData: VolumeStatsOptions{
    				VolumeSpec:      spec,
    				VolumeID:        "volume1",
    				DeviceMountPath: "/foo/bar",
    			},
    			success: true,
    		},
    		{
    			name:               "when nodeVolumeStats=on, VolumeID=on, DeviceMountPath=on, VolumeCondition=off",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  2. pkg/volume/csi/csi_metrics_test.go

    	tests := []struct {
    		name       string
    		volumeID   string
    		targetPath string
    		exitError  error
    	}{
    		{
    			name:       "volume with no driver",
    			volumeID:   "foobar",
    			targetPath: "/mnt/foo",
    			exitError:  transientError,
    		},
    	}
    
    	for _, tc := range tests {
    		metricsGetter := &metricsCsi{volumeID: tc.volumeID, targetPath: tc.targetPath}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 11 06:07:40 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  3. pkg/volume/portworx/portworx.go

    	// Detach a volume
    	DetachVolume(unmounter *portworxVolumeUnmounter) error
    	// Mount a volume
    	MountVolume(mounter *portworxVolumeMounter, mountDir string) error
    	// Unmount a volume
    	UnmountVolume(unmounter *portworxVolumeUnmounter, mountDir string) error
    	// Resize a volume
    	ResizeVolume(spec *volume.Spec, newSize resource.Quantity, host volume.VolumeHost) error
    }
    
    // portworxVolume volumes are portworx block devices
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  4. pkg/volume/csi/csi_metrics.go

    	volumeID string
    
    	//csiClient with cache
    	csiClientGetter
    }
    
    // NewMetricsCsi creates a new metricsCsi with the Volume ID and path.
    func NewMetricsCsi(volumeID string, targetPath string, driverName csiDriverName) volume.MetricsProvider {
    	mc := &metricsCsi{volumeID: volumeID, targetPath: targetPath}
    	mc.csiClientGetter.driverName = driverName
    	return mc
    }
    
    func (mc *metricsCsi) GetMetrics() (*volume.Metrics, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 11 06:07:40 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  5. pkg/volume/csi/csi_block_test.go

    	"k8s.io/kubernetes/pkg/volume"
    	volumetypes "k8s.io/kubernetes/pkg/volume/util/types"
    )
    
    func prepareBlockMapperTest(plug *csiPlugin, specVolumeName string, t *testing.T) (*csiBlockMapper, *volume.Spec, *api.PersistentVolume, error) {
    	registerFakePlugin(testDriver, "endpoint", []string{"1.0.0"}, t)
    	pv := makeTestPV(specVolumeName, 10, testDriver, testVol)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 11 06:07:40 UTC 2023
    - 26.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/testdata/v1.29.0/core.v1.PersistentVolume.json

          "capacityKey": "0"
        },
        "gcePersistentDisk": {
          "pdName": "pdNameValue",
          "fsType": "fsTypeValue",
          "partition": 3,
          "readOnly": true
        },
        "awsElasticBlockStore": {
          "volumeID": "volumeIDValue",
          "fsType": "fsTypeValue",
          "partition": 3,
          "readOnly": true
        },
        "hostPath": {
          "path": "pathValue",
          "type": "typeValue"
        },
        "glusterfs": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.PersistentVolume.json

          "capacityKey": "0"
        },
        "gcePersistentDisk": {
          "pdName": "pdNameValue",
          "fsType": "fsTypeValue",
          "partition": 3,
          "readOnly": true
        },
        "awsElasticBlockStore": {
          "volumeID": "volumeIDValue",
          "fsType": "fsTypeValue",
          "partition": 3,
          "readOnly": true
        },
        "hostPath": {
          "path": "pathValue",
          "type": "typeValue"
        },
        "glusterfs": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/testdata/HEAD/core.v1.PersistentVolume.json

          "capacityKey": "0"
        },
        "gcePersistentDisk": {
          "pdName": "pdNameValue",
          "fsType": "fsTypeValue",
          "partition": 3,
          "readOnly": true
        },
        "awsElasticBlockStore": {
          "volumeID": "volumeIDValue",
          "fsType": "fsTypeValue",
          "partition": 3,
          "readOnly": true
        },
        "hostPath": {
          "path": "pathValue",
          "type": "typeValue"
        },
        "glusterfs": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 03:26:35 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.PersistentVolume.yaml

        fsType: fsTypeValue
        pdID: pdIDValue
      portworxVolume:
        fsType: fsTypeValue
        readOnly: true
        volumeID: volumeIDValue
      quobyte:
        group: groupValue
        readOnly: true
        registry: registryValue
        tenant: tenantValue
        user: userValue
        volume: volumeValue
      rbd:
        fsType: fsTypeValue
        image: imageValue
        keyring: keyringValue
        monitors:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/HEAD/storage.k8s.io.v1beta1.VolumeAttachment.yaml

            pdID: pdIDValue
          portworxVolume:
            fsType: fsTypeValue
            readOnly: true
            volumeID: volumeIDValue
          quobyte:
            group: groupValue
            readOnly: true
            registry: registryValue
            tenant: tenantValue
            user: userValue
            volume: volumeValue
          rbd:
            fsType: fsTypeValue
            image: imageValue
            keyring: keyringValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 03:26:35 UTC 2023
    - 6.6K bytes
    - Viewed (0)
Back to top