linux

package
v0.0.0-...-d007fce Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2020 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Execute

type Execute struct{}

Execute runs an arbitrary command

func (Execute) Name

func (e Execute) Name() string

Name is the name of the command

func (Execute) Run

func (e Execute) Run(clientID string, jobID string, args []string) (string, error)

Run runs an arbitrary command

type Version

type Version struct{}

Version gets the OS version

func (Version) Name

func (ver Version) Name() string

Name is the name of the command

func (Version) Run

func (ver Version) Run(clientID string, jobID string, args []string) (string, error)

Run gets the OS version

Jump to

Keyboard shortcuts

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