Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsAzureURL ¶
IsAzureURL checks if a string is an Azure Blob URL
Types ¶
type AzureHandler ¶
type AzureHandler struct {
// contains filtered or unexported fields
}
AzureHandler handles downloading files from Azure Blob Storage
func NewAzureHandler ¶
func NewAzureHandler() *AzureHandler
NewAzureHandler creates a new Azure handler
func (*AzureHandler) Cleanup ¶
func (h *AzureHandler) Cleanup() error
Cleanup removes all downloaded temp files
func (*AzureHandler) ResolveFiles ¶
func (h *AzureHandler) ResolveFiles(filePaths []string) ([]string, error)
ResolveFiles resolves Azure Blob URLs to local temp files Returns the modified file paths with Azure URLs replaced by local paths
type AzureLocation ¶
AzureLocation represents a parsed Azure Blob URL
func ParseAzureURL ¶
func ParseAzureURL(azureURL string) (*AzureLocation, error)
ParseAzureURL parses an Azure Blob URL into account, container and blob
Click to show internal directories.
Click to hide internal directories.