local

package
v0.0.0-...-8c2001a Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NativeBlob

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

func (*NativeBlob) AddBlob

func (n *NativeBlob) AddBlob(ctx context.Context, tenant, folder string, file string, contents []byte) error

func (*NativeBlob) AddBlobStreaming

func (n *NativeBlob) AddBlobStreaming(ctx context.Context, tenant string, folder string, file string, contents io.ReadCloser) error

func (*NativeBlob) AddFolder

func (n *NativeBlob) AddFolder(ctx context.Context, tenant, folder string) error

func (*NativeBlob) CheckPreSignedReadToken

func (n *NativeBlob) CheckPreSignedReadToken(ctx context.Context, tenant string, token string) error

func (*NativeBlob) DeleteBlob

func (n *NativeBlob) DeleteBlob(ctx context.Context, tenant, folder string, file string) error

func (*NativeBlob) FolderPath

func (n *NativeBlob) FolderPath(tenant, folder string) string

func (*NativeBlob) GetBlob

func (n *NativeBlob) GetBlob(ctx context.Context, tenant, folder string, file string) ([]byte, error)

func (*NativeBlob) GetPreSignedReadToken

func (n *NativeBlob) GetPreSignedReadToken(ctx context.Context, tenant, folder string, file string) (string, error)

func (*NativeBlob) GetPreSignedWriteToken

func (n *NativeBlob) GetPreSignedWriteToken(ctx context.Context, tenant, folder string, file string) (string, error)

func (*NativeBlob) InitilizeTenent

func (n *NativeBlob) InitilizeTenent(tenant string, folders []string) error

func (*NativeBlob) ListFolderBlobs

func (n *NativeBlob) ListFolderBlobs(ctx context.Context, tenant, folder string) ([]*store.BlobInfo, error)

func (*NativeBlob) ListRoot

func (n *NativeBlob) ListRoot(ctx context.Context, tenant string) ([]string, error)

Jump to

Keyboard shortcuts

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