diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 58fce91..f68e5af 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,10 +16,10 @@ jobs: name: Build runs-on: ubuntu-latest steps: - - name: Set up Go 1.21 - uses: actions/setup-go@v4 + - name: Set up Go 1.22 + uses: actions/setup-go@v5 with: - go-version: "1.21" + go-version: "1.22" id: go - name: Check out code into the Go module directory @@ -33,6 +33,6 @@ jobs: make make check-diff - - uses: release-drafter/release-drafter@v5 + - uses: release-drafter/release-drafter@v6 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/Makefile b/Makefile index a0d4800..23db974 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ proto: .PHONY: mocks mocks: rm -rf test/mocks - docker run --rm --user $$(id -u):$$(id -g) -w /work -v ${PWD}:/work vektra/mockery:v2.38.0 --keeptree --all --dir pkg/apis --output test/mocks + docker run --rm --user $$(id -u):$$(id -g) -w /work -v ${PWD}:/work vektra/mockery:v2.43.2 --keeptree --all --dir pkg/apis --output test/mocks .PHONY: test test: diff --git a/go.mod b/go.mod index 38f412f..91e793d 100644 --- a/go.mod +++ b/go.mod @@ -1,21 +1,20 @@ module github.com/fi-ts/accounting-go -go 1.21 +go 1.22 require ( - github.com/stretchr/testify v1.8.4 - google.golang.org/grpc v1.60.0 - google.golang.org/protobuf v1.31.0 + github.com/stretchr/testify v1.9.0 + google.golang.org/grpc v1.64.0 + google.golang.org/protobuf v1.34.2 ) require ( github.com/davecgh/go-spew v1.1.1 // indirect - github.com/golang/protobuf v1.5.3 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect - github.com/stretchr/objx v0.5.1 // indirect - golang.org/x/net v0.19.0 // indirect - golang.org/x/sys v0.15.0 // indirect - golang.org/x/text v0.14.0 // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20231211222908-989df2bf70f3 // indirect + github.com/stretchr/objx v0.5.2 // indirect + golang.org/x/net v0.26.0 // indirect + golang.org/x/sys v0.21.0 // indirect + golang.org/x/text v0.16.0 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20240610135401-a8a62080eff3 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/go.sum b/go.sum index 93eac87..36e3bc9 100644 --- a/go.sum +++ b/go.sum @@ -1,41 +1,26 @@ -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= -github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg= -github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= -github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= -github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= +github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= -github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= -github.com/stretchr/objx v0.5.1 h1:4VhoImhV/Bm0ToFkXFi8hXNXwpDRZ/ynw3amt82mzq0= -github.com/stretchr/objx v0.5.1/go.mod h1:/iHQpkQwBD6DLUmQ4pE+s1TXdob1mORJ4/UFdrifcy0= -github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= -github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= -github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= -github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= -golang.org/x/net v0.19.0 h1:zTwKpTd2XuCqf8huc7Fo2iSy+4RHPd10s4KzeTnVr1c= -golang.org/x/net v0.19.0/go.mod h1:CfAk/cbD4CthTvqiEl8NpboMuiuOYsAr/7NOjZJtv1U= -golang.org/x/sys v0.15.0 h1:h48lPFYpsTvQJZF4EKyI4aLHaev3CxivZmv7yZig9pc= -golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= -golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -google.golang.org/genproto/googleapis/rpc v0.0.0-20231211222908-989df2bf70f3 h1:kzJAXnzZoFbe5bhZd4zjUuHos/I31yH4thfMb/13oVY= -google.golang.org/genproto/googleapis/rpc v0.0.0-20231211222908-989df2bf70f3/go.mod h1:eJVxU6o+4G1PSczBr85xmyvSNYAKvAYgkub40YGomFM= -google.golang.org/grpc v1.60.0 h1:6FQAR0kM31P6MRdeluor2w2gPaS4SVNrD/DNTxrQ15k= -google.golang.org/grpc v1.60.0/go.mod h1:OlCHIeLYqSSsLi6i49B5QGdzaMZK9+M7LXN2FKz4eGM= -google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= -google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.31.0 h1:g0LDEJHgrBl9N9r17Ru3sqWhkIx2NB67okBHPwC7hs8= -google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= +github.com/stretchr/objx v0.5.2 h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY= +github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA= +github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= +github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= +golang.org/x/net v0.26.0 h1:soB7SVo0PWrY4vPW/+ay0jKDNScG2X9wFeYlXIvJsOQ= +golang.org/x/net v0.26.0/go.mod h1:5YKkiSynbBIh3p6iOc/vibscux0x38BZDkn8sCUPxHE= +golang.org/x/sys v0.21.0 h1:rF+pYz3DAGSQAxAu1CbC7catZg4ebC4UIeIhKxBZvws= +golang.org/x/sys v0.21.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/text v0.16.0 h1:a94ExnEXNtEwYLGJSIUxnWoxoRz/ZcCsV63ROupILh4= +golang.org/x/text v0.16.0/go.mod h1:GhwF1Be+LQoKShO3cGOHzqOgRrGaYc9AvblQOmPVHnI= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240610135401-a8a62080eff3 h1:9Xyg6I9IWQZhRVfCWjKK+l6kI0jHcPesVlMnT//aHNo= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240610135401-a8a62080eff3/go.mod h1:EfXuqaE1J41VCDicxHzUDm+8rk+7ZdXzHV0IhO/I6s0= +google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY= +google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg= +google.golang.org/protobuf v1.34.2 h1:6xV6lTsCfpGD21XK49h7MhtcApnLqkfYgPcdHftf6hg= +google.golang.org/protobuf v1.34.2/go.mod h1:qYOHts0dSfpeUzUFpOMr/WGzszTmLH+DiWniOlNbLDw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= diff --git a/pkg/apis/v1/cluster.pb.go b/pkg/apis/v1/cluster.pb.go index c908671..c8394f8 100644 --- a/pkg/apis/v1/cluster.pb.go +++ b/pkg/apis/v1/cluster.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: metalstack/io/accounting/api/v1/cluster.proto @@ -669,7 +669,7 @@ func file_metalstack_io_accounting_api_v1_cluster_proto_rawDescGZIP() []byte { } var file_metalstack_io_accounting_api_v1_cluster_proto_msgTypes = make([]protoimpl.MessageInfo, 6) -var file_metalstack_io_accounting_api_v1_cluster_proto_goTypes = []interface{}{ +var file_metalstack_io_accounting_api_v1_cluster_proto_goTypes = []any{ (*ClusterReport)(nil), // 0: metalstack.io.accounting.api.v1.ClusterReport (*ClusterWorkerGroup)(nil), // 1: metalstack.io.accounting.api.v1.ClusterWorkerGroup (*ClusterUsageRequest)(nil), // 2: metalstack.io.accounting.api.v1.ClusterUsageRequest @@ -719,7 +719,7 @@ func file_metalstack_io_accounting_api_v1_cluster_proto_init() { } file_metalstack_io_accounting_api_v1_common_proto_init() if !protoimpl.UnsafeEnabled { - file_metalstack_io_accounting_api_v1_cluster_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_cluster_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*ClusterReport); i { case 0: return &v.state @@ -731,7 +731,7 @@ func file_metalstack_io_accounting_api_v1_cluster_proto_init() { return nil } } - file_metalstack_io_accounting_api_v1_cluster_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_cluster_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*ClusterWorkerGroup); i { case 0: return &v.state @@ -743,7 +743,7 @@ func file_metalstack_io_accounting_api_v1_cluster_proto_init() { return nil } } - file_metalstack_io_accounting_api_v1_cluster_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_cluster_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*ClusterUsageRequest); i { case 0: return &v.state @@ -755,7 +755,7 @@ func file_metalstack_io_accounting_api_v1_cluster_proto_init() { return nil } } - file_metalstack_io_accounting_api_v1_cluster_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_cluster_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*ClusterUsageResponse); i { case 0: return &v.state @@ -767,7 +767,7 @@ func file_metalstack_io_accounting_api_v1_cluster_proto_init() { return nil } } - file_metalstack_io_accounting_api_v1_cluster_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_cluster_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*ClusterUsage); i { case 0: return &v.state @@ -779,7 +779,7 @@ func file_metalstack_io_accounting_api_v1_cluster_proto_init() { return nil } } - file_metalstack_io_accounting_api_v1_cluster_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_cluster_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*ClusterUsageAccumuluated); i { case 0: return &v.state diff --git a/pkg/apis/v1/common.pb.go b/pkg/apis/v1/common.pb.go index 082a5f4..50fa647 100644 --- a/pkg/apis/v1/common.pb.go +++ b/pkg/apis/v1/common.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: metalstack/io/accounting/api/v1/common.proto @@ -377,7 +377,7 @@ func file_metalstack_io_accounting_api_v1_common_proto_rawDescGZIP() []byte { } var file_metalstack_io_accounting_api_v1_common_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_metalstack_io_accounting_api_v1_common_proto_goTypes = []interface{}{ +var file_metalstack_io_accounting_api_v1_common_proto_goTypes = []any{ (*Empty)(nil), // 0: metalstack.io.accounting.api.v1.Empty (*Report)(nil), // 1: metalstack.io.accounting.api.v1.Report (*KubernetesResourceReport)(nil), // 2: metalstack.io.accounting.api.v1.KubernetesResourceReport @@ -404,7 +404,7 @@ func file_metalstack_io_accounting_api_v1_common_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_metalstack_io_accounting_api_v1_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_common_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*Empty); i { case 0: return &v.state @@ -416,7 +416,7 @@ func file_metalstack_io_accounting_api_v1_common_proto_init() { return nil } } - file_metalstack_io_accounting_api_v1_common_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_common_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*Report); i { case 0: return &v.state @@ -428,7 +428,7 @@ func file_metalstack_io_accounting_api_v1_common_proto_init() { return nil } } - file_metalstack_io_accounting_api_v1_common_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_common_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*KubernetesResourceReport); i { case 0: return &v.state @@ -440,7 +440,7 @@ func file_metalstack_io_accounting_api_v1_common_proto_init() { return nil } } - file_metalstack_io_accounting_api_v1_common_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_common_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*UsageQuery); i { case 0: return &v.state @@ -453,7 +453,7 @@ func file_metalstack_io_accounting_api_v1_common_proto_init() { } } } - file_metalstack_io_accounting_api_v1_common_proto_msgTypes[3].OneofWrappers = []interface{}{} + file_metalstack_io_accounting_api_v1_common_proto_msgTypes[3].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/pkg/apis/v1/info.pb.go b/pkg/apis/v1/info.pb.go index 70c5663..becb6be 100644 --- a/pkg/apis/v1/info.pb.go +++ b/pkg/apis/v1/info.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: metalstack/io/accounting/api/v1/info.proto @@ -389,7 +389,7 @@ func file_metalstack_io_accounting_api_v1_info_proto_rawDescGZIP() []byte { } var file_metalstack_io_accounting_api_v1_info_proto_msgTypes = make([]protoimpl.MessageInfo, 6) -var file_metalstack_io_accounting_api_v1_info_proto_goTypes = []interface{}{ +var file_metalstack_io_accounting_api_v1_info_proto_goTypes = []any{ (*TimeQuery)(nil), // 0: metalstack.io.accounting.api.v1.TimeQuery (*Project)(nil), // 1: metalstack.io.accounting.api.v1.Project (*ProjectInfoRequest)(nil), // 2: metalstack.io.accounting.api.v1.ProjectInfoRequest @@ -421,7 +421,7 @@ func file_metalstack_io_accounting_api_v1_info_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_metalstack_io_accounting_api_v1_info_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_info_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*TimeQuery); i { case 0: return &v.state @@ -433,7 +433,7 @@ func file_metalstack_io_accounting_api_v1_info_proto_init() { return nil } } - file_metalstack_io_accounting_api_v1_info_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_info_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*Project); i { case 0: return &v.state @@ -445,7 +445,7 @@ func file_metalstack_io_accounting_api_v1_info_proto_init() { return nil } } - file_metalstack_io_accounting_api_v1_info_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_info_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*ProjectInfoRequest); i { case 0: return &v.state @@ -457,7 +457,7 @@ func file_metalstack_io_accounting_api_v1_info_proto_init() { return nil } } - file_metalstack_io_accounting_api_v1_info_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_info_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*ProjectInfoResponse); i { case 0: return &v.state @@ -469,7 +469,7 @@ func file_metalstack_io_accounting_api_v1_info_proto_init() { return nil } } - file_metalstack_io_accounting_api_v1_info_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_info_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*TenantInfoRequest); i { case 0: return &v.state @@ -481,7 +481,7 @@ func file_metalstack_io_accounting_api_v1_info_proto_init() { return nil } } - file_metalstack_io_accounting_api_v1_info_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_info_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*TenantInfoResponse); i { case 0: return &v.state diff --git a/pkg/apis/v1/ip.pb.go b/pkg/apis/v1/ip.pb.go index 9b632aa..95343e7 100644 --- a/pkg/apis/v1/ip.pb.go +++ b/pkg/apis/v1/ip.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: metalstack/io/accounting/api/v1/ip.proto @@ -667,7 +667,7 @@ func file_metalstack_io_accounting_api_v1_ip_proto_rawDescGZIP() []byte { } var file_metalstack_io_accounting_api_v1_ip_proto_msgTypes = make([]protoimpl.MessageInfo, 6) -var file_metalstack_io_accounting_api_v1_ip_proto_goTypes = []interface{}{ +var file_metalstack_io_accounting_api_v1_ip_proto_goTypes = []any{ (*IP)(nil), // 0: metalstack.io.accounting.api.v1.IP (*IPReport)(nil), // 1: metalstack.io.accounting.api.v1.IPReport (*IPUsageRequest)(nil), // 2: metalstack.io.accounting.api.v1.IPUsageRequest @@ -715,7 +715,7 @@ func file_metalstack_io_accounting_api_v1_ip_proto_init() { } file_metalstack_io_accounting_api_v1_common_proto_init() if !protoimpl.UnsafeEnabled { - file_metalstack_io_accounting_api_v1_ip_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_ip_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*IP); i { case 0: return &v.state @@ -727,7 +727,7 @@ func file_metalstack_io_accounting_api_v1_ip_proto_init() { return nil } } - file_metalstack_io_accounting_api_v1_ip_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_ip_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*IPReport); i { case 0: return &v.state @@ -739,7 +739,7 @@ func file_metalstack_io_accounting_api_v1_ip_proto_init() { return nil } } - file_metalstack_io_accounting_api_v1_ip_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_ip_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*IPUsageRequest); i { case 0: return &v.state @@ -751,7 +751,7 @@ func file_metalstack_io_accounting_api_v1_ip_proto_init() { return nil } } - file_metalstack_io_accounting_api_v1_ip_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_ip_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*IPUsageResponse); i { case 0: return &v.state @@ -763,7 +763,7 @@ func file_metalstack_io_accounting_api_v1_ip_proto_init() { return nil } } - file_metalstack_io_accounting_api_v1_ip_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_ip_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*IPUsage); i { case 0: return &v.state @@ -775,7 +775,7 @@ func file_metalstack_io_accounting_api_v1_ip_proto_init() { return nil } } - file_metalstack_io_accounting_api_v1_ip_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_ip_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*IPUsageAccumuluated); i { case 0: return &v.state @@ -788,7 +788,7 @@ func file_metalstack_io_accounting_api_v1_ip_proto_init() { } } } - file_metalstack_io_accounting_api_v1_ip_proto_msgTypes[2].OneofWrappers = []interface{}{} + file_metalstack_io_accounting_api_v1_ip_proto_msgTypes[2].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/pkg/apis/v1/machine.pb.go b/pkg/apis/v1/machine.pb.go index 3791125..91f8512 100644 --- a/pkg/apis/v1/machine.pb.go +++ b/pkg/apis/v1/machine.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: metalstack/io/accounting/api/v1/machine.proto @@ -656,7 +656,7 @@ func file_metalstack_io_accounting_api_v1_machine_proto_rawDescGZIP() []byte { } var file_metalstack_io_accounting_api_v1_machine_proto_msgTypes = make([]protoimpl.MessageInfo, 5) -var file_metalstack_io_accounting_api_v1_machine_proto_goTypes = []interface{}{ +var file_metalstack_io_accounting_api_v1_machine_proto_goTypes = []any{ (*MachineReport)(nil), // 0: metalstack.io.accounting.api.v1.MachineReport (*MachineUsageRequest)(nil), // 1: metalstack.io.accounting.api.v1.MachineUsageRequest (*MachineUsageResponse)(nil), // 2: metalstack.io.accounting.api.v1.MachineUsageResponse @@ -703,7 +703,7 @@ func file_metalstack_io_accounting_api_v1_machine_proto_init() { } file_metalstack_io_accounting_api_v1_common_proto_init() if !protoimpl.UnsafeEnabled { - file_metalstack_io_accounting_api_v1_machine_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_machine_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*MachineReport); i { case 0: return &v.state @@ -715,7 +715,7 @@ func file_metalstack_io_accounting_api_v1_machine_proto_init() { return nil } } - file_metalstack_io_accounting_api_v1_machine_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_machine_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*MachineUsageRequest); i { case 0: return &v.state @@ -727,7 +727,7 @@ func file_metalstack_io_accounting_api_v1_machine_proto_init() { return nil } } - file_metalstack_io_accounting_api_v1_machine_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_machine_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*MachineUsageResponse); i { case 0: return &v.state @@ -739,7 +739,7 @@ func file_metalstack_io_accounting_api_v1_machine_proto_init() { return nil } } - file_metalstack_io_accounting_api_v1_machine_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_machine_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*MachineUsage); i { case 0: return &v.state @@ -751,7 +751,7 @@ func file_metalstack_io_accounting_api_v1_machine_proto_init() { return nil } } - file_metalstack_io_accounting_api_v1_machine_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_machine_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*MachineUsageAccumuluated); i { case 0: return &v.state @@ -764,7 +764,7 @@ func file_metalstack_io_accounting_api_v1_machine_proto_init() { } } } - file_metalstack_io_accounting_api_v1_machine_proto_msgTypes[1].OneofWrappers = []interface{}{} + file_metalstack_io_accounting_api_v1_machine_proto_msgTypes[1].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/pkg/apis/v1/network_traffic.pb.go b/pkg/apis/v1/network_traffic.pb.go index dd1e2cc..46f4b08 100644 --- a/pkg/apis/v1/network_traffic.pb.go +++ b/pkg/apis/v1/network_traffic.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: metalstack/io/accounting/api/v1/network_traffic.proto @@ -650,7 +650,7 @@ func file_metalstack_io_accounting_api_v1_network_traffic_proto_rawDescGZIP() [] } var file_metalstack_io_accounting_api_v1_network_traffic_proto_msgTypes = make([]protoimpl.MessageInfo, 6) -var file_metalstack_io_accounting_api_v1_network_traffic_proto_goTypes = []interface{}{ +var file_metalstack_io_accounting_api_v1_network_traffic_proto_goTypes = []any{ (*NetworkTraffic)(nil), // 0: metalstack.io.accounting.api.v1.NetworkTraffic (*NetworkTrafficReport)(nil), // 1: metalstack.io.accounting.api.v1.NetworkTrafficReport (*NetworkUsageRequest)(nil), // 2: metalstack.io.accounting.api.v1.NetworkUsageRequest @@ -691,7 +691,7 @@ func file_metalstack_io_accounting_api_v1_network_traffic_proto_init() { } file_metalstack_io_accounting_api_v1_common_proto_init() if !protoimpl.UnsafeEnabled { - file_metalstack_io_accounting_api_v1_network_traffic_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_network_traffic_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*NetworkTraffic); i { case 0: return &v.state @@ -703,7 +703,7 @@ func file_metalstack_io_accounting_api_v1_network_traffic_proto_init() { return nil } } - file_metalstack_io_accounting_api_v1_network_traffic_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_network_traffic_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*NetworkTrafficReport); i { case 0: return &v.state @@ -715,7 +715,7 @@ func file_metalstack_io_accounting_api_v1_network_traffic_proto_init() { return nil } } - file_metalstack_io_accounting_api_v1_network_traffic_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_network_traffic_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*NetworkUsageRequest); i { case 0: return &v.state @@ -727,7 +727,7 @@ func file_metalstack_io_accounting_api_v1_network_traffic_proto_init() { return nil } } - file_metalstack_io_accounting_api_v1_network_traffic_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_network_traffic_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*NetworkUsageResponse); i { case 0: return &v.state @@ -739,7 +739,7 @@ func file_metalstack_io_accounting_api_v1_network_traffic_proto_init() { return nil } } - file_metalstack_io_accounting_api_v1_network_traffic_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_network_traffic_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*NetworkUsage); i { case 0: return &v.state @@ -751,7 +751,7 @@ func file_metalstack_io_accounting_api_v1_network_traffic_proto_init() { return nil } } - file_metalstack_io_accounting_api_v1_network_traffic_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_network_traffic_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*NetworkUsageAccumuluated); i { case 0: return &v.state @@ -764,7 +764,7 @@ func file_metalstack_io_accounting_api_v1_network_traffic_proto_init() { } } } - file_metalstack_io_accounting_api_v1_network_traffic_proto_msgTypes[2].OneofWrappers = []interface{}{} + file_metalstack_io_accounting_api_v1_network_traffic_proto_msgTypes[2].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/pkg/apis/v1/pod.pb.go b/pkg/apis/v1/pod.pb.go index 799d441..987b27c 100644 --- a/pkg/apis/v1/pod.pb.go +++ b/pkg/apis/v1/pod.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: metalstack/io/accounting/api/v1/pod.proto @@ -746,7 +746,7 @@ func file_metalstack_io_accounting_api_v1_pod_proto_rawDescGZIP() []byte { } var file_metalstack_io_accounting_api_v1_pod_proto_msgTypes = make([]protoimpl.MessageInfo, 6) -var file_metalstack_io_accounting_api_v1_pod_proto_goTypes = []interface{}{ +var file_metalstack_io_accounting_api_v1_pod_proto_goTypes = []any{ (*Container)(nil), // 0: metalstack.io.accounting.api.v1.Container (*PodReport)(nil), // 1: metalstack.io.accounting.api.v1.PodReport (*ContainerUsageRequest)(nil), // 2: metalstack.io.accounting.api.v1.ContainerUsageRequest @@ -793,7 +793,7 @@ func file_metalstack_io_accounting_api_v1_pod_proto_init() { } file_metalstack_io_accounting_api_v1_common_proto_init() if !protoimpl.UnsafeEnabled { - file_metalstack_io_accounting_api_v1_pod_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_pod_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*Container); i { case 0: return &v.state @@ -805,7 +805,7 @@ func file_metalstack_io_accounting_api_v1_pod_proto_init() { return nil } } - file_metalstack_io_accounting_api_v1_pod_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_pod_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*PodReport); i { case 0: return &v.state @@ -817,7 +817,7 @@ func file_metalstack_io_accounting_api_v1_pod_proto_init() { return nil } } - file_metalstack_io_accounting_api_v1_pod_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_pod_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*ContainerUsageRequest); i { case 0: return &v.state @@ -829,7 +829,7 @@ func file_metalstack_io_accounting_api_v1_pod_proto_init() { return nil } } - file_metalstack_io_accounting_api_v1_pod_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_pod_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*ContainerUsageResponse); i { case 0: return &v.state @@ -841,7 +841,7 @@ func file_metalstack_io_accounting_api_v1_pod_proto_init() { return nil } } - file_metalstack_io_accounting_api_v1_pod_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_pod_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*ContainerUsage); i { case 0: return &v.state @@ -853,7 +853,7 @@ func file_metalstack_io_accounting_api_v1_pod_proto_init() { return nil } } - file_metalstack_io_accounting_api_v1_pod_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_pod_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*ContainerUsageAccumuluated); i { case 0: return &v.state @@ -866,7 +866,7 @@ func file_metalstack_io_accounting_api_v1_pod_proto_init() { } } } - file_metalstack_io_accounting_api_v1_pod_proto_msgTypes[2].OneofWrappers = []interface{}{} + file_metalstack_io_accounting_api_v1_pod_proto_msgTypes[2].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/pkg/apis/v1/postgres.pb.go b/pkg/apis/v1/postgres.pb.go index 0cc78d1..a177a8a 100644 --- a/pkg/apis/v1/postgres.pb.go +++ b/pkg/apis/v1/postgres.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: metalstack/io/accounting/api/v1/postgres.proto @@ -813,7 +813,7 @@ func file_metalstack_io_accounting_api_v1_postgres_proto_rawDescGZIP() []byte { } var file_metalstack_io_accounting_api_v1_postgres_proto_msgTypes = make([]protoimpl.MessageInfo, 6) -var file_metalstack_io_accounting_api_v1_postgres_proto_goTypes = []interface{}{ +var file_metalstack_io_accounting_api_v1_postgres_proto_goTypes = []any{ (*Postgres)(nil), // 0: metalstack.io.accounting.api.v1.Postgres (*PostgresReport)(nil), // 1: metalstack.io.accounting.api.v1.PostgresReport (*PostgresUsageRequest)(nil), // 2: metalstack.io.accounting.api.v1.PostgresUsageRequest @@ -861,7 +861,7 @@ func file_metalstack_io_accounting_api_v1_postgres_proto_init() { } file_metalstack_io_accounting_api_v1_common_proto_init() if !protoimpl.UnsafeEnabled { - file_metalstack_io_accounting_api_v1_postgres_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_postgres_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*Postgres); i { case 0: return &v.state @@ -873,7 +873,7 @@ func file_metalstack_io_accounting_api_v1_postgres_proto_init() { return nil } } - file_metalstack_io_accounting_api_v1_postgres_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_postgres_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*PostgresReport); i { case 0: return &v.state @@ -885,7 +885,7 @@ func file_metalstack_io_accounting_api_v1_postgres_proto_init() { return nil } } - file_metalstack_io_accounting_api_v1_postgres_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_postgres_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*PostgresUsageRequest); i { case 0: return &v.state @@ -897,7 +897,7 @@ func file_metalstack_io_accounting_api_v1_postgres_proto_init() { return nil } } - file_metalstack_io_accounting_api_v1_postgres_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_postgres_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*PostgresUsageResponse); i { case 0: return &v.state @@ -909,7 +909,7 @@ func file_metalstack_io_accounting_api_v1_postgres_proto_init() { return nil } } - file_metalstack_io_accounting_api_v1_postgres_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_postgres_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*PostgresUsage); i { case 0: return &v.state @@ -921,7 +921,7 @@ func file_metalstack_io_accounting_api_v1_postgres_proto_init() { return nil } } - file_metalstack_io_accounting_api_v1_postgres_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_postgres_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*PostgresUsageAccumuluated); i { case 0: return &v.state @@ -934,7 +934,7 @@ func file_metalstack_io_accounting_api_v1_postgres_proto_init() { } } } - file_metalstack_io_accounting_api_v1_postgres_proto_msgTypes[2].OneofWrappers = []interface{}{} + file_metalstack_io_accounting_api_v1_postgres_proto_msgTypes[2].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/pkg/apis/v1/product_option.pb.go b/pkg/apis/v1/product_option.pb.go index e74cf83..c5d32f9 100644 --- a/pkg/apis/v1/product_option.pb.go +++ b/pkg/apis/v1/product_option.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: metalstack/io/accounting/api/v1/product_option.proto @@ -591,7 +591,7 @@ func file_metalstack_io_accounting_api_v1_product_option_proto_rawDescGZIP() []b var file_metalstack_io_accounting_api_v1_product_option_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_metalstack_io_accounting_api_v1_product_option_proto_msgTypes = make([]protoimpl.MessageInfo, 5) -var file_metalstack_io_accounting_api_v1_product_option_proto_goTypes = []interface{}{ +var file_metalstack_io_accounting_api_v1_product_option_proto_goTypes = []any{ (ProductOption)(0), // 0: metalstack.io.accounting.api.v1.ProductOption (*ProductOptionReport)(nil), // 1: metalstack.io.accounting.api.v1.ProductOptionReport (*ProductOptionUsageRequest)(nil), // 2: metalstack.io.accounting.api.v1.ProductOptionUsageRequest @@ -634,7 +634,7 @@ func file_metalstack_io_accounting_api_v1_product_option_proto_init() { } file_metalstack_io_accounting_api_v1_common_proto_init() if !protoimpl.UnsafeEnabled { - file_metalstack_io_accounting_api_v1_product_option_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_product_option_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*ProductOptionReport); i { case 0: return &v.state @@ -646,7 +646,7 @@ func file_metalstack_io_accounting_api_v1_product_option_proto_init() { return nil } } - file_metalstack_io_accounting_api_v1_product_option_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_product_option_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*ProductOptionUsageRequest); i { case 0: return &v.state @@ -658,7 +658,7 @@ func file_metalstack_io_accounting_api_v1_product_option_proto_init() { return nil } } - file_metalstack_io_accounting_api_v1_product_option_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_product_option_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*ProductOptionUsageResponse); i { case 0: return &v.state @@ -670,7 +670,7 @@ func file_metalstack_io_accounting_api_v1_product_option_proto_init() { return nil } } - file_metalstack_io_accounting_api_v1_product_option_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_product_option_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*ProductOptionUsage); i { case 0: return &v.state @@ -682,7 +682,7 @@ func file_metalstack_io_accounting_api_v1_product_option_proto_init() { return nil } } - file_metalstack_io_accounting_api_v1_product_option_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_product_option_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*ProductOptionUsageAccumuluated); i { case 0: return &v.state @@ -695,7 +695,7 @@ func file_metalstack_io_accounting_api_v1_product_option_proto_init() { } } } - file_metalstack_io_accounting_api_v1_product_option_proto_msgTypes[1].OneofWrappers = []interface{}{} + file_metalstack_io_accounting_api_v1_product_option_proto_msgTypes[1].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/pkg/apis/v1/s3.pb.go b/pkg/apis/v1/s3.pb.go index f1b62d1..d9c3c68 100644 --- a/pkg/apis/v1/s3.pb.go +++ b/pkg/apis/v1/s3.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: metalstack/io/accounting/api/v1/s3.proto @@ -742,7 +742,7 @@ func file_metalstack_io_accounting_api_v1_s3_proto_rawDescGZIP() []byte { } var file_metalstack_io_accounting_api_v1_s3_proto_msgTypes = make([]protoimpl.MessageInfo, 6) -var file_metalstack_io_accounting_api_v1_s3_proto_goTypes = []interface{}{ +var file_metalstack_io_accounting_api_v1_s3_proto_goTypes = []any{ (*S3Bucket)(nil), // 0: metalstack.io.accounting.api.v1.S3Bucket (*S3BucketReport)(nil), // 1: metalstack.io.accounting.api.v1.S3BucketReport (*S3UsageRequest)(nil), // 2: metalstack.io.accounting.api.v1.S3UsageRequest @@ -785,7 +785,7 @@ func file_metalstack_io_accounting_api_v1_s3_proto_init() { } file_metalstack_io_accounting_api_v1_common_proto_init() if !protoimpl.UnsafeEnabled { - file_metalstack_io_accounting_api_v1_s3_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_s3_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*S3Bucket); i { case 0: return &v.state @@ -797,7 +797,7 @@ func file_metalstack_io_accounting_api_v1_s3_proto_init() { return nil } } - file_metalstack_io_accounting_api_v1_s3_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_s3_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*S3BucketReport); i { case 0: return &v.state @@ -809,7 +809,7 @@ func file_metalstack_io_accounting_api_v1_s3_proto_init() { return nil } } - file_metalstack_io_accounting_api_v1_s3_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_s3_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*S3UsageRequest); i { case 0: return &v.state @@ -821,7 +821,7 @@ func file_metalstack_io_accounting_api_v1_s3_proto_init() { return nil } } - file_metalstack_io_accounting_api_v1_s3_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_s3_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*S3UsageResponse); i { case 0: return &v.state @@ -833,7 +833,7 @@ func file_metalstack_io_accounting_api_v1_s3_proto_init() { return nil } } - file_metalstack_io_accounting_api_v1_s3_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_s3_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*S3Usage); i { case 0: return &v.state @@ -845,7 +845,7 @@ func file_metalstack_io_accounting_api_v1_s3_proto_init() { return nil } } - file_metalstack_io_accounting_api_v1_s3_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_s3_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*S3UsageAccumuluated); i { case 0: return &v.state @@ -858,7 +858,7 @@ func file_metalstack_io_accounting_api_v1_s3_proto_init() { } } } - file_metalstack_io_accounting_api_v1_s3_proto_msgTypes[2].OneofWrappers = []interface{}{} + file_metalstack_io_accounting_api_v1_s3_proto_msgTypes[2].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/pkg/apis/v1/volume.pb.go b/pkg/apis/v1/volume.pb.go index d97d9d0..f5281e0 100644 --- a/pkg/apis/v1/volume.pb.go +++ b/pkg/apis/v1/volume.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.31.0 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: metalstack/io/accounting/api/v1/volume.proto @@ -721,7 +721,7 @@ func file_metalstack_io_accounting_api_v1_volume_proto_rawDescGZIP() []byte { } var file_metalstack_io_accounting_api_v1_volume_proto_msgTypes = make([]protoimpl.MessageInfo, 6) -var file_metalstack_io_accounting_api_v1_volume_proto_goTypes = []interface{}{ +var file_metalstack_io_accounting_api_v1_volume_proto_goTypes = []any{ (*Volume)(nil), // 0: metalstack.io.accounting.api.v1.Volume (*VolumeReport)(nil), // 1: metalstack.io.accounting.api.v1.VolumeReport (*VolumeUsageRequest)(nil), // 2: metalstack.io.accounting.api.v1.VolumeUsageRequest @@ -768,7 +768,7 @@ func file_metalstack_io_accounting_api_v1_volume_proto_init() { } file_metalstack_io_accounting_api_v1_common_proto_init() if !protoimpl.UnsafeEnabled { - file_metalstack_io_accounting_api_v1_volume_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_volume_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*Volume); i { case 0: return &v.state @@ -780,7 +780,7 @@ func file_metalstack_io_accounting_api_v1_volume_proto_init() { return nil } } - file_metalstack_io_accounting_api_v1_volume_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_volume_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*VolumeReport); i { case 0: return &v.state @@ -792,7 +792,7 @@ func file_metalstack_io_accounting_api_v1_volume_proto_init() { return nil } } - file_metalstack_io_accounting_api_v1_volume_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_volume_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*VolumeUsageRequest); i { case 0: return &v.state @@ -804,7 +804,7 @@ func file_metalstack_io_accounting_api_v1_volume_proto_init() { return nil } } - file_metalstack_io_accounting_api_v1_volume_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_volume_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*VolumeUsageResponse); i { case 0: return &v.state @@ -816,7 +816,7 @@ func file_metalstack_io_accounting_api_v1_volume_proto_init() { return nil } } - file_metalstack_io_accounting_api_v1_volume_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_volume_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*VolumeUsage); i { case 0: return &v.state @@ -828,7 +828,7 @@ func file_metalstack_io_accounting_api_v1_volume_proto_init() { return nil } } - file_metalstack_io_accounting_api_v1_volume_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_metalstack_io_accounting_api_v1_volume_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*VolumeUsageAccumuluated); i { case 0: return &v.state @@ -841,7 +841,7 @@ func file_metalstack_io_accounting_api_v1_volume_proto_init() { } } } - file_metalstack_io_accounting_api_v1_volume_proto_msgTypes[2].OneofWrappers = []interface{}{} + file_metalstack_io_accounting_api_v1_volume_proto_msgTypes[2].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ diff --git a/proto/Makefile b/proto/Makefile index 5d31a34..afd9993 100644 --- a/proto/Makefile +++ b/proto/Makefile @@ -1,8 +1,19 @@ +MAKEFLAGS += --no-print-directory +BUF_VERSION := 1.32.2 + +_buf: + docker run --rm \ + --entrypoint sh \ + -v $(PWD)/..:/workspace \ + -w /workspace/proto \ + bufbuild/buf:$(BUF_VERSION) \ + -c "buf $(CMD) && chown -R $(shell id -u):$(shell id -g) /workspace" + .PHONY: protolint protolint: - buf format -w metalstack/io/accounting/api/v1 - buf lint -v + @$(MAKE) _buf CMD="format -w" + @$(MAKE) _buf CMD="lint -v" .PHONY: protoc protoc: protolint - buf generate -v \ No newline at end of file + @$(MAKE) _buf CMD="generate -v" \ No newline at end of file diff --git a/proto/buf.gen.yaml b/proto/buf.gen.yaml index bd7d0fd..2edda28 100644 --- a/proto/buf.gen.yaml +++ b/proto/buf.gen.yaml @@ -1,10 +1,7 @@ -version: v1 +version: v2 plugins: - # generate go structs for protocol buffer definition - - plugin: buf.build/protocolbuffers/go:v1.31.0 + - remote: buf.build/protocolbuffers/go:v1.34.2 out: ../ - # generate gRPC stubs in golang - - plugin: buf.build/grpc/go:v1.3.0 + - remote: buf.build/grpc/go:v1.3.0 out: ../ - opt: - - require_unimplemented_servers=false + opt: require_unimplemented_servers=false diff --git a/proto/buf.yaml b/proto/buf.yaml index 748e487..ed6eea6 100644 --- a/proto/buf.yaml +++ b/proto/buf.yaml @@ -1,12 +1,17 @@ -version: v1 -breaking: - use: - - FILE +version: v2 lint: use: - DEFAULT except: - # TODO remove these + - FIELD_NOT_REQUIRED + - PACKAGE_NO_IMPORT_CYCLE - RPC_REQUEST_RESPONSE_UNIQUE - RPC_REQUEST_STANDARD_NAME - - RPC_RESPONSE_STANDARD_NAME \ No newline at end of file + - RPC_RESPONSE_STANDARD_NAME + disallow_comment_ignores: true +breaking: + use: + - FILE + except: + - EXTENSION_NO_DELETE + - FIELD_SAME_DEFAULT diff --git a/test/mocks/v1/ClusterServiceClient.go b/test/mocks/v1/ClusterServiceClient.go index 63ed01a..688ea7c 100644 --- a/test/mocks/v1/ClusterServiceClient.go +++ b/test/mocks/v1/ClusterServiceClient.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.38.0. DO NOT EDIT. +// Code generated by mockery v2.43.2. DO NOT EDIT. package mocks diff --git a/test/mocks/v1/ClusterServiceServer.go b/test/mocks/v1/ClusterServiceServer.go index 6bfe2ff..b615440 100644 --- a/test/mocks/v1/ClusterServiceServer.go +++ b/test/mocks/v1/ClusterServiceServer.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.38.0. DO NOT EDIT. +// Code generated by mockery v2.43.2. DO NOT EDIT. package mocks diff --git a/test/mocks/v1/IPServiceClient.go b/test/mocks/v1/IPServiceClient.go index 8bdbab6..cad19e8 100644 --- a/test/mocks/v1/IPServiceClient.go +++ b/test/mocks/v1/IPServiceClient.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.38.0. DO NOT EDIT. +// Code generated by mockery v2.43.2. DO NOT EDIT. package mocks diff --git a/test/mocks/v1/IPServiceServer.go b/test/mocks/v1/IPServiceServer.go index 3dcb10f..a8415e7 100644 --- a/test/mocks/v1/IPServiceServer.go +++ b/test/mocks/v1/IPServiceServer.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.38.0. DO NOT EDIT. +// Code generated by mockery v2.43.2. DO NOT EDIT. package mocks diff --git a/test/mocks/v1/InfoServiceClient.go b/test/mocks/v1/InfoServiceClient.go index d925237..ce10e9c 100644 --- a/test/mocks/v1/InfoServiceClient.go +++ b/test/mocks/v1/InfoServiceClient.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.38.0. DO NOT EDIT. +// Code generated by mockery v2.43.2. DO NOT EDIT. package mocks diff --git a/test/mocks/v1/InfoServiceServer.go b/test/mocks/v1/InfoServiceServer.go index 8d4f761..82060cd 100644 --- a/test/mocks/v1/InfoServiceServer.go +++ b/test/mocks/v1/InfoServiceServer.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.38.0. DO NOT EDIT. +// Code generated by mockery v2.43.2. DO NOT EDIT. package mocks diff --git a/test/mocks/v1/MachineServiceClient.go b/test/mocks/v1/MachineServiceClient.go index 5bdbca3..e75bbb4 100644 --- a/test/mocks/v1/MachineServiceClient.go +++ b/test/mocks/v1/MachineServiceClient.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.38.0. DO NOT EDIT. +// Code generated by mockery v2.43.2. DO NOT EDIT. package mocks diff --git a/test/mocks/v1/MachineServiceServer.go b/test/mocks/v1/MachineServiceServer.go index 613d190..049b681 100644 --- a/test/mocks/v1/MachineServiceServer.go +++ b/test/mocks/v1/MachineServiceServer.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.38.0. DO NOT EDIT. +// Code generated by mockery v2.43.2. DO NOT EDIT. package mocks diff --git a/test/mocks/v1/NetworkTrafficServiceClient.go b/test/mocks/v1/NetworkTrafficServiceClient.go index e43629c..3b713ed 100644 --- a/test/mocks/v1/NetworkTrafficServiceClient.go +++ b/test/mocks/v1/NetworkTrafficServiceClient.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.38.0. DO NOT EDIT. +// Code generated by mockery v2.43.2. DO NOT EDIT. package mocks diff --git a/test/mocks/v1/NetworkTrafficServiceServer.go b/test/mocks/v1/NetworkTrafficServiceServer.go index 98ae06a..9148f3b 100644 --- a/test/mocks/v1/NetworkTrafficServiceServer.go +++ b/test/mocks/v1/NetworkTrafficServiceServer.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.38.0. DO NOT EDIT. +// Code generated by mockery v2.43.2. DO NOT EDIT. package mocks diff --git a/test/mocks/v1/PodServiceClient.go b/test/mocks/v1/PodServiceClient.go index 99b37fe..60b2223 100644 --- a/test/mocks/v1/PodServiceClient.go +++ b/test/mocks/v1/PodServiceClient.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.38.0. DO NOT EDIT. +// Code generated by mockery v2.43.2. DO NOT EDIT. package mocks diff --git a/test/mocks/v1/PodServiceServer.go b/test/mocks/v1/PodServiceServer.go index 74ce399..9d48094 100644 --- a/test/mocks/v1/PodServiceServer.go +++ b/test/mocks/v1/PodServiceServer.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.38.0. DO NOT EDIT. +// Code generated by mockery v2.43.2. DO NOT EDIT. package mocks diff --git a/test/mocks/v1/PostgresServiceClient.go b/test/mocks/v1/PostgresServiceClient.go index 43db10d..2f9274f 100644 --- a/test/mocks/v1/PostgresServiceClient.go +++ b/test/mocks/v1/PostgresServiceClient.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.38.0. DO NOT EDIT. +// Code generated by mockery v2.43.2. DO NOT EDIT. package mocks diff --git a/test/mocks/v1/PostgresServiceServer.go b/test/mocks/v1/PostgresServiceServer.go index e922fd0..4f3c4d8 100644 --- a/test/mocks/v1/PostgresServiceServer.go +++ b/test/mocks/v1/PostgresServiceServer.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.38.0. DO NOT EDIT. +// Code generated by mockery v2.43.2. DO NOT EDIT. package mocks diff --git a/test/mocks/v1/ProductOptionServiceClient.go b/test/mocks/v1/ProductOptionServiceClient.go index 53b639c..fa6296a 100644 --- a/test/mocks/v1/ProductOptionServiceClient.go +++ b/test/mocks/v1/ProductOptionServiceClient.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.38.0. DO NOT EDIT. +// Code generated by mockery v2.43.2. DO NOT EDIT. package mocks diff --git a/test/mocks/v1/ProductOptionServiceServer.go b/test/mocks/v1/ProductOptionServiceServer.go index 7650631..cf44b91 100644 --- a/test/mocks/v1/ProductOptionServiceServer.go +++ b/test/mocks/v1/ProductOptionServiceServer.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.38.0. DO NOT EDIT. +// Code generated by mockery v2.43.2. DO NOT EDIT. package mocks diff --git a/test/mocks/v1/S3ServiceClient.go b/test/mocks/v1/S3ServiceClient.go index 43e634a..fe0675b 100644 --- a/test/mocks/v1/S3ServiceClient.go +++ b/test/mocks/v1/S3ServiceClient.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.38.0. DO NOT EDIT. +// Code generated by mockery v2.43.2. DO NOT EDIT. package mocks diff --git a/test/mocks/v1/S3ServiceServer.go b/test/mocks/v1/S3ServiceServer.go index b4c3ab5..2369704 100644 --- a/test/mocks/v1/S3ServiceServer.go +++ b/test/mocks/v1/S3ServiceServer.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.38.0. DO NOT EDIT. +// Code generated by mockery v2.43.2. DO NOT EDIT. package mocks diff --git a/test/mocks/v1/UnsafeClusterServiceServer.go b/test/mocks/v1/UnsafeClusterServiceServer.go index 1ccf027..9f83ac0 100644 --- a/test/mocks/v1/UnsafeClusterServiceServer.go +++ b/test/mocks/v1/UnsafeClusterServiceServer.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.38.0. DO NOT EDIT. +// Code generated by mockery v2.43.2. DO NOT EDIT. package mocks diff --git a/test/mocks/v1/UnsafeIPServiceServer.go b/test/mocks/v1/UnsafeIPServiceServer.go index 7ba7e48..3eaa601 100644 --- a/test/mocks/v1/UnsafeIPServiceServer.go +++ b/test/mocks/v1/UnsafeIPServiceServer.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.38.0. DO NOT EDIT. +// Code generated by mockery v2.43.2. DO NOT EDIT. package mocks diff --git a/test/mocks/v1/UnsafeInfoServiceServer.go b/test/mocks/v1/UnsafeInfoServiceServer.go index c1cd66a..437340d 100644 --- a/test/mocks/v1/UnsafeInfoServiceServer.go +++ b/test/mocks/v1/UnsafeInfoServiceServer.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.38.0. DO NOT EDIT. +// Code generated by mockery v2.43.2. DO NOT EDIT. package mocks diff --git a/test/mocks/v1/UnsafeMachineServiceServer.go b/test/mocks/v1/UnsafeMachineServiceServer.go index 951f131..391f81a 100644 --- a/test/mocks/v1/UnsafeMachineServiceServer.go +++ b/test/mocks/v1/UnsafeMachineServiceServer.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.38.0. DO NOT EDIT. +// Code generated by mockery v2.43.2. DO NOT EDIT. package mocks diff --git a/test/mocks/v1/UnsafeNetworkTrafficServiceServer.go b/test/mocks/v1/UnsafeNetworkTrafficServiceServer.go index cfda9b2..c3e4439 100644 --- a/test/mocks/v1/UnsafeNetworkTrafficServiceServer.go +++ b/test/mocks/v1/UnsafeNetworkTrafficServiceServer.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.38.0. DO NOT EDIT. +// Code generated by mockery v2.43.2. DO NOT EDIT. package mocks diff --git a/test/mocks/v1/UnsafePodServiceServer.go b/test/mocks/v1/UnsafePodServiceServer.go index f203fd6..346883d 100644 --- a/test/mocks/v1/UnsafePodServiceServer.go +++ b/test/mocks/v1/UnsafePodServiceServer.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.38.0. DO NOT EDIT. +// Code generated by mockery v2.43.2. DO NOT EDIT. package mocks diff --git a/test/mocks/v1/UnsafePostgresServiceServer.go b/test/mocks/v1/UnsafePostgresServiceServer.go index fea6abf..e0f1c8f 100644 --- a/test/mocks/v1/UnsafePostgresServiceServer.go +++ b/test/mocks/v1/UnsafePostgresServiceServer.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.38.0. DO NOT EDIT. +// Code generated by mockery v2.43.2. DO NOT EDIT. package mocks diff --git a/test/mocks/v1/UnsafeProductOptionServiceServer.go b/test/mocks/v1/UnsafeProductOptionServiceServer.go index 4e7118b..87dd28b 100644 --- a/test/mocks/v1/UnsafeProductOptionServiceServer.go +++ b/test/mocks/v1/UnsafeProductOptionServiceServer.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.38.0. DO NOT EDIT. +// Code generated by mockery v2.43.2. DO NOT EDIT. package mocks diff --git a/test/mocks/v1/UnsafeS3ServiceServer.go b/test/mocks/v1/UnsafeS3ServiceServer.go index ee7461d..aaa8a07 100644 --- a/test/mocks/v1/UnsafeS3ServiceServer.go +++ b/test/mocks/v1/UnsafeS3ServiceServer.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.38.0. DO NOT EDIT. +// Code generated by mockery v2.43.2. DO NOT EDIT. package mocks diff --git a/test/mocks/v1/UnsafeVolumeServiceServer.go b/test/mocks/v1/UnsafeVolumeServiceServer.go index 054c161..e087457 100644 --- a/test/mocks/v1/UnsafeVolumeServiceServer.go +++ b/test/mocks/v1/UnsafeVolumeServiceServer.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.38.0. DO NOT EDIT. +// Code generated by mockery v2.43.2. DO NOT EDIT. package mocks diff --git a/test/mocks/v1/VolumeServiceClient.go b/test/mocks/v1/VolumeServiceClient.go index d5802b8..9230098 100644 --- a/test/mocks/v1/VolumeServiceClient.go +++ b/test/mocks/v1/VolumeServiceClient.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.38.0. DO NOT EDIT. +// Code generated by mockery v2.43.2. DO NOT EDIT. package mocks diff --git a/test/mocks/v1/VolumeServiceServer.go b/test/mocks/v1/VolumeServiceServer.go index 25a4373..4c56fe7 100644 --- a/test/mocks/v1/VolumeServiceServer.go +++ b/test/mocks/v1/VolumeServiceServer.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.38.0. DO NOT EDIT. +// Code generated by mockery v2.43.2. DO NOT EDIT. package mocks