Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 996 for volumeID (0.11 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. staging/src/k8s.io/client-go/applyconfigurations/core/v1/portworxvolumesource.go

    }
    
    // WithVolumeID sets the VolumeID field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the VolumeID field is set to the value of the last call.
    func (b *PortworxVolumeSourceApplyConfiguration) WithVolumeID(value string) *PortworxVolumeSourceApplyConfiguration {
    	b.VolumeID = &value
    	return b
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  5. 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)
  6. staging/src/k8s.io/client-go/applyconfigurations/core/v1/cinderpersistentvolumesource.go

    // with apply.
    type CinderPersistentVolumeSourceApplyConfiguration struct {
    	VolumeID  *string                            `json:"volumeID,omitempty"`
    	FSType    *string                            `json:"fsType,omitempty"`
    	ReadOnly  *bool                              `json:"readOnly,omitempty"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/client-go/applyconfigurations/core/v1/awselasticblockstorevolumesource.go

    // with apply.
    type AWSElasticBlockStoreVolumeSourceApplyConfiguration struct {
    	VolumeID  *string `json:"volumeID,omitempty"`
    	FSType    *string `json:"fsType,omitempty"`
    	Partition *int32  `json:"partition,omitempty"`
    	ReadOnly  *bool   `json:"readOnly,omitempty"`
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 3.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/client-go/applyconfigurations/core/v1/cindervolumesource.go

    }
    
    // WithVolumeID sets the VolumeID field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the VolumeID field is set to the value of the last call.
    func (b *CinderVolumeSourceApplyConfiguration) WithVolumeID(value string) *CinderVolumeSourceApplyConfiguration {
    	b.VolumeID = &value
    	return b
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 3K bytes
    - Viewed (0)
  9. pkg/volume/portworx/portworx_test.go

    	plug, err := plugMgr.FindPluginByName("kubernetes.io/portworx-volume")
    	if err != nil {
    		t.Fatal("Can't find the plugin by name")
    	}
    	if plug.GetPluginName() != "kubernetes.io/portworx-volume" {
    		t.Errorf("Wrong name: %s", plug.GetPluginName())
    	}
    	if !plug.CanSupport(&volume.Spec{Volume: &v1.Volume{VolumeSource: v1.VolumeSource{PortworxVolume: &v1.PortworxVolumeSource{}}}}) {
    		t.Errorf("Expected true")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 21 02:17:04 UTC 2021
    - 7.4K bytes
    - Viewed (0)
  10. 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)
Back to top