cmd

package
v0.116.0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cmd added in v0.110.0

type Cmd struct {
	Command string
	Args    []string
}

func AnsiblePlaybook added in v0.110.0

func AnsiblePlaybook(vmName, ip string, playbook string) *Cmd

func Arp added in v0.110.0

func Arp(args ...string) *Cmd

func Ping added in v0.110.0

func Ping(ip string) *Cmd

func Scp added in v0.110.0

func Scp(vmName string, extraArgs ...string) *Cmd

func Ssh added in v0.110.0

func Ssh(vmName, ipAddr string, extraArgs ...string) *Cmd

func (*Cmd) Call added in v0.110.0

func (c *Cmd) Call() (string, error)

func (*Cmd) CallWithProgress added in v0.110.0

func (c *Cmd) CallWithProgress(msg string) (string, error)

func (*Cmd) Interact added in v0.110.0

func (c *Cmd) Interact() error

Execute execute commands in interactive mode

func (*Cmd) Run added in v0.110.0

func (c *Cmd) Run() error

Run runs Command and return nothing

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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