Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DiskInfoExporter ¶
type DiskInfoExporter interface {
Export(metrics *DiskMetrics) error
}
func NewDiskInfoExporter ¶
func NewDiskInfoExporter(url string, pieProbeName string, node string, storageClass string) DiskInfoExporter
type DiskMetrics ¶
type DiskMetricsInterface ¶
type DiskMetricsInterface interface {
GetMetrics(ctx context.Context) (*DiskMetrics, error)
}
func NewDiskMetrics ¶
func NewDiskMetrics(path string) DiskMetricsInterface
Click to show internal directories.
Click to hide internal directories.