base

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPipelineOptions

func GetPipelineOptions(clOpts *ClientOptions) *runtime.PipelineOptions

func IdentityCredentialComposite

func IdentityCredentialComposite[T, K, U any](client *CompositeClient[T, K, U]) *azcore.TokenCredential

func InnerClients

func InnerClients[T, K, U any](client *CompositeClient[T, K, U]) (*T, *K, *U)

func SetPipelineOptions

func SetPipelineOptions(clOpts *ClientOptions, plOpts *runtime.PipelineOptions)

func SharedKeyComposite

func SharedKeyComposite[T, K, U any](client *CompositeClient[T, K, U]) *exported.SharedKeyCredential

Types

type ClientOptions

type ClientOptions struct {
	azcore.ClientOptions
	// contains filtered or unexported fields
}

ClientOptions contains the optional parameters when creating a Client.

func GetCompositeClientOptions

func GetCompositeClientOptions[T, K, U any](client *CompositeClient[T, K, U]) *ClientOptions

type CompositeClient

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

func NewFileSystemClient

func NewFileSystemClient(fsURL string, fsURLWithBlobEndpoint string, client *container.Client, azClient *azcore.Client, sharedKey *exported.SharedKeyCredential, identityCred *azcore.TokenCredential, options *ClientOptions) *CompositeClient[generated.FileSystemClient, generated.FileSystemClient, container.Client]

func NewPathClient

func NewPathClient(pathURL string, pathURLWithBlobEndpoint string, client *blockblob.Client, azClient *azcore.Client, sharedKey *exported.SharedKeyCredential, identityCred *azcore.TokenCredential, options *ClientOptions) *CompositeClient[generated.PathClient, generated_blob.BlobClient, blockblob.Client]

func NewServiceClient

func NewServiceClient(serviceURL string, serviceURLWithBlobEndpoint string, client *service.Client, azClient *azcore.Client, sharedKey *exported.SharedKeyCredential, identityCred *azcore.TokenCredential, options *ClientOptions) *CompositeClient[generated.ServiceClient, generated_blob.ServiceClient, service.Client]

Jump to

Keyboard shortcuts

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