base

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPipelineOptions added in v1.1.0

func GetPipelineOptions(clOpts *ClientOptions) *runtime.PipelineOptions

func InnerClient

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

func SetPipelineOptions added in v1.1.0

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

func SharedKey

func SharedKey[T any](client *Client[T]) *exported.SharedKeyCredential

Types

type Client

type Client[T any] struct {
	// contains filtered or unexported fields
}

func NewDirectoryClient

func NewDirectoryClient(directoryURL string, azClient *azcore.Client, sharedKey *exported.SharedKeyCredential, options *ClientOptions) *Client[generated.DirectoryClient]

func NewFileClient

func NewFileClient(fileURL string, azClient *azcore.Client, sharedKey *exported.SharedKeyCredential, options *ClientOptions) *Client[generated.FileClient]

func NewServiceClient

func NewServiceClient(serviceURL string, azClient *azcore.Client, sharedKey *exported.SharedKeyCredential, options *ClientOptions) *Client[generated.ServiceClient]

func NewShareClient

func NewShareClient(shareURL string, azClient *azcore.Client, sharedKey *exported.SharedKeyCredential, options *ClientOptions) *Client[generated.ShareClient]

type ClientOptions

type ClientOptions struct {
	azcore.ClientOptions
	AllowTrailingDot       *bool
	FileRequestIntent      *generated.ShareTokenIntent
	AllowSourceTrailingDot *bool
	// contains filtered or unexported fields
}

ClientOptions contains the optional parameters when creating a Client.

func GetClientOptions added in v1.1.0

func GetClientOptions[T any](client *Client[T]) *ClientOptions

Jump to

Keyboard shortcuts

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