data

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package data provides all the methods needed for collecting and saving node data to disk.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gatherer

type Gatherer struct {
	Datatype string
	Filename string
	Cmd      []string
}

Gatherer holds all the information needed about a single data-producing command.

func (Gatherer) Gather

func (g Gatherer) Gather(t time.Time, root string, crashOnError bool)

Gather runs the command and gathers the data into the file in the directory.

Jump to

Keyboard shortcuts

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