Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzureBlobRef ¶
type AzureBlobRef struct { // StorageBase describes the storage endpoint for the blob (without "blob." prefix) // e.g. "core.windows.net" StorageBase string // Container is the container name for the blob Container string // Blob is the name for the blob (i.e. the rest of the URL after container name) and // may contain slashes (/). e.g. "a.txt", "a/b.txt" Blob string // Scheme contains http or https Scheme string }
AzureBlobRef contains information parsed from an Azure Blob Storage URL.
func ParseBlobURL ¶
func ParseBlobURL(blobURL string) (v AzureBlobRef, err error)
ParseBlobURL recognizes a given Azure Blob Storage URL and extracts the information of the blob such as storage API endpoint, container and blob name, or returns error if the URL is unrecognized.
Click to show internal directories.
Click to hide internal directories.