Documentation ¶
Index ¶
Constants ¶
View Source
const RFC3339NanoNoTimezone = "2006-01-02T15:04:05.999999"
RFC3339NanoNoTimezone describes a common timestamp format that can be used for Gnocchi requests with time ranges.
View Source
const RFC3339NanoTimezone = "2006-01-02T15:04:05.999999+00:00"
RFC3339NanoTimezone describes a common timestamp format used by Gnocchi API responses.
Variables ¶
This section is empty.
Functions ¶
func NewGnocchiV1 ¶
func NewGnocchiV1(client *gophercloud.ProviderClient, eo gophercloud.EndpointOpts) (*gophercloud.ServiceClient, error)
NewGnocchiV1 creates a ServiceClient that may be used with the v1 Gnocchi package.
Types ¶
type JSONRFC3339NanoTimezone ¶
JSONRFC3339NanoTimezone is a type for Gnocchi responses timestamps with a timezone offset.
func (*JSONRFC3339NanoTimezone) UnmarshalJSON ¶
func (jt *JSONRFC3339NanoTimezone) UnmarshalJSON(data []byte) error
UnmarshalJSON helps to unmarshal timestamps from Gnocchi responses to the JSONRFC3339NanoTimezone type.
Directories ¶
Path | Synopsis |
---|---|
metric
|
|
v1/archivepolicies
Package archivepolicies provides the ability to retrieve archive policies through the Gnocchi API.
|
Package archivepolicies provides the ability to retrieve archive policies through the Gnocchi API. |
v1/archivepolicies/testing
archivepolicies unit tests
|
archivepolicies unit tests |
v1/measures
Package measures provides the ability to retrieve measures through the Gnocchi API.
|
Package measures provides the ability to retrieve measures through the Gnocchi API. |
v1/measures/testing
measures unit tests
|
measures unit tests |
v1/metrics
Package metrics provides the ability to retrieve metrics through the Gnocchi API.
|
Package metrics provides the ability to retrieve metrics through the Gnocchi API. |
v1/metrics/testing
metrics unit tests
|
metrics unit tests |
v1/resources
Package resources provides the ability to retrieve resources through the Gnocchi API.
|
Package resources provides the ability to retrieve resources through the Gnocchi API. |
v1/resources/testing
resources unit tests
|
resources unit tests |
v1/resourcetypes
Package resourcetypes provides ability to manage resource types through the Gnocchi API.
|
Package resourcetypes provides ability to manage resource types through the Gnocchi API. |
v1/resourcetypes/testing
resource types unit tests
|
resource types unit tests |
v1/status
Package status provides the ability to retrieve Gnocchi status through the Gnocchi API.
|
Package status provides the ability to retrieve Gnocchi status through the Gnocchi API. |
v1/status/testing
status unit tests
|
status unit tests |
testhelper
|
|
Click to show internal directories.
Click to hide internal directories.