Versions in this module Expand all Collapse all v2 v2.2.1 Sep 25, 2024 Changes in this version + func List(client *gophercloud.ServiceClient, opts ListOptsBuilder) pagination.Pager + type CPUInfo struct + Arch string + Features []string + Model string + Topology Topology + Vendor string + type Hypervisor struct + CPUInfo CPUInfo + CurrentWorkload int + DiskAvailableLeast int + FreeDiskGB int + FreeRamMB int + HostIP string + HypervisorHostname string + HypervisorType string + HypervisorVersion int + ID string + LocalGB int + LocalGBUsed int + MemoryMB int + MemoryMBUsed int + RunningVMs int + Servers *[]Server + Service Service + State string + Status string + VCPUs int + VCPUsUsed int + func ExtractHypervisors(p pagination.Page) ([]Hypervisor, error) + func (r *Hypervisor) UnmarshalJSON(b []byte) error + type HypervisorPage struct + func (page HypervisorPage) IsEmpty() (bool, error) + type HypervisorResult struct + func Get(ctx context.Context, client *gophercloud.ServiceClient, hypervisorID string) (r HypervisorResult) + func (r HypervisorResult) Extract() (*Hypervisor, error) + type ListOpts struct + HypervisorHostnamePattern *string + Limit *int + Marker *string + WithServers *bool + func (opts ListOpts) ToHypervisorListQuery() (string, error) + type ListOptsBuilder interface + ToHypervisorListQuery func() (string, error) + type Server struct + Name string + UUID string + type Service struct + DisabledReason string + Host string + ID string + func (r *Service) UnmarshalJSON(b []byte) error + type Statistics struct + Count int + CurrentWorkload int + DiskAvailableLeast int + FreeDiskGB int + FreeRamMB int + LocalGB int + LocalGBUsed int + MemoryMB int + MemoryMBUsed int + RunningVMs int + VCPUs int + VCPUsUsed int + type StatisticsResult struct + func GetStatistics(ctx context.Context, client *gophercloud.ServiceClient) (r StatisticsResult) + func (r StatisticsResult) Extract() (*Statistics, error) + type Topology struct + Cores int + Sockets int + Threads int + type Uptime struct + HypervisorHostname string + ID string + State string + Status string + Uptime string + func (r *Uptime) UnmarshalJSON(b []byte) error + type UptimeResult struct + func GetUptime(ctx context.Context, client *gophercloud.ServiceClient, hypervisorID string) (r UptimeResult) + func (r UptimeResult) Extract() (*Uptime, error)