Versions in this module Expand all Collapse all v0 v0.28.0 Aug 12, 2024 Changes in this version + type AccessLevel string + var Blob AccessLevel = "blob" + var Container AccessLevel = "container" + var Private AccessLevel = "" + type AcquireLeaseInput struct + LeaseDuration int + ProposedLeaseID string + type AcquireLeaseModel struct + LeaseID string + type AcquireLeaseResponse struct + HttpResponse *http.Response + type BlobDetails struct + Deleted bool + MetaData map[string]interface{} + Name string + Properties *BlobProperties + Snapshot *string + type BlobPrefix struct + Name string + type BlobProperties struct + AccessTier *string + AccessTierChangeTime *string + AccessTierInferred *bool + BlobSequenceNumber *string + BlobType *string + CacheControl *string + ContentEncoding *string + ContentLanguage *string + ContentLength *int64 + ContentMD5 *string + ContentType *string + CopyCompletionTime *string + CopyId *string + CopyProgress *string + CopySource *string + CopyStatus *string + CopyStatusDescription *string + CreationTime *string + DeletedTime *string + ETag *string + IncrementalCopy *bool + LastModified *string + LeaseDuration *string + LeaseState *string + LeaseStatus *string + RemainingRetentionDays *string + ServerEncrypted *bool + type Blobs struct + BlobPrefix *BlobPrefix + Blobs []BlobDetails + type BreakLeaseInput struct + BreakPeriod *int + LeaseID string + type BreakLeaseModel struct + LeaseTime int + type BreakLeaseResponse struct + HttpResponse *http.Response + type ChangeLeaseInput struct + ExistingLeaseID string + ProposedLeaseID string + type ChangeLeaseModel struct + LeaseID string + type ChangeLeaseResponse struct + HttpResponse *http.Response + type Client struct + Client *storage.Client + func NewWithBaseUri(baseUri string) (*Client, error) + func (c Client) AcquireLease(ctx context.Context, containerName string, input AcquireLeaseInput) (result AcquireLeaseResponse, err error) + func (c Client) BreakLease(ctx context.Context, containerName string, input BreakLeaseInput) (result BreakLeaseResponse, err error) + func (c Client) ChangeLease(ctx context.Context, containerName string, input ChangeLeaseInput) (result ChangeLeaseResponse, err error) + func (c Client) Create(ctx context.Context, containerName string, input CreateInput) (result CreateResponse, err error) + func (c Client) Delete(ctx context.Context, containerName string) (result DeleteResponse, err error) + func (c Client) GetProperties(ctx context.Context, containerName string, input GetPropertiesInput) (result GetPropertiesResponse, err error) + func (c Client) GetResourceManagerResourceID(subscriptionID, resourceGroup, accountName, containerName string) string + func (c Client) ListBlobs(ctx context.Context, containerName string, input ListBlobsInput) (result ListBlobsResponse, err error) + func (c Client) ReleaseLease(ctx context.Context, containerName string, input ReleaseLeaseInput) (result ReleaseLeaseResponse, err error) + func (c Client) RenewLease(ctx context.Context, containerName string, input RenewLeaseInput) (result RenewLeaseResponse, err error) + func (c Client) SetAccessControl(ctx context.Context, containerName string, input SetAccessControlInput) (result SetAccessControlResponse, err error) + func (c Client) SetMetaData(ctx context.Context, containerName string, input SetMetaDataInput) (result SetMetaDataResponse, err error) + type ContainerId struct + AccountId accounts.AccountId + ContainerName string + func NewContainerID(accountId accounts.AccountId, containerName string) ContainerId + func ParseContainerID(input, domainSuffix string) (*ContainerId, error) + func (b ContainerId) ID() string + func (b ContainerId) String() string + type ContainerProperties struct + AccessLevel AccessLevel + DefaultEncryptionScope string + EncryptionScopeOverrideDisabled bool + HasImmutabilityPolicy bool + HasLegalHold bool + LeaseDuration *LeaseDuration + LeaseState LeaseState + LeaseStatus LeaseStatus + MetaData map[string]string + type CreateInput struct + AccessLevel AccessLevel + DefaultEncryptionScope string + EncryptionScopeOverrideDisabled bool + MetaData map[string]string + type CreateResponse struct + HttpResponse *http.Response + type Dataset string + var Copy Dataset = "copy" + var Deleted Dataset = "deleted" + var MetaData Dataset = "metadata" + var Snapshots Dataset = "snapshots" + var UncommittedBlobs Dataset = "uncommittedblobs" + type DeleteResponse struct + HttpResponse *http.Response + type ErrorResponse struct + Code *string + Message *string + XMLName xml.Name + type GetPropertiesInput struct + LeaseId string + type GetPropertiesResponse struct + HttpResponse *http.Response + type LeaseDuration string + var Fixed LeaseDuration = "fixed" + var Infinite LeaseDuration = "infinite" + type LeaseState string + var Available LeaseState = "available" + var Breaking LeaseState = "breaking" + var Broken LeaseState = "broken" + var Expired LeaseState = "expired" + var Leased LeaseState = "leased" + type LeaseStatus string + var Locked LeaseStatus = "locked" + var Unlocked LeaseStatus = "unlocked" + type ListBlobsInput struct + Delimiter *string + Include *[]Dataset + Marker *string + MaxResults *int + Prefix *string + type ListBlobsResponse struct + HttpResponse *http.Response + type ListBlobsResult struct + Blobs Blobs + Delimiter string + Marker string + MaxResults int + NextMarker *string + Prefix string + type ReleaseLeaseInput struct + LeaseId string + type ReleaseLeaseResponse struct + HttpResponse *http.Response + type RenewLeaseInput struct + LeaseId string + type RenewLeaseResponse struct + HttpResponse *http.Response + type SetAccessControlInput struct + AccessLevel AccessLevel + LeaseId string + type SetAccessControlResponse struct + HttpResponse *http.Response + type SetMetaDataInput struct + LeaseId string + MetaData map[string]string + type SetMetaDataResponse struct + HttpResponse *http.Response + type StorageContainer interface + AcquireLease func(ctx context.Context, containerName string, input AcquireLeaseInput) (AcquireLeaseResponse, error) + BreakLease func(ctx context.Context, containerName string, input BreakLeaseInput) (BreakLeaseResponse, error) + ChangeLease func(ctx context.Context, containerName string, input ChangeLeaseInput) (ChangeLeaseResponse, error) + Create func(ctx context.Context, containerName string, input CreateInput) (CreateResponse, error) + Delete func(ctx context.Context, containerName string) (DeleteResponse, error) + GetProperties func(ctx context.Context, containerName string, input GetPropertiesInput) (GetPropertiesResponse, error) + GetResourceManagerResourceID func(subscriptionID, resourceGroup, accountName, containerName string) string + ListBlobs func(ctx context.Context, containerName string, input ListBlobsInput) (ListBlobsResponse, error) + ReleaseLease func(ctx context.Context, containerName string, input ReleaseLeaseInput) (ReleaseLeaseResponse, error) + RenewLease func(ctx context.Context, containerName string, input RenewLeaseInput) (RenewLeaseResponse, error) + SetAccessControl func(ctx context.Context, containerName string, input SetAccessControlInput) (SetAccessControlResponse, error) + SetMetaData func(ctx context.Context, containerName string, metaData SetMetaDataInput) (SetMetaDataResponse, error)