Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NetworkInfo ¶ added in v0.16.0
type NetworkInfo interface { netmap.State // Must return the lifespan of the tombstones // in the NeoFS epochs. TombstoneLifetime() (uint64, error) // Returns user ID of the local storage node. Result must not be nil. // New tombstone objects will have the result as an owner ID if removal is executed w/o a session. LocalNodeID() *owner.ID }
NetworkInfo wraps network state and configurations.
type Option ¶
type Option func(*cfg)
Option is a Service's constructor option.
func WithHeadService ¶ added in v0.13.0
WithHeadService returns option to set Head service to work with object headers.
func WithLogger ¶ added in v0.12.1
WithLogger returns option to specify Delete service's logger.
func WithNetworkInfo ¶ added in v0.16.0
func WithNetworkInfo(netInfo NetworkInfo) Option
WithNetworkInfo returns option to set network information source.
func WithPutService ¶
WithPutService returns option to specify put service.
func WithSearchService ¶ added in v0.13.0
WithSearchService returns option to set search service.
type Prm ¶
type Prm struct {
// contains filtered or unexported fields
}
Prm groups parameters of Delete service call.
func (*Prm) SetCommonParameters ¶ added in v0.13.0
SetCommonParameters sets common parameters of the operation.
func (*Prm) WithAddress ¶
WithAddress sets address of the object to be removed.
func (*Prm) WithTombstoneAddressTarget ¶ added in v0.27.0
func (p *Prm) WithTombstoneAddressTarget(w TombstoneAddressWriter)
WithTombstoneAddressTarget sets tombstone address destination.
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service utility serving requests of Object.Get service.
type TombstoneAddressWriter ¶ added in v0.27.0
TombstoneAddressWriter is an interface of tombstone address setter.