Documentation ¶
Index ¶
- func DeleteBlob(containerClient *container.Client, blobName string, allowNonExistent bool) error
- func DownloadFile(containerClient *container.Client, blobName, path string) error
- func PutDirectory(containerClient *container.Client, blobName, path string) error
- func PutFile(containerClient *container.Client, blobName, path string) error
- type ArtifactDriver
- func (azblobDriver *ArtifactDriver) Delete(artifact *wfv1.Artifact) error
- func (azblobDriver *ArtifactDriver) DownloadDirectory(containerClient *container.Client, artifact *wfv1.Artifact, path string) error
- func (azblobDriver *ArtifactDriver) IsDirectory(artifact *wfv1.Artifact) (bool, error)
- func (azblobDriver *ArtifactDriver) ListObjects(artifact *wfv1.Artifact) ([]string, error)
- func (azblobDriver *ArtifactDriver) Load(artifact *wfv1.Artifact, path string) error
- func (azblobDriver *ArtifactDriver) OpenStream(artifact *wfv1.Artifact) (io.ReadCloser, error)
- func (azblobDriver *ArtifactDriver) Save(path string, outputArtifact *wfv1.Artifact) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteBlob ¶
func DownloadFile ¶
DownloadFile downloads a single file from Azure Blob Storage
func PutDirectory ¶
PutDirectory uploads all files in a directory to Azure Blob Storage
Types ¶
type ArtifactDriver ¶
ArtifactDriver is a driver for Azure Blob Storage
func (*ArtifactDriver) Delete ¶
func (azblobDriver *ArtifactDriver) Delete(artifact *wfv1.Artifact) error
Delete deletes an artifact from a Azure Blob Storage
func (*ArtifactDriver) DownloadDirectory ¶
func (azblobDriver *ArtifactDriver) DownloadDirectory(containerClient *container.Client, artifact *wfv1.Artifact, path string) error
DownloadDirectory downloads all of the files starting with the named blob prefix into a local directory.
func (*ArtifactDriver) IsDirectory ¶
func (azblobDriver *ArtifactDriver) IsDirectory(artifact *wfv1.Artifact) (bool, error)
IsDirectory indicates whether or not the artifact represents a directory or a single file.
func (*ArtifactDriver) ListObjects ¶
func (azblobDriver *ArtifactDriver) ListObjects(artifact *wfv1.Artifact) ([]string, error)
ListObjects lists the files in Azure Blob Storage
func (*ArtifactDriver) Load ¶
func (azblobDriver *ArtifactDriver) Load(artifact *wfv1.Artifact, path string) error
Load downloads artifacts from Azure Blob Storage
func (*ArtifactDriver) OpenStream ¶
func (azblobDriver *ArtifactDriver) OpenStream(artifact *wfv1.Artifact) (io.ReadCloser, error)
OpenStream opens a stream reader for an artifact from Azure Blob Storage
Click to show internal directories.
Click to hide internal directories.