factory

package
v0.96.0 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidBlockstoreType = errors.New("invalid blockstore type")

Functions

func BuildBlockAdapter

func BuildBlockAdapter(ctx context.Context, statsCollector stats.Collector, c params.AdapterConfig) (block.Adapter, error)

func BuildGSClient added in v0.65.0

func BuildGSClient(ctx context.Context, params params.GS) (*storage.Client, error)

func BuildS3Client added in v0.65.0

func BuildS3Client(params *aws.Config, skipVerifyCertificateTestOnly bool) (*session.Session, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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