command

package
v0.0.0-...-c00e064 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2016 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AppName    = "kitectl"
	AppVersion = "0.0.8"
)

Variables

View Source
var (
	DefaultKiteClient = defaultKiteClient()
	DefaultUi         = defaultUi()
)

Functions

func NewInstall

func NewInstall() cli.CommandFactory

func NewList

func NewList() cli.CommandFactory

func NewQuery

func NewQuery() cli.CommandFactory

func NewRegister

func NewRegister() cli.CommandFactory

func NewRun

func NewRun() cli.CommandFactory

func NewShowkey

func NewShowkey() cli.CommandFactory

func NewTell

func NewTell() cli.CommandFactory

func NewUninstall

func NewUninstall() cli.CommandFactory

Types

type Install

type Install struct {
	Ui cli.Ui
}

func (*Install) Help

func (c *Install) Help() string

func (*Install) Run

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

func (*Install) Synopsis

func (c *Install) Synopsis() string

type InstalledKite

type InstalledKite struct {
	Domain  string
	User    string
	Repo    string
	Version string
}

func NewInstalledKite

func NewInstalledKite(domain, user, repo, version string) *InstalledKite

func (*InstalledKite) BinPath

func (k *InstalledKite) BinPath() string

BinPath returns the path of the executable binary file.

func (*InstalledKite) String

func (k *InstalledKite) String() string

type List

type List struct {
	Ui cli.Ui
}

func (*List) Help

func (c *List) Help() string

func (*List) Run

func (c *List) Run(_ []string) int

func (*List) Synopsis

func (c *List) Synopsis() string

type Query

type Query struct {
	KiteClient *kite.Kite
	Ui         cli.Ui
}

func (*Query) Help

func (c *Query) Help() string

func (*Query) Run

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

func (*Query) Synopsis

func (c *Query) Synopsis() string

type Register

type Register struct {
	KiteClient *kite.Kite
	Ui         cli.Ui
}

func (*Register) Help

func (c *Register) Help() string

func (*Register) Run

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

func (*Register) Synopsis

func (c *Register) Synopsis() string

type Run

type Run struct {
	Ui cli.Ui
}

func (*Run) Help

func (c *Run) Help() string

func (*Run) Run

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

func (*Run) Synopsis

func (c *Run) Synopsis() string

type Showkey

type Showkey struct {
	Ui cli.Ui
}

func (*Showkey) Help

func (c *Showkey) Help() string

func (*Showkey) Run

func (c *Showkey) Run(_ []string) int

func (*Showkey) Synopsis

func (c *Showkey) Synopsis() string

type Tell

type Tell struct {
	KiteClient *kite.Kite
	Ui         cli.Ui
}

func (*Tell) Help

func (c *Tell) Help() string

func (*Tell) Run

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

func (*Tell) Synopsis

func (c *Tell) Synopsis() string

type Uninstall

type Uninstall struct {
	Ui cli.Ui
}

func (*Uninstall) Help

func (c *Uninstall) Help() string

func (*Uninstall) Run

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

func (*Uninstall) Synopsis

func (c *Uninstall) Synopsis() string

Jump to

Keyboard shortcuts

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