gnocchi

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

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
testhelper

Jump to

Keyboard shortcuts

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