cloudstack

package
v0.0.0-...-4eaaba6 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2014 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	JOB_STATUS_IN_PROGRESS = 0
	JOB_STATUS_SUCCESSFUL  = 1
	JOB_STATUS_FAILED      = 2

	DISK_TYPE_ROOT     = "ROOT"
	DISK_TYPE_DATADISK = "DATADISK"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiParams

type ApiParams map[string]string

type CloudstackIaaS

type CloudstackIaaS struct {
	// contains filtered or unexported fields
}

func (*CloudstackIaaS) Clone

func (i *CloudstackIaaS) Clone(name string) iaas.IaaS

func (*CloudstackIaaS) CreateMachine

func (i *CloudstackIaaS) CreateMachine(params map[string]string) (*iaas.Machine, error)

func (*CloudstackIaaS) DeleteMachine

func (i *CloudstackIaaS) DeleteMachine(machine *iaas.Machine) error

func (*CloudstackIaaS) Describe

func (i *CloudstackIaaS) Describe() string

type DeployVirtualMachineResponse

type DeployVirtualMachineResponse struct {
	DeployVirtualMachineResponse struct {
		ID    string `json:"id"`
		JobID string `json:"jobid"`
	} `json:"deployvirtualmachineresponse"`
}

type DestroyVirtualMachineResponse

type DestroyVirtualMachineResponse struct {
	DestroyVirtualMachineResponse struct {
		JobID string `json:"jobid"`
	} `json:"destroyvirtualmachineresponse"`
}

type DetachVolumeResponse

type DetachVolumeResponse struct {
	DetachVolumeResponse struct {
		JobID string `json:"jobid"`
	} `json:"detachvolumeresponse"`
}

type ListVirtualMachinesResponse

type ListVirtualMachinesResponse struct {
	ListVirtualMachinesResponse struct {
		VirtualMachine []VirtualMachine `json:"virtualmachine"`
	} `json:"listvirtualmachinesresponse"`
}

type ListVolumesResponse

type ListVolumesResponse struct {
	ListVolumesResponse struct {
		Volume []VolumeResult `json:"volume"`
	} `json:"listvolumesresponse"`
}

type NicStruct

type NicStruct struct {
	IpAddress string `json:"ipaddress"`
}

type QueryAsyncJobResultResponse

type QueryAsyncJobResultResponse struct {
	QueryAsyncJobResultResponse struct {
		JobStatus     int         `json:"jobstatus"`
		JobResult     interface{} `json:"jobresult"`
		JobResultType string      `json:"jobresulttype"`
		JobResultCode int         `json:"jobresultcode"`
	} `json:"queryasyncjobresultresponse"`
}

type VirtualMachine

type VirtualMachine struct {
	Nic []NicStruct `json:"nic"`
}

type VolumeResult

type VolumeResult struct {
	ID   string `json:"id"`
	Type string `json:"type"`
}

Jump to

Keyboard shortcuts

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