command

package
v0.0.0-...-fcc202b Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Getworkdir

func Getworkdir() (string, error)

Types

type Command

type Command struct {
	Host   []models.Hostinfo
	Module string
	Action string
	Model  string
}

func ParseCommand

func ParseCommand() *Command

func (*Command) AddGroup

func (this *Command) AddGroup(g string)

func (*Command) AddHost

func (this *Command) AddHost(h string)

func (*Command) AddModule

func (this *Command) AddModule(c string)

func (*Command) AddRegular

func (this *Command) AddRegular(str string)

func (*Command) Listhostinfo

func (c *Command) Listhostinfo()

Jump to

Keyboard shortcuts

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