nopblob

package
v0.0.0-...-90deddd Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bucket

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

Bucket implements blob.Bucket.

func (*Bucket) Copy

func (b *Bucket) Copy(ctx context.Context, src, dst, contentHash string) error

func (*Bucket) CopyFrom

func (b *Bucket) CopyFrom(ctx context.Context, srcBucket blob.Bucket, src, dst string) error

func (*Bucket) Delete

func (b *Bucket) Delete(ctx context.Context, keys ...string) error

func (*Bucket) Download

func (b *Bucket) Download(ctx context.Context, key, etag string, size int64, w io.WriterAt) (int64, error)

func (*Bucket) File

func (b *Bucket) File(ctx context.Context, key string) (reflow.File, error)

func (*Bucket) Get

func (b *Bucket) Get(ctx context.Context, key, etag string) (io.ReadCloser, reflow.File, error)

func (*Bucket) Location

func (b *Bucket) Location() string

func (*Bucket) Put

func (b *Bucket) Put(ctx context.Context, key string, size int64, body io.Reader, contentHash string) error

func (*Bucket) Scan

func (b *Bucket) Scan(prefix string, withMetadata bool) blob.Scanner

func (*Bucket) Snapshot

func (b *Bucket) Snapshot(ctx context.Context, prefix string) (reflow.Fileset, error)

type Store

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

Store implements blob.Store.

func NewStore

func NewStore() *Store

func (*Store) Bucket

func (s *Store) Bucket(ctx context.Context, bucket string) (blob.Bucket, error)

Jump to

Keyboard shortcuts

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