From 572d0d7db8edb4a62192dffa97a330686c8030ce Mon Sep 17 00:00:00 2001 From: Marat Reymers <16486128+maratori@users.noreply.github.com> Date: Tue, 10 Dec 2024 11:54:29 +0100 Subject: [PATCH] Move `fieldmask` package to `proto` dir (#38) --- .golangci.yml | 6 +++--- {fieldmask => proto/fieldmask}/grpcheader/common.go | 2 +- {fieldmask => proto/fieldmask}/grpcheader/common_test.go | 2 +- {fieldmask => proto/fieldmask}/grpcheader/resetmask.go | 4 ++-- {fieldmask => proto/fieldmask}/grpcheader/resetmask_test.go | 4 ++-- {fieldmask => proto/fieldmask}/grpcheader/selectmask.go | 2 +- .../fieldmask}/grpcheader/selectmask_test.go | 2 +- {fieldmask => proto/fieldmask}/mask/fieldkey.go | 0 {fieldmask => proto/fieldmask}/mask/fieldkey_test.go | 0 {fieldmask => proto/fieldmask}/mask/fieldpath.go | 0 {fieldmask => proto/fieldmask}/mask/fieldpath_test.go | 0 {fieldmask => proto/fieldmask}/mask/mask.go | 0 {fieldmask => proto/fieldmask}/mask/mask_test.go | 0 {fieldmask => proto/fieldmask}/mask/parse.go | 0 {fieldmask => proto/fieldmask}/mask/parse_test.go | 0 {fieldmask => proto/fieldmask}/protobuf/filter.go | 2 +- {fieldmask => proto/fieldmask}/protobuf/filter_test.go | 4 ++-- {fieldmask => proto/fieldmask}/protobuf/from_descriptor.go | 2 +- .../fieldmask}/protobuf/from_descriptor_test.go | 2 +- {fieldmask => proto/fieldmask}/protobuf/from_message.go | 2 +- .../fieldmask}/protobuf/from_message_test.go | 2 +- {fieldmask => proto/fieldmask}/protobuf/from_modified.go | 2 +- .../fieldmask}/protobuf/from_modified_test.go | 2 +- {fieldmask => proto/fieldmask}/protobuf/manipulate.go | 2 +- {fieldmask => proto/fieldmask}/protobuf/manipulate_test.go | 4 ++-- {fieldmask => proto/fieldmask}/protobuf/patch.go | 2 +- {fieldmask => proto/fieldmask}/protobuf/patch_test.go | 4 ++-- .../fieldmask}/protobuf/testdata/data_for_test.pb.go | 2 +- .../fieldmask}/protobuf/testdata/data_for_test.proto | 0 services/nebius/compute/v1/disk_service.sdk.go | 2 +- services/nebius/compute/v1/filesystem_service.sdk.go | 2 +- services/nebius/compute/v1/gpu_cluster_service.sdk.go | 2 +- services/nebius/compute/v1/instance_service.sdk.go | 2 +- services/nebius/compute/v1alpha1/disk_service.sdk.go | 2 +- services/nebius/compute/v1alpha1/filesystem_service.sdk.go | 2 +- services/nebius/compute/v1alpha1/gpu_cluster_service.sdk.go | 2 +- services/nebius/compute/v1alpha1/instance_service.sdk.go | 2 +- services/nebius/iam/v1/access_key_service.sdk.go | 2 +- services/nebius/iam/v1/auth_public_key_service.sdk.go | 2 +- .../nebius/iam/v1/federation_certificate_service.sdk.go | 2 +- services/nebius/iam/v1/federation_service.sdk.go | 2 +- services/nebius/iam/v1/invitation_service.sdk.go | 2 +- services/nebius/iam/v1/service_account_service.sdk.go | 2 +- services/nebius/mk8s/v1/cluster_service.sdk.go | 2 +- services/nebius/mk8s/v1/node_group_service.sdk.go | 2 +- services/nebius/mk8s/v1alpha1/cluster_service.sdk.go | 2 +- services/nebius/mk8s/v1alpha1/node_group_service.sdk.go | 2 +- .../nebius/msp/postgresql/v1alpha1/cluster_service.sdk.go | 2 +- services/nebius/msp/spark/v1alpha1/cluster_service.sdk.go | 2 +- services/nebius/registry/v1/registry_service.sdk.go | 2 +- services/nebius/storage/v1/bucket_service.sdk.go | 2 +- services/nebius/vpc/v1/allocation_service.sdk.go | 2 +- services/nebius/vpc/v1/pool_service.sdk.go | 2 +- services/nebius/vpc/v1alpha1/allocation_service.sdk.go | 2 +- 54 files changed, 52 insertions(+), 52 deletions(-) rename {fieldmask => proto/fieldmask}/grpcheader/common.go (98%) rename {fieldmask => proto/fieldmask}/grpcheader/common_test.go (99%) rename {fieldmask => proto/fieldmask}/grpcheader/resetmask.go (97%) rename {fieldmask => proto/fieldmask}/grpcheader/resetmask_test.go (98%) rename {fieldmask => proto/fieldmask}/grpcheader/selectmask.go (97%) rename {fieldmask => proto/fieldmask}/grpcheader/selectmask_test.go (98%) rename {fieldmask => proto/fieldmask}/mask/fieldkey.go (100%) rename {fieldmask => proto/fieldmask}/mask/fieldkey_test.go (100%) rename {fieldmask => proto/fieldmask}/mask/fieldpath.go (100%) rename {fieldmask => proto/fieldmask}/mask/fieldpath_test.go (100%) rename {fieldmask => proto/fieldmask}/mask/mask.go (100%) rename {fieldmask => proto/fieldmask}/mask/mask_test.go (100%) rename {fieldmask => proto/fieldmask}/mask/parse.go (100%) rename {fieldmask => proto/fieldmask}/mask/parse_test.go (100%) rename {fieldmask => proto/fieldmask}/protobuf/filter.go (99%) rename {fieldmask => proto/fieldmask}/protobuf/filter_test.go (99%) rename {fieldmask => proto/fieldmask}/protobuf/from_descriptor.go (98%) rename {fieldmask => proto/fieldmask}/protobuf/from_descriptor_test.go (98%) rename {fieldmask => proto/fieldmask}/protobuf/from_message.go (98%) rename {fieldmask => proto/fieldmask}/protobuf/from_message_test.go (99%) rename {fieldmask => proto/fieldmask}/protobuf/from_modified.go (99%) rename {fieldmask => proto/fieldmask}/protobuf/from_modified_test.go (99%) rename {fieldmask => proto/fieldmask}/protobuf/manipulate.go (99%) rename {fieldmask => proto/fieldmask}/protobuf/manipulate_test.go (99%) rename {fieldmask => proto/fieldmask}/protobuf/patch.go (99%) rename {fieldmask => proto/fieldmask}/protobuf/patch_test.go (99%) rename {fieldmask => proto/fieldmask}/protobuf/testdata/data_for_test.pb.go (99%) rename {fieldmask => proto/fieldmask}/protobuf/testdata/data_for_test.proto (100%) diff --git a/.golangci.yml b/.golangci.yml index 62ca5fc..475a4f2 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -360,10 +360,10 @@ issues: - wrapcheck ## specific to gosdk - - path: "^fieldmask" + - path: "^proto/fieldmask" linters: - nestif - - path: "^fieldmask/.+_test.go" + - path: "^proto/fieldmask/.+_test.go" linters: - lll - path: "^example_test.go$" @@ -371,7 +371,7 @@ issues: - testableexamples - path: "operations/alphaops" text: "SA1019: .+ is deprecated" - - path: "fieldmask" + - path: "^proto/fieldmask" linters: - nilnil # TODO: fix or ignore - recvcheck # TODO: fix or ignore diff --git a/fieldmask/grpcheader/common.go b/proto/fieldmask/grpcheader/common.go similarity index 98% rename from fieldmask/grpcheader/common.go rename to proto/fieldmask/grpcheader/common.go index 12aa172..d0c77a8 100644 --- a/fieldmask/grpcheader/common.go +++ b/proto/fieldmask/grpcheader/common.go @@ -7,7 +7,7 @@ import ( "google.golang.org/grpc/metadata" - "github.com/nebius/gosdk/fieldmask/mask" + "github.com/nebius/gosdk/proto/fieldmask/mask" ) // IsInOutgoingContext checks if a metadata key (grpc header) exists in the diff --git a/fieldmask/grpcheader/common_test.go b/proto/fieldmask/grpcheader/common_test.go similarity index 99% rename from fieldmask/grpcheader/common_test.go rename to proto/fieldmask/grpcheader/common_test.go index 6cfe13a..87d4bb1 100644 --- a/fieldmask/grpcheader/common_test.go +++ b/proto/fieldmask/grpcheader/common_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/assert" "google.golang.org/grpc/metadata" - "github.com/nebius/gosdk/fieldmask/mask" + "github.com/nebius/gosdk/proto/fieldmask/mask" ) func TestIsInOutgoingContext(t *testing.T) { diff --git a/fieldmask/grpcheader/resetmask.go b/proto/fieldmask/grpcheader/resetmask.go similarity index 97% rename from fieldmask/grpcheader/resetmask.go rename to proto/fieldmask/grpcheader/resetmask.go index 7b0bc4b..6e6fdb8 100644 --- a/fieldmask/grpcheader/resetmask.go +++ b/proto/fieldmask/grpcheader/resetmask.go @@ -6,8 +6,8 @@ import ( "google.golang.org/protobuf/proto" - "github.com/nebius/gosdk/fieldmask/mask" - "github.com/nebius/gosdk/fieldmask/protobuf" + "github.com/nebius/gosdk/proto/fieldmask/mask" + "github.com/nebius/gosdk/proto/fieldmask/protobuf" ) // ResetMask is the gRPC header name where the reset mask will be added. diff --git a/fieldmask/grpcheader/resetmask_test.go b/proto/fieldmask/grpcheader/resetmask_test.go similarity index 98% rename from fieldmask/grpcheader/resetmask_test.go rename to proto/fieldmask/grpcheader/resetmask_test.go index 092721e..b1b0f32 100644 --- a/fieldmask/grpcheader/resetmask_test.go +++ b/proto/fieldmask/grpcheader/resetmask_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/assert" "google.golang.org/grpc/metadata" - "github.com/nebius/gosdk/fieldmask/mask" - "github.com/nebius/gosdk/fieldmask/protobuf/testdata" + "github.com/nebius/gosdk/proto/fieldmask/mask" + "github.com/nebius/gosdk/proto/fieldmask/protobuf/testdata" ) func TestIsResetMaskInOutgoingContext(t *testing.T) { diff --git a/fieldmask/grpcheader/selectmask.go b/proto/fieldmask/grpcheader/selectmask.go similarity index 97% rename from fieldmask/grpcheader/selectmask.go rename to proto/fieldmask/grpcheader/selectmask.go index dc3209d..a0a1dc0 100644 --- a/fieldmask/grpcheader/selectmask.go +++ b/proto/fieldmask/grpcheader/selectmask.go @@ -3,7 +3,7 @@ package grpcheader import ( "context" - "github.com/nebius/gosdk/fieldmask/mask" + "github.com/nebius/gosdk/proto/fieldmask/mask" ) // SelectMask is the gRPC header name where the select mask will be added. diff --git a/fieldmask/grpcheader/selectmask_test.go b/proto/fieldmask/grpcheader/selectmask_test.go similarity index 98% rename from fieldmask/grpcheader/selectmask_test.go rename to proto/fieldmask/grpcheader/selectmask_test.go index 0f4e410..5821500 100644 --- a/fieldmask/grpcheader/selectmask_test.go +++ b/proto/fieldmask/grpcheader/selectmask_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/assert" "google.golang.org/grpc/metadata" - "github.com/nebius/gosdk/fieldmask/mask" + "github.com/nebius/gosdk/proto/fieldmask/mask" ) func TestIsSelectMaskInOutgoingContext(t *testing.T) { diff --git a/fieldmask/mask/fieldkey.go b/proto/fieldmask/mask/fieldkey.go similarity index 100% rename from fieldmask/mask/fieldkey.go rename to proto/fieldmask/mask/fieldkey.go diff --git a/fieldmask/mask/fieldkey_test.go b/proto/fieldmask/mask/fieldkey_test.go similarity index 100% rename from fieldmask/mask/fieldkey_test.go rename to proto/fieldmask/mask/fieldkey_test.go diff --git a/fieldmask/mask/fieldpath.go b/proto/fieldmask/mask/fieldpath.go similarity index 100% rename from fieldmask/mask/fieldpath.go rename to proto/fieldmask/mask/fieldpath.go diff --git a/fieldmask/mask/fieldpath_test.go b/proto/fieldmask/mask/fieldpath_test.go similarity index 100% rename from fieldmask/mask/fieldpath_test.go rename to proto/fieldmask/mask/fieldpath_test.go diff --git a/fieldmask/mask/mask.go b/proto/fieldmask/mask/mask.go similarity index 100% rename from fieldmask/mask/mask.go rename to proto/fieldmask/mask/mask.go diff --git a/fieldmask/mask/mask_test.go b/proto/fieldmask/mask/mask_test.go similarity index 100% rename from fieldmask/mask/mask_test.go rename to proto/fieldmask/mask/mask_test.go diff --git a/fieldmask/mask/parse.go b/proto/fieldmask/mask/parse.go similarity index 100% rename from fieldmask/mask/parse.go rename to proto/fieldmask/mask/parse.go diff --git a/fieldmask/mask/parse_test.go b/proto/fieldmask/mask/parse_test.go similarity index 100% rename from fieldmask/mask/parse_test.go rename to proto/fieldmask/mask/parse_test.go diff --git a/fieldmask/protobuf/filter.go b/proto/fieldmask/protobuf/filter.go similarity index 99% rename from fieldmask/protobuf/filter.go rename to proto/fieldmask/protobuf/filter.go index b2cc1a3..b7973c5 100644 --- a/fieldmask/protobuf/filter.go +++ b/proto/fieldmask/protobuf/filter.go @@ -7,7 +7,7 @@ import ( "google.golang.org/protobuf/proto" "google.golang.org/protobuf/reflect/protoreflect" - "github.com/nebius/gosdk/fieldmask/mask" + "github.com/nebius/gosdk/proto/fieldmask/mask" ) func recursiveFilterListWithSelectMask( //nolint:gocognit diff --git a/fieldmask/protobuf/filter_test.go b/proto/fieldmask/protobuf/filter_test.go similarity index 99% rename from fieldmask/protobuf/filter_test.go rename to proto/fieldmask/protobuf/filter_test.go index 232a22e..c18ecb0 100644 --- a/fieldmask/protobuf/filter_test.go +++ b/proto/fieldmask/protobuf/filter_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/assert" "google.golang.org/protobuf/proto" - "github.com/nebius/gosdk/fieldmask/mask" - "github.com/nebius/gosdk/fieldmask/protobuf/testdata" + "github.com/nebius/gosdk/proto/fieldmask/mask" + "github.com/nebius/gosdk/proto/fieldmask/protobuf/testdata" ) func TestFilterWithSelectMask(t *testing.T) { diff --git a/fieldmask/protobuf/from_descriptor.go b/proto/fieldmask/protobuf/from_descriptor.go similarity index 98% rename from fieldmask/protobuf/from_descriptor.go rename to proto/fieldmask/protobuf/from_descriptor.go index d56cf83..462e23c 100644 --- a/fieldmask/protobuf/from_descriptor.go +++ b/proto/fieldmask/protobuf/from_descriptor.go @@ -6,7 +6,7 @@ import ( "google.golang.org/protobuf/proto" "google.golang.org/protobuf/reflect/protoreflect" - "github.com/nebius/gosdk/fieldmask/mask" + "github.com/nebius/gosdk/proto/fieldmask/mask" ) const recursionTooDeep = 1000 diff --git a/fieldmask/protobuf/from_descriptor_test.go b/proto/fieldmask/protobuf/from_descriptor_test.go similarity index 98% rename from fieldmask/protobuf/from_descriptor_test.go rename to proto/fieldmask/protobuf/from_descriptor_test.go index 27e946f..d43b376 100644 --- a/fieldmask/protobuf/from_descriptor_test.go +++ b/proto/fieldmask/protobuf/from_descriptor_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/assert" "google.golang.org/protobuf/proto" - "github.com/nebius/gosdk/fieldmask/protobuf/testdata" + "github.com/nebius/gosdk/proto/fieldmask/protobuf/testdata" ) func TestKnownFieldsFromMessage(t *testing.T) { diff --git a/fieldmask/protobuf/from_message.go b/proto/fieldmask/protobuf/from_message.go similarity index 98% rename from fieldmask/protobuf/from_message.go rename to proto/fieldmask/protobuf/from_message.go index 2d5c1d6..8aa7541 100644 --- a/fieldmask/protobuf/from_message.go +++ b/proto/fieldmask/protobuf/from_message.go @@ -6,7 +6,7 @@ import ( "google.golang.org/protobuf/proto" "google.golang.org/protobuf/reflect/protoreflect" - "github.com/nebius/gosdk/fieldmask/mask" + "github.com/nebius/gosdk/proto/fieldmask/mask" ) func rmFromMessageRecursive( //nolint:gocognit // TODO: simplify diff --git a/fieldmask/protobuf/from_message_test.go b/proto/fieldmask/protobuf/from_message_test.go similarity index 99% rename from fieldmask/protobuf/from_message_test.go rename to proto/fieldmask/protobuf/from_message_test.go index a9fa316..21d09db 100644 --- a/fieldmask/protobuf/from_message_test.go +++ b/proto/fieldmask/protobuf/from_message_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/assert" "google.golang.org/protobuf/proto" - "github.com/nebius/gosdk/fieldmask/protobuf/testdata" + "github.com/nebius/gosdk/proto/fieldmask/protobuf/testdata" ) func TestResetMaskFromMessage(t *testing.T) { diff --git a/fieldmask/protobuf/from_modified.go b/proto/fieldmask/protobuf/from_modified.go similarity index 99% rename from fieldmask/protobuf/from_modified.go rename to proto/fieldmask/protobuf/from_modified.go index a1ec328..1ca64f9 100644 --- a/fieldmask/protobuf/from_modified.go +++ b/proto/fieldmask/protobuf/from_modified.go @@ -8,7 +8,7 @@ import ( "google.golang.org/protobuf/proto" "google.golang.org/protobuf/reflect/protoreflect" - "github.com/nebius/gosdk/fieldmask/mask" + "github.com/nebius/gosdk/proto/fieldmask/mask" ) func rmFrom2ListsRecursive( diff --git a/fieldmask/protobuf/from_modified_test.go b/proto/fieldmask/protobuf/from_modified_test.go similarity index 99% rename from fieldmask/protobuf/from_modified_test.go rename to proto/fieldmask/protobuf/from_modified_test.go index 9265b38..5bae39e 100644 --- a/fieldmask/protobuf/from_modified_test.go +++ b/proto/fieldmask/protobuf/from_modified_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/assert" "google.golang.org/protobuf/proto" - "github.com/nebius/gosdk/fieldmask/protobuf/testdata" + "github.com/nebius/gosdk/proto/fieldmask/protobuf/testdata" ) func TestResetMaskFromModified(t *testing.T) { diff --git a/fieldmask/protobuf/manipulate.go b/proto/fieldmask/protobuf/manipulate.go similarity index 99% rename from fieldmask/protobuf/manipulate.go rename to proto/fieldmask/protobuf/manipulate.go index 40e1887..1e86313 100644 --- a/fieldmask/protobuf/manipulate.go +++ b/proto/fieldmask/protobuf/manipulate.go @@ -9,7 +9,7 @@ import ( "google.golang.org/protobuf/proto" "google.golang.org/protobuf/reflect/protoreflect" - "github.com/nebius/gosdk/fieldmask/mask" + "github.com/nebius/gosdk/proto/fieldmask/mask" ) var ErrBasicTypeInTheMiddle = errors.New("found basic type in the middle of the path, can't descend deeper") diff --git a/fieldmask/protobuf/manipulate_test.go b/proto/fieldmask/protobuf/manipulate_test.go similarity index 99% rename from fieldmask/protobuf/manipulate_test.go rename to proto/fieldmask/protobuf/manipulate_test.go index 4f27d0e..360bfa7 100644 --- a/fieldmask/protobuf/manipulate_test.go +++ b/proto/fieldmask/protobuf/manipulate_test.go @@ -12,8 +12,8 @@ import ( "google.golang.org/protobuf/proto" "google.golang.org/protobuf/reflect/protoreflect" - "github.com/nebius/gosdk/fieldmask/mask" - "github.com/nebius/gosdk/fieldmask/protobuf/testdata" + "github.com/nebius/gosdk/proto/fieldmask/mask" + "github.com/nebius/gosdk/proto/fieldmask/protobuf/testdata" ) func TestGetAtFieldPath(t *testing.T) { diff --git a/fieldmask/protobuf/patch.go b/proto/fieldmask/protobuf/patch.go similarity index 99% rename from fieldmask/protobuf/patch.go rename to proto/fieldmask/protobuf/patch.go index 62058a0..e07c72c 100644 --- a/fieldmask/protobuf/patch.go +++ b/proto/fieldmask/protobuf/patch.go @@ -8,7 +8,7 @@ import ( "google.golang.org/protobuf/proto" "google.golang.org/protobuf/reflect/protoreflect" - "github.com/nebius/gosdk/fieldmask/mask" + "github.com/nebius/gosdk/proto/fieldmask/mask" "github.com/nebius/gosdk/proto/nebius" ) diff --git a/fieldmask/protobuf/patch_test.go b/proto/fieldmask/protobuf/patch_test.go similarity index 99% rename from fieldmask/protobuf/patch_test.go rename to proto/fieldmask/protobuf/patch_test.go index 6ec8e26..3cdc196 100644 --- a/fieldmask/protobuf/patch_test.go +++ b/proto/fieldmask/protobuf/patch_test.go @@ -9,8 +9,8 @@ import ( "google.golang.org/protobuf/encoding/protojson" "google.golang.org/protobuf/proto" - "github.com/nebius/gosdk/fieldmask/mask" - "github.com/nebius/gosdk/fieldmask/protobuf/testdata" + "github.com/nebius/gosdk/proto/fieldmask/mask" + "github.com/nebius/gosdk/proto/fieldmask/protobuf/testdata" ) func TestPatchWithResetMask(t *testing.T) { diff --git a/fieldmask/protobuf/testdata/data_for_test.pb.go b/proto/fieldmask/protobuf/testdata/data_for_test.pb.go similarity index 99% rename from fieldmask/protobuf/testdata/data_for_test.pb.go rename to proto/fieldmask/protobuf/testdata/data_for_test.pb.go index 528e017..30b873f 100644 --- a/fieldmask/protobuf/testdata/data_for_test.pb.go +++ b/proto/fieldmask/protobuf/testdata/data_for_test.pb.go @@ -2,7 +2,7 @@ // versions: // protoc-gen-go v1.35.2 // protoc v4.25.1 -// source: api/tools/public/gosdk/fieldmask/protobuf/testdata/data_for_test.proto +// source: api/tools/public/gosdk/proto/fieldmask/protobuf/testdata/data_for_test.proto package testdata diff --git a/fieldmask/protobuf/testdata/data_for_test.proto b/proto/fieldmask/protobuf/testdata/data_for_test.proto similarity index 100% rename from fieldmask/protobuf/testdata/data_for_test.proto rename to proto/fieldmask/protobuf/testdata/data_for_test.proto diff --git a/services/nebius/compute/v1/disk_service.sdk.go b/services/nebius/compute/v1/disk_service.sdk.go index cc5d4e1..01ef722 100644 --- a/services/nebius/compute/v1/disk_service.sdk.go +++ b/services/nebius/compute/v1/disk_service.sdk.go @@ -5,10 +5,10 @@ package v1 import ( context "context" conn "github.com/nebius/gosdk/conn" - grpcheader "github.com/nebius/gosdk/fieldmask/grpcheader" iface "github.com/nebius/gosdk/internal/iface" iter "github.com/nebius/gosdk/iter" operations "github.com/nebius/gosdk/operations" + grpcheader "github.com/nebius/gosdk/proto/fieldmask/grpcheader" v11 "github.com/nebius/gosdk/proto/nebius/common/v1" v1 "github.com/nebius/gosdk/proto/nebius/compute/v1" grpc "google.golang.org/grpc" diff --git a/services/nebius/compute/v1/filesystem_service.sdk.go b/services/nebius/compute/v1/filesystem_service.sdk.go index e6443ab..7cd647a 100644 --- a/services/nebius/compute/v1/filesystem_service.sdk.go +++ b/services/nebius/compute/v1/filesystem_service.sdk.go @@ -5,10 +5,10 @@ package v1 import ( context "context" conn "github.com/nebius/gosdk/conn" - grpcheader "github.com/nebius/gosdk/fieldmask/grpcheader" iface "github.com/nebius/gosdk/internal/iface" iter "github.com/nebius/gosdk/iter" operations "github.com/nebius/gosdk/operations" + grpcheader "github.com/nebius/gosdk/proto/fieldmask/grpcheader" v11 "github.com/nebius/gosdk/proto/nebius/common/v1" v1 "github.com/nebius/gosdk/proto/nebius/compute/v1" grpc "google.golang.org/grpc" diff --git a/services/nebius/compute/v1/gpu_cluster_service.sdk.go b/services/nebius/compute/v1/gpu_cluster_service.sdk.go index 3f5d080..e054f7a 100644 --- a/services/nebius/compute/v1/gpu_cluster_service.sdk.go +++ b/services/nebius/compute/v1/gpu_cluster_service.sdk.go @@ -5,10 +5,10 @@ package v1 import ( context "context" conn "github.com/nebius/gosdk/conn" - grpcheader "github.com/nebius/gosdk/fieldmask/grpcheader" iface "github.com/nebius/gosdk/internal/iface" iter "github.com/nebius/gosdk/iter" operations "github.com/nebius/gosdk/operations" + grpcheader "github.com/nebius/gosdk/proto/fieldmask/grpcheader" v11 "github.com/nebius/gosdk/proto/nebius/common/v1" v1 "github.com/nebius/gosdk/proto/nebius/compute/v1" grpc "google.golang.org/grpc" diff --git a/services/nebius/compute/v1/instance_service.sdk.go b/services/nebius/compute/v1/instance_service.sdk.go index e0b61b2..5327c68 100644 --- a/services/nebius/compute/v1/instance_service.sdk.go +++ b/services/nebius/compute/v1/instance_service.sdk.go @@ -5,10 +5,10 @@ package v1 import ( context "context" conn "github.com/nebius/gosdk/conn" - grpcheader "github.com/nebius/gosdk/fieldmask/grpcheader" iface "github.com/nebius/gosdk/internal/iface" iter "github.com/nebius/gosdk/iter" operations "github.com/nebius/gosdk/operations" + grpcheader "github.com/nebius/gosdk/proto/fieldmask/grpcheader" v11 "github.com/nebius/gosdk/proto/nebius/common/v1" v1 "github.com/nebius/gosdk/proto/nebius/compute/v1" grpc "google.golang.org/grpc" diff --git a/services/nebius/compute/v1alpha1/disk_service.sdk.go b/services/nebius/compute/v1alpha1/disk_service.sdk.go index 5a3e1d4..257401a 100644 --- a/services/nebius/compute/v1alpha1/disk_service.sdk.go +++ b/services/nebius/compute/v1alpha1/disk_service.sdk.go @@ -5,10 +5,10 @@ package v1alpha1 import ( context "context" conn "github.com/nebius/gosdk/conn" - grpcheader "github.com/nebius/gosdk/fieldmask/grpcheader" iface "github.com/nebius/gosdk/internal/iface" iter "github.com/nebius/gosdk/iter" alphaops "github.com/nebius/gosdk/operations/alphaops" + grpcheader "github.com/nebius/gosdk/proto/fieldmask/grpcheader" v1 "github.com/nebius/gosdk/proto/nebius/common/v1" v1alpha11 "github.com/nebius/gosdk/proto/nebius/common/v1alpha1" v1alpha1 "github.com/nebius/gosdk/proto/nebius/compute/v1alpha1" diff --git a/services/nebius/compute/v1alpha1/filesystem_service.sdk.go b/services/nebius/compute/v1alpha1/filesystem_service.sdk.go index 6b4f296..9f81062 100644 --- a/services/nebius/compute/v1alpha1/filesystem_service.sdk.go +++ b/services/nebius/compute/v1alpha1/filesystem_service.sdk.go @@ -5,10 +5,10 @@ package v1alpha1 import ( context "context" conn "github.com/nebius/gosdk/conn" - grpcheader "github.com/nebius/gosdk/fieldmask/grpcheader" iface "github.com/nebius/gosdk/internal/iface" iter "github.com/nebius/gosdk/iter" alphaops "github.com/nebius/gosdk/operations/alphaops" + grpcheader "github.com/nebius/gosdk/proto/fieldmask/grpcheader" v1 "github.com/nebius/gosdk/proto/nebius/common/v1" v1alpha11 "github.com/nebius/gosdk/proto/nebius/common/v1alpha1" v1alpha1 "github.com/nebius/gosdk/proto/nebius/compute/v1alpha1" diff --git a/services/nebius/compute/v1alpha1/gpu_cluster_service.sdk.go b/services/nebius/compute/v1alpha1/gpu_cluster_service.sdk.go index 42fc844..9e1b907 100644 --- a/services/nebius/compute/v1alpha1/gpu_cluster_service.sdk.go +++ b/services/nebius/compute/v1alpha1/gpu_cluster_service.sdk.go @@ -5,10 +5,10 @@ package v1alpha1 import ( context "context" conn "github.com/nebius/gosdk/conn" - grpcheader "github.com/nebius/gosdk/fieldmask/grpcheader" iface "github.com/nebius/gosdk/internal/iface" iter "github.com/nebius/gosdk/iter" alphaops "github.com/nebius/gosdk/operations/alphaops" + grpcheader "github.com/nebius/gosdk/proto/fieldmask/grpcheader" v1 "github.com/nebius/gosdk/proto/nebius/common/v1" v1alpha11 "github.com/nebius/gosdk/proto/nebius/common/v1alpha1" v1alpha1 "github.com/nebius/gosdk/proto/nebius/compute/v1alpha1" diff --git a/services/nebius/compute/v1alpha1/instance_service.sdk.go b/services/nebius/compute/v1alpha1/instance_service.sdk.go index e6194ab..843189e 100644 --- a/services/nebius/compute/v1alpha1/instance_service.sdk.go +++ b/services/nebius/compute/v1alpha1/instance_service.sdk.go @@ -5,10 +5,10 @@ package v1alpha1 import ( context "context" conn "github.com/nebius/gosdk/conn" - grpcheader "github.com/nebius/gosdk/fieldmask/grpcheader" iface "github.com/nebius/gosdk/internal/iface" iter "github.com/nebius/gosdk/iter" alphaops "github.com/nebius/gosdk/operations/alphaops" + grpcheader "github.com/nebius/gosdk/proto/fieldmask/grpcheader" v1 "github.com/nebius/gosdk/proto/nebius/common/v1" v1alpha11 "github.com/nebius/gosdk/proto/nebius/common/v1alpha1" v1alpha1 "github.com/nebius/gosdk/proto/nebius/compute/v1alpha1" diff --git a/services/nebius/iam/v1/access_key_service.sdk.go b/services/nebius/iam/v1/access_key_service.sdk.go index d91ec89..061e65f 100644 --- a/services/nebius/iam/v1/access_key_service.sdk.go +++ b/services/nebius/iam/v1/access_key_service.sdk.go @@ -5,10 +5,10 @@ package v1 import ( context "context" conn "github.com/nebius/gosdk/conn" - grpcheader "github.com/nebius/gosdk/fieldmask/grpcheader" iface "github.com/nebius/gosdk/internal/iface" iter "github.com/nebius/gosdk/iter" operations "github.com/nebius/gosdk/operations" + grpcheader "github.com/nebius/gosdk/proto/fieldmask/grpcheader" v11 "github.com/nebius/gosdk/proto/nebius/common/v1" v1 "github.com/nebius/gosdk/proto/nebius/iam/v1" grpc "google.golang.org/grpc" diff --git a/services/nebius/iam/v1/auth_public_key_service.sdk.go b/services/nebius/iam/v1/auth_public_key_service.sdk.go index 4b0023e..ffdaeba 100644 --- a/services/nebius/iam/v1/auth_public_key_service.sdk.go +++ b/services/nebius/iam/v1/auth_public_key_service.sdk.go @@ -5,10 +5,10 @@ package v1 import ( context "context" conn "github.com/nebius/gosdk/conn" - grpcheader "github.com/nebius/gosdk/fieldmask/grpcheader" iface "github.com/nebius/gosdk/internal/iface" iter "github.com/nebius/gosdk/iter" operations "github.com/nebius/gosdk/operations" + grpcheader "github.com/nebius/gosdk/proto/fieldmask/grpcheader" v11 "github.com/nebius/gosdk/proto/nebius/common/v1" v1 "github.com/nebius/gosdk/proto/nebius/iam/v1" grpc "google.golang.org/grpc" diff --git a/services/nebius/iam/v1/federation_certificate_service.sdk.go b/services/nebius/iam/v1/federation_certificate_service.sdk.go index 3f132f3..4e37c8d 100644 --- a/services/nebius/iam/v1/federation_certificate_service.sdk.go +++ b/services/nebius/iam/v1/federation_certificate_service.sdk.go @@ -5,9 +5,9 @@ package v1 import ( context "context" conn "github.com/nebius/gosdk/conn" - grpcheader "github.com/nebius/gosdk/fieldmask/grpcheader" iface "github.com/nebius/gosdk/internal/iface" operations "github.com/nebius/gosdk/operations" + grpcheader "github.com/nebius/gosdk/proto/fieldmask/grpcheader" v11 "github.com/nebius/gosdk/proto/nebius/common/v1" v1 "github.com/nebius/gosdk/proto/nebius/iam/v1" grpc "google.golang.org/grpc" diff --git a/services/nebius/iam/v1/federation_service.sdk.go b/services/nebius/iam/v1/federation_service.sdk.go index 02f584f..ba4479b 100644 --- a/services/nebius/iam/v1/federation_service.sdk.go +++ b/services/nebius/iam/v1/federation_service.sdk.go @@ -5,10 +5,10 @@ package v1 import ( context "context" conn "github.com/nebius/gosdk/conn" - grpcheader "github.com/nebius/gosdk/fieldmask/grpcheader" iface "github.com/nebius/gosdk/internal/iface" iter "github.com/nebius/gosdk/iter" operations "github.com/nebius/gosdk/operations" + grpcheader "github.com/nebius/gosdk/proto/fieldmask/grpcheader" v11 "github.com/nebius/gosdk/proto/nebius/common/v1" v1 "github.com/nebius/gosdk/proto/nebius/iam/v1" grpc "google.golang.org/grpc" diff --git a/services/nebius/iam/v1/invitation_service.sdk.go b/services/nebius/iam/v1/invitation_service.sdk.go index a6371d9..de879d4 100644 --- a/services/nebius/iam/v1/invitation_service.sdk.go +++ b/services/nebius/iam/v1/invitation_service.sdk.go @@ -5,10 +5,10 @@ package v1 import ( context "context" conn "github.com/nebius/gosdk/conn" - grpcheader "github.com/nebius/gosdk/fieldmask/grpcheader" iface "github.com/nebius/gosdk/internal/iface" iter "github.com/nebius/gosdk/iter" operations "github.com/nebius/gosdk/operations" + grpcheader "github.com/nebius/gosdk/proto/fieldmask/grpcheader" v11 "github.com/nebius/gosdk/proto/nebius/common/v1" v1 "github.com/nebius/gosdk/proto/nebius/iam/v1" grpc "google.golang.org/grpc" diff --git a/services/nebius/iam/v1/service_account_service.sdk.go b/services/nebius/iam/v1/service_account_service.sdk.go index 587627f..b0919c7 100644 --- a/services/nebius/iam/v1/service_account_service.sdk.go +++ b/services/nebius/iam/v1/service_account_service.sdk.go @@ -5,10 +5,10 @@ package v1 import ( context "context" conn "github.com/nebius/gosdk/conn" - grpcheader "github.com/nebius/gosdk/fieldmask/grpcheader" iface "github.com/nebius/gosdk/internal/iface" iter "github.com/nebius/gosdk/iter" operations "github.com/nebius/gosdk/operations" + grpcheader "github.com/nebius/gosdk/proto/fieldmask/grpcheader" v11 "github.com/nebius/gosdk/proto/nebius/common/v1" v1 "github.com/nebius/gosdk/proto/nebius/iam/v1" grpc "google.golang.org/grpc" diff --git a/services/nebius/mk8s/v1/cluster_service.sdk.go b/services/nebius/mk8s/v1/cluster_service.sdk.go index bfd8839..0779542 100644 --- a/services/nebius/mk8s/v1/cluster_service.sdk.go +++ b/services/nebius/mk8s/v1/cluster_service.sdk.go @@ -5,10 +5,10 @@ package v1 import ( context "context" conn "github.com/nebius/gosdk/conn" - grpcheader "github.com/nebius/gosdk/fieldmask/grpcheader" iface "github.com/nebius/gosdk/internal/iface" iter "github.com/nebius/gosdk/iter" operations "github.com/nebius/gosdk/operations" + grpcheader "github.com/nebius/gosdk/proto/fieldmask/grpcheader" v11 "github.com/nebius/gosdk/proto/nebius/common/v1" v1 "github.com/nebius/gosdk/proto/nebius/mk8s/v1" grpc "google.golang.org/grpc" diff --git a/services/nebius/mk8s/v1/node_group_service.sdk.go b/services/nebius/mk8s/v1/node_group_service.sdk.go index eab0e4b..1aec404 100644 --- a/services/nebius/mk8s/v1/node_group_service.sdk.go +++ b/services/nebius/mk8s/v1/node_group_service.sdk.go @@ -5,10 +5,10 @@ package v1 import ( context "context" conn "github.com/nebius/gosdk/conn" - grpcheader "github.com/nebius/gosdk/fieldmask/grpcheader" iface "github.com/nebius/gosdk/internal/iface" iter "github.com/nebius/gosdk/iter" operations "github.com/nebius/gosdk/operations" + grpcheader "github.com/nebius/gosdk/proto/fieldmask/grpcheader" v11 "github.com/nebius/gosdk/proto/nebius/common/v1" v1 "github.com/nebius/gosdk/proto/nebius/mk8s/v1" grpc "google.golang.org/grpc" diff --git a/services/nebius/mk8s/v1alpha1/cluster_service.sdk.go b/services/nebius/mk8s/v1alpha1/cluster_service.sdk.go index 25a4ea3..1dc7d65 100644 --- a/services/nebius/mk8s/v1alpha1/cluster_service.sdk.go +++ b/services/nebius/mk8s/v1alpha1/cluster_service.sdk.go @@ -5,10 +5,10 @@ package v1alpha1 import ( context "context" conn "github.com/nebius/gosdk/conn" - grpcheader "github.com/nebius/gosdk/fieldmask/grpcheader" iface "github.com/nebius/gosdk/internal/iface" iter "github.com/nebius/gosdk/iter" alphaops "github.com/nebius/gosdk/operations/alphaops" + grpcheader "github.com/nebius/gosdk/proto/fieldmask/grpcheader" v1alpha11 "github.com/nebius/gosdk/proto/nebius/common/v1alpha1" v1alpha1 "github.com/nebius/gosdk/proto/nebius/mk8s/v1alpha1" grpc "google.golang.org/grpc" diff --git a/services/nebius/mk8s/v1alpha1/node_group_service.sdk.go b/services/nebius/mk8s/v1alpha1/node_group_service.sdk.go index a113577..dbda36b 100644 --- a/services/nebius/mk8s/v1alpha1/node_group_service.sdk.go +++ b/services/nebius/mk8s/v1alpha1/node_group_service.sdk.go @@ -5,10 +5,10 @@ package v1alpha1 import ( context "context" conn "github.com/nebius/gosdk/conn" - grpcheader "github.com/nebius/gosdk/fieldmask/grpcheader" iface "github.com/nebius/gosdk/internal/iface" iter "github.com/nebius/gosdk/iter" alphaops "github.com/nebius/gosdk/operations/alphaops" + grpcheader "github.com/nebius/gosdk/proto/fieldmask/grpcheader" v1alpha11 "github.com/nebius/gosdk/proto/nebius/common/v1alpha1" v1alpha1 "github.com/nebius/gosdk/proto/nebius/mk8s/v1alpha1" grpc "google.golang.org/grpc" diff --git a/services/nebius/msp/postgresql/v1alpha1/cluster_service.sdk.go b/services/nebius/msp/postgresql/v1alpha1/cluster_service.sdk.go index 7c4a101..3ea1af7 100644 --- a/services/nebius/msp/postgresql/v1alpha1/cluster_service.sdk.go +++ b/services/nebius/msp/postgresql/v1alpha1/cluster_service.sdk.go @@ -5,10 +5,10 @@ package v1alpha1 import ( context "context" conn "github.com/nebius/gosdk/conn" - grpcheader "github.com/nebius/gosdk/fieldmask/grpcheader" iface "github.com/nebius/gosdk/internal/iface" iter "github.com/nebius/gosdk/iter" alphaops "github.com/nebius/gosdk/operations/alphaops" + grpcheader "github.com/nebius/gosdk/proto/fieldmask/grpcheader" v1 "github.com/nebius/gosdk/proto/nebius/common/v1" v1alpha11 "github.com/nebius/gosdk/proto/nebius/common/v1alpha1" v1alpha1 "github.com/nebius/gosdk/proto/nebius/msp/postgresql/v1alpha1" diff --git a/services/nebius/msp/spark/v1alpha1/cluster_service.sdk.go b/services/nebius/msp/spark/v1alpha1/cluster_service.sdk.go index ef8d443..857af9e 100644 --- a/services/nebius/msp/spark/v1alpha1/cluster_service.sdk.go +++ b/services/nebius/msp/spark/v1alpha1/cluster_service.sdk.go @@ -5,10 +5,10 @@ package v1alpha1 import ( context "context" conn "github.com/nebius/gosdk/conn" - grpcheader "github.com/nebius/gosdk/fieldmask/grpcheader" iface "github.com/nebius/gosdk/internal/iface" iter "github.com/nebius/gosdk/iter" operations "github.com/nebius/gosdk/operations" + grpcheader "github.com/nebius/gosdk/proto/fieldmask/grpcheader" v1 "github.com/nebius/gosdk/proto/nebius/common/v1" v1alpha1 "github.com/nebius/gosdk/proto/nebius/msp/spark/v1alpha1" grpc "google.golang.org/grpc" diff --git a/services/nebius/registry/v1/registry_service.sdk.go b/services/nebius/registry/v1/registry_service.sdk.go index 56f01c5..a62f0aa 100644 --- a/services/nebius/registry/v1/registry_service.sdk.go +++ b/services/nebius/registry/v1/registry_service.sdk.go @@ -5,10 +5,10 @@ package v1 import ( context "context" conn "github.com/nebius/gosdk/conn" - grpcheader "github.com/nebius/gosdk/fieldmask/grpcheader" iface "github.com/nebius/gosdk/internal/iface" iter "github.com/nebius/gosdk/iter" operations "github.com/nebius/gosdk/operations" + grpcheader "github.com/nebius/gosdk/proto/fieldmask/grpcheader" v11 "github.com/nebius/gosdk/proto/nebius/common/v1" v1 "github.com/nebius/gosdk/proto/nebius/registry/v1" grpc "google.golang.org/grpc" diff --git a/services/nebius/storage/v1/bucket_service.sdk.go b/services/nebius/storage/v1/bucket_service.sdk.go index 9a23ca1..314e5e9 100644 --- a/services/nebius/storage/v1/bucket_service.sdk.go +++ b/services/nebius/storage/v1/bucket_service.sdk.go @@ -5,10 +5,10 @@ package v1 import ( context "context" conn "github.com/nebius/gosdk/conn" - grpcheader "github.com/nebius/gosdk/fieldmask/grpcheader" iface "github.com/nebius/gosdk/internal/iface" iter "github.com/nebius/gosdk/iter" operations "github.com/nebius/gosdk/operations" + grpcheader "github.com/nebius/gosdk/proto/fieldmask/grpcheader" v11 "github.com/nebius/gosdk/proto/nebius/common/v1" v1 "github.com/nebius/gosdk/proto/nebius/storage/v1" grpc "google.golang.org/grpc" diff --git a/services/nebius/vpc/v1/allocation_service.sdk.go b/services/nebius/vpc/v1/allocation_service.sdk.go index 9e90494..eaed7db 100644 --- a/services/nebius/vpc/v1/allocation_service.sdk.go +++ b/services/nebius/vpc/v1/allocation_service.sdk.go @@ -5,10 +5,10 @@ package v1 import ( context "context" conn "github.com/nebius/gosdk/conn" - grpcheader "github.com/nebius/gosdk/fieldmask/grpcheader" iface "github.com/nebius/gosdk/internal/iface" iter "github.com/nebius/gosdk/iter" operations "github.com/nebius/gosdk/operations" + grpcheader "github.com/nebius/gosdk/proto/fieldmask/grpcheader" v11 "github.com/nebius/gosdk/proto/nebius/common/v1" v1 "github.com/nebius/gosdk/proto/nebius/vpc/v1" grpc "google.golang.org/grpc" diff --git a/services/nebius/vpc/v1/pool_service.sdk.go b/services/nebius/vpc/v1/pool_service.sdk.go index 9ad2a08..e913d5b 100644 --- a/services/nebius/vpc/v1/pool_service.sdk.go +++ b/services/nebius/vpc/v1/pool_service.sdk.go @@ -5,10 +5,10 @@ package v1 import ( context "context" conn "github.com/nebius/gosdk/conn" - grpcheader "github.com/nebius/gosdk/fieldmask/grpcheader" iface "github.com/nebius/gosdk/internal/iface" iter "github.com/nebius/gosdk/iter" operations "github.com/nebius/gosdk/operations" + grpcheader "github.com/nebius/gosdk/proto/fieldmask/grpcheader" v11 "github.com/nebius/gosdk/proto/nebius/common/v1" v1 "github.com/nebius/gosdk/proto/nebius/vpc/v1" grpc "google.golang.org/grpc" diff --git a/services/nebius/vpc/v1alpha1/allocation_service.sdk.go b/services/nebius/vpc/v1alpha1/allocation_service.sdk.go index 99f523d..9351dcf 100644 --- a/services/nebius/vpc/v1alpha1/allocation_service.sdk.go +++ b/services/nebius/vpc/v1alpha1/allocation_service.sdk.go @@ -5,10 +5,10 @@ package v1alpha1 import ( context "context" conn "github.com/nebius/gosdk/conn" - grpcheader "github.com/nebius/gosdk/fieldmask/grpcheader" iface "github.com/nebius/gosdk/internal/iface" iter "github.com/nebius/gosdk/iter" alphaops "github.com/nebius/gosdk/operations/alphaops" + grpcheader "github.com/nebius/gosdk/proto/fieldmask/grpcheader" v1alpha11 "github.com/nebius/gosdk/proto/nebius/common/v1alpha1" v1alpha1 "github.com/nebius/gosdk/proto/nebius/vpc/v1alpha1" grpc "google.golang.org/grpc"