zapi

package
v2.0.0-...-22a6e85 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const BatchSize = "500"

Variables

This section is empty.

Functions

func ParseShortestPath

func ParseShortestPath(m *matrix.Matrix, l map[string]string) []string

Types

type Zapi

type Zapi struct {
	*collector.AbstractCollector
	Client *client.Client

	Query        string
	TemplatePath string
	// contains filtered or unexported fields
}

func (*Zapi) CollectAutoSupport

func (z *Zapi) CollectAutoSupport(p *collector.Payload)

func (*Zapi) HandleCounter

func (z *Zapi) HandleCounter(path []string, content string) string

func (*Zapi) HarvestModule

func (z *Zapi) HarvestModule() plugin.ModuleInfo

func (*Zapi) Init

func (z *Zapi) Init(a *collector.AbstractCollector) error

func (*Zapi) InitCache

func (z *Zapi) InitCache() error

func (*Zapi) InitMatrix

func (z *Zapi) InitMatrix() error

func (*Zapi) InitVars

func (z *Zapi) InitVars() error

func (*Zapi) LoadCounters

func (z *Zapi) LoadCounters(counters *node.Node) (bool, *node.Node)

func (*Zapi) LoadPlugin

func (z *Zapi) LoadPlugin(kind string, abc *plugin.AbstractPlugin) plugin.Plugin

func (*Zapi) ParseCounters

func (z *Zapi) ParseCounters(elem, desired *node.Node, path []string)

func (*Zapi) PollData

func (z *Zapi) PollData() (map[string]*matrix.Matrix, error)

func (*Zapi) PollInstance

func (z *Zapi) PollInstance() (map[string]*matrix.Matrix, error)

Jump to

Keyboard shortcuts

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