blobstore

package
v0.0.0-...-b258b02 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlobStore

type BlobStore interface {
	Put(path string, reader io.Reader, objectSize int64) error
	Get(path string) (io.Reader, error)
	Delete(path string) error
	IsNotExist(error) bool
}

BlobStore defines the interface to access the storage layer

func NewMinioClient

func NewMinioClient(url string, bucketName string, accessKey string, secretKey string) (BlobStore, error)

NewMinioClient creates a MinioClient

Jump to

Keyboard shortcuts

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