Documentation ¶
Index ¶
- func GetV4IPAddress(droplet digitalocean.Droplet) []string
- type AccountCommand
- type AuthorizeCommand
- type CreateCommand
- type CreateFlags
- type DestroyCommand
- type DropletsCommand
- type ImagesCommand
- type InfoCommand
- type InfoFlags
- type RegionsCommand
- type SSHCommand
- type SSHFlags
- type SSHKeyCommand
- type SizesCommand
- type VersionCommand
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 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 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 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 ¶
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
Click to show internal directories.
Click to hide internal directories.