Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ExecResult ¶
type ExecResult struct { Tags cartogram.Tags `json:"tags"` Error error `json:"error"` ExitCode int `json:"exitcode"` StdOut string `json:"stdout"` StdErr string `json:"stderr"` }
ExecResult is based on creds.ExecResult but adds account tags
type Processor ¶
type Processor struct { Grapher travel.Grapher Options travel.TraverseOptions Args []string RoleNames []string ProfileNames []string SkipConfirm bool KeyFunc func(cartogram.Account) (string, cartogram.Tags) }
Processor defines the settings for parallel processing
func (Processor) Exec ¶
func (p Processor) Exec(cmd []string) (map[string]ExecResult, error)
Exec runs a command against a set of accounts
func (Processor) ExecString ¶
func (p Processor) ExecString(cmd string) (map[string]ExecResult, error)
ExecString runs a command string against a set of accounts
Click to show internal directories.
Click to hide internal directories.