Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NetworkInfo ¶
type NetworkInfo interface { netmap.State // TombstoneLifetime must return the lifespan of the tombstones // in the FrostFS epochs. TombstoneLifetime() (uint64, error) // LocalNodeID 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() user.ID }
NetworkInfo wraps network state and configurations.
type Option ¶
type Option func(*cfg)
Option is a Service's constructor option.
func WithLogger ¶
WithLogger returns option to specify Delete service's logger.
type Prm ¶
type Prm struct {
// contains filtered or unexported fields
}
Prm groups parameters of Delete service call.
func (*Prm) SetCommonParameters ¶
SetCommonParameters sets common parameters of the operation.
func (*Prm) WithAddress ¶
WithAddress sets address of the object to be removed.
func (*Prm) WithTombstoneAddressTarget ¶
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 ¶
TombstoneAddressWriter is an interface of tombstone address setter.
Click to show internal directories.
Click to hide internal directories.