Documentation ¶
Index ¶
- Constants
- type AzureBlobStorage
- func (azureBlob *AzureBlobStorage) Delete(path string) error
- func (azureBlob *AzureBlobStorage) Get(path string) (io.ReadCloser, error)
- func (azureBlob *AzureBlobStorage) List(prefix string, maxSize int) ([]string, error)
- func (azureBlob *AzureBlobStorage) Lock(path string) error
- func (azureBlob *AzureBlobStorage) Put(path string, data []byte) error
- func (azureBlob *AzureBlobStorage) PutReader(path string, reader io.Reader) error
- func (azureBlob *AzureBlobStorage) Unlock(path string) error
- type AzureMock
Constants ¶
View Source
const MAX_BLOCK_SIZE = 1024 * 1024 * 4 // 4MB
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzureBlobStorage ¶
type AzureBlobStorage struct {
// contains filtered or unexported fields
}
func NewAzureBlobStorage ¶
func (*AzureBlobStorage) Delete ¶
func (azureBlob *AzureBlobStorage) Delete(path string) error
func (*AzureBlobStorage) Get ¶
func (azureBlob *AzureBlobStorage) Get(path string) (io.ReadCloser, error)
func (*AzureBlobStorage) List ¶
func (azureBlob *AzureBlobStorage) List(prefix string, maxSize int) ([]string, error)
func (*AzureBlobStorage) Lock ¶
func (azureBlob *AzureBlobStorage) Lock(path string) error
Lock is not implemented
func (*AzureBlobStorage) Put ¶
func (azureBlob *AzureBlobStorage) Put(path string, data []byte) error
func (*AzureBlobStorage) PutReader ¶
func (azureBlob *AzureBlobStorage) PutReader(path string, reader io.Reader) error
func (*AzureBlobStorage) Unlock ¶
func (azureBlob *AzureBlobStorage) Unlock(path string) error
Unlock is not implemented
Click to show internal directories.
Click to hide internal directories.