storagegrid

package
v2.0.0-...-27a1933 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTenant

func NewTenant(p *plugin.AbstractPlugin, s *StorageGrid) plugin.Plugin

Types

type Metric

type Metric struct {
	Label      string
	Name       string
	MetricType string
	Exportable bool
}

type StorageGrid

type StorageGrid struct {
	*collector.AbstractCollector

	Props *prop
	// contains filtered or unexported fields
}

func (*StorageGrid) CollectAutoSupport

func (s *StorageGrid) CollectAutoSupport(p *collector.Payload)

func (*StorageGrid) GetMetric

func (s *StorageGrid) GetMetric(metric string, display string, tenantNamesByID map[string]string) (*matrix.Matrix, error)

func (*StorageGrid) HarvestModule

func (s *StorageGrid) HarvestModule() plugin.ModuleInfo

func (*StorageGrid) Init

func (*StorageGrid) InitAPIPath

func (s *StorageGrid) InitAPIPath()

InitAPIPath reads the REST API version from the template and uses it instead of the DefaultAPIVersion

func (*StorageGrid) InitCache

func (s *StorageGrid) InitCache() error

func (*StorageGrid) InitMatrix

func (s *StorageGrid) InitMatrix() error

func (*StorageGrid) InitProp

func (s *StorageGrid) InitProp()

func (*StorageGrid) LoadPlugin

func (s *StorageGrid) LoadPlugin(kind string, abc *plugin.AbstractPlugin) plugin.Plugin

func (*StorageGrid) LoadTemplate

func (s *StorageGrid) LoadTemplate() (string, error)

func (*StorageGrid) ParseCounters

func (s *StorageGrid) ParseCounters(counter *node.Node, prop *prop)

func (*StorageGrid) PollData

func (s *StorageGrid) PollData() (map[string]*matrix.Matrix, error)

type Tenant

type Tenant struct {
	*plugin.AbstractPlugin
	// contains filtered or unexported fields
}

func (*Tenant) Run

func (t *Tenant) Run(dataMap map[string]*matrix.Matrix) ([]*matrix.Matrix, *util.Metadata, error)

Directories

Path Synopsis
plugins

Jump to

Keyboard shortcuts

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