hitachivspconf

package
v0.0.0-...-f7150f6 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2022 License: GPL-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const Version = "0.1.4"

Variables

This section is empty.

Functions

This section is empty.

Types

type HitachiVSP

type HitachiVSP struct {
	Url      string    `toml:"url"`
	User     string    `toml:"user"`
	Password string    `toml:"password"`
	Insecure bool      `toml:"insecure"`
	Server   string    `toml:"server"`
	Servers  []string  `toml:"servers"`
	Metrics  []*Metric `toml:"metrics"`
	// contains filtered or unexported fields
}

func (*HitachiVSP) Config

func (e *HitachiVSP) Config() string

func (*HitachiVSP) Label

func (e *HitachiVSP) Label() string

func (*HitachiVSP) Run

func (e *HitachiVSP) Run(ctx context.Context, env *cfg.RunEnv) error

type Metric

type Metric struct {
	Level int    `toml:"level"`
	Id    string `toml:"id"`
	Batch string `toml:"batch"`
	Text  string `toml:"text"`
}

func NewMetric

func NewMetric(level int, id string, batch string, text string) *Metric

type Metrics

type Metrics struct {
	Metrics []*Metric
}

Jump to

Keyboard shortcuts

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