cmd

package
v0.0.0-...-1a7fc46 Latest Latest
Warning

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

Go to latest
Published: May 5, 2017 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConfigDir  = ".conoha"
	ConfigFile = "config"
)

Variables

This section is empty.

Functions

func AccountBillingInvoice

func AccountBillingInvoice(cmd *cli.Cmd)

func AccountBillingInvoices

func AccountBillingInvoices(cmd *cli.Cmd)

func AccountNotifications

func AccountNotifications(cmd *cli.Cmd)

func AccountOrderItems

func AccountOrderItems(cmd *cli.Cmd)

func AccountPaymentHistory

func AccountPaymentHistory(cmd *cli.Cmd)

func AccountPaymentSummary

func AccountPaymentSummary(cmd *cli.Cmd)

func AccountVersion

func AccountVersion(cmd *cli.Cmd)

func ComputeFlavor

func ComputeFlavor(cmd *cli.Cmd)

func ComputeImages

func ComputeImages(cmd *cli.Cmd)

func ComputeServer

func ComputeServer(cmd *cli.Cmd)

func ComputeServerCreate

func ComputeServerCreate(cmd *cli.Cmd)

func ComputeServerRemove

func ComputeServerRemove(cmd *cli.Cmd)

func ComputeServerRestart

func ComputeServerRestart(cmd *cli.Cmd)

func ComputeServerStart

func ComputeServerStart(cmd *cli.Cmd)

func ComputeServerStop

func ComputeServerStop(cmd *cli.Cmd)

func ComputeServers

func ComputeServers(cmd *cli.Cmd)

func ComputeVersion

func ComputeVersion(cmd *cli.Cmd)

func CreateConfig

func CreateConfig(auth conoha.Auth) (config conoha.AuthConfig, err error)

func GetAuthorizedClient

func GetAuthorizedClient() *conoha.Client

func GetClient

func GetClient() *conoha.Client

func IdentityToken

func IdentityToken(cmd *cli.Cmd)

func IdentityVersion

func IdentityVersion(cmd *cli.Cmd)

func Init

func Init(cmd *cli.Cmd)

func ReadConfig

func ReadConfig() (config conoha.AuthConfig, err error)

func SliceToMap

func SliceToMap(v interface{}) (mapValue map[string]interface{}, ok bool)

func Verify

func Verify() (config conoha.AuthConfig, err error)

Types

type CLI

type CLI struct {
	*cli.Cli
}

CLI struct for main

func NewCLI

func NewCLI() *CLI

NewCLI initializes new command line interface

func (*CLI) RegisterCommands

func (c *CLI) RegisterCommands()

type PrettyMeta

type PrettyMeta struct {
	Name   string
	Length int
}

Jump to

Keyboard shortcuts

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