From 573a23c3e2d983fc80ba0db82c2d8feaf6f82d94 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 1 Nov 2024 02:28:56 +0000 Subject: [PATCH] Renovate: Update github.com/sapcc --- go.mod | 4 ++-- go.sum | 8 ++++---- .../github.com/sapcc/go-api-declarations/liquid/info.go | 9 +++++++++ vendor/modules.txt | 4 ++-- 4 files changed, 17 insertions(+), 8 deletions(-) diff --git a/go.mod b/go.mod index fbca67b0..4f24d286 100644 --- a/go.mod +++ b/go.mod @@ -6,8 +6,8 @@ require ( github.com/gophercloud/gophercloud/v2 v2.2.0 github.com/gophercloud/utils/v2 v2.0.0-20241021065553-b46d0737ee98 github.com/olekukonko/tablewriter v0.0.5 - github.com/sapcc/go-api-declarations v1.12.8 - github.com/sapcc/go-bits v0.0.0-20241024075658-61a12e76dcad + github.com/sapcc/go-api-declarations v1.12.9 + github.com/sapcc/go-bits v0.0.0-20241030155708-d3f315057be8 github.com/sapcc/gophercloud-sapcc/v2 v2.0.2 github.com/spf13/cobra v1.8.1 ) diff --git a/go.sum b/go.sum index f89a9798..1d4973c2 100644 --- a/go.sum +++ b/go.sum @@ -14,10 +14,10 @@ github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrk github.com/olekukonko/tablewriter v0.0.5 h1:P2Ga83D34wi1o9J6Wh1mRuqd4mF/x/lgBS7N7AbDhec= github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= -github.com/sapcc/go-api-declarations v1.12.8 h1:KPH0hblfvfbMAhlMXCn7Mwggi3VsZhqVf9tZ6tQPgSc= -github.com/sapcc/go-api-declarations v1.12.8/go.mod h1:83R3hTANhuRXt/pXDby37IJetw8l7DG41s33Tp9NXxI= -github.com/sapcc/go-bits v0.0.0-20241024075658-61a12e76dcad h1:KijQUCZWKcv2sS/gEdkCRcB7Ht1NtlWE6dVFa0wpPd4= -github.com/sapcc/go-bits v0.0.0-20241024075658-61a12e76dcad/go.mod h1:QoKr/BZp+xDse2+CFY1TNtjswXhHx8lh3Bb/9C0RJ6s= +github.com/sapcc/go-api-declarations v1.12.9 h1:4CWkt333oQxGnbka1TH4qApC0bxZe+WIBduygEcxiNw= +github.com/sapcc/go-api-declarations v1.12.9/go.mod h1:83R3hTANhuRXt/pXDby37IJetw8l7DG41s33Tp9NXxI= +github.com/sapcc/go-bits v0.0.0-20241030155708-d3f315057be8 h1:vKnI1g8PD7vU/3krdUcYftH8Yt9c4uCHyEIyxkPhiYU= +github.com/sapcc/go-bits v0.0.0-20241030155708-d3f315057be8/go.mod h1:edzu9ZBNooNFNX1J70nkhV2cOibYvADvr4C39K0stbc= github.com/sapcc/gophercloud-sapcc/v2 v2.0.2 h1:SxLVKQqm759bFYl4iDVU2ELys6fcLpsUqMtxv0s2Z6M= github.com/sapcc/gophercloud-sapcc/v2 v2.0.2/go.mod h1:c+guCOMR8/sGXDus5VEVrjQ7pdmT7JEQaInJWysbBzQ= github.com/sergi/go-diff v1.3.1 h1:xkr+Oxo4BOQKmkn/B9eMK0g5Kg/983T9DqqPHwYqD+8= diff --git a/vendor/github.com/sapcc/go-api-declarations/liquid/info.go b/vendor/github.com/sapcc/go-api-declarations/liquid/info.go index 5e484367..00bece66 100644 --- a/vendor/github.com/sapcc/go-api-declarations/liquid/info.go +++ b/vendor/github.com/sapcc/go-api-declarations/liquid/info.go @@ -19,6 +19,8 @@ package liquid +import "encoding/json" + // ServiceInfo is the response payload format for GET /v1/info. type ServiceInfo struct { // This version number shall be increased whenever any part of the ServiceInfo changes. @@ -71,6 +73,13 @@ type ResourceInfo struct { // If false, only usage is reported on the project level. // Limes will abstain from maintaining quota on such resources. HasQuota bool `json:"hasQuota"` + + // Additional resource-specific attributes. + // For example, a resource for baremetal nodes of a certain flavor might report flavor attributes like the CPU and RAM size here, instead of on subcapacities and subresources, to avoid repetition. + // + // This must be shaped like a map[string]any, but is typed as a raw JSON message. + // Limes does not touch these attributes and will just pass them on into its users without deserializing it at all. + Attributes json.RawMessage `json:"attributes,omitempty"` } // RateInfo describes a rate that a liquid's service provides. diff --git a/vendor/modules.txt b/vendor/modules.txt index e99a6a16..c78ba43d 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -34,7 +34,7 @@ github.com/mitchellh/go-homedir # github.com/olekukonko/tablewriter v0.0.5 ## explicit; go 1.12 github.com/olekukonko/tablewriter -# github.com/sapcc/go-api-declarations v1.12.8 +# github.com/sapcc/go-api-declarations v1.12.9 ## explicit; go 1.21 github.com/sapcc/go-api-declarations/bininfo github.com/sapcc/go-api-declarations/internal/marshal @@ -42,7 +42,7 @@ github.com/sapcc/go-api-declarations/limes github.com/sapcc/go-api-declarations/limes/rates github.com/sapcc/go-api-declarations/limes/resources github.com/sapcc/go-api-declarations/liquid -# github.com/sapcc/go-bits v0.0.0-20241024075658-61a12e76dcad +# github.com/sapcc/go-bits v0.0.0-20241030155708-d3f315057be8 ## explicit; go 1.23 github.com/sapcc/go-bits/httpext github.com/sapcc/go-bits/logg