tsourse

package
v0.47.0-rc.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2025 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Source

type Source struct {
	// contains filtered or unexported fields
}

Source represents wrapper over the object service that allows checking if a tombstone is available in FrostFS network.

Must be created via NewSource function. `var` and `Source{}` declarations leads to undefined behaviour and may lead to panics.

func NewSource

func NewSource(s *getsvc.Service, c func() container.Source) Source

NewSource creates, initialize and returns local tombstone Source. The returned structure is ready to use.

Panics if any of the provided options does not allow constructing a valid tombstone local Source.

func (Source) Tombstone

func (s Source) Tombstone(ctx context.Context, a oid.Address, _ uint64) (*objectSDK.Object, error)

Tombstone checks if the engine stores tombstone. Returns nil, nil if the tombstone has been removed or marked for removal.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL