cloudstack

package
v0.0.0-...-9451de5 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2019 License: BSD-3-Clause Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

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) 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

func (*CloudstackIaaS) HealthCheck

func (i *CloudstackIaaS) HealthCheck() error

func (*CloudstackIaaS) Initialize

func (i *CloudstackIaaS) Initialize() error

type CreateTagsResponse

type CreateTagsResponse struct {
	Createtagsresponse struct {
		Displaytext string `json:"displaytext"`
		Success     string `json:"success"`
	} `json:"createtagsresponse"`
}

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 ListZonesResponse

type ListZonesResponse struct {
	ListZonesResponse struct {
		Count int `json:"count"`
	} `json:"listzonesresponse"`
}

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