package
1.12.6
Repository: https://github.com/sapcc/go-api-declarations.git
Documentation: pkg.go.dev

# Functions

MustParseWindow is like ParseWindow, but panics on error.
ParseWindow parses a string representation like "1s" or "5m".

# Constants

WindowHours is a Window unit.
WindowMilliseconds is a Window unit.
WindowMinutes is a Window unit.
WindowSeconds is a Window unit.

# Structs

ClusterRateReport is a substructure of ClusterServiceReport containing data for a single rate.
ClusterReport contains aggregated data about resource usage in a cluster.
ClusterServiceReport is a substructure of ClusterReport containing data for a single backend service.
ProjectRateReport is a substructure of ProjectServiceReport containing data for a single rate.
ProjectReport contains all data about resource usage in a project.
ProjectServiceReport is a substructure of ProjectReport containing data for a single backend service.
RateInfo contains the metadata for a rate (i.e.
RateLimitRequest contains new values for a single rate limit.

# Type aliases

ClusterRateReports provides fast lookup of rates using a map, but serializes to JSON as a list.
ClusterServiceReports provides fast lookup of services by service type, but serializes to JSON as a list.
ProjectRateReports provides fast lookup of rates using a map, but serializes to JSON as a list.
ProjectServiceReports provides fast lookup of services using a map, but serializes to JSON as a list.
RateName identifies a rate within a service.
RateRequest contains new rate limit values for rates in multiple services.
ServiceQuotaRequest contains new rate limit values for rates in a single service.
Window is the size (in nanoseconds) of the time window that is considered when enforcing a rate limit.