Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountsServer ¶
type AccountsServer struct { // CreateOrUpdate is the fake for method AccountsClient.CreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated CreateOrUpdate func(ctx context.Context, resourceGroupName string, accountName string, mapsAccount armmaps.Account, options *armmaps.AccountsClientCreateOrUpdateOptions) (resp azfake.Responder[armmaps.AccountsClientCreateOrUpdateResponse], 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 *armmaps.AccountsClientDeleteOptions) (resp azfake.Responder[armmaps.AccountsClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method AccountsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, accountName string, options *armmaps.AccountsClientGetOptions) (resp azfake.Responder[armmaps.AccountsClientGetResponse], errResp azfake.ErrorResponder) // NewListByResourceGroupPager is the fake for method AccountsClient.NewListByResourceGroupPager // HTTP status codes to indicate success: http.StatusOK NewListByResourceGroupPager func(resourceGroupName string, options *armmaps.AccountsClientListByResourceGroupOptions) (resp azfake.PagerResponder[armmaps.AccountsClientListByResourceGroupResponse]) // NewListBySubscriptionPager is the fake for method AccountsClient.NewListBySubscriptionPager // HTTP status codes to indicate success: http.StatusOK NewListBySubscriptionPager func(options *armmaps.AccountsClientListBySubscriptionOptions) (resp azfake.PagerResponder[armmaps.AccountsClientListBySubscriptionResponse]) // 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 *armmaps.AccountsClientListKeysOptions) (resp azfake.Responder[armmaps.AccountsClientListKeysResponse], errResp azfake.ErrorResponder) // ListSas is the fake for method AccountsClient.ListSas // HTTP status codes to indicate success: http.StatusOK ListSas func(ctx context.Context, resourceGroupName string, accountName string, mapsAccountSasParameters armmaps.AccountSasParameters, options *armmaps.AccountsClientListSasOptions) (resp azfake.Responder[armmaps.AccountsClientListSasResponse], errResp azfake.ErrorResponder) // RegenerateKeys is the fake for method AccountsClient.RegenerateKeys // HTTP status codes to indicate success: http.StatusOK RegenerateKeys func(ctx context.Context, resourceGroupName string, accountName string, keySpecification armmaps.KeySpecification, options *armmaps.AccountsClientRegenerateKeysOptions) (resp azfake.Responder[armmaps.AccountsClientRegenerateKeysResponse], 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, mapsAccountUpdateParameters armmaps.AccountUpdateParameters, options *armmaps.AccountsClientUpdateOptions) (resp azfake.Responder[armmaps.AccountsClientUpdateResponse], errResp azfake.ErrorResponder) }
AccountsServer is a fake server for instances of the armmaps.AccountsClient type.
type AccountsServerTransport ¶
type AccountsServerTransport struct {
// contains filtered or unexported fields
}
AccountsServerTransport connects instances of armmaps.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 armmaps.AccountsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type CreatorsServer ¶
type CreatorsServer struct { // CreateOrUpdate is the fake for method CreatorsClient.CreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated CreateOrUpdate func(ctx context.Context, resourceGroupName string, accountName string, creatorName string, creatorResource armmaps.Creator, options *armmaps.CreatorsClientCreateOrUpdateOptions) (resp azfake.Responder[armmaps.CreatorsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method CreatorsClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Delete func(ctx context.Context, resourceGroupName string, accountName string, creatorName string, options *armmaps.CreatorsClientDeleteOptions) (resp azfake.Responder[armmaps.CreatorsClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method CreatorsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, accountName string, creatorName string, options *armmaps.CreatorsClientGetOptions) (resp azfake.Responder[armmaps.CreatorsClientGetResponse], errResp azfake.ErrorResponder) // NewListByAccountPager is the fake for method CreatorsClient.NewListByAccountPager // HTTP status codes to indicate success: http.StatusOK NewListByAccountPager func(resourceGroupName string, accountName string, options *armmaps.CreatorsClientListByAccountOptions) (resp azfake.PagerResponder[armmaps.CreatorsClientListByAccountResponse]) // Update is the fake for method CreatorsClient.Update // HTTP status codes to indicate success: http.StatusOK Update func(ctx context.Context, resourceGroupName string, accountName string, creatorName string, creatorUpdateParameters armmaps.CreatorUpdateParameters, options *armmaps.CreatorsClientUpdateOptions) (resp azfake.Responder[armmaps.CreatorsClientUpdateResponse], errResp azfake.ErrorResponder) }
CreatorsServer is a fake server for instances of the armmaps.CreatorsClient type.
type CreatorsServerTransport ¶
type CreatorsServerTransport struct {
// contains filtered or unexported fields
}
CreatorsServerTransport connects instances of armmaps.CreatorsClient to instances of CreatorsServer. Don't use this type directly, use NewCreatorsServerTransport instead.
func NewCreatorsServerTransport ¶
func NewCreatorsServerTransport(srv *CreatorsServer) *CreatorsServerTransport
NewCreatorsServerTransport creates a new instance of CreatorsServerTransport with the provided implementation. The returned CreatorsServerTransport instance is connected to an instance of armmaps.CreatorsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type Server ¶
type Server struct { // NewListOperationsPager is the fake for method Client.NewListOperationsPager // HTTP status codes to indicate success: http.StatusOK NewListOperationsPager func(options *armmaps.ClientListOperationsOptions) (resp azfake.PagerResponder[armmaps.ClientListOperationsResponse]) // NewListSubscriptionOperationsPager is the fake for method Client.NewListSubscriptionOperationsPager // HTTP status codes to indicate success: http.StatusOK NewListSubscriptionOperationsPager func(options *armmaps.ClientListSubscriptionOperationsOptions) (resp azfake.PagerResponder[armmaps.ClientListSubscriptionOperationsResponse]) }
Server is a fake server for instances of the armmaps.Client type.
type ServerFactory ¶
type ServerFactory struct { AccountsServer AccountsServer Server Server CreatorsServer CreatorsServer }
ServerFactory is a fake server for instances of the armmaps.ClientFactory type.
type ServerFactoryTransport ¶
type ServerFactoryTransport struct {
// contains filtered or unexported fields
}
ServerFactoryTransport connects instances of armmaps.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 armmaps.ClientFactory via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ServerTransport ¶
type ServerTransport struct {
// contains filtered or unexported fields
}
ServerTransport connects instances of armmaps.Client to instances of Server. Don't use this type directly, use NewServerTransport instead.
func NewServerTransport ¶
func NewServerTransport(srv *Server) *ServerTransport
NewServerTransport creates a new instance of ServerTransport with the provided implementation. The returned ServerTransport instance is connected to an instance of armmaps.Client via the azcore.ClientOptions.Transporter field in the client's constructor parameters.