Documentation
¶
Index ¶
- type BlockBlobCache
- type OpenFileCache
- type ReaderAtCloser
- type StagedBlobUploader
- func (u *StagedBlobUploader) Delete(key string) error
- func (u *StagedBlobUploader) Get(key string) (cloud.GetReader, error)
- func (u *StagedBlobUploader) List() ([]string, error)
- func (u *StagedBlobUploader) Put(key string) (cloud.PutWriter, error)
- func (u *StagedBlobUploader) Size(key string) (int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockBlobCache ¶
type BlockBlobCache struct {
// contains filtered or unexported fields
}
func NewBlockBlobCache ¶
func (*BlockBlobCache) Delete ¶
func (c *BlockBlobCache) Delete(key string) error
func (*BlockBlobCache) List ¶
func (c *BlockBlobCache) List() ([]string, error)
type OpenFileCache ¶
type OpenFileCache struct {
// contains filtered or unexported fields
}
func NewOpenFileCache ¶
func NewOpenFileCache(maxEntries int) *OpenFileCache
func (*OpenFileCache) Open ¶
func (c *OpenFileCache) Open(name string) (ReaderAtCloser, error)
func (*OpenFileCache) Remove ¶
func (c *OpenFileCache) Remove(name string)
type StagedBlobUploader ¶
type StagedBlobUploader struct {
// contains filtered or unexported fields
}
func NewStagedBlobUploader ¶
func NewStagedBlobUploader(bs cloud.BlobStore, dir string) (*StagedBlobUploader, error)
func (*StagedBlobUploader) Delete ¶
func (u *StagedBlobUploader) Delete(key string) error
func (*StagedBlobUploader) Get ¶
func (u *StagedBlobUploader) Get(key string) (cloud.GetReader, error)
func (*StagedBlobUploader) List ¶
func (u *StagedBlobUploader) List() ([]string, error)
Click to show internal directories.
Click to hide internal directories.