package base

import "github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/base"

Index

Functions

func Credential

func Credential[T any](client *Client[T]) any

func InnerClient

func InnerClient[T any](client *Client[T]) *T

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, azClient *azcore.Client, credential any) *Client[generated.BlobClient]

func NewClient

func NewClient[T any](inner *T) *Client[T]

func NewContainerClient

func NewContainerClient(containerURL string, azClient *azcore.Client, credential any) *Client[generated.ContainerClient]

func NewServiceClient

func NewServiceClient(containerURL string, azClient *azcore.Client, credential any) *Client[generated.ServiceClient]

type ClientOptions

type ClientOptions struct {
	azcore.ClientOptions
}

ClientOptions contains the optional parameters when creating a Client.

type CompositeClient

type CompositeClient[T, U any] struct {
	// contains filtered or unexported fields
}

func NewAppendBlobClient

func NewAppendBlobClient(blobURL string, azClient *azcore.Client, sharedKey *exported.SharedKeyCredential) *CompositeClient[generated.BlobClient, generated.AppendBlobClient]

func NewBlockBlobClient

func NewBlockBlobClient(blobURL string, azClient *azcore.Client, sharedKey *exported.SharedKeyCredential) *CompositeClient[generated.BlobClient, generated.BlockBlobClient]

func NewPageBlobClient

func NewPageBlobClient(blobURL string, azClient *azcore.Client, sharedKey *exported.SharedKeyCredential) *CompositeClient[generated.BlobClient, generated.PageBlobClient]

Source Files

clients.go

Version
v1.2.0-beta.1
Published
Sep 18, 2023
Platform
darwin/amd64
Imports
3 packages
Last checked
8 hours ago

Tools for package owners.