command

package
v0.0.0-...-760c3a0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2014 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetV4IPAddress

func GetV4IPAddress(droplet digitalocean.Droplet) []string

Types

type AccountCommand

type AccountCommand struct {
	Client *digitalocean.Client
}

func (*AccountCommand) Help

func (c *AccountCommand) Help() string

func (*AccountCommand) Run

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

func (*AccountCommand) Synopsis

func (c *AccountCommand) Synopsis() string

type AuthorizeCommand

type AuthorizeCommand struct {
}

func (*AuthorizeCommand) Help

func (c *AuthorizeCommand) Help() string

func (*AuthorizeCommand) Run

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

func (*AuthorizeCommand) Synopsis

func (c *AuthorizeCommand) Synopsis() string

type CreateCommand

type CreateCommand struct {
	Client        *digitalocean.Client
	DefalutSize   string
	DefalutImage  string
	DefalutRegion string
	DefalutKey    string
}

func (*CreateCommand) Help

func (c *CreateCommand) Help() string

func (*CreateCommand) Run

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

func (*CreateCommand) Synopsis

func (c *CreateCommand) Synopsis() string

type CreateFlags

type CreateFlags struct {
	Name   string
	Image  string
	Size   string
	Region string
	Keys   string
}

type DestroyCommand

type DestroyCommand struct {
	Client *digitalocean.Client
}

func (*DestroyCommand) Help

func (c *DestroyCommand) Help() string

func (*DestroyCommand) Run

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

func (*DestroyCommand) Synopsis

func (c *DestroyCommand) Synopsis() string

type DropletsCommand

type DropletsCommand struct {
	Client *digitalocean.Client
}

func (*DropletsCommand) Help

func (c *DropletsCommand) Help() string

func (*DropletsCommand) Run

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

func (*DropletsCommand) Synopsis

func (c *DropletsCommand) Synopsis() string

type ImagesCommand

type ImagesCommand struct {
	Client *digitalocean.Client
}

func (*ImagesCommand) Help

func (c *ImagesCommand) Help() string

func (*ImagesCommand) Run

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

func (*ImagesCommand) Synopsis

func (c *ImagesCommand) Synopsis() string

type InfoCommand

type InfoCommand struct {
	Client *digitalocean.Client
}

func (*InfoCommand) GetV4IPAddress

func (d *InfoCommand) GetV4IPAddress(droplet *digitalocean.Droplet) []string

func (*InfoCommand) Help

func (c *InfoCommand) Help() string

func (*InfoCommand) Run

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

func (*InfoCommand) Synopsis

func (c *InfoCommand) Synopsis() string

type InfoFlags

type InfoFlags struct {
	ID int
}

type RegionsCommand

type RegionsCommand struct {
	Client *digitalocean.Client
}

func (*RegionsCommand) Help

func (c *RegionsCommand) Help() string

func (*RegionsCommand) Run

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

func (*RegionsCommand) Synopsis

func (c *RegionsCommand) Synopsis() string

type SSHCommand

type SSHCommand struct {
	Client *digitalocean.Client
}

func (*SSHCommand) Help

func (c *SSHCommand) Help() string

func (*SSHCommand) Run

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

func (*SSHCommand) Synopsis

func (c *SSHCommand) Synopsis() string

type SSHFlags

type SSHFlags struct {
	Name    string
	ID      string
	SSHUser string
	SSHPort int
}

type SSHKeyCommand

type SSHKeyCommand struct {
	Client *digitalocean.Client
}

func (*SSHKeyCommand) Help

func (c *SSHKeyCommand) Help() string

func (*SSHKeyCommand) Run

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

func (*SSHKeyCommand) Synopsis

func (c *SSHKeyCommand) Synopsis() string

type SizesCommand

type SizesCommand struct {
	Client *digitalocean.Client
}

func (*SizesCommand) Help

func (c *SizesCommand) Help() string

func (*SizesCommand) Run

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

func (*SizesCommand) Synopsis

func (c *SizesCommand) Synopsis() string

type VersionCommand

type VersionCommand struct {
	AppName        string
	Version        string
	LibraryVersion string
}

func (*VersionCommand) Help

func (c *VersionCommand) Help() string

func (*VersionCommand) Run

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

func (*VersionCommand) Synopsis

func (c *VersionCommand) Synopsis() string

Jump to

Keyboard shortcuts

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