Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AggregateBodyBuilder ¶
type AggregateBodyOpts ¶
type AggregateBodyOpts struct { Operation string `json:"operations"` Search string `json:"search"` ResourceType string `json:"resource_type"` }
func (AggregateBodyOpts) ToAggregateBody ¶
func (opts AggregateBodyOpts) ToAggregateBody() (map[string]interface{}, error)
type AggregateQueryBuilder ¶
type AggregateQueryOpts ¶
type AggregateQueryOpts struct { Granularity string `q:"granularity"` Start *time.Time Stop *time.Time }
func (AggregateQueryOpts) ToAggregateQuery ¶
func (opts AggregateQueryOpts) ToAggregateQuery() (string, error)
type AggregatedResult ¶
type AggregatedResult struct {
Measures struct {
Aggregated [][]interface{} `json:"aggregated"`
} `json:"measures"`
}
type GetResult ¶
type GetResult struct {
// contains filtered or unexported fields
}
func Aggregate ¶
func Aggregate(c *gophercloud.ServiceClient, bodyOpts AggregateBodyBuilder, queryOpts AggregateQueryBuilder) (r GetResult)
Click to show internal directories.
Click to hide internal directories.