Back to godoc.org

Package command

v0.11.2
Latest Go to latest

The latest major version is .

Published: May 28, 2020 | License: MPL-2.0 | Module: github.com/Iqoqo/nomad

Index

func DeviceCommandFactory

func DeviceCommandFactory(meta Meta) cli.CommandFactory

type Device

type Device struct {
	Meta
	// contains filtered or unexported fields
}

func (*Device) Help

func (c *Device) Help() string

func (*Device) Run

func (c *Device) Run(args []string) int

func (*Device) Synopsis

func (c *Device) Synopsis() string

type Meta

type Meta struct {
	Ui cli.Ui
	// contains filtered or unexported fields
}

func NewMeta

func NewMeta(ui cli.Ui, logger hclog.Logger) Meta

func (*Meta) FlagSet

func (m *Meta) FlagSet(n string) *flag.FlagSet

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier