gnocchi

package
v0.0.0-...-80377ec Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2023 License: Apache-2.0 Imports: 4 Imported by: 4 modules, 6 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

NewGnocchiV1 creates a ServiceClient that may be used with the v1 Gnocchi package.

Types

type JSONRFC3339NanoTimezone

type JSONRFC3339NanoTimezone time.Time

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL