Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
func Get(client *gophercloud.ServiceClient, request string, out interface{}) error
Get performs request to given service and deserializes json response to struct. out should be pointer to resulting structure. Returns error if request or deserialization failed.
Types ¶
type HypervisorStatistics ¶
type LimitsAbsolute ¶
type LimitsAbsolute struct { MaxServerMeta int MaxPersonality int TotalServerGroupsUsed int MaxImageMeta int MaxPersonalitySize int MaxServerGroups int MaxSecurityGroupRules int MaxTotalKeypairs int TotalCoresUsed int TotalRAMUsed int TotalInstancesUsed int MaxSecurityGroups int TotalFloatingIPsUsed int MaxTotalCores int TotalSecurityGroupsUsed int MaxTotalFloatingIPs int MaxTotalInstances int MaxTotalRamSize int MaxServerGroupMembers int }
type Nova ¶
type Nova interface { GetLimits() (LimitsAbsolute, error) GetQuotas() (QuotaSet, error) GetHypervisorStatistics() (HypervisorStatistics, error) }
Nova is abstraction layer for nova-compute service, providing consisten api in case of version changes.
Click to show internal directories.
Click to hide internal directories.