params

package
v0.101.1 Latest Latest
Warning

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

Go to latest
Published: May 21, 2023 License: Apache-2.0 Imports: 2 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdapterConfig

type AdapterConfig interface {
	BlockstoreType() string
	BlockstoreLocalParams() (Local, error)
	BlockstoreS3Params() (S3, error)
	BlockstoreGSParams() (GS, error)
	BlockstoreAzureParams() (Azure, error)
}

AdapterConfig configures a block adapter.

type Azure

type Azure struct {
	StorageAccount     string
	StorageAccessKey   string
	TryTimeout         time.Duration
	PreSignedExpiry    time.Duration
	DisablePreSigned   bool
	DisablePreSignedUI bool
	// TestEndpointURL - For testing purposes, provide a custom URL to override the default URL template
	TestEndpointURL string
}

type GS

type GS struct {
	CredentialsFile    string
	CredentialsJSON    string
	PreSignedExpiry    time.Duration
	DisablePreSigned   bool
	DisablePreSignedUI bool
}

type Local

type Local struct {
	Path                    string
	ImportEnabled           bool
	ImportHidden            bool
	AllowedExternalPrefixes []string
}

type Mem

type Mem struct{}

type S3

type S3 struct {
	AwsConfig                     *aws.Config
	StreamingChunkSize            int
	StreamingChunkTimeout         time.Duration
	DiscoverBucketRegion          bool
	SkipVerifyCertificateTestOnly bool
	ServerSideEncryption          string
	ServerSideEncryptionKmsKeyID  string
	PreSignedExpiry               time.Duration
	DisablePreSigned              bool
	DisablePreSignedUI            bool
}

Jump to

Keyboard shortcuts

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