Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientConstructor ¶ added in v0.18.0
type ClientConstructor interface {
Get(network.AddressGroup) (client.Client, error)
}
type IDListWriter ¶ added in v0.13.0
IDListWriter is an interface of target component to write list of object identifiers.
type Option ¶
type Option func(*cfg)
Option is a Service's constructor option.
func WithClientConstructor ¶ added in v0.18.0
func WithClientConstructor(v ClientConstructor) Option
WithClientConstructor returns option to set constructor of remote node clients.
func WithLocalStorageEngine ¶ added in v0.13.0
func WithLocalStorageEngine(e *engine.StorageEngine) Option
WithLocalStorageEngine returns option to set local storage instance.
func WithLogger ¶ added in v0.12.1
WithLogger returns option to specify Get service's logger.
func WithNetMapSource ¶ added in v0.14.1
WithNetMapSource returns option to set network map storage to receive current network state.
func WithTraverserGenerator ¶ added in v0.13.0
func WithTraverserGenerator(t *util.TraverserGenerator) Option
WithTraverserGenerator returns option to set generator of placement traverser to get the objects from containers.
type Prm ¶
type Prm struct { client.SearchObjectParams // contains filtered or unexported fields }
Prm groups parameters of Get service call.
func (*Prm) SetCommonParameters ¶ added in v0.13.0
SetCommonParameters sets common parameters of the operation.
func (*Prm) SetRequestForwarder ¶ added in v0.19.0
func (p *Prm) SetRequestForwarder(f RequestForwarder)
SetRequestForwarder sets callback for forwarding of the original request.
func (*Prm) SetWriter ¶ added in v0.13.0
func (p *Prm) SetWriter(w IDListWriter)
SetWriter sets target component to write list of object identifiers.
type RequestForwarder ¶ added in v0.19.0
type RequestForwarder func(network.AddressGroup, coreclient.Client) ([]*objectSDK.ID, error)
RequestForwarder is a callback for forwarding of the original Search requests.