package base
import "github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/base"
Index ¶
- func InnerClient[T any](client *Client[T]) *T
- func SharedKey[T any](client *Client[T]) *exported.SharedKeyCredential
- func SharedKeyComposite[T, U any](client *CompositeClient[T, U]) *exported.SharedKeyCredential
- type Client
- func InnerClients[T, U any](client *CompositeClient[T, U]) (*Client[T], *U)
- func NewBlobClient(blobURL string, pipeline runtime.Pipeline, sharedKey *exported.SharedKeyCredential) *Client[generated.BlobClient]
- func NewClient[T any](inner *T) *Client[T]
- func NewContainerClient(containerURL string, pipeline runtime.Pipeline, sharedKey *exported.SharedKeyCredential) *Client[generated.ContainerClient]
- func NewServiceClient(containerURL string, pipeline runtime.Pipeline, sharedKey *exported.SharedKeyCredential) *Client[generated.ServiceClient]
- type CompositeClient
- func NewAppendBlobClient(blobURL string, pipeline runtime.Pipeline, sharedKey *exported.SharedKeyCredential) *CompositeClient[generated.BlobClient, generated.AppendBlobClient]
- func NewBlockBlobClient(blobURL string, pipeline runtime.Pipeline, sharedKey *exported.SharedKeyCredential) *CompositeClient[generated.BlobClient, generated.BlockBlobClient]
- func NewPageBlobClient(blobURL string, pipeline runtime.Pipeline, sharedKey *exported.SharedKeyCredential) *CompositeClient[generated.BlobClient, generated.PageBlobClient]
Functions ¶
func InnerClient ¶
func SharedKey ¶
func SharedKey[T any](client *Client[T]) *exported.SharedKeyCredential
func SharedKeyComposite ¶
func SharedKeyComposite[T, U any](client *CompositeClient[T, U]) *exported.SharedKeyCredential
Types ¶
type Client ¶
type Client[T any] struct { // contains filtered or unexported fields }
func InnerClients ¶
func InnerClients[T, U any](client *CompositeClient[T, U]) (*Client[T], *U)
func NewBlobClient ¶
func NewBlobClient(blobURL string, pipeline runtime.Pipeline, sharedKey *exported.SharedKeyCredential) *Client[generated.BlobClient]
func NewClient ¶
func NewContainerClient ¶
func NewContainerClient(containerURL string, pipeline runtime.Pipeline, sharedKey *exported.SharedKeyCredential) *Client[generated.ContainerClient]
func NewServiceClient ¶
func NewServiceClient(containerURL string, pipeline runtime.Pipeline, sharedKey *exported.SharedKeyCredential) *Client[generated.ServiceClient]
type CompositeClient ¶
type CompositeClient[T, U any] struct { // contains filtered or unexported fields }
func NewAppendBlobClient ¶
func NewAppendBlobClient(blobURL string, pipeline runtime.Pipeline, sharedKey *exported.SharedKeyCredential) *CompositeClient[generated.BlobClient, generated.AppendBlobClient]
func NewBlockBlobClient ¶
func NewBlockBlobClient(blobURL string, pipeline runtime.Pipeline, sharedKey *exported.SharedKeyCredential) *CompositeClient[generated.BlobClient, generated.BlockBlobClient]
func NewPageBlobClient ¶
func NewPageBlobClient(blobURL string, pipeline runtime.Pipeline, sharedKey *exported.SharedKeyCredential) *CompositeClient[generated.BlobClient, generated.PageBlobClient]
Source Files ¶
- Version
- v0.5.0
- Published
- Sep 29, 2022
- Platform
- windows/amd64
- Imports
- 3 packages
- Last checked
- 1 hour ago –
Tools for package owners.