storage

package
v0.0.0-...-bbe6159 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Collect

func Collect(parentPath string, cc *common.CollectorContext)

Collect collects metrics for storage controllers

func Describe

func Describe(ch chan<- *prometheus.Desc)

Describe describes all metrics for the storage package

Types

type DiskDrive

type DiskDrive struct {
	MediaType string `json:"MediaType"`
	Model     string `json:"Model"`
	Location  []struct {
		Info string `json:"Info"`
	} `json:"Location"`
	CapacityBytes uint64        `json:"CapacityBytes"`
	Status        common.Status `json:"Status"`
}

func (*DiskDrive) LocationString

func (drv *DiskDrive) LocationString() string

type StorageInfo

type StorageInfo struct {
	Drives []common.Member `json:"Drives"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL