store

package
v1.20.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotSupported = errors.New("no storage adapter found")

Functions

This section is empty.

Types

type WalkerFactory added in v0.91.0

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

func NewFactory

func NewFactory(params params.AdapterConfig) *WalkerFactory

func (*WalkerFactory) GetWalker added in v0.91.0

func (f *WalkerFactory) GetWalker(ctx context.Context, opts WalkerOptions) (*WalkerWrapper, error)

type WalkerOptions

type WalkerOptions struct {
	S3EndpointURL  string
	StorageURI     string
	SkipOutOfOrder bool
}

type WalkerWrapper

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

func NewWrapper

func NewWrapper(walker block.Walker, uri *url.URL) *WalkerWrapper

func (*WalkerWrapper) GetSkippedEntries added in v0.98.0

func (ww *WalkerWrapper) GetSkippedEntries() []block.ObjectStoreEntry

func (*WalkerWrapper) Marker

func (ww *WalkerWrapper) Marker() block.Mark

func (*WalkerWrapper) Walk

func (ww *WalkerWrapper) Walk(ctx context.Context, opts block.WalkOptions, walkFn func(e block.ObjectStoreEntry) error) error

Jump to

Keyboard shortcuts

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