aixconf

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: 13 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 AIX

type AIX struct {
	Server     string `toml:"server"`
	Url        string `toml:"url"`
	User       string `toml:"user"`
	Password   string `toml:"password"`
	SshKeyPath string `toml:"ssh_key"`
	Insecure   bool   `toml:"insecure"`

	Metrics []*Metric `toml:"metrics"`

	Env *cfg.RunEnv
	// contains filtered or unexported fields
}

func (*AIX) Config

func (e *AIX) Config() string

func (*AIX) Label

func (e *AIX) Label() string

func (*AIX) Run

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

func (*AIX) RunRemoteServer

func (e *AIX) RunRemoteServer(ctx context.Context, env *cfg.RunEnv) error

func (*AIX) RunRemoteServerTelnet

func (e *AIX) RunRemoteServerTelnet(ctx context.Context, env *cfg.RunEnv) error

type Metric

type Metric struct {
	Level int           `toml:"level"`
	Type  sshx.ExecType `toml:"type"`
	Id    string        `toml:"id"`
	Text  string        `toml:"text"`
	// contains filtered or unexported fields
}

func NewMetric

func NewMetric(level int, execType sshx.ExecType, id 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