storage

package
v0.0.0-...-ee94258 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudStorage

type CloudStorage interface {
	Put(path string, reader *io.ReadSeeker) error
	Get(path string, writer *io.WriteSeeker) error
}

type S3CloudStorage

type S3CloudStorage struct {
	// contains filtered or unexported fields
}

func (S3CloudStorage) Get

func (cloud S3CloudStorage) Get(path string, writer io.WriterAt) error

func (S3CloudStorage) GetKey

func (cloud S3CloudStorage) GetKey(path string) string

func (S3CloudStorage) Put

func (cloud S3CloudStorage) Put(path string, reader io.Reader) error

func (S3CloudStorage) Setup

func (cloud S3CloudStorage) Setup(bucket string, prefix string, test string, client string, secret string, endpointURL string, region string) error

Jump to

Keyboard shortcuts

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