Documentation
¶
Index ¶
- Variables
- func ApplyDefault(model interface{}, conf *config.Config)
- type DcAvailableOVF
- type DcComputeLimits
- type DcLoadBalancer
- type DcNetworkLimits
- type DcResourceLimit
- type DeployableNetwork
- type GetBMCapReq
- type GetBMCapRes
- type GetDCReq
- type GetDCRes
- type GetReq
- type GetRes
- type ImportableOSType
- type ListReq
- type ListRes
- type Memory
- type OperatingSystem
- type Processor
- type SKU
- type SetDefault
- type Storage
- type Template
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ListTimeout = 200
)
Functions ¶
func ApplyDefault ¶
Types ¶
type DcAvailableOVF ¶
type DcComputeLimits ¶
type DcComputeLimits struct {
Cpu DcResourceLimit
MemoryGB DcResourceLimit
StorageGB DcResourceLimit
}
type DcLoadBalancer ¶
type DcNetworkLimits ¶
type DcNetworkLimits struct {
Networks DcResourceLimit
}
type DcResourceLimit ¶
type DeployableNetwork ¶
type GetBMCapReq ¶
type GetBMCapReq struct {
DataCenter string `valid:"required" URIParam:"yes"`
}
type GetBMCapRes ¶
type GetBMCapRes struct {
SKUs []SKU `json:"skus"`
OperatingSystems []OperatingSystem `json:"operatingSystems"`
}
type GetDCRes ¶
type GetDCRes struct {
SupportsBareMetalServers bool
DeployableNetworks []DeployableNetwork
Templates []Template
ImportableOsTypes []ImportableOSType
}
type GetRes ¶
type GetRes struct {
Id string
Name string
ComputeLimits *DcComputeLimits `json:",omitempty"`
NetworkLimits *DcNetworkLimits `json:",omitempty"`
AvailableOVFs *[]DcAvailableOVF `json:",omitempty"`
LoadBalancers *[]DcLoadBalancer `json:",omitempty"`
Links models.Links
}
type ImportableOSType ¶
type OperatingSystem ¶
type SetDefault ¶
type SetDefault struct {
DataCenter string `valid:"required"`
}
Click to show internal directories.
Click to hide internal directories.