agent

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: BSD-2-Clause Imports: 6 Imported by: 0

README

The agent package is a collection of the following dutagent modules:

Status

The Status module prints information about the system on which the dutagent itself is running.

Configuration Options

none

Examples

The agent-status module can be used in a command like so.

cmds:
      system-info:
        desc: "This simple command reports information about the dutagent system via the agent-status module."
        modules:
          - module: agent-status
            main: true

See here for a complete dutagent configuration example.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Status

type Status struct{}

Status prints status information about the system on which dutagent is running.

func (*Status) Deinit

func (m *Status) Deinit() error

func (*Status) Help

func (m *Status) Help() string

func (*Status) Init

func (m *Status) Init() error

func (*Status) Run

func (m *Status) Run(_ context.Context, s module.Session, _ ...string) error

Jump to

Keyboard shortcuts

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