- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for NewNotSupportedError (0.14 sec)
-
pkg/volume/metrics_errors.go
"fmt" ) const ( // ErrCodeNotSupported code for NotSupported Errors. ErrCodeNotSupported int = iota + 1 ErrCodeNoPathDefined ErrCodeFsInfoFailed ) // NewNotSupportedError creates a new MetricsError with code NotSupported. func NewNotSupportedError() *MetricsError { return &MetricsError{ Code: ErrCodeNotSupported, Msg: "metrics are not supported for MetricsNil Volumes", } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 20 14:37:12 UTC 2021 - 2.5K bytes - Viewed (0) -
pkg/volume/metrics_nil.go
return false } // GetMetrics returns an empty Metrics and an error. // See MetricsProvider.GetMetrics func (*MetricsNil) GetMetrics() (*Metrics, error) { return &Metrics{}, NewNotSupportedError()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 20 15:10:23 UTC 2021 - 1.1K bytes - Viewed (0)