fake

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2023 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountsServer

type AccountsServer struct {
	// BeginAbortHierarchicalNamespaceMigration is the fake for method AccountsClient.BeginAbortHierarchicalNamespaceMigration
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginAbortHierarchicalNamespaceMigration func(ctx context.Context, resourceGroupName string, accountName string, options *armstorage.AccountsClientBeginAbortHierarchicalNamespaceMigrationOptions) (resp azfake.PollerResponder[armstorage.AccountsClientAbortHierarchicalNamespaceMigrationResponse], errResp azfake.ErrorResponder)

	// CheckNameAvailability is the fake for method AccountsClient.CheckNameAvailability
	// HTTP status codes to indicate success: http.StatusOK
	CheckNameAvailability func(ctx context.Context, accountName armstorage.AccountCheckNameAvailabilityParameters, options *armstorage.AccountsClientCheckNameAvailabilityOptions) (resp azfake.Responder[armstorage.AccountsClientCheckNameAvailabilityResponse], errResp azfake.ErrorResponder)

	// BeginCreate is the fake for method AccountsClient.BeginCreate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginCreate func(ctx context.Context, resourceGroupName string, accountName string, parameters armstorage.AccountCreateParameters, options *armstorage.AccountsClientBeginCreateOptions) (resp azfake.PollerResponder[armstorage.AccountsClientCreateResponse], errResp azfake.ErrorResponder)

	// BeginCustomerInitiatedMigration is the fake for method AccountsClient.BeginCustomerInitiatedMigration
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginCustomerInitiatedMigration func(ctx context.Context, resourceGroupName string, accountName string, parameters armstorage.AccountMigration, options *armstorage.AccountsClientBeginCustomerInitiatedMigrationOptions) (resp azfake.PollerResponder[armstorage.AccountsClientCustomerInitiatedMigrationResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method AccountsClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, accountName string, options *armstorage.AccountsClientDeleteOptions) (resp azfake.Responder[armstorage.AccountsClientDeleteResponse], errResp azfake.ErrorResponder)

	// BeginFailover is the fake for method AccountsClient.BeginFailover
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginFailover func(ctx context.Context, resourceGroupName string, accountName string, options *armstorage.AccountsClientBeginFailoverOptions) (resp azfake.PollerResponder[armstorage.AccountsClientFailoverResponse], errResp azfake.ErrorResponder)

	// GetCustomerInitiatedMigration is the fake for method AccountsClient.GetCustomerInitiatedMigration
	// HTTP status codes to indicate success: http.StatusOK
	GetCustomerInitiatedMigration func(ctx context.Context, resourceGroupName string, accountName string, migrationName armstorage.MigrationName, options *armstorage.AccountsClientGetCustomerInitiatedMigrationOptions) (resp azfake.Responder[armstorage.AccountsClientGetCustomerInitiatedMigrationResponse], errResp azfake.ErrorResponder)

	// GetProperties is the fake for method AccountsClient.GetProperties
	// HTTP status codes to indicate success: http.StatusOK
	GetProperties func(ctx context.Context, resourceGroupName string, accountName string, options *armstorage.AccountsClientGetPropertiesOptions) (resp azfake.Responder[armstorage.AccountsClientGetPropertiesResponse], errResp azfake.ErrorResponder)

	// BeginHierarchicalNamespaceMigration is the fake for method AccountsClient.BeginHierarchicalNamespaceMigration
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginHierarchicalNamespaceMigration func(ctx context.Context, resourceGroupName string, accountName string, requestType string, options *armstorage.AccountsClientBeginHierarchicalNamespaceMigrationOptions) (resp azfake.PollerResponder[armstorage.AccountsClientHierarchicalNamespaceMigrationResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method AccountsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(options *armstorage.AccountsClientListOptions) (resp azfake.PagerResponder[armstorage.AccountsClientListResponse])

	// ListAccountSAS is the fake for method AccountsClient.ListAccountSAS
	// HTTP status codes to indicate success: http.StatusOK
	ListAccountSAS func(ctx context.Context, resourceGroupName string, accountName string, parameters armstorage.AccountSasParameters, options *armstorage.AccountsClientListAccountSASOptions) (resp azfake.Responder[armstorage.AccountsClientListAccountSASResponse], errResp azfake.ErrorResponder)

	// NewListByResourceGroupPager is the fake for method AccountsClient.NewListByResourceGroupPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByResourceGroupPager func(resourceGroupName string, options *armstorage.AccountsClientListByResourceGroupOptions) (resp azfake.PagerResponder[armstorage.AccountsClientListByResourceGroupResponse])

	// ListKeys is the fake for method AccountsClient.ListKeys
	// HTTP status codes to indicate success: http.StatusOK
	ListKeys func(ctx context.Context, resourceGroupName string, accountName string, options *armstorage.AccountsClientListKeysOptions) (resp azfake.Responder[armstorage.AccountsClientListKeysResponse], errResp azfake.ErrorResponder)

	// ListServiceSAS is the fake for method AccountsClient.ListServiceSAS
	// HTTP status codes to indicate success: http.StatusOK
	ListServiceSAS func(ctx context.Context, resourceGroupName string, accountName string, parameters armstorage.ServiceSasParameters, options *armstorage.AccountsClientListServiceSASOptions) (resp azfake.Responder[armstorage.AccountsClientListServiceSASResponse], errResp azfake.ErrorResponder)

	// RegenerateKey is the fake for method AccountsClient.RegenerateKey
	// HTTP status codes to indicate success: http.StatusOK
	RegenerateKey func(ctx context.Context, resourceGroupName string, accountName string, regenerateKey armstorage.AccountRegenerateKeyParameters, options *armstorage.AccountsClientRegenerateKeyOptions) (resp azfake.Responder[armstorage.AccountsClientRegenerateKeyResponse], errResp azfake.ErrorResponder)

	// BeginRestoreBlobRanges is the fake for method AccountsClient.BeginRestoreBlobRanges
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginRestoreBlobRanges func(ctx context.Context, resourceGroupName string, accountName string, parameters armstorage.BlobRestoreParameters, options *armstorage.AccountsClientBeginRestoreBlobRangesOptions) (resp azfake.PollerResponder[armstorage.AccountsClientRestoreBlobRangesResponse], errResp azfake.ErrorResponder)

	// RevokeUserDelegationKeys is the fake for method AccountsClient.RevokeUserDelegationKeys
	// HTTP status codes to indicate success: http.StatusOK
	RevokeUserDelegationKeys func(ctx context.Context, resourceGroupName string, accountName string, options *armstorage.AccountsClientRevokeUserDelegationKeysOptions) (resp azfake.Responder[armstorage.AccountsClientRevokeUserDelegationKeysResponse], errResp azfake.ErrorResponder)

	// Update is the fake for method AccountsClient.Update
	// HTTP status codes to indicate success: http.StatusOK
	Update func(ctx context.Context, resourceGroupName string, accountName string, parameters armstorage.AccountUpdateParameters, options *armstorage.AccountsClientUpdateOptions) (resp azfake.Responder[armstorage.AccountsClientUpdateResponse], errResp azfake.ErrorResponder)
}

AccountsServer is a fake server for instances of the armstorage.AccountsClient type.

type AccountsServerTransport

type AccountsServerTransport struct {
	// contains filtered or unexported fields
}

AccountsServerTransport connects instances of armstorage.AccountsClient to instances of AccountsServer. Don't use this type directly, use NewAccountsServerTransport instead.

func NewAccountsServerTransport

func NewAccountsServerTransport(srv *AccountsServer) *AccountsServerTransport

NewAccountsServerTransport creates a new instance of AccountsServerTransport with the provided implementation. The returned AccountsServerTransport instance is connected to an instance of armstorage.AccountsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*AccountsServerTransport) Do

Do implements the policy.Transporter interface for AccountsServerTransport.

type BlobContainersServer

type BlobContainersServer struct {
	// ClearLegalHold is the fake for method BlobContainersClient.ClearLegalHold
	// HTTP status codes to indicate success: http.StatusOK
	ClearLegalHold func(ctx context.Context, resourceGroupName string, accountName string, containerName string, legalHold armstorage.LegalHold, options *armstorage.BlobContainersClientClearLegalHoldOptions) (resp azfake.Responder[armstorage.BlobContainersClientClearLegalHoldResponse], errResp azfake.ErrorResponder)

	// Create is the fake for method BlobContainersClient.Create
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	Create func(ctx context.Context, resourceGroupName string, accountName string, containerName string, blobContainer armstorage.BlobContainer, options *armstorage.BlobContainersClientCreateOptions) (resp azfake.Responder[armstorage.BlobContainersClientCreateResponse], errResp azfake.ErrorResponder)

	// CreateOrUpdateImmutabilityPolicy is the fake for method BlobContainersClient.CreateOrUpdateImmutabilityPolicy
	// HTTP status codes to indicate success: http.StatusOK
	CreateOrUpdateImmutabilityPolicy func(ctx context.Context, resourceGroupName string, accountName string, containerName string, options *armstorage.BlobContainersClientCreateOrUpdateImmutabilityPolicyOptions) (resp azfake.Responder[armstorage.BlobContainersClientCreateOrUpdateImmutabilityPolicyResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method BlobContainersClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, accountName string, containerName string, options *armstorage.BlobContainersClientDeleteOptions) (resp azfake.Responder[armstorage.BlobContainersClientDeleteResponse], errResp azfake.ErrorResponder)

	// DeleteImmutabilityPolicy is the fake for method BlobContainersClient.DeleteImmutabilityPolicy
	// HTTP status codes to indicate success: http.StatusOK
	DeleteImmutabilityPolicy func(ctx context.Context, resourceGroupName string, accountName string, containerName string, ifMatch string, options *armstorage.BlobContainersClientDeleteImmutabilityPolicyOptions) (resp azfake.Responder[armstorage.BlobContainersClientDeleteImmutabilityPolicyResponse], errResp azfake.ErrorResponder)

	// ExtendImmutabilityPolicy is the fake for method BlobContainersClient.ExtendImmutabilityPolicy
	// HTTP status codes to indicate success: http.StatusOK
	ExtendImmutabilityPolicy func(ctx context.Context, resourceGroupName string, accountName string, containerName string, ifMatch string, options *armstorage.BlobContainersClientExtendImmutabilityPolicyOptions) (resp azfake.Responder[armstorage.BlobContainersClientExtendImmutabilityPolicyResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method BlobContainersClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, accountName string, containerName string, options *armstorage.BlobContainersClientGetOptions) (resp azfake.Responder[armstorage.BlobContainersClientGetResponse], errResp azfake.ErrorResponder)

	// GetImmutabilityPolicy is the fake for method BlobContainersClient.GetImmutabilityPolicy
	// HTTP status codes to indicate success: http.StatusOK
	GetImmutabilityPolicy func(ctx context.Context, resourceGroupName string, accountName string, containerName string, options *armstorage.BlobContainersClientGetImmutabilityPolicyOptions) (resp azfake.Responder[armstorage.BlobContainersClientGetImmutabilityPolicyResponse], errResp azfake.ErrorResponder)

	// Lease is the fake for method BlobContainersClient.Lease
	// HTTP status codes to indicate success: http.StatusOK
	Lease func(ctx context.Context, resourceGroupName string, accountName string, containerName string, options *armstorage.BlobContainersClientLeaseOptions) (resp azfake.Responder[armstorage.BlobContainersClientLeaseResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method BlobContainersClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, accountName string, options *armstorage.BlobContainersClientListOptions) (resp azfake.PagerResponder[armstorage.BlobContainersClientListResponse])

	// LockImmutabilityPolicy is the fake for method BlobContainersClient.LockImmutabilityPolicy
	// HTTP status codes to indicate success: http.StatusOK
	LockImmutabilityPolicy func(ctx context.Context, resourceGroupName string, accountName string, containerName string, ifMatch string, options *armstorage.BlobContainersClientLockImmutabilityPolicyOptions) (resp azfake.Responder[armstorage.BlobContainersClientLockImmutabilityPolicyResponse], errResp azfake.ErrorResponder)

	// BeginObjectLevelWorm is the fake for method BlobContainersClient.BeginObjectLevelWorm
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginObjectLevelWorm func(ctx context.Context, resourceGroupName string, accountName string, containerName string, options *armstorage.BlobContainersClientBeginObjectLevelWormOptions) (resp azfake.PollerResponder[armstorage.BlobContainersClientObjectLevelWormResponse], errResp azfake.ErrorResponder)

	// SetLegalHold is the fake for method BlobContainersClient.SetLegalHold
	// HTTP status codes to indicate success: http.StatusOK
	SetLegalHold func(ctx context.Context, resourceGroupName string, accountName string, containerName string, legalHold armstorage.LegalHold, options *armstorage.BlobContainersClientSetLegalHoldOptions) (resp azfake.Responder[armstorage.BlobContainersClientSetLegalHoldResponse], errResp azfake.ErrorResponder)

	// Update is the fake for method BlobContainersClient.Update
	// HTTP status codes to indicate success: http.StatusOK
	Update func(ctx context.Context, resourceGroupName string, accountName string, containerName string, blobContainer armstorage.BlobContainer, options *armstorage.BlobContainersClientUpdateOptions) (resp azfake.Responder[armstorage.BlobContainersClientUpdateResponse], errResp azfake.ErrorResponder)
}

BlobContainersServer is a fake server for instances of the armstorage.BlobContainersClient type.

type BlobContainersServerTransport

type BlobContainersServerTransport struct {
	// contains filtered or unexported fields
}

BlobContainersServerTransport connects instances of armstorage.BlobContainersClient to instances of BlobContainersServer. Don't use this type directly, use NewBlobContainersServerTransport instead.

func NewBlobContainersServerTransport

func NewBlobContainersServerTransport(srv *BlobContainersServer) *BlobContainersServerTransport

NewBlobContainersServerTransport creates a new instance of BlobContainersServerTransport with the provided implementation. The returned BlobContainersServerTransport instance is connected to an instance of armstorage.BlobContainersClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*BlobContainersServerTransport) Do

Do implements the policy.Transporter interface for BlobContainersServerTransport.

type BlobInventoryPoliciesServer

type BlobInventoryPoliciesServer struct {
	// CreateOrUpdate is the fake for method BlobInventoryPoliciesClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK
	CreateOrUpdate func(ctx context.Context, resourceGroupName string, accountName string, blobInventoryPolicyName armstorage.BlobInventoryPolicyName, properties armstorage.BlobInventoryPolicy, options *armstorage.BlobInventoryPoliciesClientCreateOrUpdateOptions) (resp azfake.Responder[armstorage.BlobInventoryPoliciesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method BlobInventoryPoliciesClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, accountName string, blobInventoryPolicyName armstorage.BlobInventoryPolicyName, options *armstorage.BlobInventoryPoliciesClientDeleteOptions) (resp azfake.Responder[armstorage.BlobInventoryPoliciesClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method BlobInventoryPoliciesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, accountName string, blobInventoryPolicyName armstorage.BlobInventoryPolicyName, options *armstorage.BlobInventoryPoliciesClientGetOptions) (resp azfake.Responder[armstorage.BlobInventoryPoliciesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method BlobInventoryPoliciesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, accountName string, options *armstorage.BlobInventoryPoliciesClientListOptions) (resp azfake.PagerResponder[armstorage.BlobInventoryPoliciesClientListResponse])
}

BlobInventoryPoliciesServer is a fake server for instances of the armstorage.BlobInventoryPoliciesClient type.

type BlobInventoryPoliciesServerTransport

type BlobInventoryPoliciesServerTransport struct {
	// contains filtered or unexported fields
}

BlobInventoryPoliciesServerTransport connects instances of armstorage.BlobInventoryPoliciesClient to instances of BlobInventoryPoliciesServer. Don't use this type directly, use NewBlobInventoryPoliciesServerTransport instead.

func NewBlobInventoryPoliciesServerTransport

func NewBlobInventoryPoliciesServerTransport(srv *BlobInventoryPoliciesServer) *BlobInventoryPoliciesServerTransport

NewBlobInventoryPoliciesServerTransport creates a new instance of BlobInventoryPoliciesServerTransport with the provided implementation. The returned BlobInventoryPoliciesServerTransport instance is connected to an instance of armstorage.BlobInventoryPoliciesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*BlobInventoryPoliciesServerTransport) Do

Do implements the policy.Transporter interface for BlobInventoryPoliciesServerTransport.

type BlobServicesServer

type BlobServicesServer struct {
	// GetServiceProperties is the fake for method BlobServicesClient.GetServiceProperties
	// HTTP status codes to indicate success: http.StatusOK
	GetServiceProperties func(ctx context.Context, resourceGroupName string, accountName string, options *armstorage.BlobServicesClientGetServicePropertiesOptions) (resp azfake.Responder[armstorage.BlobServicesClientGetServicePropertiesResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method BlobServicesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, accountName string, options *armstorage.BlobServicesClientListOptions) (resp azfake.PagerResponder[armstorage.BlobServicesClientListResponse])

	// SetServiceProperties is the fake for method BlobServicesClient.SetServiceProperties
	// HTTP status codes to indicate success: http.StatusOK
	SetServiceProperties func(ctx context.Context, resourceGroupName string, accountName string, parameters armstorage.BlobServiceProperties, options *armstorage.BlobServicesClientSetServicePropertiesOptions) (resp azfake.Responder[armstorage.BlobServicesClientSetServicePropertiesResponse], errResp azfake.ErrorResponder)
}

BlobServicesServer is a fake server for instances of the armstorage.BlobServicesClient type.

type BlobServicesServerTransport

type BlobServicesServerTransport struct {
	// contains filtered or unexported fields
}

BlobServicesServerTransport connects instances of armstorage.BlobServicesClient to instances of BlobServicesServer. Don't use this type directly, use NewBlobServicesServerTransport instead.

func NewBlobServicesServerTransport

func NewBlobServicesServerTransport(srv *BlobServicesServer) *BlobServicesServerTransport

NewBlobServicesServerTransport creates a new instance of BlobServicesServerTransport with the provided implementation. The returned BlobServicesServerTransport instance is connected to an instance of armstorage.BlobServicesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*BlobServicesServerTransport) Do

Do implements the policy.Transporter interface for BlobServicesServerTransport.

type DeletedAccountsServer

type DeletedAccountsServer struct {
	// Get is the fake for method DeletedAccountsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, deletedAccountName string, location string, options *armstorage.DeletedAccountsClientGetOptions) (resp azfake.Responder[armstorage.DeletedAccountsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method DeletedAccountsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(options *armstorage.DeletedAccountsClientListOptions) (resp azfake.PagerResponder[armstorage.DeletedAccountsClientListResponse])
}

DeletedAccountsServer is a fake server for instances of the armstorage.DeletedAccountsClient type.

type DeletedAccountsServerTransport

type DeletedAccountsServerTransport struct {
	// contains filtered or unexported fields
}

DeletedAccountsServerTransport connects instances of armstorage.DeletedAccountsClient to instances of DeletedAccountsServer. Don't use this type directly, use NewDeletedAccountsServerTransport instead.

func NewDeletedAccountsServerTransport

func NewDeletedAccountsServerTransport(srv *DeletedAccountsServer) *DeletedAccountsServerTransport

NewDeletedAccountsServerTransport creates a new instance of DeletedAccountsServerTransport with the provided implementation. The returned DeletedAccountsServerTransport instance is connected to an instance of armstorage.DeletedAccountsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*DeletedAccountsServerTransport) Do

Do implements the policy.Transporter interface for DeletedAccountsServerTransport.

type EncryptionScopesServer

type EncryptionScopesServer struct {
	// Get is the fake for method EncryptionScopesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, accountName string, encryptionScopeName string, options *armstorage.EncryptionScopesClientGetOptions) (resp azfake.Responder[armstorage.EncryptionScopesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method EncryptionScopesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, accountName string, options *armstorage.EncryptionScopesClientListOptions) (resp azfake.PagerResponder[armstorage.EncryptionScopesClientListResponse])

	// Patch is the fake for method EncryptionScopesClient.Patch
	// HTTP status codes to indicate success: http.StatusOK
	Patch func(ctx context.Context, resourceGroupName string, accountName string, encryptionScopeName string, encryptionScope armstorage.EncryptionScope, options *armstorage.EncryptionScopesClientPatchOptions) (resp azfake.Responder[armstorage.EncryptionScopesClientPatchResponse], errResp azfake.ErrorResponder)

	// Put is the fake for method EncryptionScopesClient.Put
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	Put func(ctx context.Context, resourceGroupName string, accountName string, encryptionScopeName string, encryptionScope armstorage.EncryptionScope, options *armstorage.EncryptionScopesClientPutOptions) (resp azfake.Responder[armstorage.EncryptionScopesClientPutResponse], errResp azfake.ErrorResponder)
}

EncryptionScopesServer is a fake server for instances of the armstorage.EncryptionScopesClient type.

type EncryptionScopesServerTransport

type EncryptionScopesServerTransport struct {
	// contains filtered or unexported fields
}

EncryptionScopesServerTransport connects instances of armstorage.EncryptionScopesClient to instances of EncryptionScopesServer. Don't use this type directly, use NewEncryptionScopesServerTransport instead.

func NewEncryptionScopesServerTransport

func NewEncryptionScopesServerTransport(srv *EncryptionScopesServer) *EncryptionScopesServerTransport

NewEncryptionScopesServerTransport creates a new instance of EncryptionScopesServerTransport with the provided implementation. The returned EncryptionScopesServerTransport instance is connected to an instance of armstorage.EncryptionScopesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*EncryptionScopesServerTransport) Do

Do implements the policy.Transporter interface for EncryptionScopesServerTransport.

type FileServicesServer

type FileServicesServer struct {
	// GetServiceProperties is the fake for method FileServicesClient.GetServiceProperties
	// HTTP status codes to indicate success: http.StatusOK
	GetServiceProperties func(ctx context.Context, resourceGroupName string, accountName string, options *armstorage.FileServicesClientGetServicePropertiesOptions) (resp azfake.Responder[armstorage.FileServicesClientGetServicePropertiesResponse], errResp azfake.ErrorResponder)

	// List is the fake for method FileServicesClient.List
	// HTTP status codes to indicate success: http.StatusOK
	List func(ctx context.Context, resourceGroupName string, accountName string, options *armstorage.FileServicesClientListOptions) (resp azfake.Responder[armstorage.FileServicesClientListResponse], errResp azfake.ErrorResponder)

	// SetServiceProperties is the fake for method FileServicesClient.SetServiceProperties
	// HTTP status codes to indicate success: http.StatusOK
	SetServiceProperties func(ctx context.Context, resourceGroupName string, accountName string, parameters armstorage.FileServiceProperties, options *armstorage.FileServicesClientSetServicePropertiesOptions) (resp azfake.Responder[armstorage.FileServicesClientSetServicePropertiesResponse], errResp azfake.ErrorResponder)
}

FileServicesServer is a fake server for instances of the armstorage.FileServicesClient type.

type FileServicesServerTransport

type FileServicesServerTransport struct {
	// contains filtered or unexported fields
}

FileServicesServerTransport connects instances of armstorage.FileServicesClient to instances of FileServicesServer. Don't use this type directly, use NewFileServicesServerTransport instead.

func NewFileServicesServerTransport

func NewFileServicesServerTransport(srv *FileServicesServer) *FileServicesServerTransport

NewFileServicesServerTransport creates a new instance of FileServicesServerTransport with the provided implementation. The returned FileServicesServerTransport instance is connected to an instance of armstorage.FileServicesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*FileServicesServerTransport) Do

Do implements the policy.Transporter interface for FileServicesServerTransport.

type FileSharesServer

type FileSharesServer struct {
	// Create is the fake for method FileSharesClient.Create
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	Create func(ctx context.Context, resourceGroupName string, accountName string, shareName string, fileShare armstorage.FileShare, options *armstorage.FileSharesClientCreateOptions) (resp azfake.Responder[armstorage.FileSharesClientCreateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method FileSharesClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, accountName string, shareName string, options *armstorage.FileSharesClientDeleteOptions) (resp azfake.Responder[armstorage.FileSharesClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method FileSharesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, accountName string, shareName string, options *armstorage.FileSharesClientGetOptions) (resp azfake.Responder[armstorage.FileSharesClientGetResponse], errResp azfake.ErrorResponder)

	// Lease is the fake for method FileSharesClient.Lease
	// HTTP status codes to indicate success: http.StatusOK
	Lease func(ctx context.Context, resourceGroupName string, accountName string, shareName string, options *armstorage.FileSharesClientLeaseOptions) (resp azfake.Responder[armstorage.FileSharesClientLeaseResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method FileSharesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, accountName string, options *armstorage.FileSharesClientListOptions) (resp azfake.PagerResponder[armstorage.FileSharesClientListResponse])

	// Restore is the fake for method FileSharesClient.Restore
	// HTTP status codes to indicate success: http.StatusOK
	Restore func(ctx context.Context, resourceGroupName string, accountName string, shareName string, deletedShare armstorage.DeletedShare, options *armstorage.FileSharesClientRestoreOptions) (resp azfake.Responder[armstorage.FileSharesClientRestoreResponse], errResp azfake.ErrorResponder)

	// Update is the fake for method FileSharesClient.Update
	// HTTP status codes to indicate success: http.StatusOK
	Update func(ctx context.Context, resourceGroupName string, accountName string, shareName string, fileShare armstorage.FileShare, options *armstorage.FileSharesClientUpdateOptions) (resp azfake.Responder[armstorage.FileSharesClientUpdateResponse], errResp azfake.ErrorResponder)
}

FileSharesServer is a fake server for instances of the armstorage.FileSharesClient type.

type FileSharesServerTransport

type FileSharesServerTransport struct {
	// contains filtered or unexported fields
}

FileSharesServerTransport connects instances of armstorage.FileSharesClient to instances of FileSharesServer. Don't use this type directly, use NewFileSharesServerTransport instead.

func NewFileSharesServerTransport

func NewFileSharesServerTransport(srv *FileSharesServer) *FileSharesServerTransport

NewFileSharesServerTransport creates a new instance of FileSharesServerTransport with the provided implementation. The returned FileSharesServerTransport instance is connected to an instance of armstorage.FileSharesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*FileSharesServerTransport) Do

Do implements the policy.Transporter interface for FileSharesServerTransport.

type LocalUsersServer

type LocalUsersServer struct {
	// CreateOrUpdate is the fake for method LocalUsersClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK
	CreateOrUpdate func(ctx context.Context, resourceGroupName string, accountName string, username string, properties armstorage.LocalUser, options *armstorage.LocalUsersClientCreateOrUpdateOptions) (resp azfake.Responder[armstorage.LocalUsersClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method LocalUsersClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, accountName string, username string, options *armstorage.LocalUsersClientDeleteOptions) (resp azfake.Responder[armstorage.LocalUsersClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method LocalUsersClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, accountName string, username string, options *armstorage.LocalUsersClientGetOptions) (resp azfake.Responder[armstorage.LocalUsersClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method LocalUsersClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, accountName string, options *armstorage.LocalUsersClientListOptions) (resp azfake.PagerResponder[armstorage.LocalUsersClientListResponse])

	// ListKeys is the fake for method LocalUsersClient.ListKeys
	// HTTP status codes to indicate success: http.StatusOK
	ListKeys func(ctx context.Context, resourceGroupName string, accountName string, username string, options *armstorage.LocalUsersClientListKeysOptions) (resp azfake.Responder[armstorage.LocalUsersClientListKeysResponse], errResp azfake.ErrorResponder)

	// RegeneratePassword is the fake for method LocalUsersClient.RegeneratePassword
	// HTTP status codes to indicate success: http.StatusOK
	RegeneratePassword func(ctx context.Context, resourceGroupName string, accountName string, username string, options *armstorage.LocalUsersClientRegeneratePasswordOptions) (resp azfake.Responder[armstorage.LocalUsersClientRegeneratePasswordResponse], errResp azfake.ErrorResponder)
}

LocalUsersServer is a fake server for instances of the armstorage.LocalUsersClient type.

type LocalUsersServerTransport

type LocalUsersServerTransport struct {
	// contains filtered or unexported fields
}

LocalUsersServerTransport connects instances of armstorage.LocalUsersClient to instances of LocalUsersServer. Don't use this type directly, use NewLocalUsersServerTransport instead.

func NewLocalUsersServerTransport

func NewLocalUsersServerTransport(srv *LocalUsersServer) *LocalUsersServerTransport

NewLocalUsersServerTransport creates a new instance of LocalUsersServerTransport with the provided implementation. The returned LocalUsersServerTransport instance is connected to an instance of armstorage.LocalUsersClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*LocalUsersServerTransport) Do

Do implements the policy.Transporter interface for LocalUsersServerTransport.

type ManagementPoliciesServer

type ManagementPoliciesServer struct {
	// CreateOrUpdate is the fake for method ManagementPoliciesClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK
	CreateOrUpdate func(ctx context.Context, resourceGroupName string, accountName string, managementPolicyName armstorage.ManagementPolicyName, properties armstorage.ManagementPolicy, options *armstorage.ManagementPoliciesClientCreateOrUpdateOptions) (resp azfake.Responder[armstorage.ManagementPoliciesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method ManagementPoliciesClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, accountName string, managementPolicyName armstorage.ManagementPolicyName, options *armstorage.ManagementPoliciesClientDeleteOptions) (resp azfake.Responder[armstorage.ManagementPoliciesClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method ManagementPoliciesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, accountName string, managementPolicyName armstorage.ManagementPolicyName, options *armstorage.ManagementPoliciesClientGetOptions) (resp azfake.Responder[armstorage.ManagementPoliciesClientGetResponse], errResp azfake.ErrorResponder)
}

ManagementPoliciesServer is a fake server for instances of the armstorage.ManagementPoliciesClient type.

type ManagementPoliciesServerTransport

type ManagementPoliciesServerTransport struct {
	// contains filtered or unexported fields
}

ManagementPoliciesServerTransport connects instances of armstorage.ManagementPoliciesClient to instances of ManagementPoliciesServer. Don't use this type directly, use NewManagementPoliciesServerTransport instead.

func NewManagementPoliciesServerTransport

func NewManagementPoliciesServerTransport(srv *ManagementPoliciesServer) *ManagementPoliciesServerTransport

NewManagementPoliciesServerTransport creates a new instance of ManagementPoliciesServerTransport with the provided implementation. The returned ManagementPoliciesServerTransport instance is connected to an instance of armstorage.ManagementPoliciesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ManagementPoliciesServerTransport) Do

Do implements the policy.Transporter interface for ManagementPoliciesServerTransport.

type ObjectReplicationPoliciesServer

type ObjectReplicationPoliciesServer struct {
	// CreateOrUpdate is the fake for method ObjectReplicationPoliciesClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK
	CreateOrUpdate func(ctx context.Context, resourceGroupName string, accountName string, objectReplicationPolicyID string, properties armstorage.ObjectReplicationPolicy, options *armstorage.ObjectReplicationPoliciesClientCreateOrUpdateOptions) (resp azfake.Responder[armstorage.ObjectReplicationPoliciesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method ObjectReplicationPoliciesClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, accountName string, objectReplicationPolicyID string, options *armstorage.ObjectReplicationPoliciesClientDeleteOptions) (resp azfake.Responder[armstorage.ObjectReplicationPoliciesClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method ObjectReplicationPoliciesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, accountName string, objectReplicationPolicyID string, options *armstorage.ObjectReplicationPoliciesClientGetOptions) (resp azfake.Responder[armstorage.ObjectReplicationPoliciesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method ObjectReplicationPoliciesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, accountName string, options *armstorage.ObjectReplicationPoliciesClientListOptions) (resp azfake.PagerResponder[armstorage.ObjectReplicationPoliciesClientListResponse])
}

ObjectReplicationPoliciesServer is a fake server for instances of the armstorage.ObjectReplicationPoliciesClient type.

type ObjectReplicationPoliciesServerTransport

type ObjectReplicationPoliciesServerTransport struct {
	// contains filtered or unexported fields
}

ObjectReplicationPoliciesServerTransport connects instances of armstorage.ObjectReplicationPoliciesClient to instances of ObjectReplicationPoliciesServer. Don't use this type directly, use NewObjectReplicationPoliciesServerTransport instead.

func NewObjectReplicationPoliciesServerTransport

func NewObjectReplicationPoliciesServerTransport(srv *ObjectReplicationPoliciesServer) *ObjectReplicationPoliciesServerTransport

NewObjectReplicationPoliciesServerTransport creates a new instance of ObjectReplicationPoliciesServerTransport with the provided implementation. The returned ObjectReplicationPoliciesServerTransport instance is connected to an instance of armstorage.ObjectReplicationPoliciesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ObjectReplicationPoliciesServerTransport) Do

Do implements the policy.Transporter interface for ObjectReplicationPoliciesServerTransport.

type OperationsServer

type OperationsServer struct {
	// NewListPager is the fake for method OperationsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(options *armstorage.OperationsClientListOptions) (resp azfake.PagerResponder[armstorage.OperationsClientListResponse])
}

OperationsServer is a fake server for instances of the armstorage.OperationsClient type.

type OperationsServerTransport

type OperationsServerTransport struct {
	// contains filtered or unexported fields
}

OperationsServerTransport connects instances of armstorage.OperationsClient to instances of OperationsServer. Don't use this type directly, use NewOperationsServerTransport instead.

func NewOperationsServerTransport

func NewOperationsServerTransport(srv *OperationsServer) *OperationsServerTransport

NewOperationsServerTransport creates a new instance of OperationsServerTransport with the provided implementation. The returned OperationsServerTransport instance is connected to an instance of armstorage.OperationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*OperationsServerTransport) Do

Do implements the policy.Transporter interface for OperationsServerTransport.

type PrivateEndpointConnectionsServer

type PrivateEndpointConnectionsServer struct {
	// Delete is the fake for method PrivateEndpointConnectionsClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, accountName string, privateEndpointConnectionName string, options *armstorage.PrivateEndpointConnectionsClientDeleteOptions) (resp azfake.Responder[armstorage.PrivateEndpointConnectionsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method PrivateEndpointConnectionsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, accountName string, privateEndpointConnectionName string, options *armstorage.PrivateEndpointConnectionsClientGetOptions) (resp azfake.Responder[armstorage.PrivateEndpointConnectionsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method PrivateEndpointConnectionsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, accountName string, options *armstorage.PrivateEndpointConnectionsClientListOptions) (resp azfake.PagerResponder[armstorage.PrivateEndpointConnectionsClientListResponse])

	// Put is the fake for method PrivateEndpointConnectionsClient.Put
	// HTTP status codes to indicate success: http.StatusOK
	Put func(ctx context.Context, resourceGroupName string, accountName string, privateEndpointConnectionName string, properties armstorage.PrivateEndpointConnection, options *armstorage.PrivateEndpointConnectionsClientPutOptions) (resp azfake.Responder[armstorage.PrivateEndpointConnectionsClientPutResponse], errResp azfake.ErrorResponder)
}

PrivateEndpointConnectionsServer is a fake server for instances of the armstorage.PrivateEndpointConnectionsClient type.

type PrivateEndpointConnectionsServerTransport

type PrivateEndpointConnectionsServerTransport struct {
	// contains filtered or unexported fields
}

PrivateEndpointConnectionsServerTransport connects instances of armstorage.PrivateEndpointConnectionsClient to instances of PrivateEndpointConnectionsServer. Don't use this type directly, use NewPrivateEndpointConnectionsServerTransport instead.

func NewPrivateEndpointConnectionsServerTransport

func NewPrivateEndpointConnectionsServerTransport(srv *PrivateEndpointConnectionsServer) *PrivateEndpointConnectionsServerTransport

NewPrivateEndpointConnectionsServerTransport creates a new instance of PrivateEndpointConnectionsServerTransport with the provided implementation. The returned PrivateEndpointConnectionsServerTransport instance is connected to an instance of armstorage.PrivateEndpointConnectionsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*PrivateEndpointConnectionsServerTransport) Do

Do implements the policy.Transporter interface for PrivateEndpointConnectionsServerTransport.

type PrivateLinkResourcesServer

type PrivateLinkResourcesServer struct {
	// ListByStorageAccount is the fake for method PrivateLinkResourcesClient.ListByStorageAccount
	// HTTP status codes to indicate success: http.StatusOK
	ListByStorageAccount func(ctx context.Context, resourceGroupName string, accountName string, options *armstorage.PrivateLinkResourcesClientListByStorageAccountOptions) (resp azfake.Responder[armstorage.PrivateLinkResourcesClientListByStorageAccountResponse], errResp azfake.ErrorResponder)
}

PrivateLinkResourcesServer is a fake server for instances of the armstorage.PrivateLinkResourcesClient type.

type PrivateLinkResourcesServerTransport

type PrivateLinkResourcesServerTransport struct {
	// contains filtered or unexported fields
}

PrivateLinkResourcesServerTransport connects instances of armstorage.PrivateLinkResourcesClient to instances of PrivateLinkResourcesServer. Don't use this type directly, use NewPrivateLinkResourcesServerTransport instead.

func NewPrivateLinkResourcesServerTransport

func NewPrivateLinkResourcesServerTransport(srv *PrivateLinkResourcesServer) *PrivateLinkResourcesServerTransport

NewPrivateLinkResourcesServerTransport creates a new instance of PrivateLinkResourcesServerTransport with the provided implementation. The returned PrivateLinkResourcesServerTransport instance is connected to an instance of armstorage.PrivateLinkResourcesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*PrivateLinkResourcesServerTransport) Do

Do implements the policy.Transporter interface for PrivateLinkResourcesServerTransport.

type QueueServer

type QueueServer struct {
	// Create is the fake for method QueueClient.Create
	// HTTP status codes to indicate success: http.StatusOK
	Create func(ctx context.Context, resourceGroupName string, accountName string, queueName string, queue armstorage.Queue, options *armstorage.QueueClientCreateOptions) (resp azfake.Responder[armstorage.QueueClientCreateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method QueueClient.Delete
	// HTTP status codes to indicate success: http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, accountName string, queueName string, options *armstorage.QueueClientDeleteOptions) (resp azfake.Responder[armstorage.QueueClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method QueueClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, accountName string, queueName string, options *armstorage.QueueClientGetOptions) (resp azfake.Responder[armstorage.QueueClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method QueueClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, accountName string, options *armstorage.QueueClientListOptions) (resp azfake.PagerResponder[armstorage.QueueClientListResponse])

	// Update is the fake for method QueueClient.Update
	// HTTP status codes to indicate success: http.StatusOK
	Update func(ctx context.Context, resourceGroupName string, accountName string, queueName string, queue armstorage.Queue, options *armstorage.QueueClientUpdateOptions) (resp azfake.Responder[armstorage.QueueClientUpdateResponse], errResp azfake.ErrorResponder)
}

QueueServer is a fake server for instances of the armstorage.QueueClient type.

type QueueServerTransport

type QueueServerTransport struct {
	// contains filtered or unexported fields
}

QueueServerTransport connects instances of armstorage.QueueClient to instances of QueueServer. Don't use this type directly, use NewQueueServerTransport instead.

func NewQueueServerTransport

func NewQueueServerTransport(srv *QueueServer) *QueueServerTransport

NewQueueServerTransport creates a new instance of QueueServerTransport with the provided implementation. The returned QueueServerTransport instance is connected to an instance of armstorage.QueueClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*QueueServerTransport) Do

Do implements the policy.Transporter interface for QueueServerTransport.

type QueueServicesServer

type QueueServicesServer struct {
	// GetServiceProperties is the fake for method QueueServicesClient.GetServiceProperties
	// HTTP status codes to indicate success: http.StatusOK
	GetServiceProperties func(ctx context.Context, resourceGroupName string, accountName string, options *armstorage.QueueServicesClientGetServicePropertiesOptions) (resp azfake.Responder[armstorage.QueueServicesClientGetServicePropertiesResponse], errResp azfake.ErrorResponder)

	// List is the fake for method QueueServicesClient.List
	// HTTP status codes to indicate success: http.StatusOK
	List func(ctx context.Context, resourceGroupName string, accountName string, options *armstorage.QueueServicesClientListOptions) (resp azfake.Responder[armstorage.QueueServicesClientListResponse], errResp azfake.ErrorResponder)

	// SetServiceProperties is the fake for method QueueServicesClient.SetServiceProperties
	// HTTP status codes to indicate success: http.StatusOK
	SetServiceProperties func(ctx context.Context, resourceGroupName string, accountName string, parameters armstorage.QueueServiceProperties, options *armstorage.QueueServicesClientSetServicePropertiesOptions) (resp azfake.Responder[armstorage.QueueServicesClientSetServicePropertiesResponse], errResp azfake.ErrorResponder)
}

QueueServicesServer is a fake server for instances of the armstorage.QueueServicesClient type.

type QueueServicesServerTransport

type QueueServicesServerTransport struct {
	// contains filtered or unexported fields
}

QueueServicesServerTransport connects instances of armstorage.QueueServicesClient to instances of QueueServicesServer. Don't use this type directly, use NewQueueServicesServerTransport instead.

func NewQueueServicesServerTransport

func NewQueueServicesServerTransport(srv *QueueServicesServer) *QueueServicesServerTransport

NewQueueServicesServerTransport creates a new instance of QueueServicesServerTransport with the provided implementation. The returned QueueServicesServerTransport instance is connected to an instance of armstorage.QueueServicesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*QueueServicesServerTransport) Do

Do implements the policy.Transporter interface for QueueServicesServerTransport.

type SKUsServer

type SKUsServer struct {
	// NewListPager is the fake for method SKUsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(options *armstorage.SKUsClientListOptions) (resp azfake.PagerResponder[armstorage.SKUsClientListResponse])
}

SKUsServer is a fake server for instances of the armstorage.SKUsClient type.

type SKUsServerTransport

type SKUsServerTransport struct {
	// contains filtered or unexported fields
}

SKUsServerTransport connects instances of armstorage.SKUsClient to instances of SKUsServer. Don't use this type directly, use NewSKUsServerTransport instead.

func NewSKUsServerTransport

func NewSKUsServerTransport(srv *SKUsServer) *SKUsServerTransport

NewSKUsServerTransport creates a new instance of SKUsServerTransport with the provided implementation. The returned SKUsServerTransport instance is connected to an instance of armstorage.SKUsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*SKUsServerTransport) Do

Do implements the policy.Transporter interface for SKUsServerTransport.

type ServerFactory

type ServerFactory struct {
	AccountsServer                   AccountsServer
	BlobContainersServer             BlobContainersServer
	BlobInventoryPoliciesServer      BlobInventoryPoliciesServer
	BlobServicesServer               BlobServicesServer
	DeletedAccountsServer            DeletedAccountsServer
	EncryptionScopesServer           EncryptionScopesServer
	FileServicesServer               FileServicesServer
	FileSharesServer                 FileSharesServer
	LocalUsersServer                 LocalUsersServer
	ManagementPoliciesServer         ManagementPoliciesServer
	ObjectReplicationPoliciesServer  ObjectReplicationPoliciesServer
	OperationsServer                 OperationsServer
	PrivateEndpointConnectionsServer PrivateEndpointConnectionsServer
	PrivateLinkResourcesServer       PrivateLinkResourcesServer
	QueueServer                      QueueServer
	QueueServicesServer              QueueServicesServer
	SKUsServer                       SKUsServer
	TableServer                      TableServer
	TableServicesServer              TableServicesServer
	UsagesServer                     UsagesServer
}

ServerFactory is a fake server for instances of the armstorage.ClientFactory type.

type ServerFactoryTransport

type ServerFactoryTransport struct {
	// contains filtered or unexported fields
}

ServerFactoryTransport connects instances of armstorage.ClientFactory to instances of ServerFactory. Don't use this type directly, use NewServerFactoryTransport instead.

func NewServerFactoryTransport

func NewServerFactoryTransport(srv *ServerFactory) *ServerFactoryTransport

NewServerFactoryTransport creates a new instance of ServerFactoryTransport with the provided implementation. The returned ServerFactoryTransport instance is connected to an instance of armstorage.ClientFactory via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ServerFactoryTransport) Do

Do implements the policy.Transporter interface for ServerFactoryTransport.

type TableServer

type TableServer struct {
	// Create is the fake for method TableClient.Create
	// HTTP status codes to indicate success: http.StatusOK
	Create func(ctx context.Context, resourceGroupName string, accountName string, tableName string, options *armstorage.TableClientCreateOptions) (resp azfake.Responder[armstorage.TableClientCreateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method TableClient.Delete
	// HTTP status codes to indicate success: http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, accountName string, tableName string, options *armstorage.TableClientDeleteOptions) (resp azfake.Responder[armstorage.TableClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method TableClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, accountName string, tableName string, options *armstorage.TableClientGetOptions) (resp azfake.Responder[armstorage.TableClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method TableClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, accountName string, options *armstorage.TableClientListOptions) (resp azfake.PagerResponder[armstorage.TableClientListResponse])

	// Update is the fake for method TableClient.Update
	// HTTP status codes to indicate success: http.StatusOK
	Update func(ctx context.Context, resourceGroupName string, accountName string, tableName string, options *armstorage.TableClientUpdateOptions) (resp azfake.Responder[armstorage.TableClientUpdateResponse], errResp azfake.ErrorResponder)
}

TableServer is a fake server for instances of the armstorage.TableClient type.

type TableServerTransport

type TableServerTransport struct {
	// contains filtered or unexported fields
}

TableServerTransport connects instances of armstorage.TableClient to instances of TableServer. Don't use this type directly, use NewTableServerTransport instead.

func NewTableServerTransport

func NewTableServerTransport(srv *TableServer) *TableServerTransport

NewTableServerTransport creates a new instance of TableServerTransport with the provided implementation. The returned TableServerTransport instance is connected to an instance of armstorage.TableClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*TableServerTransport) Do

Do implements the policy.Transporter interface for TableServerTransport.

type TableServicesServer

type TableServicesServer struct {
	// GetServiceProperties is the fake for method TableServicesClient.GetServiceProperties
	// HTTP status codes to indicate success: http.StatusOK
	GetServiceProperties func(ctx context.Context, resourceGroupName string, accountName string, options *armstorage.TableServicesClientGetServicePropertiesOptions) (resp azfake.Responder[armstorage.TableServicesClientGetServicePropertiesResponse], errResp azfake.ErrorResponder)

	// List is the fake for method TableServicesClient.List
	// HTTP status codes to indicate success: http.StatusOK
	List func(ctx context.Context, resourceGroupName string, accountName string, options *armstorage.TableServicesClientListOptions) (resp azfake.Responder[armstorage.TableServicesClientListResponse], errResp azfake.ErrorResponder)

	// SetServiceProperties is the fake for method TableServicesClient.SetServiceProperties
	// HTTP status codes to indicate success: http.StatusOK
	SetServiceProperties func(ctx context.Context, resourceGroupName string, accountName string, parameters armstorage.TableServiceProperties, options *armstorage.TableServicesClientSetServicePropertiesOptions) (resp azfake.Responder[armstorage.TableServicesClientSetServicePropertiesResponse], errResp azfake.ErrorResponder)
}

TableServicesServer is a fake server for instances of the armstorage.TableServicesClient type.

type TableServicesServerTransport

type TableServicesServerTransport struct {
	// contains filtered or unexported fields
}

TableServicesServerTransport connects instances of armstorage.TableServicesClient to instances of TableServicesServer. Don't use this type directly, use NewTableServicesServerTransport instead.

func NewTableServicesServerTransport

func NewTableServicesServerTransport(srv *TableServicesServer) *TableServicesServerTransport

NewTableServicesServerTransport creates a new instance of TableServicesServerTransport with the provided implementation. The returned TableServicesServerTransport instance is connected to an instance of armstorage.TableServicesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*TableServicesServerTransport) Do

Do implements the policy.Transporter interface for TableServicesServerTransport.

type UsagesServer

type UsagesServer struct {
	// NewListByLocationPager is the fake for method UsagesClient.NewListByLocationPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByLocationPager func(location string, options *armstorage.UsagesClientListByLocationOptions) (resp azfake.PagerResponder[armstorage.UsagesClientListByLocationResponse])
}

UsagesServer is a fake server for instances of the armstorage.UsagesClient type.

type UsagesServerTransport

type UsagesServerTransport struct {
	// contains filtered or unexported fields
}

UsagesServerTransport connects instances of armstorage.UsagesClient to instances of UsagesServer. Don't use this type directly, use NewUsagesServerTransport instead.

func NewUsagesServerTransport

func NewUsagesServerTransport(srv *UsagesServer) *UsagesServerTransport

NewUsagesServerTransport creates a new instance of UsagesServerTransport with the provided implementation. The returned UsagesServerTransport instance is connected to an instance of armstorage.UsagesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*UsagesServerTransport) Do

Do implements the policy.Transporter interface for UsagesServerTransport.

Jump to

Keyboard shortcuts

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