command

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2015 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultSessionDuration = time.Second * 900
)

Variables

This section is empty.

Functions

func ProfileFromEnv

func ProfileFromEnv() string

Types

type ExecCommand

type ExecCommand struct {
	Ui      cli.Ui
	Keyring keyring.Keyring
	// contains filtered or unexported fields
}

Executes a subcommand with credentials passed to it via the environment

func (*ExecCommand) GetToken

func (c *ExecCommand) GetToken(serial string) (string, error)

func (*ExecCommand) Help

func (c *ExecCommand) Help() string

func (*ExecCommand) Run

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

func (*ExecCommand) Synopsis

func (c *ExecCommand) Synopsis() string

type ListCommand

type ListCommand struct {
	Ui      cli.Ui
	Keyring keyring.Keyring
}

func (*ListCommand) Help

func (c *ListCommand) Help() string

func (*ListCommand) Run

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

func (*ListCommand) Synopsis

func (c *ListCommand) Synopsis() string

type RemoveCommand

type RemoveCommand struct {
	Ui      cli.Ui
	Keyring keyring.Keyring
	// contains filtered or unexported fields
}

func (*RemoveCommand) Help

func (c *RemoveCommand) Help() string

func (*RemoveCommand) Run

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

func (*RemoveCommand) Synopsis

func (c *RemoveCommand) Synopsis() string

type StoreCommand

type StoreCommand struct {
	Ui      cli.Ui
	Keyring keyring.Keyring
	// contains filtered or unexported fields
}

func (*StoreCommand) Help

func (c *StoreCommand) Help() string

func (*StoreCommand) Run

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

func (*StoreCommand) Synopsis

func (c *StoreCommand) Synopsis() string

Jump to

Keyboard shortcuts

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