osdetail

package
v0.19.2 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: GPL-3.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrNotSupported is returned when an operation is not supported on the current platform.
	ErrNotSupported = errors.New("not supported")
	// ErrNotFound is returned when the desired data is not found.
	ErrNotFound = errors.New("not found")
	// ErrEmptyOutput is a special error that is returned when an operation has no error, but also returns to data.
	ErrEmptyOutput = errors.New("command succeeded with empty output")
)

Functions

func RunCmd added in v0.14.1

func RunCmd(command ...string) (output []byte, err error)

RunCmd runs the given command and run error checks on the output.

Types

This section is empty.

Jump to

Keyboard shortcuts

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