package
0.0.0-20250307045944-cf6c03992e2e
Repository: https://github.com/sapcc/limes.git
Documentation: pkg.go.dev
# Functions
AddLoggingRoundTripper adds logging for long round trips to http.RoundTripper.
EmptyTimeSeries constructs a new empty TimeSeries.
IDsToJSON embeds a list of string IDs in a data structure that serializes to JSON like [{"id":"first"},{"id":"second"}].
ParseTimeSeries parses the JSON representation of a time series, or returns an empty time series if the input is the empty string.
UnpackError is usually a no-op, but for some Gophercloud errors, it removes the outer layer that obscures the better error message hidden within.
# Structs
TimeSeries is a minimalistic implementation of a time series (a representation of a metric that assumes different values over time), tailored towards the exact needs of the project_az_resources.historical_usage attribute.
# Type aliases
No description provided by the author
YamlRawMessage is like json.RawMessage: During yaml.Unmarshal(), it will just collect the provided YAML representation instead of parsing it into a specific datatype.