Documentation
¶
Index ¶
- Constants
- type Api
- type Command
- type Compute
- func (cmd *Compute) Download(url string) error
- func (cmd *Compute) Eject(server *Server) (err error)
- func (cmd *Compute) EjectIntractive() (err error)
- func (cmd *Compute) Insert(server *Server, iso *ISOImage) (err error)
- func (cmd *Compute) InsertIntractive() error
- func (cmd *Compute) Iso(id string) (iso *ISOImage, err error)
- func (cmd *Compute) Isos() (isos *ISOImages, err error)
- func (cmd *Compute) Server(id string) (server *Server, err error)
- func (cmd *Compute) Servers() (servers *Servers, err error)
- type ISOImage
- type ISOImages
- type Identity
- type Region
- type Server
- type Servers
- type Service
Constants ¶
View Source
const ( TYO1 = "tyo1" TYO2 = "tyo2" SIN1 = "sin1" SJC1 = "sjc1" )
Regions
View Source
const ( IDENTITY = "identity" COMPUTE = "compute" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Api ¶
type Compute ¶
type Compute struct { *Command // contains filtered or unexported fields }
func NewCompute ¶
func (*Compute) EjectIntractive ¶
func (*Compute) InsertIntractive ¶
type Identity ¶
type Identity struct { ApiUsername string ApiPassword string ApiTenantId string ApiTenantName string Token string TokenExpires time.Time Region string *Command }
func NewIdentity ¶
func NewIdentity() *Identity
Click to show internal directories.
Click to hide internal directories.