Documentation
¶
Index ¶
Constants ¶
View Source
const (
MetricsPort = 5000
)
Variables ¶
This section is empty.
Functions ¶
func RecordVolumeMountAttempt ¶
RecordVolumeMountAttempt records a volume mount attempt
func RecordVolumeUnMountAttempt ¶
func RecordVolumeUnMountAttempt(status Status)
RecordVolumeUnMountAttempt records a volume unmount attempt
Types ¶
type MetricsServer ¶
type MetricsServer interface {
// Start runs the metrics server.
// This should be a blocking call until the context is cancelled or done.
Start(ctx context.Context, errChan chan error)
}
MetricsServer is the metrics server interface
func NewMetricsServer ¶
func NewMetricsServer(port int) (MetricsServer, error)
NewMetricsServer creates a new metrics server
Click to show internal directories.
Click to hide internal directories.