storagedriver

package
v0.0.0-...-4bd9991 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type S3StorageDriverParams

type S3StorageDriverParams struct {
	Region string
	Bucket string
}

type StorageDriver

type StorageDriver interface {
	GetLocalStorageLocation() string
	UploadTar(string) error
}

func NewStorageDriver

func NewStorageDriver(params StorageDriverParams) (StorageDriver, error)

type StorageDriverParams

type StorageDriverParams struct {
	LocalStorageLocation  string
	S3StorageDriverParams *S3StorageDriverParams
	Logger                zap.Logger
}

Jump to

Keyboard shortcuts

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