factory

package
v0.82.0 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidBlockStoreType  = errors.New("invalid blockstore type")
	ErrAuthMethodNotSupported = errors.New("authentication method not supported")
)

Functions

func BuildAzureClient added in v0.65.0

func BuildAzureClient(params params.Azure) (pipeline.Pipeline, error)

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