Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func List ¶
func List(c *gophercloud.ServiceClient, metric string) pagination.Pager
List retrieves the overall top of the Gnocchi installation.
Types ¶
type Measure ¶
type Measure struct { ResourceId string `json:"resourceId"` ProjectId string `json:"projectId"` Value float64 `json:"value"` ResourceName string `json:"resourceName"` }
Measure represents a Gnocchi top of measurements processing.
func ExtractTop ¶
func ExtractTop(r pagination.Page) ([]Measure, error)
ExtractTop interprets the results of a single page from a Top() call, producing a slice of Top entities.
type TopPage ¶
type TopPage struct {
pagination.SinglePageBase
}
Click to show internal directories.
Click to hide internal directories.