Documentation
¶
Index ¶
- Constants
- func NewDownloadReader(ctx context.Context, params *DownloadParams, slice string, ...) (*blob.Reader, error)
- func NewSliceURL(params *UploadParams, slice string) string
- func NewUploadWriter(ctx context.Context, params *UploadParams, slice string, ...) (*blob.Writer, error)
- type ConnectionString
- type Credentials
- type DownloadParams
- type UploadParams
Constants ¶
View Source
const Provider = "azure"
Variables ¶
This section is empty.
Functions ¶
func NewDownloadReader ¶ added in v1.4.0
func NewDownloadReader(ctx context.Context, params *DownloadParams, slice string, transport http.RoundTripper) (*blob.Reader, error)
func NewSliceURL ¶
func NewSliceURL(params *UploadParams, slice string) string
func NewUploadWriter ¶
func NewUploadWriter(ctx context.Context, params *UploadParams, slice string, transport http.RoundTripper) (*blob.Writer, error)
Types ¶
type ConnectionString ¶
type ConnectionString struct { BlobEndpoint string }
func (*ConnectionString) ServiceURL ¶
func (cs *ConnectionString) ServiceURL() string
type Credentials ¶
type DownloadParams ¶ added in v1.4.0
type DownloadParams struct { Credentials Credentials `json:"absCredentials"` Path struct { BlobName string `json:"name"` Container string `json:"container"` } `json:"absPath"` }
func (*DownloadParams) DestinationURL ¶ added in v1.6.0
func (p *DownloadParams) DestinationURL() (string, error)
type UploadParams ¶
type UploadParams struct { BlobName string `json:"blobName"` AccountName string `json:"accountName"` Container string `json:"container"` Credentials Credentials `json:"absCredentials"` }
Click to show internal directories.
Click to hide internal directories.