Documentation ¶
Index ¶
- type Storage
- func (s *Storage) Close() error
- func (s *Storage) EnumerateBlobs(ctx context.Context, dest chan<- blob.SizedRef, after string) error
- func (s *Storage) FetchBlob(context.Context, blob.Ref) (blob io.ReadCloser, size uint32, err error)
- func (s *Storage) ReceiveBlob(ctx context.Context, br, fl blob.Ref, source io.Reader) (blob.SizedRef, error)
- func (s *Storage) RemoveBlobs(ctx context.Context, blobs []blob.Ref) error
- func (s *Storage) ResetStorageGeneration() error
- func (s *Storage) StatBlobs(ctx context.Context, blobs []blob.Ref, fn func(blob.SizedRef) error) error
- func (s *Storage) StorageGeneration() (initTime time.Time, random string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
type Storage struct { }
func (*Storage) EnumerateBlobs ¶
func (*Storage) ReceiveBlob ¶
func (*Storage) RemoveBlobs ¶
func (*Storage) ResetStorageGeneration ¶
Click to show internal directories.
Click to hide internal directories.