dsh

package
v0.0.0-...-a5c60b9 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExecOpts

type ExecOpts struct {
	MachineList       *list.List
	CommandList       *list.List
	ShowNames         bool
	RemoteShell       string
	RemoteCommand     string
	RemoteCommandOpts string
	ConcurrentShell   bool
	Verbose           bool
}

ExecOpts does things

func (*ExecOpts) Execute

func (e *ExecOpts) Execute() error

Execute remote commands for each host

func (*ExecOpts) ReadMachineList

func (e *ExecOpts) ReadMachineList(path string) error

ReadMachineList will read a machine list from file, and append it to the current machine list

func (*ExecOpts) SplitListAndAdd

func (e *ExecOpts) SplitListAndAdd(input string) error

SplitListAndAdd will split a comma-deliminated list of machines and add them to the linked list

type Signal

type Signal struct {
	// contains filtered or unexported fields
}

Signal is returned from a goroutine via a channel

Jump to

Keyboard shortcuts

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