blobfs

package module
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2020 License: Apache-2.0 Imports: 6 Imported by: 19

README

blobfs

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlobFS

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

func New

func New(storageURL string) *BlobFS

func NewInMemoryFS added in v0.1.4

func NewInMemoryFS() *BlobFS

func (*BlobFS) Exists

func (fs *BlobFS) Exists(ctx context.Context, filepath string) (bool, error)

func (*BlobFS) ReadFile

func (fs *BlobFS) ReadFile(ctx context.Context, filepath string) ([]byte, error)

func (*BlobFS) SignedURL

func (fs *BlobFS) SignedURL(ctx context.Context, filepath string, opts *blob.SignedURLOptions) (string, error)

func (*BlobFS) WriteFile

func (fs *BlobFS) WriteFile(ctx context.Context, filepath string, data []byte) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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