forked from TrueCloudLab/frostfs-node
[#431] object/search: Remove no longer used unexported methods
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
7366d62e41
commit
969af596b4
1 changed files with 0 additions and 18 deletions
|
@ -2,13 +2,10 @@ package searchsvc
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"crypto/ecdsa"
|
|
||||||
|
|
||||||
"github.com/nspcc-dev/neofs-api-go/pkg/client"
|
|
||||||
"github.com/nspcc-dev/neofs-api-go/pkg/container"
|
"github.com/nspcc-dev/neofs-api-go/pkg/container"
|
||||||
objectSDK "github.com/nspcc-dev/neofs-api-go/pkg/object"
|
objectSDK "github.com/nspcc-dev/neofs-api-go/pkg/object"
|
||||||
"github.com/nspcc-dev/neofs-node/pkg/network"
|
"github.com/nspcc-dev/neofs-node/pkg/network"
|
||||||
"github.com/nspcc-dev/neofs-node/pkg/services/object/util"
|
|
||||||
"github.com/nspcc-dev/neofs-node/pkg/services/object_manager/placement"
|
"github.com/nspcc-dev/neofs-node/pkg/services/object_manager/placement"
|
||||||
"github.com/nspcc-dev/neofs-node/pkg/util/logger"
|
"github.com/nspcc-dev/neofs-node/pkg/util/logger"
|
||||||
"go.uber.org/zap"
|
"go.uber.org/zap"
|
||||||
|
@ -62,21 +59,6 @@ func (exec execCtx) isLocal() bool {
|
||||||
return exec.prm.common.LocalOnly()
|
return exec.prm.common.LocalOnly()
|
||||||
}
|
}
|
||||||
|
|
||||||
func (exec execCtx) key() *ecdsa.PrivateKey {
|
|
||||||
return exec.prm.common.PrivateKey()
|
|
||||||
}
|
|
||||||
|
|
||||||
func (exec execCtx) callOptions() []client.CallOption {
|
|
||||||
return exec.prm.common.RemoteCallOptions(
|
|
||||||
util.WithNetmapEpoch(exec.curProcEpoch),
|
|
||||||
util.WithKey(exec.key()),
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (exec execCtx) remotePrm() *client.SearchObjectParams {
|
|
||||||
return &exec.prm.SearchObjectParams
|
|
||||||
}
|
|
||||||
|
|
||||||
func (exec *execCtx) containerID() *container.ID {
|
func (exec *execCtx) containerID() *container.ID {
|
||||||
return exec.prm.ContainerID()
|
return exec.prm.ContainerID()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue