params

package
v0.67.0 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdapterConfig

type AdapterConfig interface {
	GetBlockstoreType() string
	GetBlockAdapterLocalParams() (Local, error)
	GetBlockAdapterS3Params() (S3, error)
	GetBlockAdapterGSParams() (GS, error)
	GetBlockAdapterAzureParams() (Azure, error)
}

AdapterConfig configures a block adapter.

type Azure

type Azure struct {
	StorageAccount   string
	StorageAccessKey string
	AuthMethod       string
	TryTimeout       time.Duration
}

type GS

type GS struct {
	CredentialsFile string
	CredentialsJSON string
}

type Local

type Local struct {
	Path string
}

type Mem

type Mem struct{}

type S3

type S3 struct {
	AwsConfig             *aws.Config
	StreamingChunkSize    int
	StreamingChunkTimeout time.Duration
	DiscoverBucketRegion  bool
}

Jump to

Keyboard shortcuts

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