diff --git a/accounting/accounting.go b/accounting/accounting.go index 25d6199..af14a1a 100644 --- a/accounting/accounting.go +++ b/accounting/accounting.go @@ -1,8 +1,8 @@ package accounting import ( - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - "github.com/TrueCloudLab/frostfs-api-go/v2/session" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session" ) type BalanceRequestBody struct { diff --git a/accounting/convert.go b/accounting/convert.go index d37fd1e..7a7f250 100644 --- a/accounting/convert.go +++ b/accounting/convert.go @@ -1,11 +1,11 @@ package accounting import ( - accounting "github.com/TrueCloudLab/frostfs-api-go/v2/accounting/grpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - refsGRPC "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/grpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" + accounting "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/accounting/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + refsGRPC "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message" ) func (b *BalanceRequestBody) ToGRPCMessage() grpc.Message { diff --git a/accounting/grpc/service.go b/accounting/grpc/service.go index 0570cd3..fa292bf 100644 --- a/accounting/grpc/service.go +++ b/accounting/grpc/service.go @@ -1,8 +1,8 @@ package accounting import ( - refs "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" - session "github.com/TrueCloudLab/frostfs-api-go/v2/session/grpc" + refs "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + session "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session/grpc" ) // SetOwnerId sets identifier of the account owner. diff --git a/accounting/grpc/service.pb.go b/accounting/grpc/service.pb.go index d0783f2..196c7ab 100644 --- a/accounting/grpc/service.pb.go +++ b/accounting/grpc/service.pb.go @@ -7,8 +7,8 @@ package accounting import ( - grpc1 "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" - grpc "github.com/TrueCloudLab/frostfs-api-go/v2/session/grpc" + grpc1 "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + grpc "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session/grpc" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" @@ -320,14 +320,14 @@ var file_accounting_grpc_service_proto_rawDesc = []byte{ 0x69, 0x6e, 0x67, 0x2e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, - 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x67, 0x5a, 0x44, 0x67, 0x69, 0x74, - 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x72, 0x75, 0x65, 0x43, 0x6c, 0x6f, 0x75, - 0x64, 0x4c, 0x61, 0x62, 0x2f, 0x66, 0x72, 0x6f, 0x73, 0x74, 0x66, 0x73, 0x2d, 0x61, 0x70, 0x69, - 0x2d, 0x67, 0x6f, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x69, 0x6e, - 0x67, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x3b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x69, 0x6e, - 0x67, 0xaa, 0x02, 0x1e, 0x4e, 0x65, 0x6f, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x53, 0x74, 0x6f, 0x72, - 0x61, 0x67, 0x65, 0x2e, 0x41, 0x50, 0x49, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x69, - 0x6e, 0x67, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x6d, 0x5a, 0x4a, 0x67, 0x69, 0x74, + 0x2e, 0x66, 0x72, 0x6f, 0x73, 0x74, 0x66, 0x73, 0x2e, 0x69, 0x6e, 0x66, 0x6f, 0x2f, 0x54, 0x72, + 0x75, 0x65, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x4c, 0x61, 0x62, 0x2f, 0x66, 0x72, 0x6f, 0x73, 0x74, + 0x66, 0x73, 0x2d, 0x61, 0x70, 0x69, 0x2d, 0x67, 0x6f, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x3b, 0x61, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0xaa, 0x02, 0x1e, 0x4e, 0x65, 0x6f, 0x2e, 0x46, 0x69, + 0x6c, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x41, 0x50, 0x49, 0x2e, 0x41, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/accounting/grpc/types.pb.go b/accounting/grpc/types.pb.go index 89a8c76..322a56c 100644 --- a/accounting/grpc/types.pb.go +++ b/accounting/grpc/types.pb.go @@ -95,14 +95,14 @@ var file_accounting_grpc_types_proto_rawDesc = []byte{ 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x70, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, - 0x6f, 0x6e, 0x42, 0x67, 0x5a, 0x44, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, - 0x2f, 0x54, 0x72, 0x75, 0x65, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x4c, 0x61, 0x62, 0x2f, 0x66, 0x72, - 0x6f, 0x73, 0x74, 0x66, 0x73, 0x2d, 0x61, 0x70, 0x69, 0x2d, 0x67, 0x6f, 0x2f, 0x76, 0x32, 0x2f, - 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x3b, - 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0xaa, 0x02, 0x1e, 0x4e, 0x65, 0x6f, - 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x41, 0x50, 0x49, - 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x62, 0x06, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x33, + 0x6f, 0x6e, 0x42, 0x6d, 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x2e, 0x66, 0x72, 0x6f, 0x73, 0x74, 0x66, + 0x73, 0x2e, 0x69, 0x6e, 0x66, 0x6f, 0x2f, 0x54, 0x72, 0x75, 0x65, 0x43, 0x6c, 0x6f, 0x75, 0x64, + 0x4c, 0x61, 0x62, 0x2f, 0x66, 0x72, 0x6f, 0x73, 0x74, 0x66, 0x73, 0x2d, 0x61, 0x70, 0x69, 0x2d, + 0x67, 0x6f, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, + 0x2f, 0x67, 0x72, 0x70, 0x63, 0x3b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, + 0xaa, 0x02, 0x1e, 0x4e, 0x65, 0x6f, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x2e, 0x41, 0x50, 0x49, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x69, 0x6e, + 0x67, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/accounting/json.go b/accounting/json.go index b0738f6..9ed5620 100644 --- a/accounting/json.go +++ b/accounting/json.go @@ -1,8 +1,8 @@ package accounting import ( - accounting "github.com/TrueCloudLab/frostfs-api-go/v2/accounting/grpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" + accounting "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/accounting/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message" ) func (d *Decimal) MarshalJSON() ([]byte, error) { diff --git a/accounting/marshal.go b/accounting/marshal.go index 06a1299..6961b3e 100644 --- a/accounting/marshal.go +++ b/accounting/marshal.go @@ -1,9 +1,9 @@ package accounting import ( - accounting "github.com/TrueCloudLab/frostfs-api-go/v2/accounting/grpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" - protoutil "github.com/TrueCloudLab/frostfs-api-go/v2/util/proto" + accounting "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/accounting/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message" + protoutil "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/util/proto" ) const ( diff --git a/accounting/message_test.go b/accounting/message_test.go index cdbac36..d193558 100644 --- a/accounting/message_test.go +++ b/accounting/message_test.go @@ -3,9 +3,9 @@ package accounting_test import ( "testing" - accountingtest "github.com/TrueCloudLab/frostfs-api-go/v2/accounting/test" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" - messagetest "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message/test" + accountingtest "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/accounting/test" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message" + messagetest "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message/test" ) func TestMessage(t *testing.T) { diff --git a/accounting/test/generate.go b/accounting/test/generate.go index 171693d..1eaf9f4 100644 --- a/accounting/test/generate.go +++ b/accounting/test/generate.go @@ -1,9 +1,9 @@ package accountingtest import ( - "github.com/TrueCloudLab/frostfs-api-go/v2/accounting" - accountingtest "github.com/TrueCloudLab/frostfs-api-go/v2/refs/test" - sessiontest "github.com/TrueCloudLab/frostfs-api-go/v2/session/test" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/accounting" + accountingtest "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/test" + sessiontest "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session/test" ) func GenerateBalanceRequest(empty bool) *accounting.BalanceRequest { diff --git a/acl/bench_test.go b/acl/bench_test.go index 0196176..8d6352b 100644 --- a/acl/bench_test.go +++ b/acl/bench_test.go @@ -3,9 +3,9 @@ package acl_test import ( "testing" - "github.com/TrueCloudLab/frostfs-api-go/v2/acl" - aclGrpc "github.com/TrueCloudLab/frostfs-api-go/v2/acl/grpc" - acltest "github.com/TrueCloudLab/frostfs-api-go/v2/acl/test" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/acl" + aclGrpc "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/acl/grpc" + acltest "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/acl/test" ) func BenchmarkTable_ToGRPCMessage(b *testing.B) { diff --git a/acl/convert.go b/acl/convert.go index 697f699..d42aebd 100644 --- a/acl/convert.go +++ b/acl/convert.go @@ -1,11 +1,11 @@ package acl import ( - acl "github.com/TrueCloudLab/frostfs-api-go/v2/acl/grpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - refsGRPC "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/grpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" + acl "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/acl/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + refsGRPC "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message" ) // RoleToGRPCField converts unified role enum into grpc enum. diff --git a/acl/grpc/types.go b/acl/grpc/types.go index 436ae58..e1e5336 100644 --- a/acl/grpc/types.go +++ b/acl/grpc/types.go @@ -1,7 +1,7 @@ package acl import ( - refs "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + refs "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/grpc" ) // SetVersion sets version of EACL rules in table. diff --git a/acl/grpc/types.pb.go b/acl/grpc/types.pb.go index 6e9ac46..3581b88 100644 --- a/acl/grpc/types.pb.go +++ b/acl/grpc/types.pb.go @@ -7,7 +7,7 @@ package acl import ( - grpc "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + grpc "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/grpc" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" @@ -932,13 +932,13 @@ var file_acl_grpc_types_proto_rawDesc = []byte{ 0x52, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x4f, 0x42, 0x4a, 0x45, 0x43, 0x54, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x45, 0x52, 0x56, - 0x49, 0x43, 0x45, 0x10, 0x03, 0x42, 0x52, 0x5a, 0x36, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, - 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x72, 0x75, 0x65, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x4c, 0x61, 0x62, - 0x2f, 0x66, 0x72, 0x6f, 0x73, 0x74, 0x66, 0x73, 0x2d, 0x61, 0x70, 0x69, 0x2d, 0x67, 0x6f, 0x2f, - 0x76, 0x32, 0x2f, 0x61, 0x63, 0x6c, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x3b, 0x61, 0x63, 0x6c, 0xaa, - 0x02, 0x17, 0x4e, 0x65, 0x6f, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, - 0x65, 0x2e, 0x41, 0x50, 0x49, 0x2e, 0x41, 0x63, 0x6c, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, + 0x49, 0x43, 0x45, 0x10, 0x03, 0x42, 0x58, 0x5a, 0x3c, 0x67, 0x69, 0x74, 0x2e, 0x66, 0x72, 0x6f, + 0x73, 0x74, 0x66, 0x73, 0x2e, 0x69, 0x6e, 0x66, 0x6f, 0x2f, 0x54, 0x72, 0x75, 0x65, 0x43, 0x6c, + 0x6f, 0x75, 0x64, 0x4c, 0x61, 0x62, 0x2f, 0x66, 0x72, 0x6f, 0x73, 0x74, 0x66, 0x73, 0x2d, 0x61, + 0x70, 0x69, 0x2d, 0x67, 0x6f, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x63, 0x6c, 0x2f, 0x67, 0x72, 0x70, + 0x63, 0x3b, 0x61, 0x63, 0x6c, 0xaa, 0x02, 0x17, 0x4e, 0x65, 0x6f, 0x2e, 0x46, 0x69, 0x6c, 0x65, + 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x41, 0x50, 0x49, 0x2e, 0x41, 0x63, 0x6c, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/acl/json.go b/acl/json.go index 7a50e90..0e2078b 100644 --- a/acl/json.go +++ b/acl/json.go @@ -1,8 +1,8 @@ package acl import ( - acl "github.com/TrueCloudLab/frostfs-api-go/v2/acl/grpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" + acl "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/acl/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message" ) func (f *HeaderFilter) MarshalJSON() ([]byte, error) { diff --git a/acl/marshal.go b/acl/marshal.go index 1ecdb70..c56b90f 100644 --- a/acl/marshal.go +++ b/acl/marshal.go @@ -1,9 +1,9 @@ package acl import ( - acl "github.com/TrueCloudLab/frostfs-api-go/v2/acl/grpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" - protoutil "github.com/TrueCloudLab/frostfs-api-go/v2/util/proto" + acl "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/acl/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message" + protoutil "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/util/proto" ) const ( diff --git a/acl/message_test.go b/acl/message_test.go index d3e70cf..8f340f1 100644 --- a/acl/message_test.go +++ b/acl/message_test.go @@ -3,9 +3,9 @@ package acl_test import ( "testing" - acltest "github.com/TrueCloudLab/frostfs-api-go/v2/acl/test" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" - messagetest "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message/test" + acltest "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/acl/test" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message" + messagetest "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message/test" ) func TestMessageConvert(t *testing.T) { diff --git a/acl/string.go b/acl/string.go index 76c0345..6dab037 100644 --- a/acl/string.go +++ b/acl/string.go @@ -1,7 +1,7 @@ package acl import ( - acl "github.com/TrueCloudLab/frostfs-api-go/v2/acl/grpc" + acl "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/acl/grpc" ) // String returns string representation of Action. diff --git a/acl/test/generate.go b/acl/test/generate.go index 67098cf..3151c52 100644 --- a/acl/test/generate.go +++ b/acl/test/generate.go @@ -1,8 +1,8 @@ package acltest import ( - "github.com/TrueCloudLab/frostfs-api-go/v2/acl" - accountingtest "github.com/TrueCloudLab/frostfs-api-go/v2/refs/test" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/acl" + accountingtest "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/test" ) func GenerateBearerToken(empty bool) *acl.BearerToken { diff --git a/acl/types.go b/acl/types.go index f360af6..71d83ce 100644 --- a/acl/types.go +++ b/acl/types.go @@ -1,6 +1,6 @@ package acl -import "github.com/TrueCloudLab/frostfs-api-go/v2/refs" +import "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" // HeaderFilter is a unified structure of FilterInfo // message from proto definition. diff --git a/audit/convert.go b/audit/convert.go index 23a5ce6..a841928 100644 --- a/audit/convert.go +++ b/audit/convert.go @@ -1,11 +1,11 @@ package audit import ( - audit "github.com/TrueCloudLab/frostfs-api-go/v2/audit/grpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - refsGRPC "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/grpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" + audit "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/audit/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + refsGRPC "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message" ) func (a *DataAuditResult) ToGRPCMessage() grpc.Message { diff --git a/audit/grpc/types.go b/audit/grpc/types.go index 206fc88..59bb184 100644 --- a/audit/grpc/types.go +++ b/audit/grpc/types.go @@ -1,7 +1,7 @@ package audit import ( - refs "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + refs "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/grpc" ) // SetVersion is a Version field setter. diff --git a/audit/grpc/types.pb.go b/audit/grpc/types.pb.go index ceb0955..b542ec2 100644 --- a/audit/grpc/types.pb.go +++ b/audit/grpc/types.pb.go @@ -7,7 +7,7 @@ package audit import ( - grpc "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + grpc "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/grpc" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" @@ -231,13 +231,13 @@ var file_audit_grpc_types_proto_rawDesc = []byte{ 0x73, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x09, 0x70, 0x61, 0x73, 0x73, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x61, 0x69, 0x6c, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x09, 0x66, 0x61, - 0x69, 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x42, 0x58, 0x5a, 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75, - 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x72, 0x75, 0x65, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x4c, - 0x61, 0x62, 0x2f, 0x66, 0x72, 0x6f, 0x73, 0x74, 0x66, 0x73, 0x2d, 0x61, 0x70, 0x69, 0x2d, 0x67, - 0x6f, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x3b, - 0x61, 0x75, 0x64, 0x69, 0x74, 0xaa, 0x02, 0x19, 0x4e, 0x65, 0x6f, 0x2e, 0x46, 0x69, 0x6c, 0x65, - 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x41, 0x50, 0x49, 0x2e, 0x41, 0x75, 0x64, 0x69, - 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x69, 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x42, 0x5e, 0x5a, 0x40, 0x67, 0x69, 0x74, 0x2e, 0x66, + 0x72, 0x6f, 0x73, 0x74, 0x66, 0x73, 0x2e, 0x69, 0x6e, 0x66, 0x6f, 0x2f, 0x54, 0x72, 0x75, 0x65, + 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x4c, 0x61, 0x62, 0x2f, 0x66, 0x72, 0x6f, 0x73, 0x74, 0x66, 0x73, + 0x2d, 0x61, 0x70, 0x69, 0x2d, 0x67, 0x6f, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, + 0x2f, 0x67, 0x72, 0x70, 0x63, 0x3b, 0x61, 0x75, 0x64, 0x69, 0x74, 0xaa, 0x02, 0x19, 0x4e, 0x65, + 0x6f, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x41, 0x50, + 0x49, 0x2e, 0x41, 0x75, 0x64, 0x69, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/audit/json.go b/audit/json.go index 550977c..cbcf41f 100644 --- a/audit/json.go +++ b/audit/json.go @@ -1,8 +1,8 @@ package audit import ( - audit "github.com/TrueCloudLab/frostfs-api-go/v2/audit/grpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" + audit "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/audit/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message" ) func (a *DataAuditResult) MarshalJSON() ([]byte, error) { diff --git a/audit/marshal.go b/audit/marshal.go index 1560b21..a039baf 100644 --- a/audit/marshal.go +++ b/audit/marshal.go @@ -1,10 +1,10 @@ package audit import ( - audit "github.com/TrueCloudLab/frostfs-api-go/v2/audit/grpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" - "github.com/TrueCloudLab/frostfs-api-go/v2/util/proto" + audit "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/audit/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/util/proto" ) const ( diff --git a/audit/message_test.go b/audit/message_test.go index efbbca7..02c7f78 100644 --- a/audit/message_test.go +++ b/audit/message_test.go @@ -3,9 +3,9 @@ package audit_test import ( "testing" - audittest "github.com/TrueCloudLab/frostfs-api-go/v2/audit/test" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" - messagetest "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message/test" + audittest "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/audit/test" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message" + messagetest "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message/test" ) func TestMessageConvert(t *testing.T) { diff --git a/audit/test/generate.go b/audit/test/generate.go index 44c6d14..093cbfe 100644 --- a/audit/test/generate.go +++ b/audit/test/generate.go @@ -1,8 +1,8 @@ package audittest import ( - "github.com/TrueCloudLab/frostfs-api-go/v2/audit" - refstest "github.com/TrueCloudLab/frostfs-api-go/v2/refs/test" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/audit" + refstest "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/test" ) func GenerateDataAuditResult(empty bool) *audit.DataAuditResult { diff --git a/audit/types.go b/audit/types.go index 14a0025..6f856f0 100644 --- a/audit/types.go +++ b/audit/types.go @@ -1,7 +1,7 @@ package audit import ( - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" ) // DataAuditResult is a unified structure of diff --git a/container/attributes_test.go b/container/attributes_test.go index aa34b2a..fc5678c 100644 --- a/container/attributes_test.go +++ b/container/attributes_test.go @@ -3,8 +3,8 @@ package container_test import ( "testing" - "github.com/TrueCloudLab/frostfs-api-go/v2/container" - containertest "github.com/TrueCloudLab/frostfs-api-go/v2/container/test" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/container" + containertest "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/container/test" "github.com/stretchr/testify/require" ) diff --git a/container/convert.go b/container/convert.go index 8e35efa..0753755 100644 --- a/container/convert.go +++ b/container/convert.go @@ -1,17 +1,17 @@ package container import ( - "github.com/TrueCloudLab/frostfs-api-go/v2/acl" - aclGRPC "github.com/TrueCloudLab/frostfs-api-go/v2/acl/grpc" - container "github.com/TrueCloudLab/frostfs-api-go/v2/container/grpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/netmap" - netmapGRPC "github.com/TrueCloudLab/frostfs-api-go/v2/netmap/grpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - refsGRPC "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/grpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" - "github.com/TrueCloudLab/frostfs-api-go/v2/session" - sessionGRPC "github.com/TrueCloudLab/frostfs-api-go/v2/session/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/acl" + aclGRPC "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/acl/grpc" + container "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/container/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/netmap" + netmapGRPC "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/netmap/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + refsGRPC "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session" + sessionGRPC "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session/grpc" ) func (a *Attribute) ToGRPCMessage() grpc.Message { diff --git a/container/grpc/service.go b/container/grpc/service.go index ca5c4d9..050cf0b 100644 --- a/container/grpc/service.go +++ b/container/grpc/service.go @@ -1,9 +1,9 @@ package container import ( - acl "github.com/TrueCloudLab/frostfs-api-go/v2/acl/grpc" - refs "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" - session "github.com/TrueCloudLab/frostfs-api-go/v2/session/grpc" + acl "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/acl/grpc" + refs "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + session "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session/grpc" ) // SetContainer sets container of the request. diff --git a/container/grpc/service.pb.go b/container/grpc/service.pb.go index ed607e2..6786337 100644 --- a/container/grpc/service.pb.go +++ b/container/grpc/service.pb.go @@ -7,9 +7,9 @@ package container import ( - grpc2 "github.com/TrueCloudLab/frostfs-api-go/v2/acl/grpc" - grpc1 "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" - grpc "github.com/TrueCloudLab/frostfs-api-go/v2/session/grpc" + grpc2 "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/acl/grpc" + grpc1 "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + grpc "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session/grpc" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" @@ -2160,14 +2160,14 @@ var file_container_grpc_service_proto_rawDesc = []byte{ 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x75, 0x6e, 0x63, 0x65, 0x55, 0x73, 0x65, 0x64, 0x53, 0x70, - 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x64, 0x5a, 0x42, 0x67, - 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x72, 0x75, 0x65, 0x43, 0x6c, - 0x6f, 0x75, 0x64, 0x4c, 0x61, 0x62, 0x2f, 0x66, 0x72, 0x6f, 0x73, 0x74, 0x66, 0x73, 0x2d, 0x61, - 0x70, 0x69, 0x2d, 0x67, 0x6f, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, - 0x65, 0x72, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x3b, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, - 0x72, 0xaa, 0x02, 0x1d, 0x4e, 0x65, 0x6f, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x53, 0x74, 0x6f, 0x72, - 0x61, 0x67, 0x65, 0x2e, 0x41, 0x50, 0x49, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, - 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x6a, 0x5a, 0x48, 0x67, + 0x69, 0x74, 0x2e, 0x66, 0x72, 0x6f, 0x73, 0x74, 0x66, 0x73, 0x2e, 0x69, 0x6e, 0x66, 0x6f, 0x2f, + 0x54, 0x72, 0x75, 0x65, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x4c, 0x61, 0x62, 0x2f, 0x66, 0x72, 0x6f, + 0x73, 0x74, 0x66, 0x73, 0x2d, 0x61, 0x70, 0x69, 0x2d, 0x67, 0x6f, 0x2f, 0x76, 0x32, 0x2f, 0x63, + 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x3b, 0x63, 0x6f, + 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0xaa, 0x02, 0x1d, 0x4e, 0x65, 0x6f, 0x2e, 0x46, 0x69, + 0x6c, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x41, 0x50, 0x49, 0x2e, 0x43, 0x6f, + 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/container/grpc/service_grpc.pb.go b/container/grpc/service_grpc.pb.go index 1de8b5f..3af498b 100644 --- a/container/grpc/service_grpc.pb.go +++ b/container/grpc/service_grpc.pb.go @@ -28,9 +28,9 @@ type ContainerServiceClient interface { // is added into smart contract storage. // // Statuses: - // - **OK** (0, SECTION_SUCCESS): \ - // request to save the container has been sent to the sidechain; - // - Common failures (SECTION_FAILURE_COMMON). + // - **OK** (0, SECTION_SUCCESS): \ + // request to save the container has been sent to the sidechain; + // - Common failures (SECTION_FAILURE_COMMON). Put(ctx context.Context, in *PutRequest, opts ...grpc.CallOption) (*PutResponse, error) // `Delete` invokes `Container` smart contract's `Delete` method and returns // response immediately. After a new block is issued in sidechain, request is @@ -38,53 +38,53 @@ type ContainerServiceClient interface { // is added into smart contract storage. // // Statuses: - // - **OK** (0, SECTION_SUCCESS): \ - // request to remove the container has been sent to the sidechain; - // - Common failures (SECTION_FAILURE_COMMON). + // - **OK** (0, SECTION_SUCCESS): \ + // request to remove the container has been sent to the sidechain; + // - Common failures (SECTION_FAILURE_COMMON). Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error) // Returns container structure from `Container` smart contract storage. // // Statuses: - // - **OK** (0, SECTION_SUCCESS): \ - // container has been successfully read; - // - Common failures (SECTION_FAILURE_COMMON); - // - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \ - // requested container not found. + // - **OK** (0, SECTION_SUCCESS): \ + // container has been successfully read; + // - Common failures (SECTION_FAILURE_COMMON); + // - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \ + // requested container not found. Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error) // Returns all owner's containers from 'Container` smart contract' storage. // // Statuses: - // - **OK** (0, SECTION_SUCCESS): \ - // container list has been successfully read; - // - Common failures (SECTION_FAILURE_COMMON). + // - **OK** (0, SECTION_SUCCESS): \ + // container list has been successfully read; + // - Common failures (SECTION_FAILURE_COMMON). List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error) // Invokes 'SetEACL' method of 'Container` smart contract and returns response // immediately. After one more block in sidechain, changes in an Extended ACL are // added into smart contract storage. // // Statuses: - // - **OK** (0, SECTION_SUCCESS): \ - // request to save container eACL has been sent to the sidechain; - // - Common failures (SECTION_FAILURE_COMMON). + // - **OK** (0, SECTION_SUCCESS): \ + // request to save container eACL has been sent to the sidechain; + // - Common failures (SECTION_FAILURE_COMMON). SetExtendedACL(ctx context.Context, in *SetExtendedACLRequest, opts ...grpc.CallOption) (*SetExtendedACLResponse, error) // Returns Extended ACL table and signature from `Container` smart contract // storage. // // Statuses: - // - **OK** (0, SECTION_SUCCESS): \ - // container eACL has been successfully read; - // - Common failures (SECTION_FAILURE_COMMON); - // - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \ - // container not found; - // - **EACL_NOT_FOUND** (3073, SECTION_CONTAINER): \ - // eACL table not found. + // - **OK** (0, SECTION_SUCCESS): \ + // container eACL has been successfully read; + // - Common failures (SECTION_FAILURE_COMMON); + // - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \ + // container not found; + // - **EACL_NOT_FOUND** (3073, SECTION_CONTAINER): \ + // eACL table not found. GetExtendedACL(ctx context.Context, in *GetExtendedACLRequest, opts ...grpc.CallOption) (*GetExtendedACLResponse, error) // Announces the space values used by the container for P2P synchronization. // // Statuses: - // - **OK** (0, SECTION_SUCCESS): \ - // estimation of used space has been successfully announced; - // - Common failures (SECTION_FAILURE_COMMON). + // - **OK** (0, SECTION_SUCCESS): \ + // estimation of used space has been successfully announced; + // - Common failures (SECTION_FAILURE_COMMON). AnnounceUsedSpace(ctx context.Context, in *AnnounceUsedSpaceRequest, opts ...grpc.CallOption) (*AnnounceUsedSpaceResponse, error) } @@ -169,9 +169,9 @@ type ContainerServiceServer interface { // is added into smart contract storage. // // Statuses: - // - **OK** (0, SECTION_SUCCESS): \ - // request to save the container has been sent to the sidechain; - // - Common failures (SECTION_FAILURE_COMMON). + // - **OK** (0, SECTION_SUCCESS): \ + // request to save the container has been sent to the sidechain; + // - Common failures (SECTION_FAILURE_COMMON). Put(context.Context, *PutRequest) (*PutResponse, error) // `Delete` invokes `Container` smart contract's `Delete` method and returns // response immediately. After a new block is issued in sidechain, request is @@ -179,53 +179,53 @@ type ContainerServiceServer interface { // is added into smart contract storage. // // Statuses: - // - **OK** (0, SECTION_SUCCESS): \ - // request to remove the container has been sent to the sidechain; - // - Common failures (SECTION_FAILURE_COMMON). + // - **OK** (0, SECTION_SUCCESS): \ + // request to remove the container has been sent to the sidechain; + // - Common failures (SECTION_FAILURE_COMMON). Delete(context.Context, *DeleteRequest) (*DeleteResponse, error) // Returns container structure from `Container` smart contract storage. // // Statuses: - // - **OK** (0, SECTION_SUCCESS): \ - // container has been successfully read; - // - Common failures (SECTION_FAILURE_COMMON); - // - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \ - // requested container not found. + // - **OK** (0, SECTION_SUCCESS): \ + // container has been successfully read; + // - Common failures (SECTION_FAILURE_COMMON); + // - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \ + // requested container not found. Get(context.Context, *GetRequest) (*GetResponse, error) // Returns all owner's containers from 'Container` smart contract' storage. // // Statuses: - // - **OK** (0, SECTION_SUCCESS): \ - // container list has been successfully read; - // - Common failures (SECTION_FAILURE_COMMON). + // - **OK** (0, SECTION_SUCCESS): \ + // container list has been successfully read; + // - Common failures (SECTION_FAILURE_COMMON). List(context.Context, *ListRequest) (*ListResponse, error) // Invokes 'SetEACL' method of 'Container` smart contract and returns response // immediately. After one more block in sidechain, changes in an Extended ACL are // added into smart contract storage. // // Statuses: - // - **OK** (0, SECTION_SUCCESS): \ - // request to save container eACL has been sent to the sidechain; - // - Common failures (SECTION_FAILURE_COMMON). + // - **OK** (0, SECTION_SUCCESS): \ + // request to save container eACL has been sent to the sidechain; + // - Common failures (SECTION_FAILURE_COMMON). SetExtendedACL(context.Context, *SetExtendedACLRequest) (*SetExtendedACLResponse, error) // Returns Extended ACL table and signature from `Container` smart contract // storage. // // Statuses: - // - **OK** (0, SECTION_SUCCESS): \ - // container eACL has been successfully read; - // - Common failures (SECTION_FAILURE_COMMON); - // - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \ - // container not found; - // - **EACL_NOT_FOUND** (3073, SECTION_CONTAINER): \ - // eACL table not found. + // - **OK** (0, SECTION_SUCCESS): \ + // container eACL has been successfully read; + // - Common failures (SECTION_FAILURE_COMMON); + // - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \ + // container not found; + // - **EACL_NOT_FOUND** (3073, SECTION_CONTAINER): \ + // eACL table not found. GetExtendedACL(context.Context, *GetExtendedACLRequest) (*GetExtendedACLResponse, error) // Announces the space values used by the container for P2P synchronization. // // Statuses: - // - **OK** (0, SECTION_SUCCESS): \ - // estimation of used space has been successfully announced; - // - Common failures (SECTION_FAILURE_COMMON). + // - **OK** (0, SECTION_SUCCESS): \ + // estimation of used space has been successfully announced; + // - Common failures (SECTION_FAILURE_COMMON). AnnounceUsedSpace(context.Context, *AnnounceUsedSpaceRequest) (*AnnounceUsedSpaceResponse, error) } diff --git a/container/grpc/types.go b/container/grpc/types.go index 91e9470..7308f9e 100644 --- a/container/grpc/types.go +++ b/container/grpc/types.go @@ -1,8 +1,8 @@ package container import ( - netmap "github.com/TrueCloudLab/frostfs-api-go/v2/netmap/grpc" - refs "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + netmap "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/netmap/grpc" + refs "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/grpc" ) // SetKey sets key to the container attribute. diff --git a/container/grpc/types.pb.go b/container/grpc/types.pb.go index 0b78b3f..75796c2 100644 --- a/container/grpc/types.pb.go +++ b/container/grpc/types.pb.go @@ -7,8 +7,8 @@ package container import ( - grpc1 "github.com/TrueCloudLab/frostfs-api-go/v2/netmap/grpc" - grpc "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + grpc1 "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/netmap/grpc" + grpc "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/grpc" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" @@ -242,14 +242,14 @@ var file_container_grpc_types_proto_rawDesc = []byte{ 0x79, 0x1a, 0x33, 0x0a, 0x09, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x64, 0x5a, 0x42, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, - 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x72, 0x75, 0x65, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x4c, 0x61, - 0x62, 0x2f, 0x66, 0x72, 0x6f, 0x73, 0x74, 0x66, 0x73, 0x2d, 0x61, 0x70, 0x69, 0x2d, 0x67, 0x6f, - 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x2f, 0x67, 0x72, - 0x70, 0x63, 0x3b, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0xaa, 0x02, 0x1d, 0x4e, - 0x65, 0x6f, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x41, - 0x50, 0x49, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x6a, 0x5a, 0x48, 0x67, 0x69, 0x74, 0x2e, 0x66, 0x72, + 0x6f, 0x73, 0x74, 0x66, 0x73, 0x2e, 0x69, 0x6e, 0x66, 0x6f, 0x2f, 0x54, 0x72, 0x75, 0x65, 0x43, + 0x6c, 0x6f, 0x75, 0x64, 0x4c, 0x61, 0x62, 0x2f, 0x66, 0x72, 0x6f, 0x73, 0x74, 0x66, 0x73, 0x2d, + 0x61, 0x70, 0x69, 0x2d, 0x67, 0x6f, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, + 0x6e, 0x65, 0x72, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x3b, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, + 0x65, 0x72, 0xaa, 0x02, 0x1d, 0x4e, 0x65, 0x6f, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x53, 0x74, 0x6f, + 0x72, 0x61, 0x67, 0x65, 0x2e, 0x41, 0x50, 0x49, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, + 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/container/json.go b/container/json.go index ac8bdf3..d9fc4f6 100644 --- a/container/json.go +++ b/container/json.go @@ -1,8 +1,8 @@ package container import ( - container "github.com/TrueCloudLab/frostfs-api-go/v2/container/grpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" + container "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/container/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message" ) func (a *Attribute) MarshalJSON() ([]byte, error) { diff --git a/container/marshal.go b/container/marshal.go index a7f77ab..98b32b4 100644 --- a/container/marshal.go +++ b/container/marshal.go @@ -1,9 +1,9 @@ package container import ( - container "github.com/TrueCloudLab/frostfs-api-go/v2/container/grpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" - protoutil "github.com/TrueCloudLab/frostfs-api-go/v2/util/proto" + container "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/container/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message" + protoutil "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/util/proto" ) const ( diff --git a/container/message_test.go b/container/message_test.go index 62e1914..869ccb2 100644 --- a/container/message_test.go +++ b/container/message_test.go @@ -3,9 +3,9 @@ package container_test import ( "testing" - containertest "github.com/TrueCloudLab/frostfs-api-go/v2/container/test" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" - messagetest "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message/test" + containertest "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/container/test" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message" + messagetest "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message/test" ) func TestMessageConvert(t *testing.T) { diff --git a/container/status.go b/container/status.go index d5aa147..f44fce9 100644 --- a/container/status.go +++ b/container/status.go @@ -1,8 +1,8 @@ package container import ( - "github.com/TrueCloudLab/frostfs-api-go/v2/status" - statusgrpc "github.com/TrueCloudLab/frostfs-api-go/v2/status/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/status" + statusgrpc "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/status/grpc" ) // LocalizeFailStatus checks if passed global status.Code is related to container failure and: diff --git a/container/status_test.go b/container/status_test.go index adbfd2f..57787b1 100644 --- a/container/status_test.go +++ b/container/status_test.go @@ -3,8 +3,8 @@ package container_test import ( "testing" - "github.com/TrueCloudLab/frostfs-api-go/v2/container" - statustest "github.com/TrueCloudLab/frostfs-api-go/v2/status/test" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/container" + statustest "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/status/test" ) func TestStatusCodes(t *testing.T) { diff --git a/container/test/generate.go b/container/test/generate.go index 82f378a..00a0955 100644 --- a/container/test/generate.go +++ b/container/test/generate.go @@ -1,11 +1,11 @@ package containertest import ( - acltest "github.com/TrueCloudLab/frostfs-api-go/v2/acl/test" - "github.com/TrueCloudLab/frostfs-api-go/v2/container" - netmaptest "github.com/TrueCloudLab/frostfs-api-go/v2/netmap/test" - refstest "github.com/TrueCloudLab/frostfs-api-go/v2/refs/test" - sessiontest "github.com/TrueCloudLab/frostfs-api-go/v2/session/test" + acltest "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/acl/test" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/container" + netmaptest "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/netmap/test" + refstest "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/test" + sessiontest "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session/test" ) func GenerateAttribute(empty bool) *container.Attribute { diff --git a/container/types.go b/container/types.go index fdb35f8..948580d 100644 --- a/container/types.go +++ b/container/types.go @@ -1,10 +1,10 @@ package container import ( - "github.com/TrueCloudLab/frostfs-api-go/v2/acl" - "github.com/TrueCloudLab/frostfs-api-go/v2/netmap" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - "github.com/TrueCloudLab/frostfs-api-go/v2/session" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/acl" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/netmap" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session" ) type Attribute struct { diff --git a/go.mod b/go.mod index 4eddb9e..25445da 100644 --- a/go.mod +++ b/go.mod @@ -1,16 +1,16 @@ -module github.com/TrueCloudLab/frostfs-api-go/v2 +module git.frostfs.info/TrueCloudLab/frostfs-api-go/v2 go 1.17 require ( - github.com/TrueCloudLab/frostfs-crypto v0.5.0 + git.frostfs.info/TrueCloudLab/frostfs-crypto v0.6.0 github.com/stretchr/testify v1.7.0 google.golang.org/grpc v1.48.0 google.golang.org/protobuf v1.28.0 ) require ( - github.com/TrueCloudLab/rfc6979 v0.3.0 // indirect + git.frostfs.info/TrueCloudLab/rfc6979 v0.4.0 // indirect github.com/davecgh/go-spew v1.1.0 // indirect github.com/golang/protobuf v1.5.2 // indirect github.com/mr-tron/base58 v1.2.0 // indirect diff --git a/go.sum b/go.sum index 68f8351..34f4d44 100644 --- a/go.sum +++ b/go.sum @@ -1,10 +1,10 @@ cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +git.frostfs.info/TrueCloudLab/frostfs-crypto v0.6.0 h1:FxqFDhQYYgpe41qsIHVOcdzSVCB8JNSfPG7Uk4r2oSk= +git.frostfs.info/TrueCloudLab/frostfs-crypto v0.6.0/go.mod h1:RUIKZATQLJ+TaYQa60X2fTDwfuhMfm8Ar60bQ5fr+vU= +git.frostfs.info/TrueCloudLab/rfc6979 v0.4.0 h1:M2KR3iBj7WpY3hP10IevfIB9MURr4O9mwVfJ+SjT3HA= +git.frostfs.info/TrueCloudLab/rfc6979 v0.4.0/go.mod h1:okpbKfVYf/BpejtfFTfhZqFP+sZ8rsHrP8Rr/jYPNRc= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= -github.com/TrueCloudLab/frostfs-crypto v0.5.0 h1:ZoLjixSkQv3j1EwZ1WJzMEJY2NR+9nO4Pd8WSyM/RRI= -github.com/TrueCloudLab/frostfs-crypto v0.5.0/go.mod h1:775MUewpH8AWpXrimAG2NYWOXB6lpKOI5kqgu+eI5zs= -github.com/TrueCloudLab/rfc6979 v0.3.0 h1:0SYMAfQWh/TjnofqYQHy+s3rmQ5gi0fvOaDbqd60/Ic= -github.com/TrueCloudLab/rfc6979 v0.3.0/go.mod h1:qylxFXFQ/sMvpZC/8JyWp+mfzk5Zj/KDT5FAbekhobc= github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= diff --git a/lock/grpc/types.go b/lock/grpc/types.go index d39c134..9d5719f 100644 --- a/lock/grpc/types.go +++ b/lock/grpc/types.go @@ -1,6 +1,6 @@ package lock -import refs "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" +import refs "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/grpc" // SetMembers sets `members` field. func (x *Lock) SetMembers(ids []*refs.ObjectID) { diff --git a/lock/grpc/types.pb.go b/lock/grpc/types.pb.go index 35bef9e..01e263a 100644 --- a/lock/grpc/types.pb.go +++ b/lock/grpc/types.pb.go @@ -7,7 +7,7 @@ package lock import ( - grpc "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + grpc "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/grpc" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" @@ -84,13 +84,13 @@ var file_lock_grpc_types_proto_rawDesc = []byte{ 0x0a, 0x04, 0x4c, 0x6f, 0x63, 0x6b, 0x12, 0x32, 0x0a, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x72, 0x65, 0x66, 0x73, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x49, - 0x44, 0x52, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x42, 0x55, 0x5a, 0x38, 0x67, 0x69, - 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x72, 0x75, 0x65, 0x43, 0x6c, 0x6f, - 0x75, 0x64, 0x4c, 0x61, 0x62, 0x2f, 0x66, 0x72, 0x6f, 0x73, 0x74, 0x66, 0x73, 0x2d, 0x61, 0x70, - 0x69, 0x2d, 0x67, 0x6f, 0x2f, 0x76, 0x32, 0x2f, 0x6c, 0x6f, 0x63, 0x6b, 0x2f, 0x67, 0x72, 0x70, - 0x63, 0x3b, 0x6c, 0x6f, 0x63, 0x6b, 0xaa, 0x02, 0x18, 0x4e, 0x65, 0x6f, 0x2e, 0x46, 0x69, 0x6c, - 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x41, 0x50, 0x49, 0x2e, 0x4c, 0x6f, 0x63, - 0x6b, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x44, 0x52, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x42, 0x5b, 0x5a, 0x3e, 0x67, 0x69, + 0x74, 0x2e, 0x66, 0x72, 0x6f, 0x73, 0x74, 0x66, 0x73, 0x2e, 0x69, 0x6e, 0x66, 0x6f, 0x2f, 0x54, + 0x72, 0x75, 0x65, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x4c, 0x61, 0x62, 0x2f, 0x66, 0x72, 0x6f, 0x73, + 0x74, 0x66, 0x73, 0x2d, 0x61, 0x70, 0x69, 0x2d, 0x67, 0x6f, 0x2f, 0x76, 0x32, 0x2f, 0x6c, 0x6f, + 0x63, 0x6b, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x3b, 0x6c, 0x6f, 0x63, 0x6b, 0xaa, 0x02, 0x18, 0x4e, + 0x65, 0x6f, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x41, + 0x50, 0x49, 0x2e, 0x4c, 0x6f, 0x63, 0x6b, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/netmap/attributes.go b/netmap/attributes.go index 6901da5..719d882 100644 --- a/netmap/attributes.go +++ b/netmap/attributes.go @@ -5,7 +5,7 @@ import ( "fmt" "strings" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" ) // prefix of keys to subnet attributes. diff --git a/netmap/attributes_test.go b/netmap/attributes_test.go index 0385f42..6d5b9ea 100644 --- a/netmap/attributes_test.go +++ b/netmap/attributes_test.go @@ -4,9 +4,9 @@ import ( "strconv" "testing" - "github.com/TrueCloudLab/frostfs-api-go/v2/netmap" - netmaptest "github.com/TrueCloudLab/frostfs-api-go/v2/netmap/test" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/netmap" + netmaptest "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/netmap/test" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" "github.com/stretchr/testify/require" ) diff --git a/netmap/convert.go b/netmap/convert.go index 36af646..cc20d36 100644 --- a/netmap/convert.go +++ b/netmap/convert.go @@ -1,11 +1,11 @@ package netmap import ( - netmap "github.com/TrueCloudLab/frostfs-api-go/v2/netmap/grpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - refsGRPC "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/grpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" + netmap "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/netmap/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + refsGRPC "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message" ) func (f *Filter) ToGRPCMessage() grpc.Message { diff --git a/netmap/grpc/service.go b/netmap/grpc/service.go index ad72ced..882db6b 100644 --- a/netmap/grpc/service.go +++ b/netmap/grpc/service.go @@ -1,8 +1,8 @@ package netmap import ( - refs "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" - session "github.com/TrueCloudLab/frostfs-api-go/v2/session/grpc" + refs "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + session "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session/grpc" ) // SetBody sets body of the request. diff --git a/netmap/grpc/service.pb.go b/netmap/grpc/service.pb.go index 64859ae..d74d7c3 100644 --- a/netmap/grpc/service.pb.go +++ b/netmap/grpc/service.pb.go @@ -7,8 +7,8 @@ package netmap import ( - grpc1 "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" - grpc "github.com/TrueCloudLab/frostfs-api-go/v2/session/grpc" + grpc1 "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + grpc "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session/grpc" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" @@ -854,14 +854,14 @@ var file_netmap_grpc_service_proto_rawDesc = []byte{ 0x6d, 0x61, 0x70, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x6e, 0x65, 0x74, 0x6d, 0x61, 0x70, 0x2e, 0x4e, 0x65, 0x74, 0x6d, 0x61, 0x70, 0x53, 0x6e, 0x61, 0x70, - 0x73, 0x68, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x5b, 0x5a, 0x3c, - 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x72, 0x75, 0x65, 0x43, - 0x6c, 0x6f, 0x75, 0x64, 0x4c, 0x61, 0x62, 0x2f, 0x66, 0x72, 0x6f, 0x73, 0x74, 0x66, 0x73, 0x2d, - 0x61, 0x70, 0x69, 0x2d, 0x67, 0x6f, 0x2f, 0x76, 0x32, 0x2f, 0x6e, 0x65, 0x74, 0x6d, 0x61, 0x70, - 0x2f, 0x67, 0x72, 0x70, 0x63, 0x3b, 0x6e, 0x65, 0x74, 0x6d, 0x61, 0x70, 0xaa, 0x02, 0x1a, 0x4e, - 0x65, 0x6f, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x41, - 0x50, 0x49, 0x2e, 0x4e, 0x65, 0x74, 0x6d, 0x61, 0x70, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, + 0x73, 0x68, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x61, 0x5a, 0x42, + 0x67, 0x69, 0x74, 0x2e, 0x66, 0x72, 0x6f, 0x73, 0x74, 0x66, 0x73, 0x2e, 0x69, 0x6e, 0x66, 0x6f, + 0x2f, 0x54, 0x72, 0x75, 0x65, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x4c, 0x61, 0x62, 0x2f, 0x66, 0x72, + 0x6f, 0x73, 0x74, 0x66, 0x73, 0x2d, 0x61, 0x70, 0x69, 0x2d, 0x67, 0x6f, 0x2f, 0x76, 0x32, 0x2f, + 0x6e, 0x65, 0x74, 0x6d, 0x61, 0x70, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x3b, 0x6e, 0x65, 0x74, 0x6d, + 0x61, 0x70, 0xaa, 0x02, 0x1a, 0x4e, 0x65, 0x6f, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x53, 0x74, 0x6f, + 0x72, 0x61, 0x67, 0x65, 0x2e, 0x41, 0x50, 0x49, 0x2e, 0x4e, 0x65, 0x74, 0x6d, 0x61, 0x70, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/netmap/grpc/types.go b/netmap/grpc/types.go index b97a0c8..d0bf41a 100644 --- a/netmap/grpc/types.go +++ b/netmap/grpc/types.go @@ -1,6 +1,6 @@ package netmap -import refs "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" +import refs "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/grpc" // SetReplicas of placement policy. func (m *PlacementPolicy) SetReplicas(v []*Replica) { diff --git a/netmap/grpc/types.pb.go b/netmap/grpc/types.pb.go index 5d2237b..92fea20 100644 --- a/netmap/grpc/types.pb.go +++ b/netmap/grpc/types.pb.go @@ -7,7 +7,7 @@ package netmap import ( - grpc "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + grpc "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/grpc" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" @@ -1145,13 +1145,13 @@ var file_netmap_grpc_types_proto_rawDesc = []byte{ 0x73, 0x65, 0x12, 0x16, 0x0a, 0x12, 0x43, 0x4c, 0x41, 0x55, 0x53, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x53, 0x41, 0x4d, 0x45, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x49, 0x53, 0x54, 0x49, 0x4e, 0x43, 0x54, - 0x10, 0x02, 0x42, 0x5b, 0x5a, 0x3c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, - 0x2f, 0x54, 0x72, 0x75, 0x65, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x4c, 0x61, 0x62, 0x2f, 0x66, 0x72, - 0x6f, 0x73, 0x74, 0x66, 0x73, 0x2d, 0x61, 0x70, 0x69, 0x2d, 0x67, 0x6f, 0x2f, 0x76, 0x32, 0x2f, - 0x6e, 0x65, 0x74, 0x6d, 0x61, 0x70, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x3b, 0x6e, 0x65, 0x74, 0x6d, - 0x61, 0x70, 0xaa, 0x02, 0x1a, 0x4e, 0x65, 0x6f, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x53, 0x74, 0x6f, - 0x72, 0x61, 0x67, 0x65, 0x2e, 0x41, 0x50, 0x49, 0x2e, 0x4e, 0x65, 0x74, 0x6d, 0x61, 0x70, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x10, 0x02, 0x42, 0x61, 0x5a, 0x42, 0x67, 0x69, 0x74, 0x2e, 0x66, 0x72, 0x6f, 0x73, 0x74, 0x66, + 0x73, 0x2e, 0x69, 0x6e, 0x66, 0x6f, 0x2f, 0x54, 0x72, 0x75, 0x65, 0x43, 0x6c, 0x6f, 0x75, 0x64, + 0x4c, 0x61, 0x62, 0x2f, 0x66, 0x72, 0x6f, 0x73, 0x74, 0x66, 0x73, 0x2d, 0x61, 0x70, 0x69, 0x2d, + 0x67, 0x6f, 0x2f, 0x76, 0x32, 0x2f, 0x6e, 0x65, 0x74, 0x6d, 0x61, 0x70, 0x2f, 0x67, 0x72, 0x70, + 0x63, 0x3b, 0x6e, 0x65, 0x74, 0x6d, 0x61, 0x70, 0xaa, 0x02, 0x1a, 0x4e, 0x65, 0x6f, 0x2e, 0x46, + 0x69, 0x6c, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x41, 0x50, 0x49, 0x2e, 0x4e, + 0x65, 0x74, 0x6d, 0x61, 0x70, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/netmap/json.go b/netmap/json.go index aed469c..6eacb96 100644 --- a/netmap/json.go +++ b/netmap/json.go @@ -1,8 +1,8 @@ package netmap import ( - netmap "github.com/TrueCloudLab/frostfs-api-go/v2/netmap/grpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" + netmap "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/netmap/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message" ) func (p *PlacementPolicy) MarshalJSON() ([]byte, error) { diff --git a/netmap/marshal.go b/netmap/marshal.go index d006f92..e08d6f0 100644 --- a/netmap/marshal.go +++ b/netmap/marshal.go @@ -1,9 +1,9 @@ package netmap import ( - netmap "github.com/TrueCloudLab/frostfs-api-go/v2/netmap/grpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" - protoutil "github.com/TrueCloudLab/frostfs-api-go/v2/util/proto" + netmap "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/netmap/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message" + protoutil "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/util/proto" ) const ( diff --git a/netmap/message_test.go b/netmap/message_test.go index 2ebec3c..fe78ffe 100644 --- a/netmap/message_test.go +++ b/netmap/message_test.go @@ -3,9 +3,9 @@ package netmap_test import ( "testing" - netmaptest "github.com/TrueCloudLab/frostfs-api-go/v2/netmap/test" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" - messagetest "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message/test" + netmaptest "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/netmap/test" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message" + messagetest "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message/test" ) func TestMessageConvert(t *testing.T) { diff --git a/netmap/string.go b/netmap/string.go index 0c2a491..1f00a55 100644 --- a/netmap/string.go +++ b/netmap/string.go @@ -1,7 +1,7 @@ package netmap import ( - netmap "github.com/TrueCloudLab/frostfs-api-go/v2/netmap/grpc" + netmap "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/netmap/grpc" ) // String returns string representation of Clause. diff --git a/netmap/test/generate.go b/netmap/test/generate.go index 835e7f1..30e200e 100644 --- a/netmap/test/generate.go +++ b/netmap/test/generate.go @@ -1,9 +1,9 @@ package netmaptest import ( - "github.com/TrueCloudLab/frostfs-api-go/v2/netmap" - refstest "github.com/TrueCloudLab/frostfs-api-go/v2/refs/test" - sessiontest "github.com/TrueCloudLab/frostfs-api-go/v2/session/test" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/netmap" + refstest "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/test" + sessiontest "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session/test" ) func GenerateFilter(empty bool) *netmap.Filter { diff --git a/netmap/types.go b/netmap/types.go index dc76f80..c878184 100644 --- a/netmap/types.go +++ b/netmap/types.go @@ -1,8 +1,8 @@ package netmap import ( - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - "github.com/TrueCloudLab/frostfs-api-go/v2/session" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session" ) type LocalNodeInfoRequest struct { diff --git a/object/convert.go b/object/convert.go index 82eba35..95fde3c 100644 --- a/object/convert.go +++ b/object/convert.go @@ -3,13 +3,13 @@ package object import ( "fmt" - object "github.com/TrueCloudLab/frostfs-api-go/v2/object/grpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - refsGRPC "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/grpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" - "github.com/TrueCloudLab/frostfs-api-go/v2/session" - sessionGRPC "github.com/TrueCloudLab/frostfs-api-go/v2/session/grpc" + object "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/object/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + refsGRPC "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session" + sessionGRPC "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session/grpc" ) func TypeToGRPCField(t Type) object.ObjectType { diff --git a/object/grpc/service.go b/object/grpc/service.go index d85d44b..44b5f4a 100644 --- a/object/grpc/service.go +++ b/object/grpc/service.go @@ -1,8 +1,8 @@ package object import ( - refs "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" - session "github.com/TrueCloudLab/frostfs-api-go/v2/session/grpc" + refs "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + session "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session/grpc" ) // SetAddress sets address of the requested object. diff --git a/object/grpc/service.pb.go b/object/grpc/service.pb.go index 5821b77..207b0b0 100644 --- a/object/grpc/service.pb.go +++ b/object/grpc/service.pb.go @@ -7,8 +7,8 @@ package object import ( - grpc1 "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" - grpc "github.com/TrueCloudLab/frostfs-api-go/v2/session/grpc" + grpc1 "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + grpc "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session/grpc" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" @@ -2751,13 +2751,14 @@ var file_object_grpc_service_proto_rawDesc = []byte{ 0x61, 0x6e, 0x67, 0x65, 0x48, 0x61, 0x73, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x48, 0x61, 0x73, 0x68, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x5b, 0x5a, 0x3c, 0x67, 0x69, 0x74, 0x68, 0x75, - 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x72, 0x75, 0x65, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x4c, - 0x61, 0x62, 0x2f, 0x66, 0x72, 0x6f, 0x73, 0x74, 0x66, 0x73, 0x2d, 0x61, 0x70, 0x69, 0x2d, 0x67, - 0x6f, 0x2f, 0x76, 0x32, 0x2f, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x67, 0x72, 0x70, 0x63, - 0x3b, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0xaa, 0x02, 0x1a, 0x4e, 0x65, 0x6f, 0x2e, 0x46, 0x69, - 0x6c, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x41, 0x50, 0x49, 0x2e, 0x4f, 0x62, - 0x6a, 0x65, 0x63, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x61, 0x5a, 0x42, 0x67, 0x69, 0x74, 0x2e, 0x66, + 0x72, 0x6f, 0x73, 0x74, 0x66, 0x73, 0x2e, 0x69, 0x6e, 0x66, 0x6f, 0x2f, 0x54, 0x72, 0x75, 0x65, + 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x4c, 0x61, 0x62, 0x2f, 0x66, 0x72, 0x6f, 0x73, 0x74, 0x66, 0x73, + 0x2d, 0x61, 0x70, 0x69, 0x2d, 0x67, 0x6f, 0x2f, 0x76, 0x32, 0x2f, 0x6f, 0x62, 0x6a, 0x65, 0x63, + 0x74, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x3b, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0xaa, 0x02, 0x1a, + 0x4e, 0x65, 0x6f, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, + 0x41, 0x50, 0x49, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, } var ( diff --git a/object/grpc/service_grpc.pb.go b/object/grpc/service_grpc.pb.go index 8864e00..172998c 100644 --- a/object/grpc/service_grpc.pb.go +++ b/object/grpc/service_grpc.pb.go @@ -30,30 +30,30 @@ type ObjectServiceClient interface { // keeping the receiving order. // // Extended headers can change `Get` behaviour: - // * __NEOFS__NETMAP_EPOCH \ - // Will use the requsted version of Network Map for object placement - // calculation. - // * __NEOFS__NETMAP_LOOKUP_DEPTH \ - // Will try older versions (starting from `__NEOFS__NETMAP_EPOCH` if specified or - // the latest one otherwise) of Network Map to find an object until the depth - // limit is reached. + // - __NEOFS__NETMAP_EPOCH \ + // Will use the requsted version of Network Map for object placement + // calculation. + // - __NEOFS__NETMAP_LOOKUP_DEPTH \ + // Will try older versions (starting from `__NEOFS__NETMAP_EPOCH` if specified or + // the latest one otherwise) of Network Map to find an object until the depth + // limit is reached. // // Please refer to detailed `XHeader` description. // // Statuses: - // - **OK** (0, SECTION_SUCCESS): \ - // object has been successfully read; - // - Common failures (SECTION_FAILURE_COMMON); - // - **ACCESS_DENIED** (2048, SECTION_OBJECT): \ - // read access to the object is denied; - // - **OBJECT_NOT_FOUND** (2049, SECTION_OBJECT): \ - // object not found in container; - // - **OBJECT_ALREADY_REMOVED** (2052, SECTION_OBJECT): \ - // the requested object has been marked as deleted; - // - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \ - // object container not found; - // - **TOKEN_EXPIRED** (4097, SECTION_SESSION): \ - // provided session token has expired. + // - **OK** (0, SECTION_SUCCESS): \ + // object has been successfully read; + // - Common failures (SECTION_FAILURE_COMMON); + // - **ACCESS_DENIED** (2048, SECTION_OBJECT): \ + // read access to the object is denied; + // - **OBJECT_NOT_FOUND** (2049, SECTION_OBJECT): \ + // object not found in container; + // - **OBJECT_ALREADY_REMOVED** (2052, SECTION_OBJECT): \ + // the requested object has been marked as deleted; + // - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \ + // object container not found; + // - **TOKEN_EXPIRED** (4097, SECTION_SESSION): \ + // provided session token has expired. Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (ObjectService_GetClient, error) // Put the object into container. Request uses gRPC stream. First message // SHOULD be of PutHeader type. `ContainerID` and `OwnerID` of an object @@ -63,102 +63,103 @@ type ObjectServiceClient interface { // Chunk messages SHOULD be sent in the direct order of fragmentation. // // Extended headers can change `Put` behaviour: - // * __NEOFS__NETMAP_EPOCH \ - // Will use the requsted version of Network Map for object placement - // calculation. + // - __NEOFS__NETMAP_EPOCH \ + // Will use the requsted version of Network Map for object placement + // calculation. // // Please refer to detailed `XHeader` description. // // Statuses: - // - **OK** (0, SECTION_SUCCESS): \ - // object has been successfully saved in the container; - // - Common failures (SECTION_FAILURE_COMMON); - // - **ACCESS_DENIED** (2048, SECTION_OBJECT): \ - // write access to the container is denied; - // - **LOCKED** (2050, SECTION_OBJECT): \ - // placement of an object of type TOMBSTONE that includes at least one locked - // object is prohibited; - // - **LOCK_NON_REGULAR_OBJECT** (2051, SECTION_OBJECT): \ - // placement of an object of type LOCK that includes at least one object of - // type other than REGULAR is prohibited; - // - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \ - // object storage container not found; - // - **TOKEN_NOT_FOUND** (4096, SECTION_SESSION): \ - // (for trusted object preparation) session private key does not exist or has + // - **OK** (0, SECTION_SUCCESS): \ + // object has been successfully saved in the container; + // - Common failures (SECTION_FAILURE_COMMON); + // - **ACCESS_DENIED** (2048, SECTION_OBJECT): \ + // write access to the container is denied; + // - **LOCKED** (2050, SECTION_OBJECT): \ + // placement of an object of type TOMBSTONE that includes at least one locked + // object is prohibited; + // - **LOCK_NON_REGULAR_OBJECT** (2051, SECTION_OBJECT): \ + // placement of an object of type LOCK that includes at least one object of + // type other than REGULAR is prohibited; + // - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \ + // object storage container not found; + // - **TOKEN_NOT_FOUND** (4096, SECTION_SESSION): \ + // (for trusted object preparation) session private key does not exist or has + // // been deleted; - // - **TOKEN_EXPIRED** (4097, SECTION_SESSION): \ - // provided session token has expired. + // - **TOKEN_EXPIRED** (4097, SECTION_SESSION): \ + // provided session token has expired. Put(ctx context.Context, opts ...grpc.CallOption) (ObjectService_PutClient, error) // Delete the object from a container. There is no immediate removal // guarantee. Object will be marked for removal and deleted eventually. // // Extended headers can change `Delete` behaviour: - // * __NEOFS__NETMAP_EPOCH \ - // Will use the requsted version of Network Map for object placement - // calculation. + // - __NEOFS__NETMAP_EPOCH \ + // Will use the requsted version of Network Map for object placement + // calculation. // // Please refer to detailed `XHeader` description. // // Statuses: - // - **OK** (0, SECTION_SUCCESS): \ - // object has been successfully marked to be removed from the container; - // - Common failures (SECTION_FAILURE_COMMON); - // - **ACCESS_DENIED** (2048, SECTION_OBJECT): \ - // delete access to the object is denied; - // - **LOCKED** (2050, SECTION_OBJECT): \ - // deleting a locked object is prohibited; - // - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \ - // object container not found; - // - **TOKEN_EXPIRED** (4097, SECTION_SESSION): \ - // provided session token has expired. + // - **OK** (0, SECTION_SUCCESS): \ + // object has been successfully marked to be removed from the container; + // - Common failures (SECTION_FAILURE_COMMON); + // - **ACCESS_DENIED** (2048, SECTION_OBJECT): \ + // delete access to the object is denied; + // - **LOCKED** (2050, SECTION_OBJECT): \ + // deleting a locked object is prohibited; + // - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \ + // object container not found; + // - **TOKEN_EXPIRED** (4097, SECTION_SESSION): \ + // provided session token has expired. Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error) // Returns the object Headers without data payload. By default full header is // returned. If `main_only` request field is set, the short header with only // the very minimal information will be returned instead. // // Extended headers can change `Head` behaviour: - // * __NEOFS__NETMAP_EPOCH \ - // Will use the requsted version of Network Map for object placement - // calculation. + // - __NEOFS__NETMAP_EPOCH \ + // Will use the requsted version of Network Map for object placement + // calculation. // // Please refer to detailed `XHeader` description. // // Statuses: - // - **OK** (0, SECTION_SUCCESS): \ - // object header has been successfully read; - // - Common failures (SECTION_FAILURE_COMMON); - // - **ACCESS_DENIED** (2048, SECTION_OBJECT): \ - // access to operation HEAD of the object is denied; - // - **OBJECT_NOT_FOUND** (2049, SECTION_OBJECT): \ - // object not found in container; - // - **OBJECT_ALREADY_REMOVED** (2052, SECTION_OBJECT): \ - // the requested object has been marked as deleted; - // - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \ - // object container not found; - // - **TOKEN_EXPIRED** (4097, SECTION_SESSION): \ - // provided session token has expired. + // - **OK** (0, SECTION_SUCCESS): \ + // object header has been successfully read; + // - Common failures (SECTION_FAILURE_COMMON); + // - **ACCESS_DENIED** (2048, SECTION_OBJECT): \ + // access to operation HEAD of the object is denied; + // - **OBJECT_NOT_FOUND** (2049, SECTION_OBJECT): \ + // object not found in container; + // - **OBJECT_ALREADY_REMOVED** (2052, SECTION_OBJECT): \ + // the requested object has been marked as deleted; + // - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \ + // object container not found; + // - **TOKEN_EXPIRED** (4097, SECTION_SESSION): \ + // provided session token has expired. Head(ctx context.Context, in *HeadRequest, opts ...grpc.CallOption) (*HeadResponse, error) // Search objects in container. Search query allows to match by Object // Header's filed values. Please see the corresponding NeoFS Technical // Specification section for more details. // // Extended headers can change `Search` behaviour: - // * __NEOFS__NETMAP_EPOCH \ - // Will use the requsted version of Network Map for object placement - // calculation. + // - __NEOFS__NETMAP_EPOCH \ + // Will use the requsted version of Network Map for object placement + // calculation. // // Please refer to detailed `XHeader` description. // // Statuses: - // - **OK** (0, SECTION_SUCCESS): \ - // objects have been successfully selected; - // - Common failures (SECTION_FAILURE_COMMON); - // - **ACCESS_DENIED** (2048, SECTION_OBJECT): \ - // access to operation SEARCH of the object is denied; - // - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \ - // search container not found; - // - **TOKEN_EXPIRED** (4097, SECTION_SESSION): \ - // provided session token has expired. + // - **OK** (0, SECTION_SUCCESS): \ + // objects have been successfully selected; + // - Common failures (SECTION_FAILURE_COMMON); + // - **ACCESS_DENIED** (2048, SECTION_OBJECT): \ + // access to operation SEARCH of the object is denied; + // - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \ + // search container not found; + // - **TOKEN_EXPIRED** (4097, SECTION_SESSION): \ + // provided session token has expired. Search(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (ObjectService_SearchClient, error) // Get byte range of data payload. Range is set as an (offset, length) tuple. // Like in `Get` method, the response uses gRPC stream. Requested range can be @@ -166,31 +167,31 @@ type ObjectServiceClient interface { // order. // // Extended headers can change `GetRange` behaviour: - // * __NEOFS__NETMAP_EPOCH \ - // Will use the requsted version of Network Map for object placement - // calculation. - // * __NEOFS__NETMAP_LOOKUP_DEPTH \ - // Will try older versions of Network Map to find an object until the depth - // limit is reached. + // - __NEOFS__NETMAP_EPOCH \ + // Will use the requsted version of Network Map for object placement + // calculation. + // - __NEOFS__NETMAP_LOOKUP_DEPTH \ + // Will try older versions of Network Map to find an object until the depth + // limit is reached. // // Please refer to detailed `XHeader` description. // // Statuses: - // - **OK** (0, SECTION_SUCCESS): \ - // data range of the object payload has been successfully read; - // - Common failures (SECTION_FAILURE_COMMON); - // - **ACCESS_DENIED** (2048, SECTION_OBJECT): \ - // access to operation RANGE of the object is denied; - // - **OBJECT_NOT_FOUND** (2049, SECTION_OBJECT): \ - // object not found in container; - // - **OBJECT_ALREADY_REMOVED** (2052, SECTION_OBJECT): \ - // the requested object has been marked as deleted. - // - **OUT_OF_RANGE** (2053, SECTION_OBJECT): \ - // the requested range is out of bounds; - // - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \ - // object container not found; - // - **TOKEN_EXPIRED** (4097, SECTION_SESSION): \ - // provided session token has expired. + // - **OK** (0, SECTION_SUCCESS): \ + // data range of the object payload has been successfully read; + // - Common failures (SECTION_FAILURE_COMMON); + // - **ACCESS_DENIED** (2048, SECTION_OBJECT): \ + // access to operation RANGE of the object is denied; + // - **OBJECT_NOT_FOUND** (2049, SECTION_OBJECT): \ + // object not found in container; + // - **OBJECT_ALREADY_REMOVED** (2052, SECTION_OBJECT): \ + // the requested object has been marked as deleted. + // - **OUT_OF_RANGE** (2053, SECTION_OBJECT): \ + // the requested range is out of bounds; + // - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \ + // object container not found; + // - **TOKEN_EXPIRED** (4097, SECTION_SESSION): \ + // provided session token has expired. GetRange(ctx context.Context, in *GetRangeRequest, opts ...grpc.CallOption) (ObjectService_GetRangeClient, error) // Returns homomorphic or regular hash of object's payload range after // applying XOR operation with the provided `salt`. Ranges are set of (offset, @@ -198,29 +199,29 @@ type ObjectServiceClient interface { // the request. Note that hash is calculated for XORed data. // // Extended headers can change `GetRangeHash` behaviour: - // * __NEOFS__NETMAP_EPOCH \ - // Will use the requsted version of Network Map for object placement - // calculation. - // * __NEOFS__NETMAP_LOOKUP_DEPTH \ - // Will try older versions of Network Map to find an object until the depth - // limit is reached. + // - __NEOFS__NETMAP_EPOCH \ + // Will use the requsted version of Network Map for object placement + // calculation. + // - __NEOFS__NETMAP_LOOKUP_DEPTH \ + // Will try older versions of Network Map to find an object until the depth + // limit is reached. // // Please refer to detailed `XHeader` description. // // Statuses: - // - **OK** (0, SECTION_SUCCESS): \ - // data range of the object payload has been successfully hashed; - // - Common failures (SECTION_FAILURE_COMMON); - // - **ACCESS_DENIED** (2048, SECTION_OBJECT): \ - // access to operation RANGEHASH of the object is denied; - // - **OBJECT_NOT_FOUND** (2049, SECTION_OBJECT): \ - // object not found in container; - // - **OUT_OF_RANGE** (2053, SECTION_OBJECT): \ - // the requested range is out of bounds; - // - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \ - // object container not found; - // - **TOKEN_EXPIRED** (4097, SECTION_SESSION): \ - // provided session token has expired. + // - **OK** (0, SECTION_SUCCESS): \ + // data range of the object payload has been successfully hashed; + // - Common failures (SECTION_FAILURE_COMMON); + // - **ACCESS_DENIED** (2048, SECTION_OBJECT): \ + // access to operation RANGEHASH of the object is denied; + // - **OBJECT_NOT_FOUND** (2049, SECTION_OBJECT): \ + // object not found in container; + // - **OUT_OF_RANGE** (2053, SECTION_OBJECT): \ + // the requested range is out of bounds; + // - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \ + // object container not found; + // - **TOKEN_EXPIRED** (4097, SECTION_SESSION): \ + // provided session token has expired. GetRangeHash(ctx context.Context, in *GetRangeHashRequest, opts ...grpc.CallOption) (*GetRangeHashResponse, error) } @@ -401,30 +402,30 @@ type ObjectServiceServer interface { // keeping the receiving order. // // Extended headers can change `Get` behaviour: - // * __NEOFS__NETMAP_EPOCH \ - // Will use the requsted version of Network Map for object placement - // calculation. - // * __NEOFS__NETMAP_LOOKUP_DEPTH \ - // Will try older versions (starting from `__NEOFS__NETMAP_EPOCH` if specified or - // the latest one otherwise) of Network Map to find an object until the depth - // limit is reached. + // - __NEOFS__NETMAP_EPOCH \ + // Will use the requsted version of Network Map for object placement + // calculation. + // - __NEOFS__NETMAP_LOOKUP_DEPTH \ + // Will try older versions (starting from `__NEOFS__NETMAP_EPOCH` if specified or + // the latest one otherwise) of Network Map to find an object until the depth + // limit is reached. // // Please refer to detailed `XHeader` description. // // Statuses: - // - **OK** (0, SECTION_SUCCESS): \ - // object has been successfully read; - // - Common failures (SECTION_FAILURE_COMMON); - // - **ACCESS_DENIED** (2048, SECTION_OBJECT): \ - // read access to the object is denied; - // - **OBJECT_NOT_FOUND** (2049, SECTION_OBJECT): \ - // object not found in container; - // - **OBJECT_ALREADY_REMOVED** (2052, SECTION_OBJECT): \ - // the requested object has been marked as deleted; - // - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \ - // object container not found; - // - **TOKEN_EXPIRED** (4097, SECTION_SESSION): \ - // provided session token has expired. + // - **OK** (0, SECTION_SUCCESS): \ + // object has been successfully read; + // - Common failures (SECTION_FAILURE_COMMON); + // - **ACCESS_DENIED** (2048, SECTION_OBJECT): \ + // read access to the object is denied; + // - **OBJECT_NOT_FOUND** (2049, SECTION_OBJECT): \ + // object not found in container; + // - **OBJECT_ALREADY_REMOVED** (2052, SECTION_OBJECT): \ + // the requested object has been marked as deleted; + // - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \ + // object container not found; + // - **TOKEN_EXPIRED** (4097, SECTION_SESSION): \ + // provided session token has expired. Get(*GetRequest, ObjectService_GetServer) error // Put the object into container. Request uses gRPC stream. First message // SHOULD be of PutHeader type. `ContainerID` and `OwnerID` of an object @@ -434,102 +435,103 @@ type ObjectServiceServer interface { // Chunk messages SHOULD be sent in the direct order of fragmentation. // // Extended headers can change `Put` behaviour: - // * __NEOFS__NETMAP_EPOCH \ - // Will use the requsted version of Network Map for object placement - // calculation. + // - __NEOFS__NETMAP_EPOCH \ + // Will use the requsted version of Network Map for object placement + // calculation. // // Please refer to detailed `XHeader` description. // // Statuses: - // - **OK** (0, SECTION_SUCCESS): \ - // object has been successfully saved in the container; - // - Common failures (SECTION_FAILURE_COMMON); - // - **ACCESS_DENIED** (2048, SECTION_OBJECT): \ - // write access to the container is denied; - // - **LOCKED** (2050, SECTION_OBJECT): \ - // placement of an object of type TOMBSTONE that includes at least one locked - // object is prohibited; - // - **LOCK_NON_REGULAR_OBJECT** (2051, SECTION_OBJECT): \ - // placement of an object of type LOCK that includes at least one object of - // type other than REGULAR is prohibited; - // - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \ - // object storage container not found; - // - **TOKEN_NOT_FOUND** (4096, SECTION_SESSION): \ - // (for trusted object preparation) session private key does not exist or has + // - **OK** (0, SECTION_SUCCESS): \ + // object has been successfully saved in the container; + // - Common failures (SECTION_FAILURE_COMMON); + // - **ACCESS_DENIED** (2048, SECTION_OBJECT): \ + // write access to the container is denied; + // - **LOCKED** (2050, SECTION_OBJECT): \ + // placement of an object of type TOMBSTONE that includes at least one locked + // object is prohibited; + // - **LOCK_NON_REGULAR_OBJECT** (2051, SECTION_OBJECT): \ + // placement of an object of type LOCK that includes at least one object of + // type other than REGULAR is prohibited; + // - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \ + // object storage container not found; + // - **TOKEN_NOT_FOUND** (4096, SECTION_SESSION): \ + // (for trusted object preparation) session private key does not exist or has + // // been deleted; - // - **TOKEN_EXPIRED** (4097, SECTION_SESSION): \ - // provided session token has expired. + // - **TOKEN_EXPIRED** (4097, SECTION_SESSION): \ + // provided session token has expired. Put(ObjectService_PutServer) error // Delete the object from a container. There is no immediate removal // guarantee. Object will be marked for removal and deleted eventually. // // Extended headers can change `Delete` behaviour: - // * __NEOFS__NETMAP_EPOCH \ - // Will use the requsted version of Network Map for object placement - // calculation. + // - __NEOFS__NETMAP_EPOCH \ + // Will use the requsted version of Network Map for object placement + // calculation. // // Please refer to detailed `XHeader` description. // // Statuses: - // - **OK** (0, SECTION_SUCCESS): \ - // object has been successfully marked to be removed from the container; - // - Common failures (SECTION_FAILURE_COMMON); - // - **ACCESS_DENIED** (2048, SECTION_OBJECT): \ - // delete access to the object is denied; - // - **LOCKED** (2050, SECTION_OBJECT): \ - // deleting a locked object is prohibited; - // - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \ - // object container not found; - // - **TOKEN_EXPIRED** (4097, SECTION_SESSION): \ - // provided session token has expired. + // - **OK** (0, SECTION_SUCCESS): \ + // object has been successfully marked to be removed from the container; + // - Common failures (SECTION_FAILURE_COMMON); + // - **ACCESS_DENIED** (2048, SECTION_OBJECT): \ + // delete access to the object is denied; + // - **LOCKED** (2050, SECTION_OBJECT): \ + // deleting a locked object is prohibited; + // - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \ + // object container not found; + // - **TOKEN_EXPIRED** (4097, SECTION_SESSION): \ + // provided session token has expired. Delete(context.Context, *DeleteRequest) (*DeleteResponse, error) // Returns the object Headers without data payload. By default full header is // returned. If `main_only` request field is set, the short header with only // the very minimal information will be returned instead. // // Extended headers can change `Head` behaviour: - // * __NEOFS__NETMAP_EPOCH \ - // Will use the requsted version of Network Map for object placement - // calculation. + // - __NEOFS__NETMAP_EPOCH \ + // Will use the requsted version of Network Map for object placement + // calculation. // // Please refer to detailed `XHeader` description. // // Statuses: - // - **OK** (0, SECTION_SUCCESS): \ - // object header has been successfully read; - // - Common failures (SECTION_FAILURE_COMMON); - // - **ACCESS_DENIED** (2048, SECTION_OBJECT): \ - // access to operation HEAD of the object is denied; - // - **OBJECT_NOT_FOUND** (2049, SECTION_OBJECT): \ - // object not found in container; - // - **OBJECT_ALREADY_REMOVED** (2052, SECTION_OBJECT): \ - // the requested object has been marked as deleted; - // - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \ - // object container not found; - // - **TOKEN_EXPIRED** (4097, SECTION_SESSION): \ - // provided session token has expired. + // - **OK** (0, SECTION_SUCCESS): \ + // object header has been successfully read; + // - Common failures (SECTION_FAILURE_COMMON); + // - **ACCESS_DENIED** (2048, SECTION_OBJECT): \ + // access to operation HEAD of the object is denied; + // - **OBJECT_NOT_FOUND** (2049, SECTION_OBJECT): \ + // object not found in container; + // - **OBJECT_ALREADY_REMOVED** (2052, SECTION_OBJECT): \ + // the requested object has been marked as deleted; + // - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \ + // object container not found; + // - **TOKEN_EXPIRED** (4097, SECTION_SESSION): \ + // provided session token has expired. Head(context.Context, *HeadRequest) (*HeadResponse, error) // Search objects in container. Search query allows to match by Object // Header's filed values. Please see the corresponding NeoFS Technical // Specification section for more details. // // Extended headers can change `Search` behaviour: - // * __NEOFS__NETMAP_EPOCH \ - // Will use the requsted version of Network Map for object placement - // calculation. + // - __NEOFS__NETMAP_EPOCH \ + // Will use the requsted version of Network Map for object placement + // calculation. // // Please refer to detailed `XHeader` description. // // Statuses: - // - **OK** (0, SECTION_SUCCESS): \ - // objects have been successfully selected; - // - Common failures (SECTION_FAILURE_COMMON); - // - **ACCESS_DENIED** (2048, SECTION_OBJECT): \ - // access to operation SEARCH of the object is denied; - // - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \ - // search container not found; - // - **TOKEN_EXPIRED** (4097, SECTION_SESSION): \ - // provided session token has expired. + // - **OK** (0, SECTION_SUCCESS): \ + // objects have been successfully selected; + // - Common failures (SECTION_FAILURE_COMMON); + // - **ACCESS_DENIED** (2048, SECTION_OBJECT): \ + // access to operation SEARCH of the object is denied; + // - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \ + // search container not found; + // - **TOKEN_EXPIRED** (4097, SECTION_SESSION): \ + // provided session token has expired. Search(*SearchRequest, ObjectService_SearchServer) error // Get byte range of data payload. Range is set as an (offset, length) tuple. // Like in `Get` method, the response uses gRPC stream. Requested range can be @@ -537,31 +539,31 @@ type ObjectServiceServer interface { // order. // // Extended headers can change `GetRange` behaviour: - // * __NEOFS__NETMAP_EPOCH \ - // Will use the requsted version of Network Map for object placement - // calculation. - // * __NEOFS__NETMAP_LOOKUP_DEPTH \ - // Will try older versions of Network Map to find an object until the depth - // limit is reached. + // - __NEOFS__NETMAP_EPOCH \ + // Will use the requsted version of Network Map for object placement + // calculation. + // - __NEOFS__NETMAP_LOOKUP_DEPTH \ + // Will try older versions of Network Map to find an object until the depth + // limit is reached. // // Please refer to detailed `XHeader` description. // // Statuses: - // - **OK** (0, SECTION_SUCCESS): \ - // data range of the object payload has been successfully read; - // - Common failures (SECTION_FAILURE_COMMON); - // - **ACCESS_DENIED** (2048, SECTION_OBJECT): \ - // access to operation RANGE of the object is denied; - // - **OBJECT_NOT_FOUND** (2049, SECTION_OBJECT): \ - // object not found in container; - // - **OBJECT_ALREADY_REMOVED** (2052, SECTION_OBJECT): \ - // the requested object has been marked as deleted. - // - **OUT_OF_RANGE** (2053, SECTION_OBJECT): \ - // the requested range is out of bounds; - // - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \ - // object container not found; - // - **TOKEN_EXPIRED** (4097, SECTION_SESSION): \ - // provided session token has expired. + // - **OK** (0, SECTION_SUCCESS): \ + // data range of the object payload has been successfully read; + // - Common failures (SECTION_FAILURE_COMMON); + // - **ACCESS_DENIED** (2048, SECTION_OBJECT): \ + // access to operation RANGE of the object is denied; + // - **OBJECT_NOT_FOUND** (2049, SECTION_OBJECT): \ + // object not found in container; + // - **OBJECT_ALREADY_REMOVED** (2052, SECTION_OBJECT): \ + // the requested object has been marked as deleted. + // - **OUT_OF_RANGE** (2053, SECTION_OBJECT): \ + // the requested range is out of bounds; + // - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \ + // object container not found; + // - **TOKEN_EXPIRED** (4097, SECTION_SESSION): \ + // provided session token has expired. GetRange(*GetRangeRequest, ObjectService_GetRangeServer) error // Returns homomorphic or regular hash of object's payload range after // applying XOR operation with the provided `salt`. Ranges are set of (offset, @@ -569,29 +571,29 @@ type ObjectServiceServer interface { // the request. Note that hash is calculated for XORed data. // // Extended headers can change `GetRangeHash` behaviour: - // * __NEOFS__NETMAP_EPOCH \ - // Will use the requsted version of Network Map for object placement - // calculation. - // * __NEOFS__NETMAP_LOOKUP_DEPTH \ - // Will try older versions of Network Map to find an object until the depth - // limit is reached. + // - __NEOFS__NETMAP_EPOCH \ + // Will use the requsted version of Network Map for object placement + // calculation. + // - __NEOFS__NETMAP_LOOKUP_DEPTH \ + // Will try older versions of Network Map to find an object until the depth + // limit is reached. // // Please refer to detailed `XHeader` description. // // Statuses: - // - **OK** (0, SECTION_SUCCESS): \ - // data range of the object payload has been successfully hashed; - // - Common failures (SECTION_FAILURE_COMMON); - // - **ACCESS_DENIED** (2048, SECTION_OBJECT): \ - // access to operation RANGEHASH of the object is denied; - // - **OBJECT_NOT_FOUND** (2049, SECTION_OBJECT): \ - // object not found in container; - // - **OUT_OF_RANGE** (2053, SECTION_OBJECT): \ - // the requested range is out of bounds; - // - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \ - // object container not found; - // - **TOKEN_EXPIRED** (4097, SECTION_SESSION): \ - // provided session token has expired. + // - **OK** (0, SECTION_SUCCESS): \ + // data range of the object payload has been successfully hashed; + // - Common failures (SECTION_FAILURE_COMMON); + // - **ACCESS_DENIED** (2048, SECTION_OBJECT): \ + // access to operation RANGEHASH of the object is denied; + // - **OBJECT_NOT_FOUND** (2049, SECTION_OBJECT): \ + // object not found in container; + // - **OUT_OF_RANGE** (2053, SECTION_OBJECT): \ + // the requested range is out of bounds; + // - **CONTAINER_NOT_FOUND** (3072, SECTION_CONTAINER): \ + // object container not found; + // - **TOKEN_EXPIRED** (4097, SECTION_SESSION): \ + // provided session token has expired. GetRangeHash(context.Context, *GetRangeHashRequest) (*GetRangeHashResponse, error) } diff --git a/object/grpc/status.pb.go b/object/grpc/status.pb.go index 17ad8de..034fa1b 100644 --- a/object/grpc/status.pb.go +++ b/object/grpc/status.pb.go @@ -10,7 +10,7 @@ import ( reflect "reflect" sync "sync" - grpc "github.com/TrueCloudLab/frostfs-api-go/v2/status/grpc" + grpc "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/status/grpc" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) diff --git a/object/grpc/types.go b/object/grpc/types.go index 9801037..9a2cdea 100644 --- a/object/grpc/types.go +++ b/object/grpc/types.go @@ -1,8 +1,8 @@ package object import ( - refs "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" - session "github.com/TrueCloudLab/frostfs-api-go/v2/session/grpc" + refs "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + session "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session/grpc" ) // SetKey sets key to the object attribute. diff --git a/object/grpc/types.pb.go b/object/grpc/types.pb.go index 19a888b..818bc5e 100644 --- a/object/grpc/types.pb.go +++ b/object/grpc/types.pb.go @@ -7,8 +7,8 @@ package object import ( - grpc "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" - grpc1 "github.com/TrueCloudLab/frostfs-api-go/v2/session/grpc" + grpc "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + grpc1 "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session/grpc" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" @@ -877,13 +877,13 @@ var file_object_grpc_types_proto_rawDesc = []byte{ 0x47, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x51, 0x55, 0x41, 0x4c, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x4e, 0x4f, 0x54, 0x5f, 0x50, 0x52, 0x45, 0x53, 0x45, 0x4e, 0x54, 0x10, 0x03, 0x12, 0x11, 0x0a, 0x0d, 0x43, 0x4f, 0x4d, 0x4d, 0x4f, 0x4e, 0x5f, 0x50, 0x52, 0x45, 0x46, 0x49, 0x58, 0x10, - 0x04, 0x42, 0x5b, 0x5a, 0x3c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, - 0x54, 0x72, 0x75, 0x65, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x4c, 0x61, 0x62, 0x2f, 0x66, 0x72, 0x6f, - 0x73, 0x74, 0x66, 0x73, 0x2d, 0x61, 0x70, 0x69, 0x2d, 0x67, 0x6f, 0x2f, 0x76, 0x32, 0x2f, 0x6f, - 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x3b, 0x6f, 0x62, 0x6a, 0x65, 0x63, - 0x74, 0xaa, 0x02, 0x1a, 0x4e, 0x65, 0x6f, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x53, 0x74, 0x6f, 0x72, - 0x61, 0x67, 0x65, 0x2e, 0x41, 0x50, 0x49, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x04, 0x42, 0x61, 0x5a, 0x42, 0x67, 0x69, 0x74, 0x2e, 0x66, 0x72, 0x6f, 0x73, 0x74, 0x66, 0x73, + 0x2e, 0x69, 0x6e, 0x66, 0x6f, 0x2f, 0x54, 0x72, 0x75, 0x65, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x4c, + 0x61, 0x62, 0x2f, 0x66, 0x72, 0x6f, 0x73, 0x74, 0x66, 0x73, 0x2d, 0x61, 0x70, 0x69, 0x2d, 0x67, + 0x6f, 0x2f, 0x76, 0x32, 0x2f, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x67, 0x72, 0x70, 0x63, + 0x3b, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0xaa, 0x02, 0x1a, 0x4e, 0x65, 0x6f, 0x2e, 0x46, 0x69, + 0x6c, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x41, 0x50, 0x49, 0x2e, 0x4f, 0x62, + 0x6a, 0x65, 0x63, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/object/json.go b/object/json.go index 6999cc9..1a04031 100644 --- a/object/json.go +++ b/object/json.go @@ -1,8 +1,8 @@ package object import ( - object "github.com/TrueCloudLab/frostfs-api-go/v2/object/grpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" + object "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/object/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message" ) func (h *ShortHeader) MarshalJSON() ([]byte, error) { diff --git a/object/lock.go b/object/lock.go index e9704a8..62ba4a9 100644 --- a/object/lock.go +++ b/object/lock.go @@ -4,12 +4,12 @@ import ( "errors" "fmt" - lock "github.com/TrueCloudLab/frostfs-api-go/v2/lock/grpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - refsGRPC "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/grpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" - "github.com/TrueCloudLab/frostfs-api-go/v2/util/proto" + lock "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/lock/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + refsGRPC "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/util/proto" ) // Lock represents object Lock message from NeoFS API V2 protocol. diff --git a/object/lock_test.go b/object/lock_test.go index 90c7e7f..41b159d 100644 --- a/object/lock_test.go +++ b/object/lock_test.go @@ -3,8 +3,8 @@ package object_test import ( "testing" - "github.com/TrueCloudLab/frostfs-api-go/v2/object" - objecttest "github.com/TrueCloudLab/frostfs-api-go/v2/object/test" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/object" + objecttest "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/object/test" "github.com/stretchr/testify/require" ) diff --git a/object/marshal.go b/object/marshal.go index e286578..b918e69 100644 --- a/object/marshal.go +++ b/object/marshal.go @@ -1,10 +1,10 @@ package object import ( - object "github.com/TrueCloudLab/frostfs-api-go/v2/object/grpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" - "github.com/TrueCloudLab/frostfs-api-go/v2/util/proto" + object "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/object/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/util/proto" ) const ( diff --git a/object/message_test.go b/object/message_test.go index 94b1c1d..c690e66 100644 --- a/object/message_test.go +++ b/object/message_test.go @@ -3,9 +3,9 @@ package object_test import ( "testing" - objecttest "github.com/TrueCloudLab/frostfs-api-go/v2/object/test" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" - messagetest "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message/test" + objecttest "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/object/test" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message" + messagetest "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message/test" ) func TestMessageConvert(t *testing.T) { diff --git a/object/status.go b/object/status.go index bbdeb3f..cff8275 100644 --- a/object/status.go +++ b/object/status.go @@ -1,8 +1,8 @@ package object import ( - "github.com/TrueCloudLab/frostfs-api-go/v2/status" - statusgrpc "github.com/TrueCloudLab/frostfs-api-go/v2/status/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/status" + statusgrpc "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/status/grpc" ) // LocalizeFailStatus checks if passed global status.Code is related to object failure and: diff --git a/object/status_test.go b/object/status_test.go index af7dcf9..7a9ac13 100644 --- a/object/status_test.go +++ b/object/status_test.go @@ -3,9 +3,9 @@ package object_test import ( "testing" - "github.com/TrueCloudLab/frostfs-api-go/v2/object" - "github.com/TrueCloudLab/frostfs-api-go/v2/status" - statustest "github.com/TrueCloudLab/frostfs-api-go/v2/status/test" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/object" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/status" + statustest "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/status/test" "github.com/stretchr/testify/require" ) diff --git a/object/string.go b/object/string.go index ef22f8b..6e42c81 100644 --- a/object/string.go +++ b/object/string.go @@ -1,7 +1,7 @@ package object import ( - object "github.com/TrueCloudLab/frostfs-api-go/v2/object/grpc" + object "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/object/grpc" ) // String returns string representation of Type. diff --git a/object/test/generate.go b/object/test/generate.go index 1c74576..0816ffc 100644 --- a/object/test/generate.go +++ b/object/test/generate.go @@ -1,11 +1,11 @@ package objecttest import ( - "github.com/TrueCloudLab/frostfs-api-go/v2/internal/random" - "github.com/TrueCloudLab/frostfs-api-go/v2/object" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - refstest "github.com/TrueCloudLab/frostfs-api-go/v2/refs/test" - sessiontest "github.com/TrueCloudLab/frostfs-api-go/v2/session/test" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/internal/random" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/object" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + refstest "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/test" + sessiontest "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session/test" ) func GenerateShortHeader(empty bool) *object.ShortHeader { diff --git a/object/types.go b/object/types.go index 33eb48e..f076b74 100644 --- a/object/types.go +++ b/object/types.go @@ -1,8 +1,8 @@ package object import ( - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - "github.com/TrueCloudLab/frostfs-api-go/v2/session" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session" ) type Type uint32 diff --git a/refs/convert.go b/refs/convert.go index dade588..028bd6a 100644 --- a/refs/convert.go +++ b/refs/convert.go @@ -1,9 +1,9 @@ package refs import ( - refs "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/grpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" + refs "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message" ) func (o *OwnerID) ToGRPCMessage() grpc.Message { diff --git a/refs/grpc/types.pb.go b/refs/grpc/types.pb.go index 7fcf89d..5e9bfb5 100644 --- a/refs/grpc/types.pb.go +++ b/refs/grpc/types.pb.go @@ -733,13 +733,13 @@ var file_refs_grpc_types_proto_rawDesc = []byte{ 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x19, 0x43, 0x48, 0x45, 0x43, 0x4b, 0x53, 0x55, 0x4d, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x06, 0x0a, 0x02, 0x54, 0x5a, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x48, - 0x41, 0x32, 0x35, 0x36, 0x10, 0x02, 0x42, 0x55, 0x5a, 0x38, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, - 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x72, 0x75, 0x65, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x4c, 0x61, - 0x62, 0x2f, 0x66, 0x72, 0x6f, 0x73, 0x74, 0x66, 0x73, 0x2d, 0x61, 0x70, 0x69, 0x2d, 0x67, 0x6f, - 0x2f, 0x76, 0x32, 0x2f, 0x72, 0x65, 0x66, 0x73, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x3b, 0x72, 0x65, - 0x66, 0x73, 0xaa, 0x02, 0x18, 0x4e, 0x65, 0x6f, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x53, 0x74, 0x6f, - 0x72, 0x61, 0x67, 0x65, 0x2e, 0x41, 0x50, 0x49, 0x2e, 0x52, 0x65, 0x66, 0x73, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x41, 0x32, 0x35, 0x36, 0x10, 0x02, 0x42, 0x5b, 0x5a, 0x3e, 0x67, 0x69, 0x74, 0x2e, 0x66, 0x72, + 0x6f, 0x73, 0x74, 0x66, 0x73, 0x2e, 0x69, 0x6e, 0x66, 0x6f, 0x2f, 0x54, 0x72, 0x75, 0x65, 0x43, + 0x6c, 0x6f, 0x75, 0x64, 0x4c, 0x61, 0x62, 0x2f, 0x66, 0x72, 0x6f, 0x73, 0x74, 0x66, 0x73, 0x2d, + 0x61, 0x70, 0x69, 0x2d, 0x67, 0x6f, 0x2f, 0x76, 0x32, 0x2f, 0x72, 0x65, 0x66, 0x73, 0x2f, 0x67, + 0x72, 0x70, 0x63, 0x3b, 0x72, 0x65, 0x66, 0x73, 0xaa, 0x02, 0x18, 0x4e, 0x65, 0x6f, 0x2e, 0x46, + 0x69, 0x6c, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x41, 0x50, 0x49, 0x2e, 0x52, + 0x65, 0x66, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/refs/json.go b/refs/json.go index 44198ae..529723a 100644 --- a/refs/json.go +++ b/refs/json.go @@ -1,8 +1,8 @@ package refs import ( - refs "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" + refs "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message" ) func (a *Address) MarshalJSON() ([]byte, error) { diff --git a/refs/marshal.go b/refs/marshal.go index 50c3501..14b0f8c 100644 --- a/refs/marshal.go +++ b/refs/marshal.go @@ -3,9 +3,9 @@ package refs import ( "encoding/binary" - refs "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" - "github.com/TrueCloudLab/frostfs-api-go/v2/util/proto" + refs "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/util/proto" ) const ( diff --git a/refs/message_test.go b/refs/message_test.go index 8d8a69d..ba36434 100644 --- a/refs/message_test.go +++ b/refs/message_test.go @@ -3,9 +3,9 @@ package refs_test import ( "testing" - refstest "github.com/TrueCloudLab/frostfs-api-go/v2/refs/test" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" - messagetest "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message/test" + refstest "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/test" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message" + messagetest "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message/test" ) func TestMessageConvert(t *testing.T) { diff --git a/refs/string.go b/refs/string.go index 2dac54a..5389aa3 100644 --- a/refs/string.go +++ b/refs/string.go @@ -1,7 +1,7 @@ package refs import ( - refs "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + refs "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/grpc" ) // String returns string representation of ChecksumType. diff --git a/refs/test/generate.go b/refs/test/generate.go index b11b1a0..cce64a8 100644 --- a/refs/test/generate.go +++ b/refs/test/generate.go @@ -3,7 +3,7 @@ package refstest import ( "math/rand" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" ) func GenerateVersion(empty bool) *refs.Version { diff --git a/refs/types_test.go b/refs/types_test.go index 11ad628..68d8fd7 100644 --- a/refs/types_test.go +++ b/refs/types_test.go @@ -5,7 +5,7 @@ import ( "strconv" "testing" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" "github.com/stretchr/testify/require" ) diff --git a/reputation/convert.go b/reputation/convert.go index 25e887d..ca54261 100644 --- a/reputation/convert.go +++ b/reputation/convert.go @@ -1,11 +1,11 @@ package reputation import ( - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - refsGRPC "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" - reputation "github.com/TrueCloudLab/frostfs-api-go/v2/reputation/grpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/grpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + refsGRPC "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + reputation "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/reputation/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message" ) // ToGRPCMessage converts PeerID to gRPC-generated diff --git a/reputation/grpc/service.go b/reputation/grpc/service.go index b737d6d..81ed890 100644 --- a/reputation/grpc/service.go +++ b/reputation/grpc/service.go @@ -1,7 +1,7 @@ package reputation import ( - session "github.com/TrueCloudLab/frostfs-api-go/v2/session/grpc" + session "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session/grpc" ) // SetEpoch sets epoch in which the trust was assessed. diff --git a/reputation/grpc/service.pb.go b/reputation/grpc/service.pb.go index 2abb8d7..2d0f61f 100644 --- a/reputation/grpc/service.pb.go +++ b/reputation/grpc/service.pb.go @@ -7,7 +7,7 @@ package reputation import ( - grpc "github.com/TrueCloudLab/frostfs-api-go/v2/session/grpc" + grpc "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session/grpc" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" @@ -618,14 +618,14 @@ var file_reputation_grpc_service_proto_rawDesc = []byte{ 0x38, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x72, 0x65, 0x70, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x75, 0x6e, 0x63, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, - 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x67, 0x5a, 0x44, 0x67, 0x69, 0x74, - 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x72, 0x75, 0x65, 0x43, 0x6c, 0x6f, 0x75, - 0x64, 0x4c, 0x61, 0x62, 0x2f, 0x66, 0x72, 0x6f, 0x73, 0x74, 0x66, 0x73, 0x2d, 0x61, 0x70, 0x69, - 0x2d, 0x67, 0x6f, 0x2f, 0x76, 0x32, 0x2f, 0x72, 0x65, 0x70, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x3b, 0x72, 0x65, 0x70, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0xaa, 0x02, 0x1e, 0x4e, 0x65, 0x6f, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x53, 0x74, 0x6f, 0x72, - 0x61, 0x67, 0x65, 0x2e, 0x41, 0x50, 0x49, 0x2e, 0x52, 0x65, 0x70, 0x75, 0x74, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x6d, 0x5a, 0x4a, 0x67, 0x69, 0x74, + 0x2e, 0x66, 0x72, 0x6f, 0x73, 0x74, 0x66, 0x73, 0x2e, 0x69, 0x6e, 0x66, 0x6f, 0x2f, 0x54, 0x72, + 0x75, 0x65, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x4c, 0x61, 0x62, 0x2f, 0x66, 0x72, 0x6f, 0x73, 0x74, + 0x66, 0x73, 0x2d, 0x61, 0x70, 0x69, 0x2d, 0x67, 0x6f, 0x2f, 0x76, 0x32, 0x2f, 0x72, 0x65, 0x70, + 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x3b, 0x72, 0x65, 0x70, + 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0xaa, 0x02, 0x1e, 0x4e, 0x65, 0x6f, 0x2e, 0x46, 0x69, + 0x6c, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x41, 0x50, 0x49, 0x2e, 0x52, 0x65, + 0x70, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/reputation/grpc/types.go b/reputation/grpc/types.go index 01766f8..63f2d34 100644 --- a/reputation/grpc/types.go +++ b/reputation/grpc/types.go @@ -1,7 +1,7 @@ package reputation import ( - refs "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + refs "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/grpc" ) // SetPublicKey sets binary public key of ID. diff --git a/reputation/grpc/types.pb.go b/reputation/grpc/types.pb.go index 9699284..b95b240 100644 --- a/reputation/grpc/types.pb.go +++ b/reputation/grpc/types.pb.go @@ -7,7 +7,7 @@ package reputation import ( - grpc "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + grpc "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/grpc" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" @@ -364,14 +364,14 @@ var file_reputation_grpc_types_proto_rawDesc = []byte{ 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x12, 0x31, 0x0a, 0x05, 0x74, 0x72, 0x75, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x72, 0x65, 0x70, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x54, 0x72, 0x75, - 0x73, 0x74, 0x52, 0x05, 0x74, 0x72, 0x75, 0x73, 0x74, 0x42, 0x67, 0x5a, 0x44, 0x67, 0x69, 0x74, - 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x72, 0x75, 0x65, 0x43, 0x6c, 0x6f, 0x75, - 0x64, 0x4c, 0x61, 0x62, 0x2f, 0x66, 0x72, 0x6f, 0x73, 0x74, 0x66, 0x73, 0x2d, 0x61, 0x70, 0x69, - 0x2d, 0x67, 0x6f, 0x2f, 0x76, 0x32, 0x2f, 0x72, 0x65, 0x70, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x3b, 0x72, 0x65, 0x70, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0xaa, 0x02, 0x1e, 0x4e, 0x65, 0x6f, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x53, 0x74, 0x6f, 0x72, - 0x61, 0x67, 0x65, 0x2e, 0x41, 0x50, 0x49, 0x2e, 0x52, 0x65, 0x70, 0x75, 0x74, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x73, 0x74, 0x52, 0x05, 0x74, 0x72, 0x75, 0x73, 0x74, 0x42, 0x6d, 0x5a, 0x4a, 0x67, 0x69, 0x74, + 0x2e, 0x66, 0x72, 0x6f, 0x73, 0x74, 0x66, 0x73, 0x2e, 0x69, 0x6e, 0x66, 0x6f, 0x2f, 0x54, 0x72, + 0x75, 0x65, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x4c, 0x61, 0x62, 0x2f, 0x66, 0x72, 0x6f, 0x73, 0x74, + 0x66, 0x73, 0x2d, 0x61, 0x70, 0x69, 0x2d, 0x67, 0x6f, 0x2f, 0x76, 0x32, 0x2f, 0x72, 0x65, 0x70, + 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x3b, 0x72, 0x65, 0x70, + 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0xaa, 0x02, 0x1e, 0x4e, 0x65, 0x6f, 0x2e, 0x46, 0x69, + 0x6c, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x41, 0x50, 0x49, 0x2e, 0x52, 0x65, + 0x70, 0x75, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/reputation/json.go b/reputation/json.go index d1b4d4d..3976462 100644 --- a/reputation/json.go +++ b/reputation/json.go @@ -1,8 +1,8 @@ package reputation import ( - reputation "github.com/TrueCloudLab/frostfs-api-go/v2/reputation/grpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" + reputation "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/reputation/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message" ) func (x *PeerID) MarshalJSON() ([]byte, error) { diff --git a/reputation/marshal.go b/reputation/marshal.go index 138e0e8..a64e822 100644 --- a/reputation/marshal.go +++ b/reputation/marshal.go @@ -1,9 +1,9 @@ package reputation import ( - reputation "github.com/TrueCloudLab/frostfs-api-go/v2/reputation/grpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" - protoutil "github.com/TrueCloudLab/frostfs-api-go/v2/util/proto" + reputation "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/reputation/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message" + protoutil "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/util/proto" ) const ( diff --git a/reputation/message_test.go b/reputation/message_test.go index 8f308b0..891c2e4 100644 --- a/reputation/message_test.go +++ b/reputation/message_test.go @@ -3,9 +3,9 @@ package reputation_test import ( "testing" - reputationtest "github.com/TrueCloudLab/frostfs-api-go/v2/reputation/test" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" - messagetest "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message/test" + reputationtest "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/reputation/test" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message" + messagetest "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message/test" ) func TestMessageConvert(t *testing.T) { diff --git a/reputation/test/generate.go b/reputation/test/generate.go index 09d61d2..7731ad9 100644 --- a/reputation/test/generate.go +++ b/reputation/test/generate.go @@ -1,9 +1,9 @@ package reputationtest import ( - refstest "github.com/TrueCloudLab/frostfs-api-go/v2/refs/test" - "github.com/TrueCloudLab/frostfs-api-go/v2/reputation" - sessiontest "github.com/TrueCloudLab/frostfs-api-go/v2/session/test" + refstest "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/test" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/reputation" + sessiontest "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session/test" ) func GeneratePeerID(empty bool) *reputation.PeerID { diff --git a/reputation/types.go b/reputation/types.go index 3876f1a..a339183 100644 --- a/reputation/types.go +++ b/reputation/types.go @@ -1,8 +1,8 @@ package reputation import ( - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - "github.com/TrueCloudLab/frostfs-api-go/v2/session" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session" ) // PeerID represents reputation.PeerID message diff --git a/rpc/accounting.go b/rpc/accounting.go index 21c7a7f..4f324c9 100644 --- a/rpc/accounting.go +++ b/rpc/accounting.go @@ -1,9 +1,9 @@ package rpc import ( - "github.com/TrueCloudLab/frostfs-api-go/v2/accounting" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/client" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/common" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/accounting" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/client" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/common" ) const serviceAccounting = serviceNamePrefix + "accounting.AccountingService" diff --git a/rpc/client/flows.go b/rpc/client/flows.go index e741ca3..a3da1e2 100644 --- a/rpc/client/flows.go +++ b/rpc/client/flows.go @@ -5,8 +5,8 @@ import ( "io" "sync" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/common" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/common" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message" ) // SendUnary initializes communication session by RPC info, performs unary RPC diff --git a/rpc/client/init.go b/rpc/client/init.go index 7706c7a..60ccda9 100644 --- a/rpc/client/init.go +++ b/rpc/client/init.go @@ -4,8 +4,8 @@ import ( "context" "io" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/common" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/common" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message" "google.golang.org/grpc" ) diff --git a/rpc/client/stream_wrapper.go b/rpc/client/stream_wrapper.go index 7f60db2..22033dd 100644 --- a/rpc/client/stream_wrapper.go +++ b/rpc/client/stream_wrapper.go @@ -4,7 +4,7 @@ import ( "context" "time" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message" "google.golang.org/grpc" ) diff --git a/rpc/client/util.go b/rpc/client/util.go index 291ebac..95dc2b0 100644 --- a/rpc/client/util.go +++ b/rpc/client/util.go @@ -3,7 +3,7 @@ package client import ( "fmt" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/common" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/common" ) const methodNameFmt = "/%s/%s" diff --git a/rpc/common/call_test.go b/rpc/common/call_test.go index f3acd08..942ee02 100644 --- a/rpc/common/call_test.go +++ b/rpc/common/call_test.go @@ -3,7 +3,7 @@ package common_test import ( "testing" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/common" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/common" "github.com/stretchr/testify/require" ) diff --git a/rpc/container.go b/rpc/container.go index a33afe1..1292c22 100644 --- a/rpc/container.go +++ b/rpc/container.go @@ -1,9 +1,9 @@ package rpc import ( - "github.com/TrueCloudLab/frostfs-api-go/v2/container" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/client" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/common" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/container" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/client" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/common" ) const serviceContainer = serviceNamePrefix + "container.ContainerService" diff --git a/rpc/message/encoding.go b/rpc/message/encoding.go index b28cde3..715f015 100644 --- a/rpc/message/encoding.go +++ b/rpc/message/encoding.go @@ -1,7 +1,7 @@ package message import ( - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/grpc" "google.golang.org/protobuf/encoding/protojson" "google.golang.org/protobuf/proto" ) diff --git a/rpc/message/message.go b/rpc/message/message.go index 4f6acaf..c9b87f0 100644 --- a/rpc/message/message.go +++ b/rpc/message/message.go @@ -3,7 +3,7 @@ package message import ( "fmt" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/grpc" ) // Message represents raw Protobuf message diff --git a/rpc/message/test/message.go b/rpc/message/test/message.go index 138b758..df769d2 100644 --- a/rpc/message/test/message.go +++ b/rpc/message/test/message.go @@ -6,7 +6,7 @@ import ( "fmt" "testing" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message" "github.com/stretchr/testify/require" ) diff --git a/rpc/netmap.go b/rpc/netmap.go index bfe2ef4..38bdd6d 100644 --- a/rpc/netmap.go +++ b/rpc/netmap.go @@ -1,9 +1,9 @@ package rpc import ( - "github.com/TrueCloudLab/frostfs-api-go/v2/netmap" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/client" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/common" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/netmap" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/client" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/common" ) const serviceNetmap = serviceNamePrefix + "netmap.NetmapService" diff --git a/rpc/object.go b/rpc/object.go index b2d0c95..1cac1c7 100644 --- a/rpc/object.go +++ b/rpc/object.go @@ -1,10 +1,10 @@ package rpc import ( - "github.com/TrueCloudLab/frostfs-api-go/v2/object" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/client" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/common" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/object" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/client" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/common" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message" ) const serviceObject = serviceNamePrefix + "object.ObjectService" diff --git a/rpc/reputation.go b/rpc/reputation.go index 413868d..3d036b2 100644 --- a/rpc/reputation.go +++ b/rpc/reputation.go @@ -1,9 +1,9 @@ package rpc import ( - "github.com/TrueCloudLab/frostfs-api-go/v2/reputation" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/client" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/common" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/reputation" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/client" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/common" ) const serviceReputation = serviceNamePrefix + "reputation.ReputationService" diff --git a/rpc/session.go b/rpc/session.go index f180780..f786734 100644 --- a/rpc/session.go +++ b/rpc/session.go @@ -1,9 +1,9 @@ package rpc import ( - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/client" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/common" - "github.com/TrueCloudLab/frostfs-api-go/v2/session" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/client" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/common" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session" ) const serviceSession = serviceNamePrefix + "session.SessionService" diff --git a/session/convert.go b/session/convert.go index a6bc6d6..870e208 100644 --- a/session/convert.go +++ b/session/convert.go @@ -3,15 +3,15 @@ package session import ( "fmt" - "github.com/TrueCloudLab/frostfs-api-go/v2/acl" - aclGRPC "github.com/TrueCloudLab/frostfs-api-go/v2/acl/grpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - refsGRPC "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/grpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" - session "github.com/TrueCloudLab/frostfs-api-go/v2/session/grpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/status" - statusGRPC "github.com/TrueCloudLab/frostfs-api-go/v2/status/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/acl" + aclGRPC "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/acl/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + refsGRPC "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message" + session "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/status" + statusGRPC "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/status/grpc" ) func (c *CreateRequestBody) ToGRPCMessage() grpc.Message { diff --git a/session/grpc/service.go b/session/grpc/service.go index a9e5282..6e02328 100644 --- a/session/grpc/service.go +++ b/session/grpc/service.go @@ -1,7 +1,7 @@ package session import ( - refs "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + refs "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/grpc" ) // SetOwnerId sets identifier of the session initiator. diff --git a/session/grpc/service.pb.go b/session/grpc/service.pb.go index 5bf1677..23d6913 100644 --- a/session/grpc/service.pb.go +++ b/session/grpc/service.pb.go @@ -7,7 +7,7 @@ package session import ( - grpc "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + grpc "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/grpc" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" @@ -330,13 +330,14 @@ var file_session_grpc_service_proto_rawDesc = []byte{ 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x5e, 0x5a, 0x3e, 0x67, 0x69, 0x74, 0x68, - 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x72, 0x75, 0x65, 0x43, 0x6c, 0x6f, 0x75, 0x64, - 0x4c, 0x61, 0x62, 0x2f, 0x66, 0x72, 0x6f, 0x73, 0x74, 0x66, 0x73, 0x2d, 0x61, 0x70, 0x69, 0x2d, - 0x67, 0x6f, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x72, - 0x70, 0x63, 0x3b, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0xaa, 0x02, 0x1b, 0x4e, 0x65, 0x6f, - 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x41, 0x50, 0x49, - 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x64, 0x5a, 0x44, 0x67, 0x69, 0x74, 0x2e, + 0x66, 0x72, 0x6f, 0x73, 0x74, 0x66, 0x73, 0x2e, 0x69, 0x6e, 0x66, 0x6f, 0x2f, 0x54, 0x72, 0x75, + 0x65, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x4c, 0x61, 0x62, 0x2f, 0x66, 0x72, 0x6f, 0x73, 0x74, 0x66, + 0x73, 0x2d, 0x61, 0x70, 0x69, 0x2d, 0x67, 0x6f, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x65, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x3b, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0xaa, 0x02, 0x1b, 0x4e, 0x65, 0x6f, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x2e, 0x41, 0x50, 0x49, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/session/grpc/types.go b/session/grpc/types.go index e3ee8d6..bcc92d1 100644 --- a/session/grpc/types.go +++ b/session/grpc/types.go @@ -1,9 +1,9 @@ package session import ( - acl "github.com/TrueCloudLab/frostfs-api-go/v2/acl/grpc" - refs "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" - status "github.com/TrueCloudLab/frostfs-api-go/v2/status/grpc" + acl "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/acl/grpc" + refs "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + status "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/status/grpc" ) // SetKey sets key to the X-Header. diff --git a/session/grpc/types.pb.go b/session/grpc/types.pb.go index b96f954..3ca6001 100644 --- a/session/grpc/types.pb.go +++ b/session/grpc/types.pb.go @@ -7,9 +7,9 @@ package session import ( - grpc1 "github.com/TrueCloudLab/frostfs-api-go/v2/acl/grpc" - grpc "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" - grpc2 "github.com/TrueCloudLab/frostfs-api-go/v2/status/grpc" + grpc1 "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/acl/grpc" + grpc "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + grpc2 "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/status/grpc" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" @@ -1196,13 +1196,14 @@ var file_session_grpc_types_proto_rawDesc = []byte{ 0x0b, 0x32, 0x2d, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, - 0x52, 0x06, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x42, 0x5e, 0x5a, 0x3e, 0x67, 0x69, 0x74, 0x68, - 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x72, 0x75, 0x65, 0x43, 0x6c, 0x6f, 0x75, 0x64, - 0x4c, 0x61, 0x62, 0x2f, 0x66, 0x72, 0x6f, 0x73, 0x74, 0x66, 0x73, 0x2d, 0x61, 0x70, 0x69, 0x2d, - 0x67, 0x6f, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x72, - 0x70, 0x63, 0x3b, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0xaa, 0x02, 0x1b, 0x4e, 0x65, 0x6f, - 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x41, 0x50, 0x49, - 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x52, 0x06, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x42, 0x64, 0x5a, 0x44, 0x67, 0x69, 0x74, 0x2e, + 0x66, 0x72, 0x6f, 0x73, 0x74, 0x66, 0x73, 0x2e, 0x69, 0x6e, 0x66, 0x6f, 0x2f, 0x54, 0x72, 0x75, + 0x65, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x4c, 0x61, 0x62, 0x2f, 0x66, 0x72, 0x6f, 0x73, 0x74, 0x66, + 0x73, 0x2d, 0x61, 0x70, 0x69, 0x2d, 0x67, 0x6f, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x65, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x3b, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0xaa, 0x02, 0x1b, 0x4e, 0x65, 0x6f, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x2e, 0x41, 0x50, 0x49, 0x2e, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/session/json.go b/session/json.go index d44325f..77cbe10 100644 --- a/session/json.go +++ b/session/json.go @@ -1,8 +1,8 @@ package session import ( - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" - session "github.com/TrueCloudLab/frostfs-api-go/v2/session/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message" + session "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session/grpc" "google.golang.org/protobuf/encoding/protojson" ) diff --git a/session/marshal.go b/session/marshal.go index f4b1bc9..3c56cd4 100644 --- a/session/marshal.go +++ b/session/marshal.go @@ -1,9 +1,9 @@ package session import ( - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" - session "github.com/TrueCloudLab/frostfs-api-go/v2/session/grpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/util/proto" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message" + session "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/util/proto" goproto "google.golang.org/protobuf/proto" ) diff --git a/session/message_test.go b/session/message_test.go index 33489de..39dd336 100644 --- a/session/message_test.go +++ b/session/message_test.go @@ -3,9 +3,9 @@ package session_test import ( "testing" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" - rpctest "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message/test" - sessiontest "github.com/TrueCloudLab/frostfs-api-go/v2/session/test" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message" + rpctest "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message/test" + sessiontest "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session/test" ) func TestMessageConvert(t *testing.T) { diff --git a/session/status.go b/session/status.go index 04aa450..8b3b381 100644 --- a/session/status.go +++ b/session/status.go @@ -1,8 +1,8 @@ package session import ( - "github.com/TrueCloudLab/frostfs-api-go/v2/status" - statusgrpc "github.com/TrueCloudLab/frostfs-api-go/v2/status/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/status" + statusgrpc "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/status/grpc" ) // LocalizeFailStatus checks if passed global status.Code is related to session failure and: diff --git a/session/status_test.go b/session/status_test.go index 2a7ff6d..57ce4bd 100644 --- a/session/status_test.go +++ b/session/status_test.go @@ -3,8 +3,8 @@ package session_test import ( "testing" - "github.com/TrueCloudLab/frostfs-api-go/v2/session" - statustest "github.com/TrueCloudLab/frostfs-api-go/v2/status/test" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session" + statustest "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/status/test" ) func TestStatusCodes(t *testing.T) { diff --git a/session/string.go b/session/string.go index 24e7d09..0e7c48a 100644 --- a/session/string.go +++ b/session/string.go @@ -1,7 +1,7 @@ package session import ( - session "github.com/TrueCloudLab/frostfs-api-go/v2/session/grpc" + session "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session/grpc" ) // String returns string representation of ObjectSessionVerb. diff --git a/session/test/generate.go b/session/test/generate.go index dc06aed..cfce6cd 100644 --- a/session/test/generate.go +++ b/session/test/generate.go @@ -1,11 +1,11 @@ package sessiontest import ( - acltest "github.com/TrueCloudLab/frostfs-api-go/v2/acl/test" - "github.com/TrueCloudLab/frostfs-api-go/v2/internal/random" - refstest "github.com/TrueCloudLab/frostfs-api-go/v2/refs/test" - "github.com/TrueCloudLab/frostfs-api-go/v2/session" - statustest "github.com/TrueCloudLab/frostfs-api-go/v2/status/test" + acltest "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/acl/test" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/internal/random" + refstest "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/test" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session" + statustest "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/status/test" ) func GenerateCreateRequestBody(empty bool) *session.CreateRequestBody { diff --git a/session/types.go b/session/types.go index d00d76f..19cfecc 100644 --- a/session/types.go +++ b/session/types.go @@ -1,10 +1,10 @@ package session import ( - "github.com/TrueCloudLab/frostfs-api-go/v2/acl" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - "github.com/TrueCloudLab/frostfs-api-go/v2/status" - "github.com/TrueCloudLab/frostfs-api-go/v2/util/proto" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/acl" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/status" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/util/proto" ) type CreateRequestBody struct { diff --git a/session/util.go b/session/util.go index 59ee076..7edca29 100644 --- a/session/util.go +++ b/session/util.go @@ -1,7 +1,7 @@ package session import ( - session "github.com/TrueCloudLab/frostfs-api-go/v2/session/grpc" + session "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session/grpc" ) // RequestHeaders represents common part of diff --git a/signature/sign.go b/signature/sign.go index f1d4cf6..f4dad90 100644 --- a/signature/sign.go +++ b/signature/sign.go @@ -5,14 +5,14 @@ import ( "errors" "fmt" - "github.com/TrueCloudLab/frostfs-api-go/v2/accounting" - "github.com/TrueCloudLab/frostfs-api-go/v2/container" - "github.com/TrueCloudLab/frostfs-api-go/v2/netmap" - "github.com/TrueCloudLab/frostfs-api-go/v2/object" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - "github.com/TrueCloudLab/frostfs-api-go/v2/reputation" - "github.com/TrueCloudLab/frostfs-api-go/v2/session" - "github.com/TrueCloudLab/frostfs-api-go/v2/util/signature" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/accounting" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/container" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/netmap" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/object" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/reputation" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/util/signature" ) type serviceRequest interface { diff --git a/signature/sign_test.go b/signature/sign_test.go index fb508a3..ff31954 100644 --- a/signature/sign_test.go +++ b/signature/sign_test.go @@ -3,9 +3,9 @@ package signature import ( "testing" - "github.com/TrueCloudLab/frostfs-api-go/v2/accounting" - "github.com/TrueCloudLab/frostfs-api-go/v2/session" - crypto "github.com/TrueCloudLab/frostfs-crypto" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/accounting" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session" + crypto "git.frostfs.info/TrueCloudLab/frostfs-crypto" "github.com/stretchr/testify/require" ) diff --git a/status/convert.go b/status/convert.go index e13e567..0743952 100644 --- a/status/convert.go +++ b/status/convert.go @@ -1,9 +1,9 @@ package status import ( - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/grpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" - status "github.com/TrueCloudLab/frostfs-api-go/v2/status/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message" + status "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/status/grpc" ) func (x *Detail) ToGRPCMessage() grpc.Message { diff --git a/status/grpc/types.pb.go b/status/grpc/types.pb.go index d4960fb..f6fd81c 100644 --- a/status/grpc/types.pb.go +++ b/status/grpc/types.pb.go @@ -558,13 +558,14 @@ var file_status_grpc_types_proto_rawDesc = []byte{ 0x4e, 0x44, 0x10, 0x01, 0x2a, 0x31, 0x0a, 0x07, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x13, 0x0a, 0x0f, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x46, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x5f, 0x45, 0x58, - 0x50, 0x49, 0x52, 0x45, 0x44, 0x10, 0x01, 0x42, 0x5b, 0x5a, 0x3c, 0x67, 0x69, 0x74, 0x68, 0x75, - 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x72, 0x75, 0x65, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x4c, - 0x61, 0x62, 0x2f, 0x66, 0x72, 0x6f, 0x73, 0x74, 0x66, 0x73, 0x2d, 0x61, 0x70, 0x69, 0x2d, 0x67, - 0x6f, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2f, 0x67, 0x72, 0x70, 0x63, - 0x3b, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0xaa, 0x02, 0x1a, 0x4e, 0x65, 0x6f, 0x2e, 0x46, 0x69, - 0x6c, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x41, 0x50, 0x49, 0x2e, 0x53, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x50, 0x49, 0x52, 0x45, 0x44, 0x10, 0x01, 0x42, 0x61, 0x5a, 0x42, 0x67, 0x69, 0x74, 0x2e, 0x66, + 0x72, 0x6f, 0x73, 0x74, 0x66, 0x73, 0x2e, 0x69, 0x6e, 0x66, 0x6f, 0x2f, 0x54, 0x72, 0x75, 0x65, + 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x4c, 0x61, 0x62, 0x2f, 0x66, 0x72, 0x6f, 0x73, 0x74, 0x66, 0x73, + 0x2d, 0x61, 0x70, 0x69, 0x2d, 0x67, 0x6f, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x3b, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0xaa, 0x02, 0x1a, + 0x4e, 0x65, 0x6f, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, + 0x41, 0x50, 0x49, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, } var ( diff --git a/status/marshal.go b/status/marshal.go index 553b7d7..78064c1 100644 --- a/status/marshal.go +++ b/status/marshal.go @@ -1,9 +1,9 @@ package status import ( - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" - status "github.com/TrueCloudLab/frostfs-api-go/v2/status/grpc" - protoutil "github.com/TrueCloudLab/frostfs-api-go/v2/util/proto" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message" + status "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/status/grpc" + protoutil "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/util/proto" ) const ( diff --git a/status/message_test.go b/status/message_test.go index 47355f1..f16f152 100644 --- a/status/message_test.go +++ b/status/message_test.go @@ -3,9 +3,9 @@ package status_test import ( "testing" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" - messagetest "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message/test" - statustest "github.com/TrueCloudLab/frostfs-api-go/v2/status/test" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message" + messagetest "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message/test" + statustest "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/status/test" ) func TestMessageConvert(t *testing.T) { diff --git a/status/test/codes.go b/status/test/codes.go index 4df7da5..3a2e001 100644 --- a/status/test/codes.go +++ b/status/test/codes.go @@ -3,7 +3,7 @@ package statustest import ( "testing" - "github.com/TrueCloudLab/frostfs-api-go/v2/status" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/status" "github.com/stretchr/testify/require" ) diff --git a/status/test/generate.go b/status/test/generate.go index 8812814..8537b39 100644 --- a/status/test/generate.go +++ b/status/test/generate.go @@ -1,7 +1,7 @@ package statustest import ( - "github.com/TrueCloudLab/frostfs-api-go/v2/status" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/status" ) // Detail returns status.Detail filled with static random values. diff --git a/storagegroup/convert.go b/storagegroup/convert.go index dddd8b4..898d493 100644 --- a/storagegroup/convert.go +++ b/storagegroup/convert.go @@ -1,11 +1,11 @@ package storagegroup import ( - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - refsGRPC "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/grpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" - sg "github.com/TrueCloudLab/frostfs-api-go/v2/storagegroup/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + refsGRPC "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message" + sg "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/storagegroup/grpc" ) func (s *StorageGroup) ToGRPCMessage() grpc.Message { diff --git a/storagegroup/grpc/types.go b/storagegroup/grpc/types.go index f1151c4..9be5c24 100644 --- a/storagegroup/grpc/types.go +++ b/storagegroup/grpc/types.go @@ -1,7 +1,7 @@ package storagegroup import ( - refs "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + refs "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/grpc" ) // SetValidationDataSize sets the total size of the payloads of the storage group. diff --git a/storagegroup/grpc/types.pb.go b/storagegroup/grpc/types.pb.go index 98e2bcd..37f88ea 100644 --- a/storagegroup/grpc/types.pb.go +++ b/storagegroup/grpc/types.pb.go @@ -7,7 +7,7 @@ package storagegroup import ( - grpc "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + grpc "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/grpc" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" @@ -132,14 +132,15 @@ var file_storagegroup_grpc_types_proto_rawDesc = []byte{ 0x6f, 0x63, 0x68, 0x12, 0x32, 0x0a, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x72, 0x65, 0x66, 0x73, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x44, 0x52, 0x07, - 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x42, 0x6d, 0x5a, 0x48, 0x67, 0x69, 0x74, 0x68, 0x75, - 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x72, 0x75, 0x65, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x4c, - 0x61, 0x62, 0x2f, 0x66, 0x72, 0x6f, 0x73, 0x74, 0x66, 0x73, 0x2d, 0x61, 0x70, 0x69, 0x2d, 0x67, - 0x6f, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x67, 0x72, 0x6f, 0x75, - 0x70, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x3b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x67, 0x72, - 0x6f, 0x75, 0x70, 0xaa, 0x02, 0x20, 0x4e, 0x65, 0x6f, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x53, 0x74, - 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x41, 0x50, 0x49, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, - 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x42, 0x73, 0x5a, 0x4e, 0x67, 0x69, 0x74, 0x2e, 0x66, + 0x72, 0x6f, 0x73, 0x74, 0x66, 0x73, 0x2e, 0x69, 0x6e, 0x66, 0x6f, 0x2f, 0x54, 0x72, 0x75, 0x65, + 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x4c, 0x61, 0x62, 0x2f, 0x66, 0x72, 0x6f, 0x73, 0x74, 0x66, 0x73, + 0x2d, 0x61, 0x70, 0x69, 0x2d, 0x67, 0x6f, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x3b, 0x73, 0x74, 0x6f, + 0x72, 0x61, 0x67, 0x65, 0x67, 0x72, 0x6f, 0x75, 0x70, 0xaa, 0x02, 0x20, 0x4e, 0x65, 0x6f, 0x2e, + 0x46, 0x69, 0x6c, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x41, 0x50, 0x49, 0x2e, + 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/storagegroup/json.go b/storagegroup/json.go index 6136068..b122893 100644 --- a/storagegroup/json.go +++ b/storagegroup/json.go @@ -1,8 +1,8 @@ package storagegroup import ( - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" - storagegroup "github.com/TrueCloudLab/frostfs-api-go/v2/storagegroup/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message" + storagegroup "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/storagegroup/grpc" ) func (s *StorageGroup) MarshalJSON() ([]byte, error) { diff --git a/storagegroup/marshal.go b/storagegroup/marshal.go index f7a94f7..3f8171a 100644 --- a/storagegroup/marshal.go +++ b/storagegroup/marshal.go @@ -1,10 +1,10 @@ package storagegroup import ( - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" - storagegroup "github.com/TrueCloudLab/frostfs-api-go/v2/storagegroup/grpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/util/proto" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message" + storagegroup "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/storagegroup/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/util/proto" ) const ( diff --git a/storagegroup/message_test.go b/storagegroup/message_test.go index ccc214c..e4ed367 100644 --- a/storagegroup/message_test.go +++ b/storagegroup/message_test.go @@ -3,9 +3,9 @@ package storagegroup_test import ( "testing" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" - messagetest "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message/test" - storagegrouptest "github.com/TrueCloudLab/frostfs-api-go/v2/storagegroup/test" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message" + messagetest "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message/test" + storagegrouptest "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/storagegroup/test" ) func TestMessageConvert(t *testing.T) { diff --git a/storagegroup/test/generate.go b/storagegroup/test/generate.go index fb338e4..b53f199 100644 --- a/storagegroup/test/generate.go +++ b/storagegroup/test/generate.go @@ -1,8 +1,8 @@ package storagegrouptest import ( - refstest "github.com/TrueCloudLab/frostfs-api-go/v2/refs/test" - "github.com/TrueCloudLab/frostfs-api-go/v2/storagegroup" + refstest "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/test" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/storagegroup" ) func GenerateStorageGroup(empty bool) *storagegroup.StorageGroup { diff --git a/storagegroup/types.go b/storagegroup/types.go index 179705e..b5a3a5b 100644 --- a/storagegroup/types.go +++ b/storagegroup/types.go @@ -1,7 +1,7 @@ package storagegroup import ( - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" ) // StorageGroup is a unified structure of StorageGroup diff --git a/subnet/encoding_test.go b/subnet/encoding_test.go index 3e41b23..0a1fea1 100644 --- a/subnet/encoding_test.go +++ b/subnet/encoding_test.go @@ -3,9 +3,9 @@ package subnet_test import ( "testing" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" - messagetest "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message/test" - subnettest "github.com/TrueCloudLab/frostfs-api-go/v2/subnet/test" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message" + messagetest "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message/test" + subnettest "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/subnet/test" ) func TestMessageConvert(t *testing.T) { diff --git a/subnet/grpc/types.go b/subnet/grpc/types.go index 548e656..3196c5a 100644 --- a/subnet/grpc/types.go +++ b/subnet/grpc/types.go @@ -1,7 +1,7 @@ package subnet import ( - refs "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + refs "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/grpc" ) // SetID returns identifier of the subnet. Nil arg is equivalent to zero subnet ID. diff --git a/subnet/grpc/types.pb.go b/subnet/grpc/types.pb.go index 2de1bc8..c2d7529 100644 --- a/subnet/grpc/types.pb.go +++ b/subnet/grpc/types.pb.go @@ -7,7 +7,7 @@ package subnet import ( - grpc "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + grpc "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/grpc" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" @@ -93,13 +93,14 @@ var file_subnet_grpc_types_proto_rawDesc = []byte{ 0x62, 0x6e, 0x65, 0x74, 0x49, 0x44, 0x52, 0x02, 0x69, 0x64, 0x12, 0x2d, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x72, 0x65, 0x66, 0x73, 0x2e, 0x4f, 0x77, 0x6e, 0x65, 0x72, - 0x49, 0x44, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x42, 0x5b, 0x5a, 0x3c, 0x67, 0x69, 0x74, - 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x72, 0x75, 0x65, 0x43, 0x6c, 0x6f, 0x75, - 0x64, 0x4c, 0x61, 0x62, 0x2f, 0x66, 0x72, 0x6f, 0x73, 0x74, 0x66, 0x73, 0x2d, 0x61, 0x70, 0x69, - 0x2d, 0x67, 0x6f, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x75, 0x62, 0x6e, 0x65, 0x74, 0x2f, 0x67, 0x72, - 0x70, 0x63, 0x3b, 0x73, 0x75, 0x62, 0x6e, 0x65, 0x74, 0xaa, 0x02, 0x1a, 0x4e, 0x65, 0x6f, 0x2e, - 0x46, 0x69, 0x6c, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x41, 0x50, 0x49, 0x2e, - 0x53, 0x75, 0x62, 0x6e, 0x65, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x49, 0x44, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x42, 0x61, 0x5a, 0x42, 0x67, 0x69, 0x74, + 0x2e, 0x66, 0x72, 0x6f, 0x73, 0x74, 0x66, 0x73, 0x2e, 0x69, 0x6e, 0x66, 0x6f, 0x2f, 0x54, 0x72, + 0x75, 0x65, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x4c, 0x61, 0x62, 0x2f, 0x66, 0x72, 0x6f, 0x73, 0x74, + 0x66, 0x73, 0x2d, 0x61, 0x70, 0x69, 0x2d, 0x67, 0x6f, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x75, 0x62, + 0x6e, 0x65, 0x74, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x3b, 0x73, 0x75, 0x62, 0x6e, 0x65, 0x74, 0xaa, + 0x02, 0x1a, 0x4e, 0x65, 0x6f, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x2e, 0x41, 0x50, 0x49, 0x2e, 0x53, 0x75, 0x62, 0x6e, 0x65, 0x74, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/subnet/info.go b/subnet/info.go index 37ecfe2..2e1e94c 100644 --- a/subnet/info.go +++ b/subnet/info.go @@ -1,12 +1,12 @@ package subnet import ( - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - refsgrpc "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/grpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" - subnet "github.com/TrueCloudLab/frostfs-api-go/v2/subnet/grpc" - protoutil "github.com/TrueCloudLab/frostfs-api-go/v2/util/proto" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + refsgrpc "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message" + subnet "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/subnet/grpc" + protoutil "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/util/proto" ) // Info represents information about NeoFS subnet. Structure is compatible with NeoFS API V2 protocol. diff --git a/subnet/test/generate.go b/subnet/test/generate.go index d5eab77..214ac7b 100644 --- a/subnet/test/generate.go +++ b/subnet/test/generate.go @@ -1,8 +1,8 @@ package subnettest import ( - refstest "github.com/TrueCloudLab/frostfs-api-go/v2/refs/test" - "github.com/TrueCloudLab/frostfs-api-go/v2/subnet" + refstest "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/test" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/subnet" ) func GenerateSubnetInfo(empty bool) *subnet.Info { diff --git a/tombstone/convert.go b/tombstone/convert.go index 48e64a6..62febc5 100644 --- a/tombstone/convert.go +++ b/tombstone/convert.go @@ -1,10 +1,10 @@ package tombstone import ( - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/grpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" - tombstone "github.com/TrueCloudLab/frostfs-api-go/v2/tombstone/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message" + tombstone "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/tombstone/grpc" ) func (s *Tombstone) ToGRPCMessage() grpc.Message { diff --git a/tombstone/grpc/types.go b/tombstone/grpc/types.go index 6793635..9b4b744 100644 --- a/tombstone/grpc/types.go +++ b/tombstone/grpc/types.go @@ -1,7 +1,7 @@ package tombstone import ( - refs "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + refs "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/grpc" ) // SetExpirationEpoch sets number of tombstone expiration epoch. diff --git a/tombstone/grpc/types.pb.go b/tombstone/grpc/types.pb.go index b8ea61a..11405ac 100644 --- a/tombstone/grpc/types.pb.go +++ b/tombstone/grpc/types.pb.go @@ -7,7 +7,7 @@ package tombstone import ( - grpc "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc" + grpc "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/grpc" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" @@ -110,13 +110,14 @@ var file_tombstone_grpc_types_proto_rawDesc = []byte{ 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6e, 0x65, 0x6f, 0x2e, 0x66, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x72, 0x65, 0x66, 0x73, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x44, 0x52, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, - 0x42, 0x64, 0x5a, 0x42, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, - 0x72, 0x75, 0x65, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x4c, 0x61, 0x62, 0x2f, 0x66, 0x72, 0x6f, 0x73, - 0x74, 0x66, 0x73, 0x2d, 0x61, 0x70, 0x69, 0x2d, 0x67, 0x6f, 0x2f, 0x76, 0x32, 0x2f, 0x74, 0x6f, - 0x6d, 0x62, 0x73, 0x74, 0x6f, 0x6e, 0x65, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x3b, 0x74, 0x6f, 0x6d, - 0x62, 0x73, 0x74, 0x6f, 0x6e, 0x65, 0xaa, 0x02, 0x1d, 0x4e, 0x65, 0x6f, 0x2e, 0x46, 0x69, 0x6c, - 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x41, 0x50, 0x49, 0x2e, 0x54, 0x6f, 0x6d, - 0x62, 0x73, 0x74, 0x6f, 0x6e, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x42, 0x6a, 0x5a, 0x48, 0x67, 0x69, 0x74, 0x2e, 0x66, 0x72, 0x6f, 0x73, 0x74, 0x66, 0x73, 0x2e, + 0x69, 0x6e, 0x66, 0x6f, 0x2f, 0x54, 0x72, 0x75, 0x65, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x4c, 0x61, + 0x62, 0x2f, 0x66, 0x72, 0x6f, 0x73, 0x74, 0x66, 0x73, 0x2d, 0x61, 0x70, 0x69, 0x2d, 0x67, 0x6f, + 0x2f, 0x76, 0x32, 0x2f, 0x74, 0x6f, 0x6d, 0x62, 0x73, 0x74, 0x6f, 0x6e, 0x65, 0x2f, 0x67, 0x72, + 0x70, 0x63, 0x3b, 0x74, 0x6f, 0x6d, 0x62, 0x73, 0x74, 0x6f, 0x6e, 0x65, 0xaa, 0x02, 0x1d, 0x4e, + 0x65, 0x6f, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x41, + 0x50, 0x49, 0x2e, 0x54, 0x6f, 0x6d, 0x62, 0x73, 0x74, 0x6f, 0x6e, 0x65, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/tombstone/json.go b/tombstone/json.go index 1059910..05d959e 100644 --- a/tombstone/json.go +++ b/tombstone/json.go @@ -1,8 +1,8 @@ package tombstone import ( - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" - tombstone "github.com/TrueCloudLab/frostfs-api-go/v2/tombstone/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message" + tombstone "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/tombstone/grpc" ) func (s *Tombstone) MarshalJSON() ([]byte, error) { diff --git a/tombstone/marshal.go b/tombstone/marshal.go index 706d9c1..ae4405c 100644 --- a/tombstone/marshal.go +++ b/tombstone/marshal.go @@ -1,9 +1,9 @@ package tombstone import ( - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" - tombstone "github.com/TrueCloudLab/frostfs-api-go/v2/tombstone/grpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/util/proto" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message" + tombstone "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/tombstone/grpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/util/proto" ) const ( diff --git a/tombstone/message_test.go b/tombstone/message_test.go index ae0ad00..7528c73 100644 --- a/tombstone/message_test.go +++ b/tombstone/message_test.go @@ -3,9 +3,9 @@ package tombstone_test import ( "testing" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message" - messagetest "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/message/test" - tombstonetest "github.com/TrueCloudLab/frostfs-api-go/v2/tombstone/test" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message" + messagetest "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message/test" + tombstonetest "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/tombstone/test" ) func TestMessageConvert(t *testing.T) { diff --git a/tombstone/test/generate.go b/tombstone/test/generate.go index 00ffa92..3caf528 100644 --- a/tombstone/test/generate.go +++ b/tombstone/test/generate.go @@ -1,8 +1,8 @@ package tombstonetest import ( - refstest "github.com/TrueCloudLab/frostfs-api-go/v2/refs/test" - "github.com/TrueCloudLab/frostfs-api-go/v2/tombstone" + refstest "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/test" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/tombstone" ) func GenerateTombstone(empty bool) *tombstone.Tombstone { diff --git a/tombstone/types.go b/tombstone/types.go index 4f2ffb4..edcd934 100644 --- a/tombstone/types.go +++ b/tombstone/types.go @@ -1,7 +1,7 @@ package tombstone import ( - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" ) // Tombstone is a unified structure of Tombstone diff --git a/util/proto/marshal_test.go b/util/proto/marshal_test.go index b34e9d0..de2b72f 100644 --- a/util/proto/marshal_test.go +++ b/util/proto/marshal_test.go @@ -4,8 +4,8 @@ import ( "math" "testing" - "github.com/TrueCloudLab/frostfs-api-go/v2/util/proto" - "github.com/TrueCloudLab/frostfs-api-go/v2/util/proto/test" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/util/proto" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/util/proto/test" "github.com/stretchr/testify/require" goproto "google.golang.org/protobuf/proto" ) diff --git a/util/protogen/main.go b/util/protogen/main.go index b5a1931..99f5b7b 100644 --- a/util/protogen/main.go +++ b/util/protogen/main.go @@ -31,7 +31,7 @@ func generateFile(gen *protogen.Plugin, file *protogen.File) *protogen.Generated g.P() g.P("package ", file.GoPackageName) g.P() - g.P(`import "github.com/TrueCloudLab/frostfs-api-go/v2/util/proto"`) + g.P(`import "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/util/proto"`) //for _, e := range file.Enums { // g.P("type " + e.GoIdent.GoName + " int32") diff --git a/util/signature/data.go b/util/signature/data.go index efe543d..6de9466 100644 --- a/util/signature/data.go +++ b/util/signature/data.go @@ -3,8 +3,8 @@ package signature import ( "crypto/ecdsa" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - crypto "github.com/TrueCloudLab/frostfs-crypto" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + crypto "git.frostfs.info/TrueCloudLab/frostfs-crypto" ) type DataSource interface { diff --git a/util/signature/options.go b/util/signature/options.go index cb25034..28728dc 100644 --- a/util/signature/options.go +++ b/util/signature/options.go @@ -5,9 +5,9 @@ import ( "encoding/base64" "fmt" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - "github.com/TrueCloudLab/frostfs-api-go/v2/util/signature/walletconnect" - crypto "github.com/TrueCloudLab/frostfs-crypto" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/util/signature/walletconnect" + crypto "git.frostfs.info/TrueCloudLab/frostfs-crypto" ) type cfg struct { diff --git a/util/signature/sign_test.go b/util/signature/sign_test.go index c819068..1fe2a4a 100644 --- a/util/signature/sign_test.go +++ b/util/signature/sign_test.go @@ -6,7 +6,7 @@ import ( "crypto/rand" "testing" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" "github.com/stretchr/testify/require" ) diff --git a/util/signature/walletconnect/sign.go b/util/signature/walletconnect/sign.go index bd24a89..b96a842 100644 --- a/util/signature/walletconnect/sign.go +++ b/util/signature/walletconnect/sign.go @@ -7,7 +7,7 @@ import ( "encoding/binary" "encoding/hex" - crypto "github.com/TrueCloudLab/frostfs-crypto" + crypto "git.frostfs.info/TrueCloudLab/frostfs-crypto" ) const (