Documentation ¶
Index ¶
- type Cloudserver
- type Rackspacecompute
- func (rackspacecompute *Rackspacecompute) CreateNode(request interface{}) (resp interface{}, err error)
- func (rackspacecompute *Rackspacecompute) DeleteNode(request interface{}) (resp interface{}, err error)
- func (rackspacecompute *Rackspacecompute) RebootNode(request interface{}) (resp interface{}, err error)
- func (rackspacecompute *Rackspacecompute) StartNode(request interface{}) (resp interface{}, err error)
- func (rackspacecompute *Rackspacecompute) StopNode(request interface{}) (resp interface{}, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cloudserver ¶
type Cloudserver struct { Name string `json:"name"` ImageRef string `json:"imageRef"` FlavorRef string `json:"flavorRef"` }
Cloudserver represents a node of cloud server on rackspace
type Rackspacecompute ¶
type Rackspacecompute struct {
Server Cloudserver `json:"server"`
}
Rackspacecompute represents a request to create a Rackspace compute instance.
func (*Rackspacecompute) CreateNode ¶
func (rackspacecompute *Rackspacecompute) CreateNode(request interface{}) (resp interface{}, err error)
CreateNode function creates a new rackspacecompute instance.
func (*Rackspacecompute) DeleteNode ¶
func (rackspacecompute *Rackspacecompute) DeleteNode(request interface{}) (resp interface{}, err error)
DeleteNode function deletes a rackspacecompute instance.
func (*Rackspacecompute) RebootNode ¶
func (rackspacecompute *Rackspacecompute) RebootNode(request interface{}) (resp interface{}, err error)
RebootNode function reboots a rackspacecompute instance.
func (*Rackspacecompute) StartNode ¶
func (rackspacecompute *Rackspacecompute) StartNode(request interface{}) (resp interface{}, err error)
StartNode function starts a rackspacecompute instance.
func (*Rackspacecompute) StopNode ¶
func (rackspacecompute *Rackspacecompute) StopNode(request interface{}) (resp interface{}, err error)
StopNode function stops a rackspacecompute instance.
Click to show internal directories.
Click to hide internal directories.