shard

package
v0.4.6 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Discover

func Discover(ctx context.Context, p provider.Provider, basePrefix string, cfg Config) ([]string, error)

Discover expands a base prefix into shard prefixes using delimiter listing.

Depth controls how many delimiter levels to expand.

Notes: - This is best-effort and does not attempt to estimate object counts. - When MaxShards > 0, the returned slice is truncated.

Types

type Config

type Config struct {
	Enabled         bool
	Depth           int
	MaxShards       int
	ListConcurrency int
	Delimiter       string
}

Jump to

Keyboard shortcuts

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