Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewMetricsCsi (0.12 sec)

  1. pkg/volume/csi/csi_metrics.go

    	// the directory path the volume is mounted to.
    	targetPath string
    
    	// Volume handle or id
    	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
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 11 06:07:40 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  2. pkg/volume/csi/csi_plugin.go

    		readOnly:            readOnly,
    		kubeVolHost:         kvh,
    	}
    	mounter.csiClientGetter.driverName = csiDriverName(driverName)
    
    	dir := mounter.GetPath()
    	mounter.MetricsProvider = NewMetricsCsi(volumeHandle, dir, csiDriverName(driverName))
    	klog.V(4).Info(log("mounter created successfully"))
    	return mounter, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 29.2K bytes
    - Viewed (0)
Back to top