Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// ErrNoData indicates the collector found no data to collect, but had no other error.
ErrNoData = errors.New("collector returned no data")
)
Functions ¶
func IsNoDataError ¶
func IsNoDataError(err error) bool
Types ¶
type CarinaCollector ¶
type CarinaCollector struct {
// contains filtered or unexported fields
}
CarinaCollector implements the prometheus.Collector interface.
func NewCarinaCollector ¶
func NewCarinaCollector(dm *deviceManager.DeviceManager, lvService *k8s.LogicVolumeService) (*CarinaCollector, error)
Click to show internal directories.
Click to hide internal directories.