blob_storage

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 20, 2025 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const AzureBlobStorageSourceIdentifier = "azure_blob_storage"

Variables

This section is empty.

Functions

This section is empty.

Types

type AzureBlobStorageSource

type AzureBlobStorageSource struct {
	artifact_source.ArtifactSourceImpl[*AzureBlobStorageSourceConfig, *config.AzureConnection]
	// contains filtered or unexported fields
}

AzureBlobStorageSource is a [ArtifactSource] implementation that reads artifacts from an Azure Blob Storage container

func (*AzureBlobStorageSource) Close

func (s *AzureBlobStorageSource) Close() error

func (*AzureBlobStorageSource) DiscoverArtifacts

func (s *AzureBlobStorageSource) DiscoverArtifacts(ctx context.Context) error

func (*AzureBlobStorageSource) DownloadArtifact

func (s *AzureBlobStorageSource) DownloadArtifact(ctx context.Context, info *types.ArtifactInfo) error

func (*AzureBlobStorageSource) Identifier

func (s *AzureBlobStorageSource) Identifier() string

func (*AzureBlobStorageSource) Init

type AzureBlobStorageSourceConfig

type AzureBlobStorageSourceConfig struct {
	artifact_source_config.ArtifactSourceConfigImpl

	// required to allow partial decoding
	Remain hcl.Body `hcl:",remain" json:"-"`

	AccountName string `hcl:"account_name"`
	Container   string `hcl:"container"`

	// TODO: determine if these are required
	Prefix *string `hcl:"prefix,optional"`
}

func (*AzureBlobStorageSourceConfig) Identifier

func (a *AzureBlobStorageSourceConfig) Identifier() string

func (*AzureBlobStorageSourceConfig) Validate

func (a *AzureBlobStorageSourceConfig) Validate() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL