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

# Functions

ParseCommitmentDuration parses the string representation of a CommitmentDuration.
ParseQuotaOverrides parses the contents of a quota-overrides.json file.

# Constants

AutogrowQuotaDistribution is an alternative QuotaDistributionModel, wherein project quota is automatically distributed ("auto") such that: 1.
CommitmentTransferStatusNone is the default transfer status, meaning that the commitment is not marked for transfer.
CommitmentTransferStatusPublic means that the commitment is marked for transfer, and is visible as such to all other projects.
CommitmentTransferStatusUnlisted means that the commitment is marked for transfer, but the receiver needs to know the commitment's transfer token.
HierarchicalQuotaDistribution is the default QuotaDistributionModel, wherein quota is distributed to domains by the cloud admins, and then the projects by the domain admins.

# Structs

ClusterAvailabilityZoneReport is a substructure of ClusterResourceReport containing capacity and usage data for a single resource in an availability zone.
ClusterAZResourceReport is a substructure of ClusterResourceReport containing capacity and usage data for a single resource in an availability zone.
ClusterReport contains aggregated data about resource usage in a cluster.
ClusterResourceReport is a substructure of ClusterReport containing data for a single resource.
ClusterServiceReport is a substructure of ClusterReport containing data for a single backend service.
Commitment is the API representation of an *existing* commitment as reported by Limes.
CommitmentConfiguration describes how commitments are configured for a given resource.
CommitmentConversionRule is the API representation of how commitments can be converted into a different resource.
CommitmentDuration is the parsed representation of a commitment duration.
CommitmentRequest is the API representation of a *new* commitment as requested by a user.
DomainAZResourceReport is a substructure of DomainResourceReport containing quota and usage data for a single resource in an availability zone.
DomainReport contains aggregated data about resource usage in a domain.
DomainResourceReport is a substructure of DomainReport containing data for a single resource.
DomainServiceReport is a substructure of DomainReport containing data for a single backend service.
No description provided by the author
ProjectAZResourceReport is a substructure of ProjectResourceReport containing quota and usage data for a single resource in an availability zone.
ProjectReport contains all data about resource usage in a project.
ProjectResourceReport is a substructure of ProjectReport containing data for a single resource.
ProjectServiceReport is a substructure of ProjectReport containing data for a single backend service.
ResourceInfo contains the metadata for a resource (i.e.

# Type aliases

ClusterAvailabilityZoneReports provides fast lookup of availability zones using a map, but serializes to JSON as a list.
ClusterAZResourceReport is a substructure of ClusterResourceReport that breaks down capacity and usage data for a single resource by availability zone.
ClusterResourceReports provides fast lookup of resources by resource name, but serializes to JSON as a list.
ClusterServiceReports provides fast lookup of services by service type, but serializes to JSON as a list.
CommitmentTransferStatus is an enum.
DomainAZResourceReport is a substructure of DomainResourceReport that breaks down quota and usage data for a single resource by availability zone.
DomainResourceReports provides fast lookup of resources using a map, but serializes to JSON as a list.
DomainServiceReports provides fast lookup of services using a map, but serializes to JSON as a list.
ProjectAZResourceReport is a substructure of ProjectResourceReport that breaks down quota and usage data for a single resource by availability zone.
ProjectResourceReports provides fast lookup of resources 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.
QuotaDistributionModel is an enum.
ResourceName identifies a resource within a service.