Documentation ¶
Index ¶
- func GetPipelineOptions(clOpts *ClientOptions) *runtime.PipelineOptions
- func InnerClient[T any](client *Client[T]) *T
- func SetPipelineOptions(clOpts *ClientOptions, plOpts *runtime.PipelineOptions)
- func SharedKey[T any](client *Client[T]) *exported.SharedKeyCredential
- type Client
- func NewDirectoryClient(directoryURL string, azClient *azcore.Client, ...) *Client[generated.DirectoryClient]
- func NewFileClient(fileURL string, azClient *azcore.Client, ...) *Client[generated.FileClient]
- func NewServiceClient(serviceURL string, azClient *azcore.Client, ...) *Client[generated.ServiceClient]
- func NewShareClient(shareURL string, azClient *azcore.Client, ...) *Client[generated.ShareClient]
- type ClientOptions
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 SetPipelineOptions ¶ added in v1.1.0
func SetPipelineOptions(clOpts *ClientOptions, plOpts *runtime.PipelineOptions)
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
Click to show internal directories.
Click to hide internal directories.