From 94476f9055991886ac77f3e0c9a8d946147ce432 Mon Sep 17 00:00:00 2001 From: Alex Vanin Date: Tue, 7 Mar 2023 14:20:03 +0300 Subject: [PATCH] Rename package name Due to source code relocation from GitHub. Signed-off-by: Alex Vanin --- README.md | 12 +++++------ accounting/decimal.go | 4 ++-- accounting/decimal_test.go | 4 ++-- accounting/doc.go | 4 ++-- accounting/test/decimal.go | 2 +- accounting/test/doc.go | 2 +- audit/result.go | 12 +++++------ audit/result_test.go | 10 ++++----- audit/test/doc.go | 2 +- audit/test/generate.go | 6 +++--- bearer/bearer.go | 16 +++++++------- bearer/bearer_test.go | 22 +++++++++---------- bearer/doc.go | 2 +- bearer/test/generate.go | 6 +++--- checksum/checksum.go | 6 +++--- checksum/checksum_test.go | 4 ++-- checksum/example_test.go | 2 +- checksum/test/doc.go | 2 +- checksum/test/generate.go | 2 +- client/accounting.go | 12 +++++------ client/api.go | 6 +++--- client/client.go | 8 +++---- client/client_test.go | 2 +- client/common.go | 16 +++++++------- client/container.go | 24 ++++++++++----------- client/doc.go | 6 +++--- client/errors.go | 2 +- client/errors_test.go | 4 ++-- client/netmap.go | 16 +++++++------- client/netmap_test.go | 10 ++++----- client/object_delete.go | 24 ++++++++++----------- client/object_get.go | 26 +++++++++++----------- client/object_hash.go | 24 ++++++++++----------- client/object_put.go | 22 +++++++++---------- client/object_search.go | 26 +++++++++++----------- client/object_search_test.go | 10 ++++----- client/reputation.go | 8 +++---- client/response.go | 2 +- client/session.go | 10 ++++----- client/status/common.go | 2 +- client/status/common_test.go | 4 ++-- client/status/container.go | 4 ++-- client/status/object.go | 4 ++-- client/status/object_test.go | 2 +- client/status/session.go | 4 ++-- client/status/status_test.go | 2 +- client/status/success.go | 2 +- client/status/unrecognized.go | 2 +- client/status/v2.go | 10 ++++----- client/status/v2_test.go | 2 +- container/container.go | 24 ++++++++++----------- container/container_test.go | 26 +++++++++++----------- container/doc.go | 4 ++-- container/id/id.go | 4 ++-- container/id/id_test.go | 6 +++--- container/id/test/doc.go | 2 +- container/id/test/id.go | 2 +- container/network.go | 2 +- container/network_test.go | 6 +++--- container/size.go | 8 +++---- container/size_test.go | 10 ++++----- container/test/generate.go | 10 ++++----- crypto/crypto_test.go | 6 +++--- crypto/doc.go | 4 ++-- crypto/ecdsa/init.go | 2 +- crypto/ecdsa/signer.go | 2 +- crypto/ecdsa/wallet_connect.go | 4 ++-- crypto/signature.go | 4 ++-- crypto/signer.go | 2 +- eacl/enums.go | 2 +- eacl/enums_test.go | 4 ++-- eacl/filter.go | 2 +- eacl/filter_test.go | 4 ++-- eacl/record.go | 14 ++++++------ eacl/record_test.go | 14 ++++++------ eacl/table.go | 8 +++---- eacl/table_test.go | 10 ++++----- eacl/target.go | 2 +- eacl/target_test.go | 4 ++-- eacl/test/benchmark_test.go | 6 +++--- eacl/test/generate.go | 8 +++---- eacl/types.go | 2 +- go.mod | 14 ++++++------ go.sum | 26 +++++++++++----------- netmap/context.go | 4 ++-- netmap/doc.go | 4 ++-- netmap/filter.go | 2 +- netmap/filter_test.go | 2 +- netmap/helper_test.go | 2 +- netmap/netmap.go | 6 +++--- netmap/netmap_test.go | 6 +++--- netmap/network_info.go | 4 ++-- netmap/network_info_test.go | 4 ++-- netmap/node_info.go | 12 +++++------ netmap/policy.go | 10 ++++----- netmap/policy_test.go | 4 ++-- netmap/selector.go | 6 +++--- netmap/selector_test.go | 4 ++-- netmap/subnet_test.go | 4 ++-- netmap/test/generate.go | 4 ++-- ns/dns.go | 2 +- ns/nns.go | 6 +++--- ns/nns_test.go | 4 ++-- object/attribute.go | 2 +- object/attribute_test.go | 2 +- object/error_test.go | 2 +- object/fmt.go | 8 +++---- object/id/address.go | 6 +++--- object/id/address_test.go | 8 +++---- object/id/id.go | 8 +++---- object/id/id_test.go | 2 +- object/id/test/doc.go | 2 +- object/id/test/generate.go | 4 ++-- object/lock.go | 6 +++--- object/lock_test.go | 4 ++-- object/object.go | 20 ++++++++--------- object/object_test.go | 6 +++--- object/range.go | 2 +- object/range_test.go | 2 +- object/raw.go | 2 +- object/raw_test.go | 14 ++++++------ object/relations/relations.go | 10 ++++----- object/search.go | 10 ++++----- object/search_test.go | 6 +++--- object/splitid_test.go | 2 +- object/splitinfo.go | 6 +++--- object/splitinfo_test.go | 6 +++--- object/test/generate.go | 16 +++++++------- object/tombstone.go | 6 +++--- object/tombstone_test.go | 4 ++-- object/type.go | 2 +- object/type_test.go | 4 ++-- pool/cache.go | 2 +- pool/cache_test.go | 4 ++-- pool/mock_test.go | 22 +++++++++---------- pool/pool.go | 36 +++++++++++++++---------------- pool/pool_test.go | 14 ++++++------ reputation/doc.go | 4 ++-- reputation/peer.go | 4 ++-- reputation/peer_test.go | 6 +++--- reputation/test/generate.go | 4 ++-- reputation/trust.go | 14 ++++++------ reputation/trust_test.go | 12 +++++------ session/common.go | 10 ++++----- session/container.go | 12 +++++------ session/container_test.go | 18 ++++++++-------- session/doc.go | 4 ++-- session/object.go | 10 ++++----- session/object_test.go | 20 ++++++++--------- session/test/doc.go | 2 +- session/test/session.go | 8 +++---- storagegroup/doc.go | 4 ++-- storagegroup/storagegroup.go | 14 ++++++------ storagegroup/storagegroup_test.go | 22 +++++++++---------- storagegroup/test/doc.go | 2 +- storagegroup/test/generate.go | 8 +++---- subnet/id/id.go | 4 ++-- subnet/id/id_test.go | 6 +++--- subnet/id/test/doc.go | 2 +- subnet/id/test/id.go | 2 +- subnet/subnet.go | 8 +++---- subnet/subnet_test.go | 10 ++++----- subnet/test/doc.go | 2 +- subnet/test/subnet.go | 6 +++--- user/doc.go | 4 ++-- user/id.go | 4 ++-- user/id_test.go | 6 +++--- user/test/doc.go | 2 +- user/test/id.go | 2 +- user/util_test.go | 2 +- version/test/generate.go | 2 +- version/version.go | 4 ++-- version/version_test.go | 2 +- 173 files changed, 624 insertions(+), 626 deletions(-) diff --git a/README.md b/README.md index c88d6c5..81c2959 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # frostfs-sdk-go Go implementation of FrostFS SDK. It contains high-level version-independent wrappers -for structures from [frostfs-api-go](https://github.com/TrueCloudLab/frostfs-api-go) as well as +for structures from [frostfs-api-go](https://git.frostfs.info/TrueCloudLab/frostfs-api-go) as well as helper functions for simplifying node/dApp implementations. ## Repository structure @@ -14,7 +14,7 @@ There is also a reference implementation of checking algorithm which is used in ### checksum Contains `Checksum` type encapsulating checksum as well as it's kind. -Currently Sha256 and [Tillich-Zemor hashsum](https://github.com/TrueCloudLab/tzhash) are in use. +Currently Sha256 and [Tillich-Zemor hashsum](https://git.frostfs.info/TrueCloudLab/tzhash) are in use. ### owner `owner.ID` type represents single account interacting with FrostFS. In v2 version of protocol @@ -27,7 +27,7 @@ Contains Bearer token type with several FrostFS-specific methods. ### ns In FrostFS there are 2 types of name resolution: DNS and NNS. NNS stands for Neo Name Service -is just a [contract](https://github.com/TrueCloudLab/frostfs-contract) deployed on a Neo blockchain. +is just a [contract](https://git.frostfs.info/TrueCloudLab/frostfs-contract) deployed on a Neo blockchain. Basically, NNS is just a DNS-on-chain which can be used for resolving container nice-names as well as any other name in dApps. See our [CoreDNS plugin](https://github.com/nspcc-dev/coredns/tree/master/plugin/nns) for the example of how NNS can be integrated in DNS. @@ -77,7 +77,7 @@ if needed and perform any desired action. In the case above we may want to repor these details to the user as well as retry an operation, possibly with different parameters. Status wire-format is extendable and each node can report any set of details it wants. The set of reserved status codes can be found in -[FrostFS API](https://github.com/TrueCloudLab/frostfs-api/blob/master/status/types.proto). There is also +[FrostFS API](https://git.frostfs.info/TrueCloudLab/frostfs-api/src/branch/master/status/types.proto). There is also a `client.PrmInit.ResolveFrostFSFailures()` to seamlessly convert erroneous statuses into Go error type. ### policy @@ -102,8 +102,8 @@ outdated in some details. ```go import ( - "github.com/TrueCloudLab/frostfs-sdk-go/netmap" - "github.com/TrueCloudLab/frostfs-sdk-go/object" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/netmap" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object" ) func placementNodes(addr *object.Address, p *netmap.PlacementPolicy, frostfsNodes []netmap.NodeInfo) { diff --git a/accounting/decimal.go b/accounting/decimal.go index 8902121..bb01f28 100644 --- a/accounting/decimal.go +++ b/accounting/decimal.go @@ -1,10 +1,10 @@ package accounting -import "github.com/TrueCloudLab/frostfs-api-go/v2/accounting" +import "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/accounting" // Decimal represents decimal number for accounting operations. // -// Decimal is mutually compatible with github.com/TrueCloudLab/frostfs-api-go/v2/accounting.Decimal +// Decimal is mutually compatible with git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/accounting.Decimal // message. See ReadFromV2 / WriteToV2 methods. // // Instances can be created using built-in var declaration. diff --git a/accounting/decimal_test.go b/accounting/decimal_test.go index 9dc8fe6..af46dd4 100644 --- a/accounting/decimal_test.go +++ b/accounting/decimal_test.go @@ -3,8 +3,8 @@ package accounting_test import ( "testing" - v2accounting "github.com/TrueCloudLab/frostfs-api-go/v2/accounting" - "github.com/TrueCloudLab/frostfs-sdk-go/accounting" + v2accounting "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/accounting" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/accounting" "github.com/stretchr/testify/require" ) diff --git a/accounting/doc.go b/accounting/doc.go index 9dede1b..defcb0d 100644 --- a/accounting/doc.go +++ b/accounting/doc.go @@ -9,11 +9,11 @@ working with Fixed8 balance precision: dec.SetPrecision(8) Instances can be also used to process FrostFS API V2 protocol messages -(see neo.fs.v2.accounting package in https://github.com/TrueCloudLab/frostfs-api). +(see neo.fs.v2.accounting package in https://git.frostfs.info/TrueCloudLab/frostfs-api). On client side: - import "github.com/TrueCloudLab/frostfs-api-go/v2/accounting" + import "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/accounting" var msg accounting.Decimal dec.WriteToV2(&msg) diff --git a/accounting/test/decimal.go b/accounting/test/decimal.go index 7a7685c..1e0e94b 100644 --- a/accounting/test/decimal.go +++ b/accounting/test/decimal.go @@ -3,7 +3,7 @@ package accountingtest import ( "math/rand" - "github.com/TrueCloudLab/frostfs-sdk-go/accounting" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/accounting" ) // Decimal returns random accounting.Decimal. diff --git a/accounting/test/doc.go b/accounting/test/doc.go index 2ec4154..bf96483 100644 --- a/accounting/test/doc.go +++ b/accounting/test/doc.go @@ -5,7 +5,7 @@ Note that importing the package into source files is highly discouraged. Random instance generation functions can be useful when testing expects any value, e.g.: - import accountingtest "github.com/TrueCloudLab/frostfs-sdk-go/accounting/test" + import accountingtest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/accounting/test" dec := accountingtest.Decimal() // test the value diff --git a/audit/result.go b/audit/result.go index 52db9d4..64dce2f 100644 --- a/audit/result.go +++ b/audit/result.go @@ -4,16 +4,16 @@ import ( "errors" "fmt" - "github.com/TrueCloudLab/frostfs-api-go/v2/audit" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - cid "github.com/TrueCloudLab/frostfs-sdk-go/container/id" - oid "github.com/TrueCloudLab/frostfs-sdk-go/object/id" - "github.com/TrueCloudLab/frostfs-sdk-go/version" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/audit" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + cid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id" + oid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/id" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/version" ) // Result represents report on the results of the data audit in FrostFS system. // -// Result is mutually binary-compatible with github.com/TrueCloudLab/frostfs-api-go/v2/audit.DataAuditResult +// Result is mutually binary-compatible with git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/audit.DataAuditResult // message. See Marshal / Unmarshal methods. // // Instances can be created using built-in var declaration. diff --git a/audit/result_test.go b/audit/result_test.go index e00efaa..520fee4 100644 --- a/audit/result_test.go +++ b/audit/result_test.go @@ -4,11 +4,11 @@ import ( "bytes" "testing" - "github.com/TrueCloudLab/frostfs-sdk-go/audit" - audittest "github.com/TrueCloudLab/frostfs-sdk-go/audit/test" - cidtest "github.com/TrueCloudLab/frostfs-sdk-go/container/id/test" - oid "github.com/TrueCloudLab/frostfs-sdk-go/object/id" - oidtest "github.com/TrueCloudLab/frostfs-sdk-go/object/id/test" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/audit" + audittest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/audit/test" + cidtest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id/test" + oid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/id" + oidtest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/id/test" "github.com/stretchr/testify/require" ) diff --git a/audit/test/doc.go b/audit/test/doc.go index 92cc082..6845a06 100644 --- a/audit/test/doc.go +++ b/audit/test/doc.go @@ -5,7 +5,7 @@ Note that importing the package into source files is highly discouraged. Random instance generation functions can be useful when testing expects any value, e.g.: - import audittest "github.com/TrueCloudLab/frostfs-sdk-go/audit/test" + import audittest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/audit/test" dec := audittest.Result() // test the value diff --git a/audit/test/generate.go b/audit/test/generate.go index a1a4848..6dc845d 100644 --- a/audit/test/generate.go +++ b/audit/test/generate.go @@ -1,9 +1,9 @@ package audittest import ( - "github.com/TrueCloudLab/frostfs-sdk-go/audit" - cidtest "github.com/TrueCloudLab/frostfs-sdk-go/container/id/test" - oidtest "github.com/TrueCloudLab/frostfs-sdk-go/object/id/test" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/audit" + cidtest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id/test" + oidtest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/id/test" ) // Result returns random audit.Result. diff --git a/bearer/bearer.go b/bearer/bearer.go index 9fbd07e..7f1df6c 100644 --- a/bearer/bearer.go +++ b/bearer/bearer.go @@ -5,18 +5,18 @@ import ( "errors" "fmt" - "github.com/TrueCloudLab/frostfs-api-go/v2/acl" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - cid "github.com/TrueCloudLab/frostfs-sdk-go/container/id" - frostfscrypto "github.com/TrueCloudLab/frostfs-sdk-go/crypto" - frostfsecdsa "github.com/TrueCloudLab/frostfs-sdk-go/crypto/ecdsa" - "github.com/TrueCloudLab/frostfs-sdk-go/eacl" - "github.com/TrueCloudLab/frostfs-sdk-go/user" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/acl" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + cid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id" + frostfscrypto "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/crypto" + frostfsecdsa "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/crypto/ecdsa" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/eacl" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/user" ) // Token represents bearer token for object service operations. // -// Token is mutually compatible with github.com/TrueCloudLab/frostfs-api-go/v2/acl.BearerToken +// Token is mutually compatible with git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/acl.BearerToken // message. See ReadFromV2 / WriteToV2 methods. // // Instances can be created using built-in var declaration. diff --git a/bearer/bearer_test.go b/bearer/bearer_test.go index 0b9c45b..46826a7 100644 --- a/bearer/bearer_test.go +++ b/bearer/bearer_test.go @@ -5,17 +5,17 @@ import ( "math/rand" "testing" - "github.com/TrueCloudLab/frostfs-api-go/v2/acl" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - "github.com/TrueCloudLab/frostfs-sdk-go/bearer" - bearertest "github.com/TrueCloudLab/frostfs-sdk-go/bearer/test" - cidtest "github.com/TrueCloudLab/frostfs-sdk-go/container/id/test" - frostfscrypto "github.com/TrueCloudLab/frostfs-sdk-go/crypto" - frostfsecdsa "github.com/TrueCloudLab/frostfs-sdk-go/crypto/ecdsa" - "github.com/TrueCloudLab/frostfs-sdk-go/eacl" - eacltest "github.com/TrueCloudLab/frostfs-sdk-go/eacl/test" - "github.com/TrueCloudLab/frostfs-sdk-go/user" - usertest "github.com/TrueCloudLab/frostfs-sdk-go/user/test" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/acl" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/bearer" + bearertest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/bearer/test" + cidtest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id/test" + frostfscrypto "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/crypto" + frostfsecdsa "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/crypto/ecdsa" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/eacl" + eacltest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/eacl/test" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/user" + usertest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/user/test" "github.com/nspcc-dev/neo-go/pkg/crypto/keys" "github.com/stretchr/testify/require" ) diff --git a/bearer/doc.go b/bearer/doc.go index 90ab156..c97ab48 100644 --- a/bearer/doc.go +++ b/bearer/doc.go @@ -22,7 +22,7 @@ Bearer token must be signed by owner of the container. Provide signed token in JSON or binary format to the request sender. Request sender can attach this bearer token to the object service requests: - import sdkClient "github.com/TrueCloudLab/frostfs-sdk-go/client" + import sdkClient "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/client" var headParams sdkClient.PrmObjectHead headParams.WithBearerToken(bearerToken) diff --git a/bearer/test/generate.go b/bearer/test/generate.go index 6c08ef6..4f5dd3d 100644 --- a/bearer/test/generate.go +++ b/bearer/test/generate.go @@ -1,9 +1,9 @@ package bearertest import ( - "github.com/TrueCloudLab/frostfs-sdk-go/bearer" - eacltest "github.com/TrueCloudLab/frostfs-sdk-go/eacl/test" - usertest "github.com/TrueCloudLab/frostfs-sdk-go/user/test" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/bearer" + eacltest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/eacl/test" + usertest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/user/test" ) // Token returns random bearer.Token. diff --git a/checksum/checksum.go b/checksum/checksum.go index 96c33e5..37238af 100644 --- a/checksum/checksum.go +++ b/checksum/checksum.go @@ -6,13 +6,13 @@ import ( "errors" "fmt" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - "github.com/TrueCloudLab/tzhash/tz" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + "git.frostfs.info/TrueCloudLab/tzhash/tz" ) // Checksum represents checksum of some digital data. // -// Checksum is mutually compatible with github.com/TrueCloudLab/frostfs-api-go/v2/refs.Checksum +// Checksum is mutually compatible with git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs.Checksum // message. See ReadFromV2 / WriteToV2 methods. // // Instances can be created using built-in var declaration. diff --git a/checksum/checksum_test.go b/checksum/checksum_test.go index b7d0cf7..9da857d 100644 --- a/checksum/checksum_test.go +++ b/checksum/checksum_test.go @@ -5,8 +5,8 @@ import ( "crypto/sha256" "testing" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - "github.com/TrueCloudLab/tzhash/tz" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + "git.frostfs.info/TrueCloudLab/tzhash/tz" "github.com/stretchr/testify/require" ) diff --git a/checksum/example_test.go b/checksum/example_test.go index c62f9e2..d98c992 100644 --- a/checksum/example_test.go +++ b/checksum/example_test.go @@ -6,7 +6,7 @@ import ( "fmt" "math/rand" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" ) func ExampleCalculate() { diff --git a/checksum/test/doc.go b/checksum/test/doc.go index 64652da..2fefe91 100644 --- a/checksum/test/doc.go +++ b/checksum/test/doc.go @@ -5,7 +5,7 @@ Note that importing the package into source files is highly discouraged. Random instance generation functions can be useful when testing expects any value, e.g.: - import checksumtest "github.com/TrueCloudLab/frostfs-sdk-go/checksum/test" + import checksumtest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/checksum/test" cs := checksumtest.Checksum() // test the value diff --git a/checksum/test/generate.go b/checksum/test/generate.go index 5305168..d8c6b0b 100644 --- a/checksum/test/generate.go +++ b/checksum/test/generate.go @@ -4,7 +4,7 @@ import ( "crypto/sha256" "math/rand" - "github.com/TrueCloudLab/frostfs-sdk-go/checksum" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/checksum" ) // Checksum returns random checksum.Checksum. diff --git a/client/accounting.go b/client/accounting.go index 9121869..ed83cf0 100644 --- a/client/accounting.go +++ b/client/accounting.go @@ -3,12 +3,12 @@ package client import ( "context" - v2accounting "github.com/TrueCloudLab/frostfs-api-go/v2/accounting" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - rpcapi "github.com/TrueCloudLab/frostfs-api-go/v2/rpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/client" - "github.com/TrueCloudLab/frostfs-sdk-go/accounting" - "github.com/TrueCloudLab/frostfs-sdk-go/user" + v2accounting "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/accounting" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + rpcapi "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/client" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/accounting" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/user" ) // PrmBalanceGet groups parameters of BalanceGet operation. diff --git a/client/api.go b/client/api.go index 83ea363..dd18c42 100644 --- a/client/api.go +++ b/client/api.go @@ -4,9 +4,9 @@ import ( "context" "fmt" - v2netmap "github.com/TrueCloudLab/frostfs-api-go/v2/netmap" - rpcapi "github.com/TrueCloudLab/frostfs-api-go/v2/rpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/client" + v2netmap "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/netmap" + rpcapi "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/client" ) // interface of FrostFS API server. Exists for test purposes only. diff --git a/client/client.go b/client/client.go index c13a871..77f33c2 100644 --- a/client/client.go +++ b/client/client.go @@ -7,9 +7,9 @@ import ( "errors" "time" - v2accounting "github.com/TrueCloudLab/frostfs-api-go/v2/accounting" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/client" + v2accounting "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/accounting" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/client" ) // Client represents virtual connection to the FrostFS network to communicate @@ -123,7 +123,7 @@ func (c *Client) Dial(prm PrmDial) error { // sets underlying provider of frostFSAPIServer. The method is used for testing as an approach // to skip Dial stage and override FrostFS API server. MUST NOT be used outside test code. -// In real applications wrapper over github.com/TrueCloudLab/frostfs-api-go/v2/rpc/client +// In real applications wrapper over git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/client // is statically used. func (c *Client) setFrostFSAPIServer(server frostFSAPIServer) { c.server = server diff --git a/client/client_test.go b/client/client_test.go index 87dc7b4..98c9ab8 100644 --- a/client/client_test.go +++ b/client/client_test.go @@ -7,7 +7,7 @@ import ( "crypto/rand" "testing" - apistatus "github.com/TrueCloudLab/frostfs-sdk-go/client/status" + apistatus "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/client/status" "github.com/stretchr/testify/require" ) diff --git a/client/common.go b/client/common.go index 7b757e7..c743249 100644 --- a/client/common.go +++ b/client/common.go @@ -5,12 +5,12 @@ import ( "errors" "fmt" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/client" - v2session "github.com/TrueCloudLab/frostfs-api-go/v2/session" - "github.com/TrueCloudLab/frostfs-api-go/v2/signature" - apistatus "github.com/TrueCloudLab/frostfs-sdk-go/client/status" - "github.com/TrueCloudLab/frostfs-sdk-go/version" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/client" + v2session "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/signature" + apistatus "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/client/status" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/version" ) // common interface of resulting structures with API status. @@ -345,7 +345,7 @@ func (c *Client) initCallContext(ctx *contextCall) { ctx.netMagic = c.prm.netMagic } -// ExecRaw executes f with underlying github.com/TrueCloudLab/frostfs-api-go/v2/rpc/client.Client +// ExecRaw executes f with underlying git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/client.Client // instance. Communicate over the Protocol Buffers protocol in a more flexible way: // most often used to transmit data over a fixed version of the FrostFS protocol, as well // as to support custom services. @@ -356,7 +356,7 @@ func (c *Client) initCallContext(ctx *contextCall) { // before closing the connection. // // See also Dial and Close. -// See also github.com/TrueCloudLab/frostfs-api-go/v2/rpc/client package docs. +// See also git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/client package docs. func (c *Client) ExecRaw(f func(client *client.Client) error) error { return f(&c.c) } diff --git a/client/container.go b/client/container.go index 8c5ae01..080e44d 100644 --- a/client/container.go +++ b/client/container.go @@ -5,18 +5,18 @@ import ( "errors" "fmt" - v2container "github.com/TrueCloudLab/frostfs-api-go/v2/container" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - rpcapi "github.com/TrueCloudLab/frostfs-api-go/v2/rpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/client" - v2session "github.com/TrueCloudLab/frostfs-api-go/v2/session" - "github.com/TrueCloudLab/frostfs-sdk-go/container" - cid "github.com/TrueCloudLab/frostfs-sdk-go/container/id" - frostfscrypto "github.com/TrueCloudLab/frostfs-sdk-go/crypto" - frostfsecdsa "github.com/TrueCloudLab/frostfs-sdk-go/crypto/ecdsa" - "github.com/TrueCloudLab/frostfs-sdk-go/eacl" - "github.com/TrueCloudLab/frostfs-sdk-go/session" - "github.com/TrueCloudLab/frostfs-sdk-go/user" + v2container "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/container" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + rpcapi "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/client" + v2session "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container" + cid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id" + frostfscrypto "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/crypto" + frostfsecdsa "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/crypto/ecdsa" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/eacl" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/session" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/user" ) // PrmContainerPut groups parameters of ContainerPut operation. diff --git a/client/doc.go b/client/doc.go index 7b09704..7f6ec42 100644 --- a/client/doc.go +++ b/client/doc.go @@ -47,8 +47,8 @@ Consume custom service of the server: rpc CustomRPC(CustomRPCRequest) returns (CustomRPCResponse); } - import "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/client" - import "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/common" + import "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/client" + import "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/common" req := new(CustomRPCRequest) // ... @@ -72,7 +72,7 @@ for the all operations are write-only and the results of the all operations are read-only. To be able to override client behavior (e.g. for tests), abstract it with an interface: - import "github.com/TrueCloudLab/frostfs-sdk-go/client" + import "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/client" type FrostFSClient interface { // Operations according to the application needs diff --git a/client/errors.go b/client/errors.go index ea67cac..bf2b1ea 100644 --- a/client/errors.go +++ b/client/errors.go @@ -4,7 +4,7 @@ import ( "errors" "fmt" - apistatus "github.com/TrueCloudLab/frostfs-sdk-go/client/status" + apistatus "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/client/status" ) // unwraps err using errors.Unwrap and returns the result. diff --git a/client/errors_test.go b/client/errors_test.go index a63ee96..657d0fe 100644 --- a/client/errors_test.go +++ b/client/errors_test.go @@ -4,8 +4,8 @@ import ( "fmt" "testing" - "github.com/TrueCloudLab/frostfs-sdk-go/client" - apistatus "github.com/TrueCloudLab/frostfs-sdk-go/client/status" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/client" + apistatus "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/client/status" "github.com/stretchr/testify/require" ) diff --git a/client/netmap.go b/client/netmap.go index 52348dd..2eafcff 100644 --- a/client/netmap.go +++ b/client/netmap.go @@ -4,14 +4,14 @@ import ( "context" "fmt" - v2netmap "github.com/TrueCloudLab/frostfs-api-go/v2/netmap" - rpcapi "github.com/TrueCloudLab/frostfs-api-go/v2/rpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/client" - v2session "github.com/TrueCloudLab/frostfs-api-go/v2/session" - "github.com/TrueCloudLab/frostfs-api-go/v2/signature" - apistatus "github.com/TrueCloudLab/frostfs-sdk-go/client/status" - "github.com/TrueCloudLab/frostfs-sdk-go/netmap" - "github.com/TrueCloudLab/frostfs-sdk-go/version" + v2netmap "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/netmap" + rpcapi "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/client" + v2session "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/signature" + apistatus "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/client/status" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/netmap" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/version" ) // PrmEndpointInfo groups parameters of EndpointInfo operation. diff --git a/client/netmap_test.go b/client/netmap_test.go index 0b1a828..0548245 100644 --- a/client/netmap_test.go +++ b/client/netmap_test.go @@ -6,11 +6,11 @@ import ( "fmt" "testing" - v2netmap "github.com/TrueCloudLab/frostfs-api-go/v2/netmap" - "github.com/TrueCloudLab/frostfs-api-go/v2/session" - "github.com/TrueCloudLab/frostfs-api-go/v2/signature" - apistatus "github.com/TrueCloudLab/frostfs-sdk-go/client/status" - "github.com/TrueCloudLab/frostfs-sdk-go/netmap" + v2netmap "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/netmap" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/signature" + apistatus "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/client/status" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/netmap" "github.com/stretchr/testify/require" ) diff --git a/client/object_delete.go b/client/object_delete.go index 14ed184..e7fee89 100644 --- a/client/object_delete.go +++ b/client/object_delete.go @@ -5,18 +5,18 @@ import ( "crypto/ecdsa" "fmt" - "github.com/TrueCloudLab/frostfs-api-go/v2/acl" - v2object "github.com/TrueCloudLab/frostfs-api-go/v2/object" - v2refs "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - rpcapi "github.com/TrueCloudLab/frostfs-api-go/v2/rpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/client" - v2session "github.com/TrueCloudLab/frostfs-api-go/v2/session" - "github.com/TrueCloudLab/frostfs-api-go/v2/signature" - "github.com/TrueCloudLab/frostfs-sdk-go/bearer" - apistatus "github.com/TrueCloudLab/frostfs-sdk-go/client/status" - cid "github.com/TrueCloudLab/frostfs-sdk-go/container/id" - oid "github.com/TrueCloudLab/frostfs-sdk-go/object/id" - "github.com/TrueCloudLab/frostfs-sdk-go/session" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/acl" + v2object "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/object" + v2refs "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + rpcapi "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/client" + v2session "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/signature" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/bearer" + apistatus "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/client/status" + cid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id" + oid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/id" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/session" ) // PrmObjectDelete groups parameters of ObjectDelete operation. diff --git a/client/object_get.go b/client/object_get.go index 24f6d4d..2ae2219 100644 --- a/client/object_get.go +++ b/client/object_get.go @@ -7,19 +7,19 @@ import ( "fmt" "io" - "github.com/TrueCloudLab/frostfs-api-go/v2/acl" - v2object "github.com/TrueCloudLab/frostfs-api-go/v2/object" - v2refs "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - rpcapi "github.com/TrueCloudLab/frostfs-api-go/v2/rpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/client" - v2session "github.com/TrueCloudLab/frostfs-api-go/v2/session" - "github.com/TrueCloudLab/frostfs-api-go/v2/signature" - "github.com/TrueCloudLab/frostfs-sdk-go/bearer" - apistatus "github.com/TrueCloudLab/frostfs-sdk-go/client/status" - cid "github.com/TrueCloudLab/frostfs-sdk-go/container/id" - "github.com/TrueCloudLab/frostfs-sdk-go/object" - oid "github.com/TrueCloudLab/frostfs-sdk-go/object/id" - "github.com/TrueCloudLab/frostfs-sdk-go/session" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/acl" + v2object "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/object" + v2refs "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + rpcapi "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/client" + v2session "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/signature" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/bearer" + apistatus "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/client/status" + cid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object" + oid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/id" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/session" ) // shared parameters of GET/HEAD/RANGE. diff --git a/client/object_hash.go b/client/object_hash.go index 560444f..3bad781 100644 --- a/client/object_hash.go +++ b/client/object_hash.go @@ -5,18 +5,18 @@ import ( "crypto/ecdsa" "fmt" - "github.com/TrueCloudLab/frostfs-api-go/v2/acl" - v2object "github.com/TrueCloudLab/frostfs-api-go/v2/object" - v2refs "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - rpcapi "github.com/TrueCloudLab/frostfs-api-go/v2/rpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/client" - v2session "github.com/TrueCloudLab/frostfs-api-go/v2/session" - "github.com/TrueCloudLab/frostfs-api-go/v2/signature" - "github.com/TrueCloudLab/frostfs-sdk-go/bearer" - apistatus "github.com/TrueCloudLab/frostfs-sdk-go/client/status" - cid "github.com/TrueCloudLab/frostfs-sdk-go/container/id" - oid "github.com/TrueCloudLab/frostfs-sdk-go/object/id" - "github.com/TrueCloudLab/frostfs-sdk-go/session" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/acl" + v2object "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/object" + v2refs "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + rpcapi "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/client" + v2session "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/signature" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/bearer" + apistatus "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/client/status" + cid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id" + oid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/id" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/session" ) // PrmObjectHash groups parameters of ObjectHash operation. diff --git a/client/object_put.go b/client/object_put.go index 3e9472f..f25e44b 100644 --- a/client/object_put.go +++ b/client/object_put.go @@ -7,17 +7,17 @@ import ( "fmt" "io" - "github.com/TrueCloudLab/frostfs-api-go/v2/acl" - v2object "github.com/TrueCloudLab/frostfs-api-go/v2/object" - rpcapi "github.com/TrueCloudLab/frostfs-api-go/v2/rpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/client" - v2session "github.com/TrueCloudLab/frostfs-api-go/v2/session" - "github.com/TrueCloudLab/frostfs-api-go/v2/signature" - "github.com/TrueCloudLab/frostfs-sdk-go/bearer" - apistatus "github.com/TrueCloudLab/frostfs-sdk-go/client/status" - "github.com/TrueCloudLab/frostfs-sdk-go/object" - oid "github.com/TrueCloudLab/frostfs-sdk-go/object/id" - "github.com/TrueCloudLab/frostfs-sdk-go/session" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/acl" + v2object "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/object" + rpcapi "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/client" + v2session "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/signature" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/bearer" + apistatus "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/client/status" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object" + oid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/id" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/session" ) // PrmObjectPutInit groups parameters of ObjectPutInit operation. diff --git a/client/object_search.go b/client/object_search.go index 643499e..127b5b8 100644 --- a/client/object_search.go +++ b/client/object_search.go @@ -7,19 +7,19 @@ import ( "fmt" "io" - "github.com/TrueCloudLab/frostfs-api-go/v2/acl" - v2object "github.com/TrueCloudLab/frostfs-api-go/v2/object" - v2refs "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - rpcapi "github.com/TrueCloudLab/frostfs-api-go/v2/rpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/client" - v2session "github.com/TrueCloudLab/frostfs-api-go/v2/session" - "github.com/TrueCloudLab/frostfs-api-go/v2/signature" - "github.com/TrueCloudLab/frostfs-sdk-go/bearer" - apistatus "github.com/TrueCloudLab/frostfs-sdk-go/client/status" - cid "github.com/TrueCloudLab/frostfs-sdk-go/container/id" - "github.com/TrueCloudLab/frostfs-sdk-go/object" - oid "github.com/TrueCloudLab/frostfs-sdk-go/object/id" - "github.com/TrueCloudLab/frostfs-sdk-go/session" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/acl" + v2object "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/object" + v2refs "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + rpcapi "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/client" + v2session "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/signature" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/bearer" + apistatus "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/client/status" + cid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object" + oid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/id" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/session" ) // PrmObjectSearch groups parameters of ObjectSearch operation. diff --git a/client/object_search_test.go b/client/object_search_test.go index 2c794c4..f449d61 100644 --- a/client/object_search_test.go +++ b/client/object_search_test.go @@ -7,11 +7,11 @@ import ( "io" "testing" - v2object "github.com/TrueCloudLab/frostfs-api-go/v2/object" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - signatureV2 "github.com/TrueCloudLab/frostfs-api-go/v2/signature" - oid "github.com/TrueCloudLab/frostfs-sdk-go/object/id" - oidtest "github.com/TrueCloudLab/frostfs-sdk-go/object/id/test" + v2object "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/object" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + signatureV2 "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/signature" + oid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/id" + oidtest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/id/test" "github.com/nspcc-dev/neo-go/pkg/crypto/keys" "github.com/stretchr/testify/require" ) diff --git a/client/reputation.go b/client/reputation.go index e32026d..ae22fd1 100644 --- a/client/reputation.go +++ b/client/reputation.go @@ -3,10 +3,10 @@ package client import ( "context" - v2reputation "github.com/TrueCloudLab/frostfs-api-go/v2/reputation" - rpcapi "github.com/TrueCloudLab/frostfs-api-go/v2/rpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/client" - "github.com/TrueCloudLab/frostfs-sdk-go/reputation" + v2reputation "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/reputation" + rpcapi "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/client" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/reputation" ) // PrmAnnounceLocalTrust groups parameters of AnnounceLocalTrust operation. diff --git a/client/response.go b/client/response.go index dabfdf9..e1a702e 100644 --- a/client/response.go +++ b/client/response.go @@ -1,6 +1,6 @@ package client -import "github.com/TrueCloudLab/frostfs-api-go/v2/session" +import "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session" // ResponseMetaInfo groups meta information about any FrostFS API response. type ResponseMetaInfo struct { diff --git a/client/session.go b/client/session.go index 05cb1ae..e05ca44 100644 --- a/client/session.go +++ b/client/session.go @@ -4,11 +4,11 @@ import ( "context" "crypto/ecdsa" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - rpcapi "github.com/TrueCloudLab/frostfs-api-go/v2/rpc" - "github.com/TrueCloudLab/frostfs-api-go/v2/rpc/client" - v2session "github.com/TrueCloudLab/frostfs-api-go/v2/session" - "github.com/TrueCloudLab/frostfs-sdk-go/user" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + rpcapi "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/client" + v2session "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/user" ) // PrmSessionCreate groups parameters of SessionCreate operation. diff --git a/client/status/common.go b/client/status/common.go index f8b82b2..421d532 100644 --- a/client/status/common.go +++ b/client/status/common.go @@ -3,7 +3,7 @@ package apistatus import ( "encoding/binary" - "github.com/TrueCloudLab/frostfs-api-go/v2/status" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/status" ) // ServerInternal describes failure statuses related to internal server errors. diff --git a/client/status/common_test.go b/client/status/common_test.go index 47ec732..d66b5b5 100644 --- a/client/status/common_test.go +++ b/client/status/common_test.go @@ -3,8 +3,8 @@ package apistatus_test import ( "testing" - "github.com/TrueCloudLab/frostfs-api-go/v2/status" - apistatus "github.com/TrueCloudLab/frostfs-sdk-go/client/status" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/status" + apistatus "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/client/status" "github.com/stretchr/testify/require" ) diff --git a/client/status/container.go b/client/status/container.go index 57e60c9..c62aaac 100644 --- a/client/status/container.go +++ b/client/status/container.go @@ -1,8 +1,8 @@ package apistatus import ( - "github.com/TrueCloudLab/frostfs-api-go/v2/container" - "github.com/TrueCloudLab/frostfs-api-go/v2/status" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/container" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/status" ) // ContainerNotFound describes status of the failure because of the missing container. diff --git a/client/status/object.go b/client/status/object.go index a71b4da..579cb93 100644 --- a/client/status/object.go +++ b/client/status/object.go @@ -1,8 +1,8 @@ package apistatus import ( - "github.com/TrueCloudLab/frostfs-api-go/v2/object" - "github.com/TrueCloudLab/frostfs-api-go/v2/status" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/object" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/status" ) // ObjectLocked describes status of the failure because of the locked object. diff --git a/client/status/object_test.go b/client/status/object_test.go index 5a5a39b..8472093 100644 --- a/client/status/object_test.go +++ b/client/status/object_test.go @@ -3,7 +3,7 @@ package apistatus_test import ( "testing" - apistatus "github.com/TrueCloudLab/frostfs-sdk-go/client/status" + apistatus "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/client/status" "github.com/stretchr/testify/require" ) diff --git a/client/status/session.go b/client/status/session.go index 5bec922..6c54965 100644 --- a/client/status/session.go +++ b/client/status/session.go @@ -1,8 +1,8 @@ package apistatus import ( - "github.com/TrueCloudLab/frostfs-api-go/v2/session" - "github.com/TrueCloudLab/frostfs-api-go/v2/status" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/status" ) // SessionTokenNotFound describes status of the failure because of the missing session token. diff --git a/client/status/status_test.go b/client/status/status_test.go index 54460ac..90edc36 100644 --- a/client/status/status_test.go +++ b/client/status/status_test.go @@ -4,7 +4,7 @@ import ( "errors" "testing" - apistatus "github.com/TrueCloudLab/frostfs-sdk-go/client/status" + apistatus "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/client/status" "github.com/stretchr/testify/require" ) diff --git a/client/status/success.go b/client/status/success.go index 8fe2a91..a68983d 100644 --- a/client/status/success.go +++ b/client/status/success.go @@ -1,7 +1,7 @@ package apistatus import ( - "github.com/TrueCloudLab/frostfs-api-go/v2/status" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/status" ) // SuccessDefaultV2 represents Status instance of default success. Implements StatusV2. diff --git a/client/status/unrecognized.go b/client/status/unrecognized.go index 65f9819..b9a8cdb 100644 --- a/client/status/unrecognized.go +++ b/client/status/unrecognized.go @@ -1,7 +1,7 @@ package apistatus import ( - "github.com/TrueCloudLab/frostfs-api-go/v2/status" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/status" ) type unrecognizedStatusV2 struct { diff --git a/client/status/v2.go b/client/status/v2.go index 7c45715..1918bbb 100644 --- a/client/status/v2.go +++ b/client/status/v2.go @@ -3,10 +3,10 @@ package apistatus import ( "fmt" - "github.com/TrueCloudLab/frostfs-api-go/v2/container" - "github.com/TrueCloudLab/frostfs-api-go/v2/object" - "github.com/TrueCloudLab/frostfs-api-go/v2/session" - "github.com/TrueCloudLab/frostfs-api-go/v2/status" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/container" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/object" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/status" ) // StatusV2 defines a variety of Status instances compatible with FrostFS API V2 protocol. @@ -15,7 +15,7 @@ import ( type StatusV2 interface { Status - // ToStatusV2 returns the status as github.com/TrueCloudLab/frostfs-api-go/v2/status.Status message structure. + // ToStatusV2 returns the status as git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/status.Status message structure. ToStatusV2() *status.Status } diff --git a/client/status/v2_test.go b/client/status/v2_test.go index 01d7298..a7084ba 100644 --- a/client/status/v2_test.go +++ b/client/status/v2_test.go @@ -4,7 +4,7 @@ import ( "errors" "testing" - apistatus "github.com/TrueCloudLab/frostfs-sdk-go/client/status" + apistatus "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/client/status" "github.com/stretchr/testify/require" ) diff --git a/container/container.go b/container/container.go index b48487c..8e46340 100644 --- a/container/container.go +++ b/container/container.go @@ -8,17 +8,17 @@ import ( "strconv" "time" - "github.com/TrueCloudLab/frostfs-api-go/v2/container" - v2netmap "github.com/TrueCloudLab/frostfs-api-go/v2/netmap" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - "github.com/TrueCloudLab/frostfs-sdk-go/container/acl" - cid "github.com/TrueCloudLab/frostfs-sdk-go/container/id" - frostfscrypto "github.com/TrueCloudLab/frostfs-sdk-go/crypto" - frostfsecdsa "github.com/TrueCloudLab/frostfs-sdk-go/crypto/ecdsa" - "github.com/TrueCloudLab/frostfs-sdk-go/netmap" - subnetid "github.com/TrueCloudLab/frostfs-sdk-go/subnet/id" - "github.com/TrueCloudLab/frostfs-sdk-go/user" - "github.com/TrueCloudLab/frostfs-sdk-go/version" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/container" + v2netmap "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/netmap" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/acl" + cid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id" + frostfscrypto "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/crypto" + frostfsecdsa "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/crypto/ecdsa" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/netmap" + subnetid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/subnet/id" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/user" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/version" "github.com/google/uuid" ) @@ -37,7 +37,7 @@ import ( // Instances for existing containers can be initialized using decoding methods // (e.g Unmarshal). // -// Container is mutually compatible with github.com/TrueCloudLab/frostfs-api-go/v2/container.Container +// Container is mutually compatible with git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/container.Container // message. See ReadFromV2 / WriteToV2 methods. type Container struct { v2 container.Container diff --git a/container/container_test.go b/container/container_test.go index d83a6a2..690c918 100644 --- a/container/container_test.go +++ b/container/container_test.go @@ -6,19 +6,19 @@ import ( "testing" "time" - v2container "github.com/TrueCloudLab/frostfs-api-go/v2/container" - v2netmap "github.com/TrueCloudLab/frostfs-api-go/v2/netmap" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - "github.com/TrueCloudLab/frostfs-sdk-go/container" - cid "github.com/TrueCloudLab/frostfs-sdk-go/container/id" - cidtest "github.com/TrueCloudLab/frostfs-sdk-go/container/id/test" - containertest "github.com/TrueCloudLab/frostfs-sdk-go/container/test" - frostfscrypto "github.com/TrueCloudLab/frostfs-sdk-go/crypto" - netmaptest "github.com/TrueCloudLab/frostfs-sdk-go/netmap/test" - subnetid "github.com/TrueCloudLab/frostfs-sdk-go/subnet/id" - subnetidtest "github.com/TrueCloudLab/frostfs-sdk-go/subnet/id/test" - usertest "github.com/TrueCloudLab/frostfs-sdk-go/user/test" - "github.com/TrueCloudLab/frostfs-sdk-go/version" + v2container "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/container" + v2netmap "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/netmap" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container" + cid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id" + cidtest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id/test" + containertest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/test" + frostfscrypto "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/crypto" + netmaptest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/netmap/test" + subnetid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/subnet/id" + subnetidtest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/subnet/id/test" + usertest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/user/test" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/version" "github.com/google/uuid" "github.com/nspcc-dev/neo-go/pkg/crypto/keys" "github.com/stretchr/testify/require" diff --git a/container/doc.go b/container/doc.go index 0a3f89d..34b044d 100644 --- a/container/doc.go +++ b/container/doc.go @@ -23,11 +23,11 @@ it using the instance of Container types // process the container data Instances can be also used to process FrostFS API V2 protocol messages -(see neo.fs.v2.container package in https://github.com/TrueCloudLab/frostfs-api). +(see neo.fs.v2.container package in https://git.frostfs.info/TrueCloudLab/frostfs-api). On client side: - import "github.com/TrueCloudLab/frostfs-api-go/v2/container" + import "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/container" var msg container.Container cnr.WriteToV2(&msg) diff --git a/container/id/id.go b/container/id/id.go index 86b5c19..bde739c 100644 --- a/container/id/id.go +++ b/container/id/id.go @@ -4,13 +4,13 @@ import ( "crypto/sha256" "fmt" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" "github.com/mr-tron/base58" ) // ID represents FrostFS container identifier. // -// ID is mutually compatible with github.com/TrueCloudLab/frostfs-api-go/v2/refs.ContainerID +// ID is mutually compatible with git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs.ContainerID // message. See ReadFromV2 / WriteToV2 methods. // // Instances can be created using built-in var declaration. diff --git a/container/id/id_test.go b/container/id/id_test.go index 2cac2f2..ad12295 100644 --- a/container/id/id_test.go +++ b/container/id/id_test.go @@ -5,9 +5,9 @@ import ( "math/rand" "testing" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - cid "github.com/TrueCloudLab/frostfs-sdk-go/container/id" - cidtest "github.com/TrueCloudLab/frostfs-sdk-go/container/id/test" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + cid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id" + cidtest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id/test" "github.com/mr-tron/base58" "github.com/stretchr/testify/require" ) diff --git a/container/id/test/doc.go b/container/id/test/doc.go index b3f7ddb..c2562c6 100644 --- a/container/id/test/doc.go +++ b/container/id/test/doc.go @@ -5,7 +5,7 @@ Note that importing the package into source files is highly discouraged. Random instance generation functions can be useful when testing expects any value, e.g.: - import cidtest "github.com/TrueCloudLab/frostfs-sdk-go/container/id/test" + import cidtest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id/test" cid := cidtest.ID() // test the value diff --git a/container/id/test/id.go b/container/id/test/id.go index 4b0b3b5..2ebcf09 100644 --- a/container/id/test/id.go +++ b/container/id/test/id.go @@ -4,7 +4,7 @@ import ( "crypto/sha256" "math/rand" - cid "github.com/TrueCloudLab/frostfs-sdk-go/container/id" + cid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id" ) // ID returns random cid.ID. diff --git a/container/network.go b/container/network.go index a030235..b9a9e38 100644 --- a/container/network.go +++ b/container/network.go @@ -1,7 +1,7 @@ package container import ( - "github.com/TrueCloudLab/frostfs-sdk-go/netmap" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/netmap" ) // ApplyNetworkConfig applies network configuration to the diff --git a/container/network_test.go b/container/network_test.go index f3c887c..38e24f2 100644 --- a/container/network_test.go +++ b/container/network_test.go @@ -3,9 +3,9 @@ package container_test import ( "testing" - "github.com/TrueCloudLab/frostfs-sdk-go/container" - containertest "github.com/TrueCloudLab/frostfs-sdk-go/container/test" - netmaptest "github.com/TrueCloudLab/frostfs-sdk-go/netmap/test" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container" + containertest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/test" + netmaptest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/netmap/test" "github.com/stretchr/testify/require" ) diff --git a/container/size.go b/container/size.go index 5baee7b..64220ed 100644 --- a/container/size.go +++ b/container/size.go @@ -4,15 +4,15 @@ import ( "errors" "fmt" - "github.com/TrueCloudLab/frostfs-api-go/v2/container" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - cid "github.com/TrueCloudLab/frostfs-sdk-go/container/id" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/container" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + cid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id" ) // SizeEstimation groups information about estimation of the size of the data // stored in the FrostFS container. // -// SizeEstimation is mutually compatible with github.com/TrueCloudLab/frostfs-api-go/v2/container.UsedSpaceAnnouncement +// SizeEstimation is mutually compatible with git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/container.UsedSpaceAnnouncement // message. See ReadFromV2 / WriteToV2 methods. type SizeEstimation struct { m container.UsedSpaceAnnouncement diff --git a/container/size_test.go b/container/size_test.go index 822785e..77fed4d 100644 --- a/container/size_test.go +++ b/container/size_test.go @@ -4,11 +4,11 @@ import ( "crypto/sha256" "testing" - v2container "github.com/TrueCloudLab/frostfs-api-go/v2/container" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - "github.com/TrueCloudLab/frostfs-sdk-go/container" - cid "github.com/TrueCloudLab/frostfs-sdk-go/container/id" - cidtest "github.com/TrueCloudLab/frostfs-sdk-go/container/id/test" + v2container "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/container" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container" + cid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id" + cidtest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id/test" "github.com/stretchr/testify/require" ) diff --git a/container/test/generate.go b/container/test/generate.go index 2b26f30..65b03a8 100644 --- a/container/test/generate.go +++ b/container/test/generate.go @@ -3,11 +3,11 @@ package containertest import ( "math/rand" - "github.com/TrueCloudLab/frostfs-sdk-go/container" - "github.com/TrueCloudLab/frostfs-sdk-go/container/acl" - cidtest "github.com/TrueCloudLab/frostfs-sdk-go/container/id/test" - netmaptest "github.com/TrueCloudLab/frostfs-sdk-go/netmap/test" - usertest "github.com/TrueCloudLab/frostfs-sdk-go/user/test" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/acl" + cidtest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id/test" + netmaptest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/netmap/test" + usertest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/user/test" ) // Container returns random container.Container. diff --git a/crypto/crypto_test.go b/crypto/crypto_test.go index 4bf6752..095cdd9 100644 --- a/crypto/crypto_test.go +++ b/crypto/crypto_test.go @@ -4,9 +4,9 @@ import ( "math/rand" "testing" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - frostfscrypto "github.com/TrueCloudLab/frostfs-sdk-go/crypto" - frostfsecdsa "github.com/TrueCloudLab/frostfs-sdk-go/crypto/ecdsa" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + frostfscrypto "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/crypto" + frostfsecdsa "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/crypto/ecdsa" "github.com/nspcc-dev/neo-go/pkg/crypto/keys" "github.com/stretchr/testify/require" ) diff --git a/crypto/doc.go b/crypto/doc.go index 438d43c..8b568f5 100644 --- a/crypto/doc.go +++ b/crypto/doc.go @@ -25,11 +25,11 @@ PublicKey allows to verify signatures. // ... Signature can be also used to process FrostFS API V2 protocol messages -(see neo.fs.v2.refs package in https://github.com/TrueCloudLab/frostfs-api). +(see neo.fs.v2.refs package in https://git.frostfs.info/TrueCloudLab/frostfs-api). On client side: - import "github.com/TrueCloudLab/frostfs-api-go/v2/refs" + import "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" var msg refs.Signature sig.WriteToV2(&msg) diff --git a/crypto/ecdsa/init.go b/crypto/ecdsa/init.go index e64c89d..196172f 100644 --- a/crypto/ecdsa/init.go +++ b/crypto/ecdsa/init.go @@ -1,6 +1,6 @@ package frostfsecdsa -import frostfscrypto "github.com/TrueCloudLab/frostfs-sdk-go/crypto" +import frostfscrypto "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/crypto" func init() { frostfscrypto.RegisterScheme(frostfscrypto.ECDSA_SHA512, func() frostfscrypto.PublicKey { diff --git a/crypto/ecdsa/signer.go b/crypto/ecdsa/signer.go index fd890fa..00591e5 100644 --- a/crypto/ecdsa/signer.go +++ b/crypto/ecdsa/signer.go @@ -6,7 +6,7 @@ import ( "crypto/rand" "crypto/sha512" - frostfscrypto "github.com/TrueCloudLab/frostfs-sdk-go/crypto" + frostfscrypto "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/crypto" "github.com/nspcc-dev/neo-go/pkg/crypto/keys" ) diff --git a/crypto/ecdsa/wallet_connect.go b/crypto/ecdsa/wallet_connect.go index 504f13f..34cbcae 100644 --- a/crypto/ecdsa/wallet_connect.go +++ b/crypto/ecdsa/wallet_connect.go @@ -6,8 +6,8 @@ import ( "encoding/base64" "fmt" - "github.com/TrueCloudLab/frostfs-api-go/v2/util/signature/walletconnect" - frostfscrypto "github.com/TrueCloudLab/frostfs-sdk-go/crypto" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/util/signature/walletconnect" + frostfscrypto "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/crypto" "github.com/nspcc-dev/neo-go/pkg/crypto/keys" ) diff --git a/crypto/signature.go b/crypto/signature.go index 5700a56..33c6132 100644 --- a/crypto/signature.go +++ b/crypto/signature.go @@ -4,13 +4,13 @@ import ( "errors" "fmt" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" ) // Signature represents a confirmation of data integrity received by the // digital signature mechanism. // -// Signature is mutually compatible with github.com/TrueCloudLab/frostfs-api-go/v2/refs.Signature +// Signature is mutually compatible with git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs.Signature // message. See ReadFromV2 / WriteToV2 methods. // // Note that direct typecast is not safe and may result in loss of compatibility: diff --git a/crypto/signer.go b/crypto/signer.go index 8ed853e..9f99e3d 100644 --- a/crypto/signer.go +++ b/crypto/signer.go @@ -3,7 +3,7 @@ package frostfscrypto import ( "fmt" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" ) // Scheme represents digital signature algorithm with fixed cryptographic hash function. diff --git a/eacl/enums.go b/eacl/enums.go index fc8cc60..b2b5353 100644 --- a/eacl/enums.go +++ b/eacl/enums.go @@ -1,7 +1,7 @@ package eacl import ( - v2acl "github.com/TrueCloudLab/frostfs-api-go/v2/acl" + v2acl "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/acl" ) // Action taken if ContainerEACL record matched request. diff --git a/eacl/enums_test.go b/eacl/enums_test.go index 82a0258..29f2518 100644 --- a/eacl/enums_test.go +++ b/eacl/enums_test.go @@ -3,8 +3,8 @@ package eacl_test import ( "testing" - v2acl "github.com/TrueCloudLab/frostfs-api-go/v2/acl" - "github.com/TrueCloudLab/frostfs-sdk-go/eacl" + v2acl "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/acl" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/eacl" "github.com/stretchr/testify/require" ) diff --git a/eacl/filter.go b/eacl/filter.go index 32b5ce1..4403e5a 100644 --- a/eacl/filter.go +++ b/eacl/filter.go @@ -3,7 +3,7 @@ package eacl import ( "strconv" - v2acl "github.com/TrueCloudLab/frostfs-api-go/v2/acl" + v2acl "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/acl" ) // Filter defines check conditions if request header is matched or not. Matched diff --git a/eacl/filter_test.go b/eacl/filter_test.go index b3d1753..a7a46d2 100644 --- a/eacl/filter_test.go +++ b/eacl/filter_test.go @@ -4,8 +4,8 @@ import ( "strconv" "testing" - "github.com/TrueCloudLab/frostfs-api-go/v2/acl" - v2acl "github.com/TrueCloudLab/frostfs-api-go/v2/acl" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/acl" + v2acl "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/acl" "github.com/stretchr/testify/require" ) diff --git a/eacl/record.go b/eacl/record.go index b25a5f3..0762ef3 100644 --- a/eacl/record.go +++ b/eacl/record.go @@ -3,13 +3,13 @@ package eacl import ( "crypto/ecdsa" - v2acl "github.com/TrueCloudLab/frostfs-api-go/v2/acl" - "github.com/TrueCloudLab/frostfs-sdk-go/checksum" - cid "github.com/TrueCloudLab/frostfs-sdk-go/container/id" - "github.com/TrueCloudLab/frostfs-sdk-go/object" - oid "github.com/TrueCloudLab/frostfs-sdk-go/object/id" - "github.com/TrueCloudLab/frostfs-sdk-go/user" - "github.com/TrueCloudLab/frostfs-sdk-go/version" + v2acl "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/acl" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/checksum" + cid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object" + oid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/id" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/user" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/version" ) // Record of the ContainerEACL rule, that defines ContainerEACL action, targets for this action, diff --git a/eacl/record_test.go b/eacl/record_test.go index 30c78de..0bdc37f 100644 --- a/eacl/record_test.go +++ b/eacl/record_test.go @@ -5,13 +5,13 @@ import ( "fmt" "testing" - v2acl "github.com/TrueCloudLab/frostfs-api-go/v2/acl" - checksumtest "github.com/TrueCloudLab/frostfs-sdk-go/checksum/test" - cidtest "github.com/TrueCloudLab/frostfs-sdk-go/container/id/test" - "github.com/TrueCloudLab/frostfs-sdk-go/object" - oidtest "github.com/TrueCloudLab/frostfs-sdk-go/object/id/test" - usertest "github.com/TrueCloudLab/frostfs-sdk-go/user/test" - versiontest "github.com/TrueCloudLab/frostfs-sdk-go/version/test" + v2acl "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/acl" + checksumtest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/checksum/test" + cidtest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id/test" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object" + oidtest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/id/test" + usertest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/user/test" + versiontest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/version/test" "github.com/nspcc-dev/neo-go/pkg/crypto/keys" "github.com/stretchr/testify/require" ) diff --git a/eacl/table.go b/eacl/table.go index 0c892c7..b16467b 100644 --- a/eacl/table.go +++ b/eacl/table.go @@ -4,10 +4,10 @@ import ( "crypto/sha256" "fmt" - v2acl "github.com/TrueCloudLab/frostfs-api-go/v2/acl" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - cid "github.com/TrueCloudLab/frostfs-sdk-go/container/id" - "github.com/TrueCloudLab/frostfs-sdk-go/version" + v2acl "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/acl" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + cid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/version" ) // Table is a group of ContainerEACL records for single container. diff --git a/eacl/table_test.go b/eacl/table_test.go index 79ff818..4ec110f 100644 --- a/eacl/table_test.go +++ b/eacl/table_test.go @@ -4,11 +4,11 @@ import ( "crypto/sha256" "testing" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - cidtest "github.com/TrueCloudLab/frostfs-sdk-go/container/id/test" - "github.com/TrueCloudLab/frostfs-sdk-go/eacl" - eacltest "github.com/TrueCloudLab/frostfs-sdk-go/eacl/test" - "github.com/TrueCloudLab/frostfs-sdk-go/version" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + cidtest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id/test" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/eacl" + eacltest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/eacl/test" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/version" "github.com/stretchr/testify/require" ) diff --git a/eacl/target.go b/eacl/target.go index 5083f0c..5e34950 100644 --- a/eacl/target.go +++ b/eacl/target.go @@ -4,7 +4,7 @@ import ( "bytes" "crypto/ecdsa" - v2acl "github.com/TrueCloudLab/frostfs-api-go/v2/acl" + v2acl "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/acl" "github.com/nspcc-dev/neo-go/pkg/crypto/keys" ) diff --git a/eacl/target_test.go b/eacl/target_test.go index 50f2a77..55617f6 100644 --- a/eacl/target_test.go +++ b/eacl/target_test.go @@ -4,8 +4,8 @@ import ( "crypto/ecdsa" "testing" - "github.com/TrueCloudLab/frostfs-api-go/v2/acl" - v2acl "github.com/TrueCloudLab/frostfs-api-go/v2/acl" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/acl" + v2acl "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/acl" "github.com/nspcc-dev/neo-go/pkg/crypto/keys" "github.com/stretchr/testify/require" ) diff --git a/eacl/test/benchmark_test.go b/eacl/test/benchmark_test.go index 3442d44..cc2c3d0 100644 --- a/eacl/test/benchmark_test.go +++ b/eacl/test/benchmark_test.go @@ -5,9 +5,9 @@ import ( "math/rand" "testing" - cidtest "github.com/TrueCloudLab/frostfs-sdk-go/container/id/test" - "github.com/TrueCloudLab/frostfs-sdk-go/eacl" - versiontest "github.com/TrueCloudLab/frostfs-sdk-go/version/test" + cidtest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id/test" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/eacl" + versiontest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/version/test" "github.com/stretchr/testify/require" ) diff --git a/eacl/test/generate.go b/eacl/test/generate.go index 50fc8f3..2054c92 100644 --- a/eacl/test/generate.go +++ b/eacl/test/generate.go @@ -1,10 +1,10 @@ package eacltest import ( - cidtest "github.com/TrueCloudLab/frostfs-sdk-go/container/id/test" - "github.com/TrueCloudLab/frostfs-sdk-go/eacl" - usertest "github.com/TrueCloudLab/frostfs-sdk-go/user/test" - versiontest "github.com/TrueCloudLab/frostfs-sdk-go/version/test" + cidtest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id/test" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/eacl" + usertest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/user/test" + versiontest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/version/test" ) // Target returns random eacl.Target. diff --git a/eacl/types.go b/eacl/types.go index 8fcdd27..9b79e79 100644 --- a/eacl/types.go +++ b/eacl/types.go @@ -1,7 +1,7 @@ package eacl import ( - cid "github.com/TrueCloudLab/frostfs-sdk-go/container/id" + cid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id" ) // Header is an interface of string key-value header. diff --git a/go.mod b/go.mod index 955f0ed..01b1708 100644 --- a/go.mod +++ b/go.mod @@ -1,12 +1,12 @@ -module github.com/TrueCloudLab/frostfs-sdk-go +module git.frostfs.info/TrueCloudLab/frostfs-sdk-go go 1.18 require ( - github.com/TrueCloudLab/frostfs-api-go/v2 v2.0.0-20221212144048-1351b6656d68 - github.com/TrueCloudLab/frostfs-contract v0.0.0-20221213081248-6c805c1b4e42 - github.com/TrueCloudLab/hrw v1.1.1-0.20230227111858-79b208bebf52 - github.com/TrueCloudLab/tzhash v1.7.0 + git.frostfs.info/TrueCloudLab/frostfs-api-go/v2 v2.11.2-0.20230307104236-f69d2ad83c51 + git.frostfs.info/TrueCloudLab/frostfs-contract v0.0.0-20230307110621-19a8ef2d02fb + git.frostfs.info/TrueCloudLab/hrw v1.2.0 + git.frostfs.info/TrueCloudLab/tzhash v1.8.0 github.com/antlr/antlr4/runtime/Go/antlr/v4 v4.0.0-20221202181307-76fa05c21b12 github.com/google/uuid v1.3.0 github.com/hashicorp/golang-lru/v2 v2.0.1 @@ -18,8 +18,8 @@ require ( ) require ( - github.com/TrueCloudLab/frostfs-crypto v0.5.0 // indirect - github.com/TrueCloudLab/rfc6979 v0.3.0 // indirect + git.frostfs.info/TrueCloudLab/frostfs-crypto v0.6.0 // indirect + git.frostfs.info/TrueCloudLab/rfc6979 v0.4.0 // indirect github.com/davecgh/go-spew v1.1.1 // indirect github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1 // indirect github.com/golang/protobuf v1.5.2 // indirect diff --git a/go.sum b/go.sum index 269dc6f..baf65a8 100644 --- a/go.sum +++ b/go.sum @@ -31,26 +31,24 @@ cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohl cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs= cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= +git.frostfs.info/TrueCloudLab/frostfs-api-go/v2 v2.11.2-0.20230307104236-f69d2ad83c51 h1:l4+K1hN+NuWNtlZZoV8yRRP3Uu7PifL05ukEqKcb0Ks= +git.frostfs.info/TrueCloudLab/frostfs-api-go/v2 v2.11.2-0.20230307104236-f69d2ad83c51/go.mod h1:n0DxKYulu2Ar73R6OcNF34LiL/Xa+iDR7GZuaOChbLE= +git.frostfs.info/TrueCloudLab/frostfs-contract v0.0.0-20230307110621-19a8ef2d02fb h1:S/TrbOOu9qEXZRZ9/Ddw7crnxbBUQLo68PSzQWYrc9M= +git.frostfs.info/TrueCloudLab/frostfs-contract v0.0.0-20230307110621-19a8ef2d02fb/go.mod h1:nkR5gaGeez3Zv2SE7aceP0YwxG2FzIB5cGKpQO2vV2o= +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/hrw v1.2.0 h1:KvAES7xIqmQBGd2q8KanNosD9+4BhU/zqD5Kt5KSflk= +git.frostfs.info/TrueCloudLab/hrw v1.2.0/go.mod h1:mq2sbvYfO+BB6iFZwYBkgC0yc6mJNx+qZi4jW918m+Y= +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= +git.frostfs.info/TrueCloudLab/tzhash v1.8.0 h1:UFMnUIk0Zh17m8rjGHJMqku2hCgaXDqjqZzS4gsb4UA= +git.frostfs.info/TrueCloudLab/tzhash v1.8.0/go.mod h1:dhY+oy274hV8wGvGL4MwwMpdL3GYvaX1a8GQZQHvlF8= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/CityOfZion/neo-go v0.62.1-pre.0.20191114145240-e740fbe708f8/go.mod h1:MJCkWUBhi9pn/CrYO1Q3P687y2KeahrOPS9BD9LDGb0= github.com/CityOfZion/neo-go v0.70.1-pre.0.20191209120015-fccb0085941e/go.mod h1:0enZl0az8xA6PVkwzEOwPWVJGqlt/GO4hA4kmQ5Xzig= github.com/CityOfZion/neo-go v0.70.1-pre.0.20191212173117-32ac01130d4c/go.mod h1:JtlHfeqLywZLswKIKFnAp+yzezY4Dji9qlfQKB2OD/I= github.com/CityOfZion/neo-go v0.71.1-pre.0.20200129171427-f773ec69fb84/go.mod h1:FLI526IrRWHmcsO+mHsCbj64pJZhwQFTLJZu+A4PGOA= -github.com/TrueCloudLab/frostfs-api-go/v2 v2.0.0-20221212144048-1351b6656d68 h1:mwZr15qCuIcWojIOmH6LILPohbWIkknZe9vhBRapmfQ= -github.com/TrueCloudLab/frostfs-api-go/v2 v2.0.0-20221212144048-1351b6656d68/go.mod h1:u3P6aL/NpAIY5IFRsJhmV+61Q3pJ3BkLENqySkf5zZQ= -github.com/TrueCloudLab/frostfs-contract v0.0.0-20221213081248-6c805c1b4e42 h1:P/gisZxTzJ9R3tuYDaQWe0tY6m1Zea3gzdPpNYK+NP4= -github.com/TrueCloudLab/frostfs-contract v0.0.0-20221213081248-6c805c1b4e42/go.mod h1:qmf648elr+FWBZH3hqND8KVrXMnqu/e0z48k+sX8C2s= -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/hrw v1.1.0 h1:2U69PpUX1UtMWgh/RAg6D8mQW+/WsxbLNE+19EUhLhY= -github.com/TrueCloudLab/hrw v1.1.0/go.mod h1:Pzi8Hy3qx12cew+ajVxgbtDVM4sRG9/gJnJLcL/yRyY= -github.com/TrueCloudLab/hrw v1.1.1-0.20230227111858-79b208bebf52 h1:fBeG0EkL7Pa2D0SIiZt3yQYGpP/IvrXg4xEPAZ4Jjys= -github.com/TrueCloudLab/hrw v1.1.1-0.20230227111858-79b208bebf52/go.mod h1:BG6NztCuNc0UFr6MWJ4MM1sUl9lxx6PBRwLmTxdre20= -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/TrueCloudLab/tzhash v1.7.0 h1:btGORepc7Dg+n4MxgJxv73c9eYhwSBI5HqsqUBRmJiw= -github.com/TrueCloudLab/tzhash v1.7.0/go.mod h1:gDQxqjhTqhR58Qfx0gxGtuyGAkixOukwbFGX9O6UGg4= github.com/Workiva/go-datastructures v1.0.50/go.mod h1:Z+F2Rca0qCsVYDS8z7bAGm8f3UkzuWYS/oBZz5a7VVA= github.com/abiosoft/ishell v2.0.0+incompatible/go.mod h1:HQR9AqF2R3P4XXpMpI0NAzgHf/aS6+zVXRj14cVk9qg= github.com/abiosoft/ishell/v2 v2.0.2/go.mod h1:E4oTCXfo6QjoCart0QYa5m9w4S+deXs/P/9jA77A9Bs= diff --git a/netmap/context.go b/netmap/context.go index 2697d6e..e1c426a 100644 --- a/netmap/context.go +++ b/netmap/context.go @@ -3,8 +3,8 @@ package netmap import ( "errors" - "github.com/TrueCloudLab/frostfs-api-go/v2/netmap" - "github.com/TrueCloudLab/hrw" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/netmap" + "git.frostfs.info/TrueCloudLab/hrw" ) // context of a placement build process. diff --git a/netmap/doc.go b/netmap/doc.go index ec28625..cea3f48 100644 --- a/netmap/doc.go +++ b/netmap/doc.go @@ -15,11 +15,11 @@ NetworkInfo type is dedicated to descriptive characterization of network state and settings. Instances can be also used to process FrostFS API V2 protocol messages -(see neo.fs.v2.netmap package in https://github.com/TrueCloudLab/frostfs-api). +(see neo.fs.v2.netmap package in https://git.frostfs.info/TrueCloudLab/frostfs-api). On client side: - import "github.com/TrueCloudLab/frostfs-api-go/v2/netmap" + import "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/netmap" var msg netmap.NodeInfo info.WriteToV2(&msg) diff --git a/netmap/filter.go b/netmap/filter.go index 17fcfce..7b1abb1 100644 --- a/netmap/filter.go +++ b/netmap/filter.go @@ -4,7 +4,7 @@ import ( "fmt" "strconv" - "github.com/TrueCloudLab/frostfs-api-go/v2/netmap" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/netmap" ) // mainFilterName is a name of the filter diff --git a/netmap/filter_test.go b/netmap/filter_test.go index 6e98905..2b88b3c 100644 --- a/netmap/filter_test.go +++ b/netmap/filter_test.go @@ -4,7 +4,7 @@ import ( "errors" "testing" - "github.com/TrueCloudLab/frostfs-api-go/v2/netmap" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/netmap" "github.com/stretchr/testify/require" ) diff --git a/netmap/helper_test.go b/netmap/helper_test.go index d11a3ca..3775f18 100644 --- a/netmap/helper_test.go +++ b/netmap/helper_test.go @@ -1,7 +1,7 @@ package netmap import ( - "github.com/TrueCloudLab/frostfs-api-go/v2/netmap" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/netmap" ) func newFilter(name string, k, v string, op netmap.Operation, fs ...Filter) (f Filter) { diff --git a/netmap/netmap.go b/netmap/netmap.go index 2626ad9..8343b89 100644 --- a/netmap/netmap.go +++ b/netmap/netmap.go @@ -3,14 +3,14 @@ package netmap import ( "fmt" - "github.com/TrueCloudLab/frostfs-api-go/v2/netmap" - "github.com/TrueCloudLab/hrw" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/netmap" + "git.frostfs.info/TrueCloudLab/hrw" ) // NetMap represents FrostFS network map. It includes information about all // storage nodes registered in FrostFS the network. // -// NetMap is mutually compatible with github.com/TrueCloudLab/frostfs-api-go/v2/netmap.NetMap +// NetMap is mutually compatible with git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/netmap.NetMap // message. See ReadFromV2 / WriteToV2 methods. // // Instances can be created using built-in var declaration. diff --git a/netmap/netmap_test.go b/netmap/netmap_test.go index 82e606f..7c286a4 100644 --- a/netmap/netmap_test.go +++ b/netmap/netmap_test.go @@ -3,9 +3,9 @@ package netmap_test import ( "testing" - v2netmap "github.com/TrueCloudLab/frostfs-api-go/v2/netmap" - "github.com/TrueCloudLab/frostfs-sdk-go/netmap" - netmaptest "github.com/TrueCloudLab/frostfs-sdk-go/netmap/test" + v2netmap "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/netmap" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/netmap" + netmaptest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/netmap/test" "github.com/stretchr/testify/require" ) diff --git a/netmap/network_info.go b/netmap/network_info.go index e952e1d..1381a8c 100644 --- a/netmap/network_info.go +++ b/netmap/network_info.go @@ -7,14 +7,14 @@ import ( "fmt" "math" - "github.com/TrueCloudLab/frostfs-api-go/v2/netmap" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/netmap" "github.com/nspcc-dev/neo-go/pkg/vm/stackitem" ) // NetworkInfo groups information about the FrostFS network state. Mainly used to // describe the current state of the network. // -// NetworkInfo is mutually compatible with github.com/TrueCloudLab/frostfs-api-go/v2/netmap.NetworkInfo +// NetworkInfo is mutually compatible with git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/netmap.NetworkInfo // message. See ReadFromV2 / WriteToV2 methods. // // Instances can be created using built-in var declaration. diff --git a/netmap/network_info_test.go b/netmap/network_info_test.go index 3e358ff..5104bdc 100644 --- a/netmap/network_info_test.go +++ b/netmap/network_info_test.go @@ -5,8 +5,8 @@ import ( "math" "testing" - "github.com/TrueCloudLab/frostfs-api-go/v2/netmap" - . "github.com/TrueCloudLab/frostfs-sdk-go/netmap" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/netmap" + . "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/netmap" "github.com/stretchr/testify/require" ) diff --git a/netmap/node_info.go b/netmap/node_info.go index e7e30ce..c56ffad 100644 --- a/netmap/node_info.go +++ b/netmap/node_info.go @@ -7,11 +7,11 @@ import ( "strconv" "strings" - "github.com/TrueCloudLab/frostfs-api-go/v2/netmap" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - frostfscrypto "github.com/TrueCloudLab/frostfs-sdk-go/crypto" - subnetid "github.com/TrueCloudLab/frostfs-sdk-go/subnet/id" - "github.com/TrueCloudLab/hrw" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/netmap" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + frostfscrypto "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/crypto" + subnetid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/subnet/id" + "git.frostfs.info/TrueCloudLab/hrw" ) // NodeInfo groups information about FrostFS storage node which is reflected @@ -20,7 +20,7 @@ import ( // about the nodes is available to all network participants to work with the network // map (mainly to comply with container storage policies). // -// NodeInfo is mutually compatible with github.com/TrueCloudLab/frostfs-api-go/v2/netmap.NodeInfo +// NodeInfo is mutually compatible with git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/netmap.NodeInfo // message. See ReadFromV2 / WriteToV2 methods. // // Instances can be created using built-in var declaration. diff --git a/netmap/policy.go b/netmap/policy.go index 21ec8eb..14e3e11 100644 --- a/netmap/policy.go +++ b/netmap/policy.go @@ -7,10 +7,10 @@ import ( "strconv" "strings" - "github.com/TrueCloudLab/frostfs-api-go/v2/netmap" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - "github.com/TrueCloudLab/frostfs-sdk-go/netmap/parser" - subnetid "github.com/TrueCloudLab/frostfs-sdk-go/subnet/id" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/netmap" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/netmap/parser" + subnetid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/subnet/id" "github.com/antlr/antlr4/runtime/Go/antlr/v4" ) @@ -18,7 +18,7 @@ import ( // Within itself, PlacementPolicy represents a set of rules to select a subset // of nodes from FrostFS network map - node-candidates for object storage. // -// PlacementPolicy is mutually compatible with github.com/TrueCloudLab/frostfs-api-go/v2/netmap.PlacementPolicy +// PlacementPolicy is mutually compatible with git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/netmap.PlacementPolicy // message. See ReadFromV2 / WriteToV2 methods. // // Instances can be created using built-in var declaration. diff --git a/netmap/policy_test.go b/netmap/policy_test.go index d36cc21..b184cb2 100644 --- a/netmap/policy_test.go +++ b/netmap/policy_test.go @@ -4,8 +4,8 @@ import ( "strings" "testing" - . "github.com/TrueCloudLab/frostfs-sdk-go/netmap" - netmaptest "github.com/TrueCloudLab/frostfs-sdk-go/netmap/test" + . "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/netmap" + netmaptest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/netmap/test" "github.com/stretchr/testify/require" ) diff --git a/netmap/selector.go b/netmap/selector.go index 3e1d321..9fa2247 100644 --- a/netmap/selector.go +++ b/netmap/selector.go @@ -4,9 +4,9 @@ import ( "fmt" "sort" - "github.com/TrueCloudLab/frostfs-api-go/v2/netmap" - subnetid "github.com/TrueCloudLab/frostfs-sdk-go/subnet/id" - "github.com/TrueCloudLab/hrw" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/netmap" + subnetid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/subnet/id" + "git.frostfs.info/TrueCloudLab/hrw" ) // processSelectors processes selectors and returns error is any of them is invalid. diff --git a/netmap/selector_test.go b/netmap/selector_test.go index 936cfed..aa415be 100644 --- a/netmap/selector_test.go +++ b/netmap/selector_test.go @@ -7,8 +7,8 @@ import ( "strconv" "testing" - "github.com/TrueCloudLab/frostfs-api-go/v2/netmap" - "github.com/TrueCloudLab/hrw" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/netmap" + "git.frostfs.info/TrueCloudLab/hrw" "github.com/stretchr/testify/require" ) diff --git a/netmap/subnet_test.go b/netmap/subnet_test.go index 23f5d9e..af07d68 100644 --- a/netmap/subnet_test.go +++ b/netmap/subnet_test.go @@ -3,8 +3,8 @@ package netmap_test import ( "testing" - "github.com/TrueCloudLab/frostfs-sdk-go/netmap" - subnetid "github.com/TrueCloudLab/frostfs-sdk-go/subnet/id" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/netmap" + subnetid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/subnet/id" "github.com/stretchr/testify/require" ) diff --git a/netmap/test/generate.go b/netmap/test/generate.go index 4553cb0..2e9a5f2 100644 --- a/netmap/test/generate.go +++ b/netmap/test/generate.go @@ -3,8 +3,8 @@ package netmaptest import ( "math/rand" - "github.com/TrueCloudLab/frostfs-sdk-go/netmap" - subnetidtest "github.com/TrueCloudLab/frostfs-sdk-go/subnet/id/test" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/netmap" + subnetidtest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/subnet/id/test" ) func filter(withInner bool) (x netmap.Filter) { diff --git a/ns/dns.go b/ns/dns.go index d6c64ed..f0cc3e0 100644 --- a/ns/dns.go +++ b/ns/dns.go @@ -3,7 +3,7 @@ package ns import ( "net" - cid "github.com/TrueCloudLab/frostfs-sdk-go/container/id" + cid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id" ) // DNS looks up FrostFS names using system DNS. diff --git a/ns/nns.go b/ns/nns.go index 04a5b8f..8bbe653 100644 --- a/ns/nns.go +++ b/ns/nns.go @@ -6,9 +6,9 @@ import ( "fmt" "net/url" - "github.com/TrueCloudLab/frostfs-contract/nns" - "github.com/TrueCloudLab/frostfs-sdk-go/container" - cid "github.com/TrueCloudLab/frostfs-sdk-go/container/id" + "git.frostfs.info/TrueCloudLab/frostfs-contract/nns" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container" + cid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id" "github.com/nspcc-dev/neo-go/pkg/core/state" "github.com/nspcc-dev/neo-go/pkg/neorpc/result" "github.com/nspcc-dev/neo-go/pkg/rpcclient" diff --git a/ns/nns_test.go b/ns/nns_test.go index 5300626..6abd3ee 100644 --- a/ns/nns_test.go +++ b/ns/nns_test.go @@ -8,8 +8,8 @@ import ( "strings" "testing" - "github.com/TrueCloudLab/frostfs-sdk-go/container" - cidtest "github.com/TrueCloudLab/frostfs-sdk-go/container/id/test" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container" + cidtest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id/test" "github.com/nspcc-dev/neo-go/pkg/neorpc/result" "github.com/nspcc-dev/neo-go/pkg/util" "github.com/nspcc-dev/neo-go/pkg/vm/stackitem" diff --git a/object/attribute.go b/object/attribute.go index 5af2975..e4c7f60 100644 --- a/object/attribute.go +++ b/object/attribute.go @@ -1,7 +1,7 @@ package object import ( - "github.com/TrueCloudLab/frostfs-api-go/v2/object" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/object" ) // Attribute represents v2-compatible object attribute. diff --git a/object/attribute_test.go b/object/attribute_test.go index 7a2593c..eafc312 100644 --- a/object/attribute_test.go +++ b/object/attribute_test.go @@ -3,7 +3,7 @@ package object import ( "testing" - "github.com/TrueCloudLab/frostfs-api-go/v2/object" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/object" "github.com/stretchr/testify/require" ) diff --git a/object/error_test.go b/object/error_test.go index 27a7e34..a0774b0 100644 --- a/object/error_test.go +++ b/object/error_test.go @@ -4,7 +4,7 @@ import ( "errors" "testing" - "github.com/TrueCloudLab/frostfs-sdk-go/object" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object" "github.com/stretchr/testify/require" ) diff --git a/object/fmt.go b/object/fmt.go index 372e4a3..5e6386d 100644 --- a/object/fmt.go +++ b/object/fmt.go @@ -7,10 +7,10 @@ import ( "errors" "fmt" - "github.com/TrueCloudLab/frostfs-api-go/v2/object" - "github.com/TrueCloudLab/frostfs-sdk-go/checksum" - frostfscrypto "github.com/TrueCloudLab/frostfs-sdk-go/crypto" - oid "github.com/TrueCloudLab/frostfs-sdk-go/object/id" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/object" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/checksum" + frostfscrypto "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/crypto" + oid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/id" ) var ( diff --git a/object/id/address.go b/object/id/address.go index 2ed0a69..1f3a864 100644 --- a/object/id/address.go +++ b/object/id/address.go @@ -5,14 +5,14 @@ import ( "fmt" "strings" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - cid "github.com/TrueCloudLab/frostfs-sdk-go/container/id" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + cid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id" ) // Address represents global object identifier in FrostFS network. Each object // belongs to exactly one container and is uniquely addressed within the container. // -// Address is mutually compatible with github.com/TrueCloudLab/frostfs-api-go/v2/refs.Address +// Address is mutually compatible with git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs.Address // message. See ReadFromV2 / WriteToV2 methods. // // Instances can be created using built-in var declaration. diff --git a/object/id/address_test.go b/object/id/address_test.go index f7f4e94..5ae91ca 100644 --- a/object/id/address_test.go +++ b/object/id/address_test.go @@ -3,10 +3,10 @@ package oid_test import ( "testing" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - cidtest "github.com/TrueCloudLab/frostfs-sdk-go/container/id/test" - oid "github.com/TrueCloudLab/frostfs-sdk-go/object/id" - oidtest "github.com/TrueCloudLab/frostfs-sdk-go/object/id/test" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + cidtest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id/test" + oid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/id" + oidtest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/id/test" "github.com/stretchr/testify/require" ) diff --git a/object/id/id.go b/object/id/id.go index fb31cf0..5ba0c6d 100644 --- a/object/id/id.go +++ b/object/id/id.go @@ -5,15 +5,15 @@ import ( "crypto/sha256" "fmt" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - frostfscrypto "github.com/TrueCloudLab/frostfs-sdk-go/crypto" - frostfsecdsa "github.com/TrueCloudLab/frostfs-sdk-go/crypto/ecdsa" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + frostfscrypto "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/crypto" + frostfsecdsa "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/crypto/ecdsa" "github.com/mr-tron/base58" ) // ID represents FrostFS object identifier in a container. // -// ID is mutually compatible with github.com/TrueCloudLab/frostfs-api-go/v2/refs.ObjectID +// ID is mutually compatible with git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs.ObjectID // message. See ReadFromV2 / WriteToV2 methods. // // Instances can be created using built-in var declaration. diff --git a/object/id/id_test.go b/object/id/id_test.go index 5d33238..bdc0b4d 100644 --- a/object/id/id_test.go +++ b/object/id/id_test.go @@ -6,7 +6,7 @@ import ( "strconv" "testing" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" "github.com/mr-tron/base58" "github.com/stretchr/testify/require" ) diff --git a/object/id/test/doc.go b/object/id/test/doc.go index 3104a7d..58dc0a3 100644 --- a/object/id/test/doc.go +++ b/object/id/test/doc.go @@ -5,7 +5,7 @@ Note that importing the package into source files is highly discouraged. Random instance generation functions can be useful when testing expects any value, e.g.: - import oidtest "github.com/TrueCloudLab/frostfs-sdk-go/object/id/test" + import oidtest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/id/test" value := oidtest.ID() // test the value diff --git a/object/id/test/generate.go b/object/id/test/generate.go index 66b7cbf..e51405d 100644 --- a/object/id/test/generate.go +++ b/object/id/test/generate.go @@ -4,8 +4,8 @@ import ( "crypto/sha256" "math/rand" - cidtest "github.com/TrueCloudLab/frostfs-sdk-go/container/id/test" - oid "github.com/TrueCloudLab/frostfs-sdk-go/object/id" + cidtest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id/test" + oid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/id" ) // ID returns random oid.ID. diff --git a/object/lock.go b/object/lock.go index 7749c77..dd08eba 100644 --- a/object/lock.go +++ b/object/lock.go @@ -1,9 +1,9 @@ package object import ( - v2object "github.com/TrueCloudLab/frostfs-api-go/v2/object" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - oid "github.com/TrueCloudLab/frostfs-sdk-go/object/id" + v2object "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/object" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + oid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/id" ) // Lock represents record with locked objects. It is compatible with diff --git a/object/lock_test.go b/object/lock_test.go index be8759c..c1c5f97 100644 --- a/object/lock_test.go +++ b/object/lock_test.go @@ -3,8 +3,8 @@ package object_test import ( "testing" - "github.com/TrueCloudLab/frostfs-sdk-go/object" - objecttest "github.com/TrueCloudLab/frostfs-sdk-go/object/test" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object" + objecttest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/test" "github.com/stretchr/testify/require" ) diff --git a/object/object.go b/object/object.go index ad6654e..b564f5a 100644 --- a/object/object.go +++ b/object/object.go @@ -4,16 +4,16 @@ import ( "errors" "fmt" - "github.com/TrueCloudLab/frostfs-api-go/v2/object" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - v2session "github.com/TrueCloudLab/frostfs-api-go/v2/session" - "github.com/TrueCloudLab/frostfs-sdk-go/checksum" - cid "github.com/TrueCloudLab/frostfs-sdk-go/container/id" - frostfscrypto "github.com/TrueCloudLab/frostfs-sdk-go/crypto" - oid "github.com/TrueCloudLab/frostfs-sdk-go/object/id" - "github.com/TrueCloudLab/frostfs-sdk-go/session" - "github.com/TrueCloudLab/frostfs-sdk-go/user" - "github.com/TrueCloudLab/frostfs-sdk-go/version" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/object" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + v2session "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/checksum" + cid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id" + frostfscrypto "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/crypto" + oid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/id" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/session" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/user" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/version" ) // Object represents in-memory structure of the FrostFS object. diff --git a/object/object_test.go b/object/object_test.go index a3f2c77..61b5521 100644 --- a/object/object_test.go +++ b/object/object_test.go @@ -3,9 +3,9 @@ package object_test import ( "testing" - cidtest "github.com/TrueCloudLab/frostfs-sdk-go/container/id/test" - "github.com/TrueCloudLab/frostfs-sdk-go/object" - usertest "github.com/TrueCloudLab/frostfs-sdk-go/user/test" + cidtest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id/test" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object" + usertest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/user/test" "github.com/stretchr/testify/require" ) diff --git a/object/range.go b/object/range.go index e46ccfa..87ad3b7 100644 --- a/object/range.go +++ b/object/range.go @@ -1,7 +1,7 @@ package object import ( - "github.com/TrueCloudLab/frostfs-api-go/v2/object" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/object" ) // Range represents v2-compatible object payload range. diff --git a/object/range_test.go b/object/range_test.go index 1541f80..c8208d8 100644 --- a/object/range_test.go +++ b/object/range_test.go @@ -3,7 +3,7 @@ package object import ( "testing" - "github.com/TrueCloudLab/frostfs-api-go/v2/object" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/object" "github.com/stretchr/testify/require" ) diff --git a/object/raw.go b/object/raw.go index ae0a0b9..5c91f1d 100644 --- a/object/raw.go +++ b/object/raw.go @@ -1,7 +1,7 @@ package object import ( - "github.com/TrueCloudLab/frostfs-api-go/v2/object" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/object" ) // RawObject represents v2-compatible FrostFS object that provides diff --git a/object/raw_test.go b/object/raw_test.go index 818a39c..b237d16 100644 --- a/object/raw_test.go +++ b/object/raw_test.go @@ -5,13 +5,13 @@ import ( "crypto/sha256" "testing" - "github.com/TrueCloudLab/frostfs-api-go/v2/object" - "github.com/TrueCloudLab/frostfs-sdk-go/checksum" - cidtest "github.com/TrueCloudLab/frostfs-sdk-go/container/id/test" - oid "github.com/TrueCloudLab/frostfs-sdk-go/object/id" - sessiontest "github.com/TrueCloudLab/frostfs-sdk-go/session/test" - usertest "github.com/TrueCloudLab/frostfs-sdk-go/user/test" - "github.com/TrueCloudLab/frostfs-sdk-go/version" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/object" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/checksum" + cidtest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id/test" + oid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/id" + sessiontest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/session/test" + usertest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/user/test" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/version" "github.com/stretchr/testify/require" ) diff --git a/object/relations/relations.go b/object/relations/relations.go index c1de85c..1d53e6b 100644 --- a/object/relations/relations.go +++ b/object/relations/relations.go @@ -5,11 +5,11 @@ import ( "errors" "fmt" - "github.com/TrueCloudLab/frostfs-sdk-go/bearer" - cid "github.com/TrueCloudLab/frostfs-sdk-go/container/id" - "github.com/TrueCloudLab/frostfs-sdk-go/object" - oid "github.com/TrueCloudLab/frostfs-sdk-go/object/id" - "github.com/TrueCloudLab/frostfs-sdk-go/session" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/bearer" + cid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object" + oid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/id" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/session" ) // Tokens contains different tokens to perform requests in Relations implementations. diff --git a/object/search.go b/object/search.go index dbbcd43..f3df671 100644 --- a/object/search.go +++ b/object/search.go @@ -4,11 +4,11 @@ import ( "encoding/json" "strconv" - v2object "github.com/TrueCloudLab/frostfs-api-go/v2/object" - cid "github.com/TrueCloudLab/frostfs-sdk-go/container/id" - oid "github.com/TrueCloudLab/frostfs-sdk-go/object/id" - "github.com/TrueCloudLab/frostfs-sdk-go/user" - "github.com/TrueCloudLab/frostfs-sdk-go/version" + v2object "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/object" + cid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id" + oid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/id" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/user" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/version" ) // SearchMatchType indicates match operation on specified header. diff --git a/object/search_test.go b/object/search_test.go index 794805b..d0f36de 100644 --- a/object/search_test.go +++ b/object/search_test.go @@ -5,9 +5,9 @@ import ( "math/rand" "testing" - v2object "github.com/TrueCloudLab/frostfs-api-go/v2/object" - "github.com/TrueCloudLab/frostfs-sdk-go/object" - oid "github.com/TrueCloudLab/frostfs-sdk-go/object/id" + v2object "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/object" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object" + oid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/id" "github.com/stretchr/testify/require" ) diff --git a/object/splitid_test.go b/object/splitid_test.go index 5741969..e5d647b 100644 --- a/object/splitid_test.go +++ b/object/splitid_test.go @@ -3,7 +3,7 @@ package object_test import ( "testing" - "github.com/TrueCloudLab/frostfs-sdk-go/object" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object" "github.com/google/uuid" "github.com/stretchr/testify/require" ) diff --git a/object/splitinfo.go b/object/splitinfo.go index bb6eac6..c38b2a4 100644 --- a/object/splitinfo.go +++ b/object/splitinfo.go @@ -4,9 +4,9 @@ import ( "errors" "fmt" - "github.com/TrueCloudLab/frostfs-api-go/v2/object" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - oid "github.com/TrueCloudLab/frostfs-sdk-go/object/id" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/object" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + oid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/id" ) type SplitInfo object.SplitInfo diff --git a/object/splitinfo_test.go b/object/splitinfo_test.go index 765db37..ba3a54f 100644 --- a/object/splitinfo_test.go +++ b/object/splitinfo_test.go @@ -5,9 +5,9 @@ import ( "encoding/json" "testing" - objv2 "github.com/TrueCloudLab/frostfs-api-go/v2/object" - "github.com/TrueCloudLab/frostfs-sdk-go/object" - oid "github.com/TrueCloudLab/frostfs-sdk-go/object/id" + objv2 "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/object" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object" + oid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/id" "github.com/stretchr/testify/require" ) diff --git a/object/test/generate.go b/object/test/generate.go index e6f83ab..526e757 100644 --- a/object/test/generate.go +++ b/object/test/generate.go @@ -1,14 +1,14 @@ package objecttest import ( - checksumtest "github.com/TrueCloudLab/frostfs-sdk-go/checksum/test" - cidtest "github.com/TrueCloudLab/frostfs-sdk-go/container/id/test" - "github.com/TrueCloudLab/frostfs-sdk-go/object" - oid "github.com/TrueCloudLab/frostfs-sdk-go/object/id" - oidtest "github.com/TrueCloudLab/frostfs-sdk-go/object/id/test" - sessiontest "github.com/TrueCloudLab/frostfs-sdk-go/session/test" - usertest "github.com/TrueCloudLab/frostfs-sdk-go/user/test" - "github.com/TrueCloudLab/frostfs-sdk-go/version" + checksumtest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/checksum/test" + cidtest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id/test" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object" + oid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/id" + oidtest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/id/test" + sessiontest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/session/test" + usertest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/user/test" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/version" "github.com/google/uuid" ) diff --git a/object/tombstone.go b/object/tombstone.go index 43cad27..e332630 100644 --- a/object/tombstone.go +++ b/object/tombstone.go @@ -1,9 +1,9 @@ package object import ( - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - "github.com/TrueCloudLab/frostfs-api-go/v2/tombstone" - oid "github.com/TrueCloudLab/frostfs-sdk-go/object/id" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/tombstone" + oid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/id" ) // Tombstone represents v2-compatible tombstone structure. diff --git a/object/tombstone_test.go b/object/tombstone_test.go index e423a6b..cd74e45 100644 --- a/object/tombstone_test.go +++ b/object/tombstone_test.go @@ -5,8 +5,8 @@ import ( "math/rand" "testing" - "github.com/TrueCloudLab/frostfs-api-go/v2/tombstone" - oid "github.com/TrueCloudLab/frostfs-sdk-go/object/id" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/tombstone" + oid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/id" "github.com/stretchr/testify/require" ) diff --git a/object/type.go b/object/type.go index 5f32afa..ec85c79 100644 --- a/object/type.go +++ b/object/type.go @@ -1,7 +1,7 @@ package object import ( - "github.com/TrueCloudLab/frostfs-api-go/v2/object" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/object" ) type Type object.Type diff --git a/object/type_test.go b/object/type_test.go index 4c4ed25..394ae4a 100644 --- a/object/type_test.go +++ b/object/type_test.go @@ -3,8 +3,8 @@ package object_test import ( "testing" - v2object "github.com/TrueCloudLab/frostfs-api-go/v2/object" - "github.com/TrueCloudLab/frostfs-sdk-go/object" + v2object "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/object" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object" "github.com/stretchr/testify/require" ) diff --git a/pool/cache.go b/pool/cache.go index 1a0dec8..d86a8a7 100644 --- a/pool/cache.go +++ b/pool/cache.go @@ -4,7 +4,7 @@ import ( "strings" "sync/atomic" - "github.com/TrueCloudLab/frostfs-sdk-go/session" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/session" lru "github.com/hashicorp/golang-lru/v2" ) diff --git a/pool/cache_test.go b/pool/cache_test.go index cf2649c..c1f12c8 100644 --- a/pool/cache_test.go +++ b/pool/cache_test.go @@ -3,8 +3,8 @@ package pool import ( "testing" - "github.com/TrueCloudLab/frostfs-sdk-go/session" - sessiontest "github.com/TrueCloudLab/frostfs-sdk-go/session/test" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/session" + sessiontest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/session/test" "github.com/nspcc-dev/neo-go/pkg/crypto/keys" "github.com/stretchr/testify/require" ) diff --git a/pool/mock_test.go b/pool/mock_test.go index dc62e0b..a74faa2 100644 --- a/pool/mock_test.go +++ b/pool/mock_test.go @@ -7,17 +7,17 @@ import ( "go.uber.org/zap" - sessionv2 "github.com/TrueCloudLab/frostfs-api-go/v2/session" - "github.com/TrueCloudLab/frostfs-sdk-go/accounting" - apistatus "github.com/TrueCloudLab/frostfs-sdk-go/client/status" - "github.com/TrueCloudLab/frostfs-sdk-go/container" - cid "github.com/TrueCloudLab/frostfs-sdk-go/container/id" - frostfsecdsa "github.com/TrueCloudLab/frostfs-sdk-go/crypto/ecdsa" - "github.com/TrueCloudLab/frostfs-sdk-go/eacl" - "github.com/TrueCloudLab/frostfs-sdk-go/netmap" - "github.com/TrueCloudLab/frostfs-sdk-go/object" - oid "github.com/TrueCloudLab/frostfs-sdk-go/object/id" - "github.com/TrueCloudLab/frostfs-sdk-go/session" + sessionv2 "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/accounting" + apistatus "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/client/status" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container" + cid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id" + frostfsecdsa "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/crypto/ecdsa" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/eacl" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/netmap" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object" + oid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/id" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/session" "github.com/google/uuid" ) diff --git a/pool/pool.go b/pool/pool.go index 5c5a250..dbd1cb5 100644 --- a/pool/pool.go +++ b/pool/pool.go @@ -13,20 +13,20 @@ import ( "sync" "time" - "github.com/TrueCloudLab/frostfs-sdk-go/accounting" - "github.com/TrueCloudLab/frostfs-sdk-go/bearer" - sdkClient "github.com/TrueCloudLab/frostfs-sdk-go/client" - apistatus "github.com/TrueCloudLab/frostfs-sdk-go/client/status" - "github.com/TrueCloudLab/frostfs-sdk-go/container" - cid "github.com/TrueCloudLab/frostfs-sdk-go/container/id" - frostfsecdsa "github.com/TrueCloudLab/frostfs-sdk-go/crypto/ecdsa" - "github.com/TrueCloudLab/frostfs-sdk-go/eacl" - "github.com/TrueCloudLab/frostfs-sdk-go/netmap" - "github.com/TrueCloudLab/frostfs-sdk-go/object" - oid "github.com/TrueCloudLab/frostfs-sdk-go/object/id" - "github.com/TrueCloudLab/frostfs-sdk-go/object/relations" - "github.com/TrueCloudLab/frostfs-sdk-go/session" - "github.com/TrueCloudLab/frostfs-sdk-go/user" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/accounting" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/bearer" + sdkClient "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/client" + apistatus "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/client/status" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container" + cid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id" + frostfsecdsa "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/crypto/ecdsa" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/eacl" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/netmap" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object" + oid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/id" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/relations" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/session" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/user" "github.com/google/uuid" "github.com/nspcc-dev/neo-go/pkg/crypto/keys" "go.uber.org/atomic" @@ -1360,7 +1360,7 @@ type PrmContainerPut struct { // SetContainer container structure to be used as a parameter of the base // client's operation. // -// See github.com/TrueCloudLab/frostfs-sdk-go/client.PrmContainerPut.SetContainer. +// See git.frostfs.info/TrueCloudLab/frostfs-sdk-go/client.PrmContainerPut.SetContainer. func (x *PrmContainerPut) SetContainer(cnr container.Container) { x.prmClient.SetContainer(cnr) } @@ -1368,7 +1368,7 @@ func (x *PrmContainerPut) SetContainer(cnr container.Container) { // WithinSession specifies session to be used as a parameter of the base // client's operation. // -// See github.com/TrueCloudLab/frostfs-sdk-go/client.PrmContainerPut.WithinSession. +// See git.frostfs.info/TrueCloudLab/frostfs-sdk-go/client.PrmContainerPut.WithinSession. func (x *PrmContainerPut) WithinSession(s session.Container) { x.prmClient.WithinSession(s) } @@ -1457,7 +1457,7 @@ type PrmContainerSetEACL struct { // SetTable sets structure of container's extended ACL to be used as a // parameter of the base client's operation. // -// See github.com/TrueCloudLab/frostfs-sdk-go/client.PrmContainerSetEACL.SetTable. +// See git.frostfs.info/TrueCloudLab/frostfs-sdk-go/client.PrmContainerSetEACL.SetTable. func (x *PrmContainerSetEACL) SetTable(table eacl.Table) { x.table = table } @@ -1465,7 +1465,7 @@ func (x *PrmContainerSetEACL) SetTable(table eacl.Table) { // WithinSession specifies session to be used as a parameter of the base // client's operation. // -// See github.com/TrueCloudLab/frostfs-sdk-go/client.PrmContainerSetEACL.WithinSession. +// See git.frostfs.info/TrueCloudLab/frostfs-sdk-go/client.PrmContainerSetEACL.WithinSession. func (x *PrmContainerSetEACL) WithinSession(s session.Container) { x.session = s x.sessionSet = true diff --git a/pool/pool_test.go b/pool/pool_test.go index af28a42..c0789c9 100644 --- a/pool/pool_test.go +++ b/pool/pool_test.go @@ -8,13 +8,13 @@ import ( "testing" "time" - apistatus "github.com/TrueCloudLab/frostfs-sdk-go/client/status" - cid "github.com/TrueCloudLab/frostfs-sdk-go/container/id" - frostfsecdsa "github.com/TrueCloudLab/frostfs-sdk-go/crypto/ecdsa" - "github.com/TrueCloudLab/frostfs-sdk-go/object" - oid "github.com/TrueCloudLab/frostfs-sdk-go/object/id" - "github.com/TrueCloudLab/frostfs-sdk-go/session" - "github.com/TrueCloudLab/frostfs-sdk-go/user" + apistatus "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/client/status" + cid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id" + frostfsecdsa "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/crypto/ecdsa" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object" + oid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/id" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/session" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/user" "github.com/nspcc-dev/neo-go/pkg/crypto/keys" "github.com/stretchr/testify/require" "go.uber.org/zap" diff --git a/reputation/doc.go b/reputation/doc.go index de0924e..a4dff88 100644 --- a/reputation/doc.go +++ b/reputation/doc.go @@ -9,11 +9,11 @@ is designed as a global measure of trust in a network member. See the docs for each type for details. Instances can be also used to process FrostFS API V2 protocol messages -(see neo.fs.v2.reputation package in https://github.com/TrueCloudLab/frostfs-api). +(see neo.fs.v2.reputation package in https://git.frostfs.info/TrueCloudLab/frostfs-api). On client side: - import "github.com/TrueCloudLab/frostfs-api-go/v2/reputation" + import "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/reputation" var msg reputation.GlobalTrust trust.WriteToV2(&msg) diff --git a/reputation/peer.go b/reputation/peer.go index 3be0d44..38e8055 100644 --- a/reputation/peer.go +++ b/reputation/peer.go @@ -5,14 +5,14 @@ import ( "errors" "fmt" - "github.com/TrueCloudLab/frostfs-api-go/v2/reputation" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/reputation" "github.com/mr-tron/base58" ) // PeerID represents unique identifier of the peer participating in the FrostFS // reputation system. // -// ID is mutually compatible with github.com/TrueCloudLab/frostfs-api-go/v2/reputation.PeerID +// ID is mutually compatible with git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/reputation.PeerID // message. See ReadFromV2 / WriteToV2 methods. // // Instances can be created using built-in var declaration. diff --git a/reputation/peer_test.go b/reputation/peer_test.go index 9cdca17..0a0ee96 100644 --- a/reputation/peer_test.go +++ b/reputation/peer_test.go @@ -3,9 +3,9 @@ package reputation_test import ( "testing" - v2reputation "github.com/TrueCloudLab/frostfs-api-go/v2/reputation" - "github.com/TrueCloudLab/frostfs-sdk-go/reputation" - reputationtest "github.com/TrueCloudLab/frostfs-sdk-go/reputation/test" + v2reputation "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/reputation" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/reputation" + reputationtest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/reputation/test" "github.com/stretchr/testify/require" ) diff --git a/reputation/test/generate.go b/reputation/test/generate.go index 1d8fb5f..f70e7ef 100644 --- a/reputation/test/generate.go +++ b/reputation/test/generate.go @@ -3,8 +3,8 @@ package reputationtest import ( "fmt" - frostfsecdsa "github.com/TrueCloudLab/frostfs-sdk-go/crypto/ecdsa" - "github.com/TrueCloudLab/frostfs-sdk-go/reputation" + frostfsecdsa "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/crypto/ecdsa" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/reputation" "github.com/nspcc-dev/neo-go/pkg/crypto/keys" ) diff --git a/reputation/trust.go b/reputation/trust.go index 21ed530..c6d18fb 100644 --- a/reputation/trust.go +++ b/reputation/trust.go @@ -4,16 +4,16 @@ import ( "errors" "fmt" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - "github.com/TrueCloudLab/frostfs-api-go/v2/reputation" - frostfscrypto "github.com/TrueCloudLab/frostfs-sdk-go/crypto" - "github.com/TrueCloudLab/frostfs-sdk-go/version" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/reputation" + frostfscrypto "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/crypto" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/version" ) // Trust represents quantitative assessment of the trust of a participant in the // FrostFS reputation system. // -// Trust is mutually compatible with github.com/TrueCloudLab/frostfs-api-go/v2/reputation.Trust +// Trust is mutually compatible with git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/reputation.Trust // message. See ReadFromV2 / WriteToV2 methods. // // Instances can be created using built-in var declaration. @@ -103,7 +103,7 @@ func (x Trust) Value() float64 { // PeerToPeerTrust represents trust of one participant of the FrostFS reputation // system to another one. // -// Trust is mutually compatible with github.com/TrueCloudLab/frostfs-api-go/v2/reputation.PeerToPeerTrust +// Trust is mutually compatible with git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/reputation.PeerToPeerTrust // message. See ReadFromV2 / WriteToV2 methods. // // Instances can be created using built-in var declaration. @@ -211,7 +211,7 @@ func (x PeerToPeerTrust) Trust() (res Trust) { // GlobalTrust represents the final assessment of trust in the participant of // the FrostFS reputation system obtained taking into account all other participants. // -// GlobalTrust is mutually compatible with github.com/TrueCloudLab/frostfs-api-go/v2/reputation.GlobalTrust +// GlobalTrust is mutually compatible with git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/reputation.GlobalTrust // message. See ReadFromV2 / WriteToV2 methods. // // To submit GlobalTrust value in FrostFS zero instance SHOULD be declared, diff --git a/reputation/trust_test.go b/reputation/trust_test.go index e6041c3..5e1185f 100644 --- a/reputation/trust_test.go +++ b/reputation/trust_test.go @@ -3,12 +3,12 @@ package reputation_test import ( "testing" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - v2reputation "github.com/TrueCloudLab/frostfs-api-go/v2/reputation" - frostfsecdsa "github.com/TrueCloudLab/frostfs-sdk-go/crypto/ecdsa" - "github.com/TrueCloudLab/frostfs-sdk-go/reputation" - reputationtest "github.com/TrueCloudLab/frostfs-sdk-go/reputation/test" - "github.com/TrueCloudLab/frostfs-sdk-go/version" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + v2reputation "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/reputation" + frostfsecdsa "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/crypto/ecdsa" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/reputation" + reputationtest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/reputation/test" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/version" "github.com/nspcc-dev/neo-go/pkg/crypto/keys" "github.com/stretchr/testify/require" ) diff --git a/session/common.go b/session/common.go index 5038453..b103b59 100644 --- a/session/common.go +++ b/session/common.go @@ -6,11 +6,11 @@ import ( "errors" "fmt" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - "github.com/TrueCloudLab/frostfs-api-go/v2/session" - frostfscrypto "github.com/TrueCloudLab/frostfs-sdk-go/crypto" - frostfsecdsa "github.com/TrueCloudLab/frostfs-sdk-go/crypto/ecdsa" - "github.com/TrueCloudLab/frostfs-sdk-go/user" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session" + frostfscrypto "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/crypto" + frostfsecdsa "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/crypto/ecdsa" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/user" "github.com/google/uuid" ) diff --git a/session/container.go b/session/container.go index cc3c9ce..45c5ff8 100644 --- a/session/container.go +++ b/session/container.go @@ -5,11 +5,11 @@ import ( "errors" "fmt" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - "github.com/TrueCloudLab/frostfs-api-go/v2/session" - cid "github.com/TrueCloudLab/frostfs-sdk-go/container/id" - frostfscrypto "github.com/TrueCloudLab/frostfs-sdk-go/crypto" - "github.com/TrueCloudLab/frostfs-sdk-go/user" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session" + cid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id" + frostfscrypto "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/crypto" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/user" ) // Container represents token of the FrostFS Container session. A session is opened @@ -18,7 +18,7 @@ import ( // limited validity period, and applies to a strictly defined set of operations. // See methods for details. // -// Container is mutually compatible with github.com/TrueCloudLab/frostfs-api-go/v2/session.Token +// Container is mutually compatible with git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session.Token // message. See ReadFromV2 / WriteToV2 methods. // // Instances can be created using built-in var declaration. diff --git a/session/container_test.go b/session/container_test.go index d58ab91..a152e31 100644 --- a/session/container_test.go +++ b/session/container_test.go @@ -6,15 +6,15 @@ import ( "math/rand" "testing" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - v2session "github.com/TrueCloudLab/frostfs-api-go/v2/session" - cidtest "github.com/TrueCloudLab/frostfs-sdk-go/container/id/test" - frostfscrypto "github.com/TrueCloudLab/frostfs-sdk-go/crypto" - frostfsecdsa "github.com/TrueCloudLab/frostfs-sdk-go/crypto/ecdsa" - "github.com/TrueCloudLab/frostfs-sdk-go/session" - sessiontest "github.com/TrueCloudLab/frostfs-sdk-go/session/test" - "github.com/TrueCloudLab/frostfs-sdk-go/user" - usertest "github.com/TrueCloudLab/frostfs-sdk-go/user/test" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + v2session "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session" + cidtest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id/test" + frostfscrypto "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/crypto" + frostfsecdsa "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/crypto/ecdsa" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/session" + sessiontest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/session/test" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/user" + usertest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/user/test" "github.com/google/uuid" "github.com/nspcc-dev/neo-go/pkg/util/slice" "github.com/stretchr/testify/require" diff --git a/session/doc.go b/session/doc.go index 1fe2f18..12ec0c4 100644 --- a/session/doc.go +++ b/session/doc.go @@ -24,11 +24,11 @@ signing the public part of the secret (public session key). The trusted member can perform operations on behalf of the trustee. Instances can be also used to process FrostFS API V2 protocol messages -(see neo.fs.v2.accounting package in https://github.com/TrueCloudLab/frostfs-api). +(see neo.fs.v2.accounting package in https://git.frostfs.info/TrueCloudLab/frostfs-api). On client side: - import "github.com/TrueCloudLab/frostfs-api-go/v2/session" + import "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session" var msg session.Token tok.WriteToV2(&msg) diff --git a/session/object.go b/session/object.go index 8f439dc..86ea7cb 100644 --- a/session/object.go +++ b/session/object.go @@ -5,10 +5,10 @@ import ( "errors" "fmt" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - "github.com/TrueCloudLab/frostfs-api-go/v2/session" - cid "github.com/TrueCloudLab/frostfs-sdk-go/container/id" - oid "github.com/TrueCloudLab/frostfs-sdk-go/object/id" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session" + cid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id" + oid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/id" ) // Object represents token of the FrostFS Object session. A session is opened @@ -17,7 +17,7 @@ import ( // limited validity period, and applies to a strictly defined set of operations. // See methods for details. // -// Object is mutually compatible with github.com/TrueCloudLab/frostfs-api-go/v2/session.Token +// Object is mutually compatible with git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session.Token // message. See ReadFromV2 / WriteToV2 methods. // // Instances can be created using built-in var declaration. diff --git a/session/object_test.go b/session/object_test.go index 09c7319..7d1d77b 100644 --- a/session/object_test.go +++ b/session/object_test.go @@ -7,16 +7,16 @@ import ( "math/rand" "testing" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - v2session "github.com/TrueCloudLab/frostfs-api-go/v2/session" - cidtest "github.com/TrueCloudLab/frostfs-sdk-go/container/id/test" - frostfscrypto "github.com/TrueCloudLab/frostfs-sdk-go/crypto" - frostfsecdsa "github.com/TrueCloudLab/frostfs-sdk-go/crypto/ecdsa" - oidtest "github.com/TrueCloudLab/frostfs-sdk-go/object/id/test" - "github.com/TrueCloudLab/frostfs-sdk-go/session" - sessiontest "github.com/TrueCloudLab/frostfs-sdk-go/session/test" - "github.com/TrueCloudLab/frostfs-sdk-go/user" - usertest "github.com/TrueCloudLab/frostfs-sdk-go/user/test" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + v2session "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session" + cidtest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id/test" + frostfscrypto "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/crypto" + frostfsecdsa "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/crypto/ecdsa" + oidtest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/id/test" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/session" + sessiontest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/session/test" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/user" + usertest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/user/test" "github.com/google/uuid" "github.com/nspcc-dev/neo-go/pkg/crypto/keys" "github.com/nspcc-dev/neo-go/pkg/util/slice" diff --git a/session/test/doc.go b/session/test/doc.go index d9264cb..f0763fb 100644 --- a/session/test/doc.go +++ b/session/test/doc.go @@ -5,7 +5,7 @@ Note that importing the package into source files is highly discouraged. Random instance generation functions can be useful when testing expects any value, e.g.: - import sessiontest "github.com/TrueCloudLab/frostfs-sdk-go/session/test" + import sessiontest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/session/test" val := sessiontest.Container() // test the value diff --git a/session/test/session.go b/session/test/session.go index 2f9dbea..eef4e92 100644 --- a/session/test/session.go +++ b/session/test/session.go @@ -5,10 +5,10 @@ import ( "crypto/elliptic" "crypto/rand" - cidtest "github.com/TrueCloudLab/frostfs-sdk-go/container/id/test" - frostfsecdsa "github.com/TrueCloudLab/frostfs-sdk-go/crypto/ecdsa" - oidtest "github.com/TrueCloudLab/frostfs-sdk-go/object/id/test" - "github.com/TrueCloudLab/frostfs-sdk-go/session" + cidtest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id/test" + frostfsecdsa "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/crypto/ecdsa" + oidtest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/id/test" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/session" "github.com/google/uuid" "github.com/nspcc-dev/neo-go/pkg/crypto/keys" ) diff --git a/storagegroup/doc.go b/storagegroup/doc.go index bc34ed5..d268b3a 100644 --- a/storagegroup/doc.go +++ b/storagegroup/doc.go @@ -12,11 +12,11 @@ StorageGroup type groups verification values for Data Audit sessions: sg.ValidationDataSize() // total objects' payload size Instances can be also used to process FrostFS API V2 protocol messages -(see neo.fs.v2.storagegroup package in https://github.com/TrueCloudLab/frostfs-api). +(see neo.fs.v2.storagegroup package in https://git.frostfs.info/TrueCloudLab/frostfs-api). On client side: - import "github.com/TrueCloudLab/frostfs-api-go/v2/storagegroup" + import "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/storagegroup" var msg storagegroup.StorageGroup sg.WriteToV2(&msg) diff --git a/storagegroup/storagegroup.go b/storagegroup/storagegroup.go index 1d9e419..8722f51 100644 --- a/storagegroup/storagegroup.go +++ b/storagegroup/storagegroup.go @@ -5,17 +5,17 @@ import ( "fmt" "strconv" - objectV2 "github.com/TrueCloudLab/frostfs-api-go/v2/object" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - "github.com/TrueCloudLab/frostfs-api-go/v2/storagegroup" - "github.com/TrueCloudLab/frostfs-sdk-go/checksum" - objectSDK "github.com/TrueCloudLab/frostfs-sdk-go/object" - oid "github.com/TrueCloudLab/frostfs-sdk-go/object/id" + objectV2 "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/storagegroup" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/checksum" + objectSDK "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object" + oid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/id" ) // StorageGroup represents storage group of the FrostFS objects. // -// StorageGroup is mutually compatible with github.com/TrueCloudLab/frostfs-api-go/v2/storagegroup.StorageGroup +// StorageGroup is mutually compatible with git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/storagegroup.StorageGroup // message. See ReadFromMessageV2 / WriteToMessageV2 methods. // // Instances can be created using built-in var declaration. diff --git a/storagegroup/storagegroup_test.go b/storagegroup/storagegroup_test.go index f9ff7c5..3a00064 100644 --- a/storagegroup/storagegroup_test.go +++ b/storagegroup/storagegroup_test.go @@ -5,17 +5,17 @@ import ( "strconv" "testing" - objectV2 "github.com/TrueCloudLab/frostfs-api-go/v2/object" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - storagegroupV2 "github.com/TrueCloudLab/frostfs-api-go/v2/storagegroup" - storagegroupV2test "github.com/TrueCloudLab/frostfs-api-go/v2/storagegroup/test" - "github.com/TrueCloudLab/frostfs-sdk-go/checksum" - checksumtest "github.com/TrueCloudLab/frostfs-sdk-go/checksum/test" - objectSDK "github.com/TrueCloudLab/frostfs-sdk-go/object" - oid "github.com/TrueCloudLab/frostfs-sdk-go/object/id" - oidtest "github.com/TrueCloudLab/frostfs-sdk-go/object/id/test" - "github.com/TrueCloudLab/frostfs-sdk-go/storagegroup" - storagegrouptest "github.com/TrueCloudLab/frostfs-sdk-go/storagegroup/test" + objectV2 "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/object" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + storagegroupV2 "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/storagegroup" + storagegroupV2test "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/storagegroup/test" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/checksum" + checksumtest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/checksum/test" + objectSDK "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object" + oid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/id" + oidtest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/id/test" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/storagegroup" + storagegrouptest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/storagegroup/test" "github.com/stretchr/testify/require" ) diff --git a/storagegroup/test/doc.go b/storagegroup/test/doc.go index 7a479c7..03cb957 100644 --- a/storagegroup/test/doc.go +++ b/storagegroup/test/doc.go @@ -5,7 +5,7 @@ Note that importing the package into source files is highly discouraged. Random instance generation functions can be useful when testing expects any value, e.g.: - import storagegrouptest "github.com/TrueCloudLab/frostfs-sdk-go/storagegroup/test" + import storagegrouptest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/storagegroup/test" val := storagegrouptest.StorageGroup() // test the value diff --git a/storagegroup/test/generate.go b/storagegroup/test/generate.go index c9d52de..f7b3847 100644 --- a/storagegroup/test/generate.go +++ b/storagegroup/test/generate.go @@ -1,10 +1,10 @@ package storagegrouptest import ( - checksumtest "github.com/TrueCloudLab/frostfs-sdk-go/checksum/test" - oid "github.com/TrueCloudLab/frostfs-sdk-go/object/id" - oidtest "github.com/TrueCloudLab/frostfs-sdk-go/object/id/test" - "github.com/TrueCloudLab/frostfs-sdk-go/storagegroup" + checksumtest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/checksum/test" + oid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/id" + oidtest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/id/test" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/storagegroup" ) // StorageGroup returns random storagegroup.StorageGroup. diff --git a/subnet/id/id.go b/subnet/id/id.go index 6ee1ae2..ec76c5f 100644 --- a/subnet/id/id.go +++ b/subnet/id/id.go @@ -4,12 +4,12 @@ import ( "fmt" "strconv" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" ) // ID represents unique identifier of the subnet in the FrostFS network. // -// ID is mutually compatible with github.com/TrueCloudLab/frostfs-api-go/v2/refs.SubnetID +// ID is mutually compatible with git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs.SubnetID // message. See ReadFromV2 / WriteToV2 methods. // // Instances can be created using built-in var declaration. Zero value is diff --git a/subnet/id/id_test.go b/subnet/id/id_test.go index 9b38187..83d2886 100644 --- a/subnet/id/id_test.go +++ b/subnet/id/id_test.go @@ -3,9 +3,9 @@ package subnetid_test import ( "testing" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - subnetid "github.com/TrueCloudLab/frostfs-sdk-go/subnet/id" - subnetidtest "github.com/TrueCloudLab/frostfs-sdk-go/subnet/id/test" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + subnetid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/subnet/id" + subnetidtest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/subnet/id/test" "github.com/stretchr/testify/require" ) diff --git a/subnet/id/test/doc.go b/subnet/id/test/doc.go index 1486d8f..d9ba1c0 100644 --- a/subnet/id/test/doc.go +++ b/subnet/id/test/doc.go @@ -5,7 +5,7 @@ Note that importing the package into source files is highly discouraged. Random instance generation functions can be useful when testing expects any value, e.g.: - import subnetidtest "github.com/TrueCloudLab/frostfs-sdk-go/suibnet/id/test" + import subnetidtest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/suibnet/id/test" value := subnetidtest.ID() // test the value diff --git a/subnet/id/test/id.go b/subnet/id/test/id.go index e03d62f..0f1dfa0 100644 --- a/subnet/id/test/id.go +++ b/subnet/id/test/id.go @@ -3,7 +3,7 @@ package subnetidtest import ( "math/rand" - subnetid "github.com/TrueCloudLab/frostfs-sdk-go/subnet/id" + subnetid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/subnet/id" ) // ID generates and returns random subnetid.ID. diff --git a/subnet/subnet.go b/subnet/subnet.go index 5848dba..e154886 100644 --- a/subnet/subnet.go +++ b/subnet/subnet.go @@ -3,10 +3,10 @@ package subnet import ( "fmt" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - "github.com/TrueCloudLab/frostfs-api-go/v2/subnet" - subnetid "github.com/TrueCloudLab/frostfs-sdk-go/subnet/id" - "github.com/TrueCloudLab/frostfs-sdk-go/user" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/subnet" + subnetid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/subnet/id" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/user" ) // Info represents information about FrostFS subnet. diff --git a/subnet/subnet_test.go b/subnet/subnet_test.go index 9a22a6f..3c67390 100644 --- a/subnet/subnet_test.go +++ b/subnet/subnet_test.go @@ -3,11 +3,11 @@ package subnet_test import ( "testing" - . "github.com/TrueCloudLab/frostfs-sdk-go/subnet" - subnetid "github.com/TrueCloudLab/frostfs-sdk-go/subnet/id" - subnetidtest "github.com/TrueCloudLab/frostfs-sdk-go/subnet/id/test" - subnettest "github.com/TrueCloudLab/frostfs-sdk-go/subnet/test" - usertest "github.com/TrueCloudLab/frostfs-sdk-go/user/test" + . "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/subnet" + subnetid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/subnet/id" + subnetidtest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/subnet/id/test" + subnettest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/subnet/test" + usertest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/user/test" "github.com/stretchr/testify/require" ) diff --git a/subnet/test/doc.go b/subnet/test/doc.go index dcaac63..635eae1 100644 --- a/subnet/test/doc.go +++ b/subnet/test/doc.go @@ -5,7 +5,7 @@ Note that importing the package into source files is highly discouraged. Random instance generation functions can be useful when testing expects any value, e.g.: - import subnettest "github.com/TrueCloudLab/frostfs-sdk-go/suibnet/test" + import subnettest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/suibnet/test" value := subnettest.Info() // test the value diff --git a/subnet/test/subnet.go b/subnet/test/subnet.go index 3acd9b5..059c597 100644 --- a/subnet/test/subnet.go +++ b/subnet/test/subnet.go @@ -1,9 +1,9 @@ package subnettest import ( - "github.com/TrueCloudLab/frostfs-sdk-go/subnet" - subnetidtest "github.com/TrueCloudLab/frostfs-sdk-go/subnet/id/test" - usertest "github.com/TrueCloudLab/frostfs-sdk-go/user/test" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/subnet" + subnetidtest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/subnet/id/test" + usertest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/user/test" ) // Info generates and returns random subnet.Info. diff --git a/user/doc.go b/user/doc.go index 3662a52..4809e4a 100644 --- a/user/doc.go +++ b/user/doc.go @@ -35,11 +35,11 @@ Encoding/decoding mechanisms are used to transfer identifiers: err = id.DecodeString(s) // on receiver Instances can be also used to process FrostFS API protocol messages -(see neo.fs.v2.refs package in https://github.com/TrueCloudLab/frostfs-api). +(see neo.fs.v2.refs package in https://git.frostfs.info/TrueCloudLab/frostfs-api). On client side: - import "github.com/TrueCloudLab/frostfs-api-go/v2/refs" + import "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" var msg refs.OwnerID id.WriteToV2(&msg) diff --git a/user/id.go b/user/id.go index cdd9e1c..b77492f 100644 --- a/user/id.go +++ b/user/id.go @@ -5,7 +5,7 @@ import ( "errors" "fmt" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" "github.com/mr-tron/base58" "github.com/nspcc-dev/neo-go/pkg/crypto/hash" "github.com/nspcc-dev/neo-go/pkg/encoding/address" @@ -14,7 +14,7 @@ import ( // ID identifies users of the FrostFS system. // -// ID is mutually compatible with github.com/TrueCloudLab/frostfs-api-go/v2/refs.OwnerID +// ID is mutually compatible with git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs.OwnerID // message. See ReadFromV2 / WriteToV2 methods. // // Instances can be created using built-in var declaration. Zero ID is not valid, diff --git a/user/id_test.go b/user/id_test.go index 4fc90d9..27d93dc 100644 --- a/user/id_test.go +++ b/user/id_test.go @@ -4,9 +4,9 @@ import ( "math/rand" "testing" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" - . "github.com/TrueCloudLab/frostfs-sdk-go/user" - usertest "github.com/TrueCloudLab/frostfs-sdk-go/user/test" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" + . "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/user" + usertest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/user/test" "github.com/mr-tron/base58" "github.com/nspcc-dev/neo-go/pkg/util" "github.com/nspcc-dev/neo-go/pkg/util/slice" diff --git a/user/test/doc.go b/user/test/doc.go index da99b48..e7dc489 100644 --- a/user/test/doc.go +++ b/user/test/doc.go @@ -5,7 +5,7 @@ Note that importing the package into source files is highly discouraged. Random instance generation functions can be useful when testing expects any value, e.g.: - import usertest "github.com/TrueCloudLab/frostfs-sdk-go/user/test" + import usertest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/user/test" id := usertest.ID() // test the value diff --git a/user/test/id.go b/user/test/id.go index 4d90b28..dd21405 100644 --- a/user/test/id.go +++ b/user/test/id.go @@ -1,7 +1,7 @@ package usertest import ( - "github.com/TrueCloudLab/frostfs-sdk-go/user" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/user" "github.com/nspcc-dev/neo-go/pkg/crypto/keys" ) diff --git a/user/util_test.go b/user/util_test.go index 80db4c5..09f4b9f 100644 --- a/user/util_test.go +++ b/user/util_test.go @@ -6,7 +6,7 @@ import ( "encoding/hex" "testing" - "github.com/TrueCloudLab/frostfs-sdk-go/user" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/user" "github.com/stretchr/testify/require" ) diff --git a/version/test/generate.go b/version/test/generate.go index 6fc8fa6..75a02bf 100644 --- a/version/test/generate.go +++ b/version/test/generate.go @@ -3,7 +3,7 @@ package versiontest import ( "math/rand" - "github.com/TrueCloudLab/frostfs-sdk-go/version" + "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/version" ) // Version returns random version.Version. diff --git a/version/version.go b/version/version.go index 1984b5f..47e61c8 100644 --- a/version/version.go +++ b/version/version.go @@ -3,12 +3,12 @@ package version import ( "fmt" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" ) // Version represents revision number in SemVer scheme. // -// Version is mutually compatible with github.com/TrueCloudLab/frostfs-api-go/v2/refs.Version +// Version is mutually compatible with git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs.Version // message. See ReadFromV2 / WriteToV2 methods. // // Instances can be created using built-in var declaration. diff --git a/version/version_test.go b/version/version_test.go index 19f0747..fdf2b6a 100644 --- a/version/version_test.go +++ b/version/version_test.go @@ -3,7 +3,7 @@ package version import ( "testing" - "github.com/TrueCloudLab/frostfs-api-go/v2/refs" + "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs" "github.com/stretchr/testify/require" )