Compare commits

...

1 commit

Author SHA1 Message Date
d50b7a906f Add retry when node not found
Signed-off-by: Marina Biryukova <m.biryukova@yadro.com>
2023-09-26 14:15:45 +03:00
122 changed files with 344 additions and 345 deletions

View file

@ -102,8 +102,8 @@ outdated in some details.
```go
import (
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/netmap"
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/netmap"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/object"
)
func placementNodes(addr *object.Address, p *netmap.PlacementPolicy, frostfsNodes []netmap.NodeInfo) {

View file

@ -4,7 +4,7 @@ import (
"testing"
v2accounting "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/accounting"
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/accounting"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/accounting"
"github.com/stretchr/testify/require"
)

View file

@ -3,7 +3,7 @@ package accountingtest
import (
"math/rand"
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/accounting"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/accounting"
)
// Decimal returns random accounting.Decimal.

View file

@ -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 "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/accounting/test"
import accountingtest "git.frostfs.info/mbiryukova/frostfs-sdk-go/accounting/test"
dec := accountingtest.Decimal()
// test the value

View file

@ -7,11 +7,11 @@ import (
"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"
cid "git.frostfs.info/mbiryukova/frostfs-sdk-go/container/id"
frostfscrypto "git.frostfs.info/mbiryukova/frostfs-sdk-go/crypto"
frostfsecdsa "git.frostfs.info/mbiryukova/frostfs-sdk-go/crypto/ecdsa"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/eacl"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/user"
)
// Token represents bearer token for object service operations.

View file

@ -7,15 +7,15 @@ import (
"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"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/bearer"
bearertest "git.frostfs.info/mbiryukova/frostfs-sdk-go/bearer/test"
cidtest "git.frostfs.info/mbiryukova/frostfs-sdk-go/container/id/test"
frostfscrypto "git.frostfs.info/mbiryukova/frostfs-sdk-go/crypto"
frostfsecdsa "git.frostfs.info/mbiryukova/frostfs-sdk-go/crypto/ecdsa"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/eacl"
eacltest "git.frostfs.info/mbiryukova/frostfs-sdk-go/eacl/test"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/user"
usertest "git.frostfs.info/mbiryukova/frostfs-sdk-go/user/test"
"github.com/nspcc-dev/neo-go/pkg/crypto/keys"
"github.com/stretchr/testify/require"
)

View file

@ -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 "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/client"
import sdkClient "git.frostfs.info/mbiryukova/frostfs-sdk-go/client"
var headParams sdkClient.PrmObjectHead
headParams.WithBearerToken(bearerToken)

View file

@ -1,9 +1,9 @@
package bearertest
import (
"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"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/bearer"
eacltest "git.frostfs.info/mbiryukova/frostfs-sdk-go/eacl/test"
usertest "git.frostfs.info/mbiryukova/frostfs-sdk-go/user/test"
)
// Token returns random bearer.Token.

View file

@ -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 "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/checksum/test"
import checksumtest "git.frostfs.info/mbiryukova/frostfs-sdk-go/checksum/test"
cs := checksumtest.Checksum()
// test the value

View file

@ -4,7 +4,7 @@ import (
"crypto/sha256"
"math/rand"
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/checksum"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/checksum"
)
// Checksum returns random checksum.Checksum.

View file

@ -10,9 +10,9 @@ import (
"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/accounting"
apistatus "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/client/status"
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/user"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/accounting"
apistatus "git.frostfs.info/mbiryukova/frostfs-sdk-go/client/status"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/user"
)
// PrmBalanceGet groups parameters of BalanceGet operation.

View file

@ -7,7 +7,7 @@ import (
"crypto/rand"
"testing"
apistatus "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/client/status"
apistatus "git.frostfs.info/mbiryukova/frostfs-sdk-go/client/status"
"github.com/stretchr/testify/require"
)

View file

@ -8,8 +8,8 @@ import (
"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"
apistatus "git.frostfs.info/mbiryukova/frostfs-sdk-go/client/status"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/version"
)
// structure is embedded to all resulting types in order to inherit status-related methods.

View file

@ -4,7 +4,7 @@ import (
"context"
"fmt"
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/container"
)
// SyncContainerWithNetwork requests network configuration using passed client

View file

@ -10,10 +10,10 @@ import (
"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"
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/session"
cid "git.frostfs.info/mbiryukova/frostfs-sdk-go/container/id"
frostfscrypto "git.frostfs.info/mbiryukova/frostfs-sdk-go/crypto"
frostfsecdsa "git.frostfs.info/mbiryukova/frostfs-sdk-go/crypto/ecdsa"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/session"
)
// PrmContainerDelete groups parameters of ContainerDelete operation.

View file

@ -10,9 +10,9 @@ import (
"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"
cid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id"
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/eacl"
apistatus "git.frostfs.info/mbiryukova/frostfs-sdk-go/client/status"
cid "git.frostfs.info/mbiryukova/frostfs-sdk-go/container/id"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/eacl"
)
// PrmContainerEACL groups parameters of ContainerEACL operation.

View file

@ -11,9 +11,9 @@ import (
"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/container"
cid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id"
apistatus "git.frostfs.info/mbiryukova/frostfs-sdk-go/client/status"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/container"
cid "git.frostfs.info/mbiryukova/frostfs-sdk-go/container/id"
)
// PrmContainerGet groups parameters of ContainerGet operation.

View file

@ -10,9 +10,9 @@ import (
"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"
cid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id"
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/user"
apistatus "git.frostfs.info/mbiryukova/frostfs-sdk-go/client/status"
cid "git.frostfs.info/mbiryukova/frostfs-sdk-go/container/id"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/user"
)
// PrmContainerList groups parameters of ContainerList operation.

View file

@ -10,11 +10,11 @@ import (
"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/container"
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/session"
apistatus "git.frostfs.info/mbiryukova/frostfs-sdk-go/client/status"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/container"
cid "git.frostfs.info/mbiryukova/frostfs-sdk-go/container/id"
frostfscrypto "git.frostfs.info/mbiryukova/frostfs-sdk-go/crypto"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/session"
)
// PrmContainerPut groups parameters of ContainerPut operation.

View file

@ -10,10 +10,10 @@ import (
"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"
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"
frostfscrypto "git.frostfs.info/mbiryukova/frostfs-sdk-go/crypto"
frostfsecdsa "git.frostfs.info/mbiryukova/frostfs-sdk-go/crypto/ecdsa"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/eacl"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/session"
)
// PrmContainerSetEACL groups parameters of ContainerSetEACL operation.

View file

@ -9,7 +9,7 @@ import (
"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/container"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/container"
)
// PrmAnnounceSpace groups parameters of ContainerAnnounceUsedSpace operation.

View file

@ -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 "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/client"
import "git.frostfs.info/mbiryukova/frostfs-sdk-go/client"
type FrostFSClient interface {
// Operations according to the application needs

View file

@ -3,7 +3,7 @@ package client
import (
"fmt"
apistatus "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/client/status"
apistatus "git.frostfs.info/mbiryukova/frostfs-sdk-go/client/status"
)
// wrapsErrType returns true if any error in the error tree of err is of type E.

View file

@ -4,8 +4,8 @@ import (
"fmt"
"testing"
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/client"
apistatus "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/client/status"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/client"
apistatus "git.frostfs.info/mbiryukova/frostfs-sdk-go/client/status"
"github.com/stretchr/testify/require"
)

View file

@ -9,9 +9,9 @@ import (
"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"
apistatus "git.frostfs.info/mbiryukova/frostfs-sdk-go/client/status"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/netmap"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/version"
)
// PrmEndpointInfo groups parameters of EndpointInfo operation.

View file

@ -9,8 +9,8 @@ import (
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"
apistatus "git.frostfs.info/mbiryukova/frostfs-sdk-go/client/status"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/netmap"
"github.com/stretchr/testify/require"
)

View file

@ -12,11 +12,11 @@ import (
"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"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/bearer"
apistatus "git.frostfs.info/mbiryukova/frostfs-sdk-go/client/status"
cid "git.frostfs.info/mbiryukova/frostfs-sdk-go/container/id"
oid "git.frostfs.info/mbiryukova/frostfs-sdk-go/object/id"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/session"
)
// PrmObjectDelete groups parameters of ObjectDelete operation.

View file

@ -14,12 +14,12 @@ import (
"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"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/bearer"
apistatus "git.frostfs.info/mbiryukova/frostfs-sdk-go/client/status"
cid "git.frostfs.info/mbiryukova/frostfs-sdk-go/container/id"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/object"
oid "git.frostfs.info/mbiryukova/frostfs-sdk-go/object/id"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/session"
)
// shared parameters of GET/HEAD/RANGE.

View file

@ -12,11 +12,11 @@ import (
"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"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/bearer"
apistatus "git.frostfs.info/mbiryukova/frostfs-sdk-go/client/status"
cid "git.frostfs.info/mbiryukova/frostfs-sdk-go/container/id"
oid "git.frostfs.info/mbiryukova/frostfs-sdk-go/object/id"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/session"
)
// PrmObjectHash groups parameters of ObjectHash operation.

View file

@ -6,11 +6,11 @@ import (
"git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/acl"
v2session "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/session"
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/bearer"
"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/transformer"
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/session"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/bearer"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/object"
oid "git.frostfs.info/mbiryukova/frostfs-sdk-go/object/id"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/object/transformer"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/session"
)
// defaultGRPCPayloadChunkLen default value for maxChunkLen.

View file

@ -11,8 +11,8 @@ import (
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-api-go/v2/signature"
apistatus "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/client/status"
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object"
apistatus "git.frostfs.info/mbiryukova/frostfs-sdk-go/client/status"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/object"
)
func (c *Client) objectPutInitRaw(ctx context.Context, prm PrmObjectPutInit) (*objectWriterRaw, error) {

View file

@ -11,8 +11,8 @@ import (
"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"
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/session"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/bearer"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/session"
)
// PrmObjectPutSingle groups parameters of PutSingle operation.

View file

@ -3,9 +3,9 @@ package client
import (
"context"
apistatus "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/client/status"
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object"
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/transformer"
apistatus "git.frostfs.info/mbiryukova/frostfs-sdk-go/client/status"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/object"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/object/transformer"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
)

View file

@ -14,12 +14,12 @@ import (
"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"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/bearer"
apistatus "git.frostfs.info/mbiryukova/frostfs-sdk-go/client/status"
cid "git.frostfs.info/mbiryukova/frostfs-sdk-go/container/id"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/object"
oid "git.frostfs.info/mbiryukova/frostfs-sdk-go/object/id"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/session"
)
// PrmObjectSearch groups parameters of ObjectSearch operation.

View file

@ -10,8 +10,8 @@ import (
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"
oid "git.frostfs.info/mbiryukova/frostfs-sdk-go/object/id"
oidtest "git.frostfs.info/mbiryukova/frostfs-sdk-go/object/id/test"
"github.com/nspcc-dev/neo-go/pkg/crypto/keys"
"github.com/stretchr/testify/require"
)

View file

@ -10,8 +10,8 @@ import (
"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/user"
apistatus "git.frostfs.info/mbiryukova/frostfs-sdk-go/client/status"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/user"
)
// PrmSessionCreate groups parameters of SessionCreate operation.

View file

@ -4,7 +4,7 @@ import (
"testing"
"git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/status"
apistatus "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/client/status"
apistatus "git.frostfs.info/mbiryukova/frostfs-sdk-go/client/status"
"github.com/stretchr/testify/require"
)

View file

@ -3,7 +3,7 @@ package apistatus_test
import (
"testing"
apistatus "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/client/status"
apistatus "git.frostfs.info/mbiryukova/frostfs-sdk-go/client/status"
"github.com/stretchr/testify/require"
)

View file

@ -4,7 +4,7 @@ import (
"errors"
"testing"
apistatus "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/client/status"
apistatus "git.frostfs.info/mbiryukova/frostfs-sdk-go/client/status"
"github.com/stretchr/testify/require"
)

View file

@ -4,7 +4,7 @@ import (
"errors"
"testing"
apistatus "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/client/status"
apistatus "git.frostfs.info/mbiryukova/frostfs-sdk-go/client/status"
"github.com/stretchr/testify/require"
)

View file

@ -12,13 +12,13 @@ import (
"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"
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/user"
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/version"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/container/acl"
cid "git.frostfs.info/mbiryukova/frostfs-sdk-go/container/id"
frostfscrypto "git.frostfs.info/mbiryukova/frostfs-sdk-go/crypto"
frostfsecdsa "git.frostfs.info/mbiryukova/frostfs-sdk-go/crypto/ecdsa"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/netmap"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/user"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/version"
"github.com/google/uuid"
)

View file

@ -9,14 +9,14 @@ import (
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"
usertest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/user/test"
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/version"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/container"
cid "git.frostfs.info/mbiryukova/frostfs-sdk-go/container/id"
cidtest "git.frostfs.info/mbiryukova/frostfs-sdk-go/container/id/test"
containertest "git.frostfs.info/mbiryukova/frostfs-sdk-go/container/test"
frostfscrypto "git.frostfs.info/mbiryukova/frostfs-sdk-go/crypto"
netmaptest "git.frostfs.info/mbiryukova/frostfs-sdk-go/netmap/test"
usertest "git.frostfs.info/mbiryukova/frostfs-sdk-go/user/test"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/version"
"github.com/google/uuid"
"github.com/nspcc-dev/neo-go/pkg/crypto/keys"
"github.com/stretchr/testify/require"

View file

@ -6,8 +6,8 @@ import (
"testing"
"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"
cid "git.frostfs.info/mbiryukova/frostfs-sdk-go/container/id"
cidtest "git.frostfs.info/mbiryukova/frostfs-sdk-go/container/id/test"
"github.com/mr-tron/base58"
"github.com/stretchr/testify/require"
)

View file

@ -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 "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id/test"
import cidtest "git.frostfs.info/mbiryukova/frostfs-sdk-go/container/id/test"
cid := cidtest.ID()
// test the value

View file

@ -4,7 +4,7 @@ import (
"crypto/sha256"
"math/rand"
cid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id"
cid "git.frostfs.info/mbiryukova/frostfs-sdk-go/container/id"
)
// ID returns random cid.ID.

View file

@ -1,7 +1,7 @@
package container
import (
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/netmap"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/netmap"
)
// ApplyNetworkConfig applies network configuration to the

View file

@ -3,9 +3,9 @@ package container_test
import (
"testing"
"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"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/container"
containertest "git.frostfs.info/mbiryukova/frostfs-sdk-go/container/test"
netmaptest "git.frostfs.info/mbiryukova/frostfs-sdk-go/netmap/test"
"github.com/stretchr/testify/require"
)

View file

@ -6,7 +6,7 @@ import (
"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"
cid "git.frostfs.info/mbiryukova/frostfs-sdk-go/container/id"
)
// SizeEstimation groups information about estimation of the size of the data

View file

@ -6,9 +6,9 @@ import (
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"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/container"
cid "git.frostfs.info/mbiryukova/frostfs-sdk-go/container/id"
cidtest "git.frostfs.info/mbiryukova/frostfs-sdk-go/container/id/test"
"github.com/stretchr/testify/require"
)

View file

@ -3,11 +3,11 @@ package containertest
import (
"math/rand"
"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"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/container"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/container/acl"
cidtest "git.frostfs.info/mbiryukova/frostfs-sdk-go/container/id/test"
netmaptest "git.frostfs.info/mbiryukova/frostfs-sdk-go/netmap/test"
usertest "git.frostfs.info/mbiryukova/frostfs-sdk-go/user/test"
)
// Container returns random container.Container.

View file

@ -5,8 +5,8 @@ import (
"testing"
"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"
frostfscrypto "git.frostfs.info/mbiryukova/frostfs-sdk-go/crypto"
frostfsecdsa "git.frostfs.info/mbiryukova/frostfs-sdk-go/crypto/ecdsa"
"github.com/nspcc-dev/neo-go/pkg/crypto/keys"
"github.com/stretchr/testify/require"
)

View file

@ -1,6 +1,6 @@
package frostfsecdsa
import frostfscrypto "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/crypto"
import frostfscrypto "git.frostfs.info/mbiryukova/frostfs-sdk-go/crypto"
func init() {
frostfscrypto.RegisterScheme(frostfscrypto.ECDSA_SHA512, func() frostfscrypto.PublicKey {

View file

@ -6,7 +6,7 @@ import (
"crypto/rand"
"crypto/sha512"
frostfscrypto "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/crypto"
frostfscrypto "git.frostfs.info/mbiryukova/frostfs-sdk-go/crypto"
"github.com/nspcc-dev/neo-go/pkg/crypto/keys"
)

View file

@ -7,7 +7,7 @@ import (
"fmt"
"git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/util/signature/walletconnect"
frostfscrypto "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/crypto"
frostfscrypto "git.frostfs.info/mbiryukova/frostfs-sdk-go/crypto"
"github.com/nspcc-dev/neo-go/pkg/crypto/keys"
)

View file

@ -4,7 +4,7 @@ import (
"testing"
v2acl "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/acl"
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/eacl"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/eacl"
"github.com/stretchr/testify/require"
)

View file

@ -4,12 +4,12 @@ import (
"crypto/ecdsa"
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"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/checksum"
cid "git.frostfs.info/mbiryukova/frostfs-sdk-go/container/id"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/object"
oid "git.frostfs.info/mbiryukova/frostfs-sdk-go/object/id"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/user"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/version"
)
// Record of the ContainerEACL rule, that defines ContainerEACL action, targets for this action,

View file

@ -6,12 +6,12 @@ import (
"testing"
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"
checksumtest "git.frostfs.info/mbiryukova/frostfs-sdk-go/checksum/test"
cidtest "git.frostfs.info/mbiryukova/frostfs-sdk-go/container/id/test"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/object"
oidtest "git.frostfs.info/mbiryukova/frostfs-sdk-go/object/id/test"
usertest "git.frostfs.info/mbiryukova/frostfs-sdk-go/user/test"
versiontest "git.frostfs.info/mbiryukova/frostfs-sdk-go/version/test"
"github.com/nspcc-dev/neo-go/pkg/crypto/keys"
"github.com/stretchr/testify/require"
)

View file

@ -6,8 +6,8 @@ import (
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"
cid "git.frostfs.info/mbiryukova/frostfs-sdk-go/container/id"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/version"
)
// Table is a group of ContainerEACL records for single container.

View file

@ -5,10 +5,10 @@ import (
"testing"
"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"
cidtest "git.frostfs.info/mbiryukova/frostfs-sdk-go/container/id/test"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/eacl"
eacltest "git.frostfs.info/mbiryukova/frostfs-sdk-go/eacl/test"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/version"
"github.com/stretchr/testify/require"
)

View file

@ -5,9 +5,9 @@ import (
"math/rand"
"testing"
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"
cidtest "git.frostfs.info/mbiryukova/frostfs-sdk-go/container/id/test"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/eacl"
versiontest "git.frostfs.info/mbiryukova/frostfs-sdk-go/version/test"
"github.com/stretchr/testify/require"
)

View file

@ -1,10 +1,10 @@
package eacltest
import (
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"
cidtest "git.frostfs.info/mbiryukova/frostfs-sdk-go/container/id/test"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/eacl"
usertest "git.frostfs.info/mbiryukova/frostfs-sdk-go/user/test"
versiontest "git.frostfs.info/mbiryukova/frostfs-sdk-go/version/test"
)
// Target returns random eacl.Target.

View file

@ -1,7 +1,7 @@
package eacl
import (
cid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id"
cid "git.frostfs.info/mbiryukova/frostfs-sdk-go/container/id"
)
// Header is an interface of string key-value header.

2
go.mod
View file

@ -1,4 +1,4 @@
module git.frostfs.info/TrueCloudLab/frostfs-sdk-go
module git.frostfs.info/mbiryukova/frostfs-sdk-go
go 1.20

View file

@ -3,7 +3,7 @@ package netmap
import (
"testing"
cidtest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id/test"
cidtest "git.frostfs.info/mbiryukova/frostfs-sdk-go/container/id/test"
"github.com/stretchr/testify/require"
)

View file

@ -4,8 +4,8 @@ import (
"testing"
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"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/netmap"
netmaptest "git.frostfs.info/mbiryukova/frostfs-sdk-go/netmap/test"
"github.com/stretchr/testify/require"
)

View file

@ -5,7 +5,7 @@ import (
"testing"
"git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/netmap"
. "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/netmap"
. "git.frostfs.info/mbiryukova/frostfs-sdk-go/netmap"
"github.com/stretchr/testify/require"
)

View file

@ -8,8 +8,8 @@ import (
"strings"
"git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/netmap"
frostfscrypto "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/crypto"
"git.frostfs.info/TrueCloudLab/hrw"
frostfscrypto "git.frostfs.info/mbiryukova/frostfs-sdk-go/crypto"
)
// NodeInfo groups information about FrostFS storage node which is reflected

View file

@ -8,7 +8,7 @@ import (
"strings"
"git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/netmap"
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/netmap/parser"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/netmap/parser"
"github.com/antlr4-go/antlr/v4"
)

View file

@ -4,8 +4,8 @@ import (
"strings"
"testing"
. "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/netmap"
netmaptest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/netmap/test"
. "git.frostfs.info/mbiryukova/frostfs-sdk-go/netmap"
netmaptest "git.frostfs.info/mbiryukova/frostfs-sdk-go/netmap/test"
"github.com/stretchr/testify/require"
)

View file

@ -3,7 +3,7 @@ package netmaptest
import (
"math/rand"
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/netmap"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/netmap"
)
func filter(withInner bool) (x netmap.Filter) {

View file

@ -3,7 +3,7 @@ package ns
import (
"net"
cid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id"
cid "git.frostfs.info/mbiryukova/frostfs-sdk-go/container/id"
)
// DNS looks up FrostFS names using system DNS.

View file

@ -7,8 +7,8 @@ import (
"net/url"
"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"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/container"
cid "git.frostfs.info/mbiryukova/frostfs-sdk-go/container/id"
"github.com/nspcc-dev/neo-go/pkg/core/state"
"github.com/nspcc-dev/neo-go/pkg/encoding/address"
"github.com/nspcc-dev/neo-go/pkg/neorpc/result"

View file

@ -8,8 +8,8 @@ import (
"strings"
"testing"
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container"
cidtest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id/test"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/container"
cidtest "git.frostfs.info/mbiryukova/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"

View file

@ -4,7 +4,7 @@ import (
"errors"
"testing"
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/object"
"github.com/stretchr/testify/require"
)

View file

@ -8,9 +8,9 @@ import (
"fmt"
"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"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/checksum"
frostfscrypto "git.frostfs.info/mbiryukova/frostfs-sdk-go/crypto"
oid "git.frostfs.info/mbiryukova/frostfs-sdk-go/object/id"
)
var (

View file

@ -6,7 +6,7 @@ import (
"strings"
"git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs"
cid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id"
cid "git.frostfs.info/mbiryukova/frostfs-sdk-go/container/id"
)
// Address represents global object identifier in FrostFS network. Each object

View file

@ -4,9 +4,9 @@ import (
"testing"
"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"
cidtest "git.frostfs.info/mbiryukova/frostfs-sdk-go/container/id/test"
oid "git.frostfs.info/mbiryukova/frostfs-sdk-go/object/id"
oidtest "git.frostfs.info/mbiryukova/frostfs-sdk-go/object/id/test"
"github.com/stretchr/testify/require"
)

View file

@ -6,8 +6,8 @@ import (
"fmt"
"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"
frostfscrypto "git.frostfs.info/mbiryukova/frostfs-sdk-go/crypto"
frostfsecdsa "git.frostfs.info/mbiryukova/frostfs-sdk-go/crypto/ecdsa"
"github.com/mr-tron/base58"
)

View file

@ -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 "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/id/test"
import oidtest "git.frostfs.info/mbiryukova/frostfs-sdk-go/object/id/test"
value := oidtest.ID()
// test the value

View file

@ -4,8 +4,8 @@ import (
"crypto/sha256"
"math/rand"
cidtest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id/test"
oid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/id"
cidtest "git.frostfs.info/mbiryukova/frostfs-sdk-go/container/id/test"
oid "git.frostfs.info/mbiryukova/frostfs-sdk-go/object/id"
)
// ID returns random oid.ID.

View file

@ -3,7 +3,7 @@ package object
import (
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"
oid "git.frostfs.info/mbiryukova/frostfs-sdk-go/object/id"
)
// Lock represents record with locked objects. It is compatible with

View file

@ -3,8 +3,8 @@ package object_test
import (
"testing"
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object"
objecttest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/test"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/object"
objecttest "git.frostfs.info/mbiryukova/frostfs-sdk-go/object/test"
"github.com/stretchr/testify/require"
)

View file

@ -7,13 +7,13 @@ import (
"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"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/checksum"
cid "git.frostfs.info/mbiryukova/frostfs-sdk-go/container/id"
frostfscrypto "git.frostfs.info/mbiryukova/frostfs-sdk-go/crypto"
oid "git.frostfs.info/mbiryukova/frostfs-sdk-go/object/id"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/session"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/user"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/version"
)
// Object represents in-memory structure of the FrostFS object.

View file

@ -3,9 +3,9 @@ package object_test
import (
"testing"
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"
cidtest "git.frostfs.info/mbiryukova/frostfs-sdk-go/container/id/test"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/object"
usertest "git.frostfs.info/mbiryukova/frostfs-sdk-go/user/test"
"github.com/stretchr/testify/require"
)

View file

@ -6,12 +6,12 @@ import (
"testing"
"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"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/checksum"
cidtest "git.frostfs.info/mbiryukova/frostfs-sdk-go/container/id/test"
oid "git.frostfs.info/mbiryukova/frostfs-sdk-go/object/id"
sessiontest "git.frostfs.info/mbiryukova/frostfs-sdk-go/session/test"
usertest "git.frostfs.info/mbiryukova/frostfs-sdk-go/user/test"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/version"
"github.com/stretchr/testify/require"
)

View file

@ -5,11 +5,11 @@ import (
"errors"
"fmt"
"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"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/bearer"
cid "git.frostfs.info/mbiryukova/frostfs-sdk-go/container/id"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/object"
oid "git.frostfs.info/mbiryukova/frostfs-sdk-go/object/id"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/session"
)
// Tokens contains different tokens to perform requests in Relations implementations.

View file

@ -5,10 +5,10 @@ import (
"strconv"
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"
cid "git.frostfs.info/mbiryukova/frostfs-sdk-go/container/id"
oid "git.frostfs.info/mbiryukova/frostfs-sdk-go/object/id"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/user"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/version"
)
// SearchMatchType indicates match operation on specified header.

View file

@ -6,8 +6,8 @@ import (
"testing"
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"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/object"
oid "git.frostfs.info/mbiryukova/frostfs-sdk-go/object/id"
"github.com/stretchr/testify/require"
)

View file

@ -3,7 +3,7 @@ package object_test
import (
"testing"
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/object"
"github.com/google/uuid"
"github.com/stretchr/testify/require"
)

View file

@ -6,7 +6,7 @@ import (
"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"
oid "git.frostfs.info/mbiryukova/frostfs-sdk-go/object/id"
)
type SplitInfo object.SplitInfo

View file

@ -6,8 +6,8 @@ import (
"testing"
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"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/object"
oid "git.frostfs.info/mbiryukova/frostfs-sdk-go/object/id"
"github.com/stretchr/testify/require"
)

View file

@ -1,14 +1,14 @@
package objecttest
import (
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"
checksumtest "git.frostfs.info/mbiryukova/frostfs-sdk-go/checksum/test"
cidtest "git.frostfs.info/mbiryukova/frostfs-sdk-go/container/id/test"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/object"
oid "git.frostfs.info/mbiryukova/frostfs-sdk-go/object/id"
oidtest "git.frostfs.info/mbiryukova/frostfs-sdk-go/object/id/test"
sessiontest "git.frostfs.info/mbiryukova/frostfs-sdk-go/session/test"
usertest "git.frostfs.info/mbiryukova/frostfs-sdk-go/user/test"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/version"
"github.com/google/uuid"
)

View file

@ -3,7 +3,7 @@ package object
import (
"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"
oid "git.frostfs.info/mbiryukova/frostfs-sdk-go/object/id"
)
// Tombstone represents v2-compatible tombstone structure.

View file

@ -6,7 +6,7 @@ import (
"testing"
"git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/tombstone"
oid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/id"
oid "git.frostfs.info/mbiryukova/frostfs-sdk-go/object/id"
"github.com/stretchr/testify/require"
)

View file

@ -3,7 +3,7 @@ package transformer
import (
"context"
objectSDK "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object"
objectSDK "git.frostfs.info/mbiryukova/frostfs-sdk-go/object"
)
type chanTarget struct {

View file

@ -5,9 +5,9 @@ import (
"crypto/rand"
"testing"
cidtest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id/test"
objectSDK "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object"
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/version"
cidtest "git.frostfs.info/mbiryukova/frostfs-sdk-go/container/id/test"
objectSDK "git.frostfs.info/mbiryukova/frostfs-sdk-go/object"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/version"
"github.com/stretchr/testify/require"
)

View file

@ -4,9 +4,9 @@ import (
"crypto/sha256"
"hash"
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/checksum"
objectSDK "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object"
"git.frostfs.info/TrueCloudLab/tzhash/tz"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/checksum"
objectSDK "git.frostfs.info/mbiryukova/frostfs-sdk-go/object"
)
type payloadChecksumHasher struct {

View file

@ -6,12 +6,12 @@ import (
"crypto/sha256"
"fmt"
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/checksum"
"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/version"
"git.frostfs.info/TrueCloudLab/tzhash/tz"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/checksum"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/object"
oid "git.frostfs.info/mbiryukova/frostfs-sdk-go/object/id"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/session"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/version"
)
type payloadSizeLimiter struct {

View file

@ -6,11 +6,11 @@ import (
"crypto/sha256"
"testing"
cid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id"
cidtest "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id/test"
objectSDK "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object"
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/user"
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/version"
cid "git.frostfs.info/mbiryukova/frostfs-sdk-go/container/id"
cidtest "git.frostfs.info/mbiryukova/frostfs-sdk-go/container/id/test"
objectSDK "git.frostfs.info/mbiryukova/frostfs-sdk-go/object"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/user"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/version"
"github.com/nspcc-dev/neo-go/pkg/crypto/keys"
"github.com/stretchr/testify/require"
)

View file

@ -3,8 +3,8 @@ package transformer
import (
"context"
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object"
oid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/id"
"git.frostfs.info/mbiryukova/frostfs-sdk-go/object"
oid "git.frostfs.info/mbiryukova/frostfs-sdk-go/object/id"
)
// AccessIdentifiers represents group of the object identifiers

Some files were not shown because too many files have changed in this diff Show more