gcs

package
v1.3.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2022 License: AGPL-3.0 Imports: 21 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

New gets the S3 backend

func NewNoConfirm added in v1.3.0

NewNoConfirm gets the GCS backend without testing it

Types

type Config

type Config struct {
	BucketName        string        `yaml:"bucket_name"`
	ChunkBufferSize   int           `yaml:"chunk_buffer_size"`
	Endpoint          string        `yaml:"endpoint"`
	Insecure          bool          `yaml:"insecure"`
	HedgeRequestsAt   time.Duration `yaml:"hedge_requests_at"`
	HedgeRequestsUpTo int           `yaml:"hedge_requests_up_to"`
}

Jump to

Keyboard shortcuts

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