Documentation
¶
Index ¶
- type Config
- type Storage
- func (s *Storage) BeginBlob(ctx context.Context) (storage.BlobWriter, error)
- func (s *Storage) Close() error
- func (s *Storage) DeletePin(ctx context.Context, name string) error
- func (s *Storage) FetchBlob(ctx context.Context, ref types.Ref) (io.ReadCloser, uint64, error)
- func (s *Storage) GetPin(ctx context.Context, name string) (types.Ref, error)
- func (s *Storage) IterateBlobs(ctx context.Context) storage.Iterator
- func (s *Storage) IteratePins(ctx context.Context) storage.PinIterator
- func (s *Storage) SetPin(ctx context.Context, name string, ref types.Ref) error
- func (s *Storage) StatBlob(ctx context.Context, ref types.Ref) (uint64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Bucket string `json:"bucket"`
}
func (*Config) OpenStorage ¶
func (*Config) References ¶
Click to show internal directories.
Click to hide internal directories.