Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct { // message Message string `json:"message,omitempty"` // type Type ErrorType `json:"type,omitempty"` }
Error error swagger:model Error
type ErrorType ¶
type ErrorType string
ErrorType Error Types swagger:model ErrorType
const ( ErrorTypeUnknownError ErrorType = "UnknownError" ErrorTypeInvalidDomain ErrorType = "InvalidDomain" ErrorTypeUnkownVersion ErrorType = "UnkownVersion" ErrorTypeInvalidRecord ErrorType = "InvalidRecord" ErrorTypeInvalidRequest ErrorType = "InvalidRequest" ErrorTypeInvalidResponse ErrorType = "InvalidResponse" ErrorTypeInvalidProtobufMessage ErrorType = "InvalidProtobufMessage" ErrorTypeInvalidJSON ErrorType = "InvalidJSON" ErrorTypeFailedToOpenEnvelope ErrorType = "FailedToOpenEnvelope" ErrorTypeInvalidStateTransition ErrorType = "InvalidStateTransition" ErrorTypeResourceConflict ErrorType = "ResourceConflict" ErrorTypeResourceExist ErrorType = "ResourceExist" ErrorTypeResourceNotFound ErrorType = "ResourceNotFound" ErrorTypeRouterError ErrorType = "RouterError" ErrorTypeSoftLayerAPIError ErrorType = "SoftLayerAPIError" ErrorTypeGUIDGeneration ErrorType = "GUIDGeneration" ErrorTypeDeserialize ErrorType = "Deserialize" ErrorTypeDeadlock ErrorType = "Deadlock" ErrorTypeUnrecoverable ErrorType = "Unrecoverable" )
type VM ¶
type VM struct { // cid Cid int32 `json:"cid,omitempty"` // cpu CPU int32 `json:"cpu,omitempty"` // create date CreateDate strfmt.DateTime `json:"createDate,omitempty"` // deployment name DeploymentName string `json:"deploymentName,omitempty"` // hostname Hostname string `json:"hostname,omitempty"` // ip IP strfmt.IPv4 `json:"ip,omitempty"` // memory mb MemoryMb int32 `json:"memory_mb,omitempty"` // modify date ModifyDate strfmt.DateTime `json:"modifyDate,omitempty"` // private vlan PrivateVlan int32 `json:"private_vlan,omitempty"` // public vlan PublicVlan int32 `json:"public_vlan,omitempty"` // state State State `json:"state,omitempty"` }
VM Vm swagger:model Vm
type VMFilter ¶
type VMFilter struct { // cid Cid int32 `json:"cid,omitempty"` // cpu CPU int32 `json:"cpu,omitempty"` // ip IP strfmt.IPv4 `json:"ip,omitempty"` // memory mb MemoryMb int32 `json:"memory_mb,omitempty"` // private vlan PrivateVlan int32 `json:"private_vlan,omitempty"` // public vlan PublicVlan int32 `json:"public_vlan,omitempty"` // state State State `json:"state,omitempty"` }
VMFilter Vm filter swagger:model VmFilter
type VMResponse ¶
type VMResponse struct { // vm VM *VM `json:"vm,omitempty"` }
VMResponse Vm response swagger:model VmResponse
type VMState ¶
type VMState struct { // state State State `json:"state,omitempty"` }
VMState Vm state swagger:model VmState
type VmsResponse ¶
type VmsResponse struct { // vms Vms []*VM `json:"vms"` }
VmsResponse vms response swagger:model VmsResponse
Click to show internal directories.
Click to hide internal directories.