sapcc / go-api-declarations

Reusable declarations for Go types appearing in our APIs
Apache License 2.0
3 stars 0 forks source link

liquid: add ResourceInfo.Attributes #36

Closed majewsky closed 4 weeks ago

majewsky commented 4 weeks ago

As explained in the code comment, this came out of a redundancy that I noticed when writing liquid-ironic.

These attributes will initially not be visible on the Limes v1 API, but I plan to use them as an input for the TranslationRule when translating v2 subcapacities and subresources back into their v1 equivalents.