Documentation ¶
Overview ¶
Code generated by go generate via internal/cmd/meta; DO NOT EDIT.
Index ¶
- Constants
- type Service
- func (s Service) Create(name string, pairs ...*types.Pair) (storage.Storager, error)
- func (s Service) Delete(name string, pairs ...*types.Pair) (err error)
- func (s Service) Get(name string, pairs ...*types.Pair) (storage.Storager, error)
- func (s Service) List(pairs ...*types.Pair) (err error)
- func (s Service) String() string
- type Storage
- func (s Storage) Delete(path string, pairs ...*types.Pair) (err error)
- func (s Storage) Init(pairs ...*types.Pair) (err error)
- func (s Storage) ListDir(path string, pairs ...*types.Pair) (err error)
- func (s Storage) Metadata() (m metadata.Storage, err error)
- func (s Storage) Read(path string, pairs ...*types.Pair) (r io.ReadCloser, err error)
- func (s Storage) Stat(path string, pairs ...*types.Pair) (o *types.Object, err error)
- func (s Storage) String() string
- func (s Storage) Write(path string, r io.Reader, pairs ...*types.Pair) (err error)
Constants ¶
View Source
const Type = "azblob"
Type is the type for azblob
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service is the azblob config.
func New ¶
New will create a new azblob oss service.
azblob use different URL to represent different sub services. - ServiceURL's methods perform operations on a storage account.
- ContainerURL's methods perform operations on an account's container.
- BlockBlobURL's methods perform operations on a container's block blob.
- AppendBlobURL's methods perform operations on a container's append blob.
- PageBlobURL's methods perform operations on a container's page blob.
- BlobURL's methods perform operations on a container's blob regardless of the blob's type.
Our Service will store a ServiceURL for operation.
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
Storage is the azblob service client.
Click to show internal directories.
Click to hide internal directories.