Documentation ¶
Index ¶
- func GetDiskType(disk *gce.CloudDisk) string
- func IsGKEComponentVersionAvailable() bool
- type MetricsManager
- func (mm *MetricsManager) EmitGKEComponentVersion() error
- func (mm *MetricsManager) GetRegistry() metrics.KubeRegistry
- func (mm *MetricsManager) InitializeHttpHandler(address, path string)
- func (mm *MetricsManager) RecordOperationErrorMetrics(operationName string, operationErr error, diskType string)
- func (mm *MetricsManager) RegisterPDCSIMetric()
- type Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDiskType ¶ added in v1.7.10
func IsGKEComponentVersionAvailable ¶
func IsGKEComponentVersionAvailable() bool
Types ¶
type MetricsManager ¶ added in v1.7.10
type MetricsManager struct {
// contains filtered or unexported fields
}
func NewMetricsManager ¶
func NewMetricsManager() MetricsManager
func (*MetricsManager) EmitGKEComponentVersion ¶ added in v1.7.10
func (mm *MetricsManager) EmitGKEComponentVersion() error
func (*MetricsManager) GetRegistry ¶ added in v1.7.10
func (mm *MetricsManager) GetRegistry() metrics.KubeRegistry
func (*MetricsManager) InitializeHttpHandler ¶ added in v1.7.10
func (mm *MetricsManager) InitializeHttpHandler(address, path string)
InitializeHttpHandler sets up a server and creates a handler for metrics.
func (*MetricsManager) RecordOperationErrorMetrics ¶ added in v1.7.10
func (mm *MetricsManager) RecordOperationErrorMetrics( operationName string, operationErr error, diskType string)
func (*MetricsManager) RegisterPDCSIMetric ¶ added in v1.7.10
func (mm *MetricsManager) RegisterPDCSIMetric()
Click to show internal directories.
Click to hide internal directories.