fake

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2023 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdvisorsServer

type AdvisorsServer struct {
	// Get is the fake for method AdvisorsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, serverName string, advisorName string, options *armmariadb.AdvisorsClientGetOptions) (resp azfake.Responder[armmariadb.AdvisorsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByServerPager is the fake for method AdvisorsClient.NewListByServerPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByServerPager func(resourceGroupName string, serverName string, options *armmariadb.AdvisorsClientListByServerOptions) (resp azfake.PagerResponder[armmariadb.AdvisorsClientListByServerResponse])
}

AdvisorsServer is a fake server for instances of the armmariadb.AdvisorsClient type.

type AdvisorsServerTransport

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

AdvisorsServerTransport connects instances of armmariadb.AdvisorsClient to instances of AdvisorsServer. Don't use this type directly, use NewAdvisorsServerTransport instead.

func NewAdvisorsServerTransport

func NewAdvisorsServerTransport(srv *AdvisorsServer) *AdvisorsServerTransport

NewAdvisorsServerTransport creates a new instance of AdvisorsServerTransport with the provided implementation. The returned AdvisorsServerTransport instance is connected to an instance of armmariadb.AdvisorsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*AdvisorsServerTransport) Do

Do implements the policy.Transporter interface for AdvisorsServerTransport.

type CheckNameAvailabilityServer

type CheckNameAvailabilityServer struct {
	// Execute is the fake for method CheckNameAvailabilityClient.Execute
	// HTTP status codes to indicate success: http.StatusOK
	Execute func(ctx context.Context, nameAvailabilityRequest armmariadb.NameAvailabilityRequest, options *armmariadb.CheckNameAvailabilityClientExecuteOptions) (resp azfake.Responder[armmariadb.CheckNameAvailabilityClientExecuteResponse], errResp azfake.ErrorResponder)
}

CheckNameAvailabilityServer is a fake server for instances of the armmariadb.CheckNameAvailabilityClient type.

type CheckNameAvailabilityServerTransport

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

CheckNameAvailabilityServerTransport connects instances of armmariadb.CheckNameAvailabilityClient to instances of CheckNameAvailabilityServer. Don't use this type directly, use NewCheckNameAvailabilityServerTransport instead.

func NewCheckNameAvailabilityServerTransport

func NewCheckNameAvailabilityServerTransport(srv *CheckNameAvailabilityServer) *CheckNameAvailabilityServerTransport

NewCheckNameAvailabilityServerTransport creates a new instance of CheckNameAvailabilityServerTransport with the provided implementation. The returned CheckNameAvailabilityServerTransport instance is connected to an instance of armmariadb.CheckNameAvailabilityClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*CheckNameAvailabilityServerTransport) Do

Do implements the policy.Transporter interface for CheckNameAvailabilityServerTransport.

type ConfigurationsServer

type ConfigurationsServer struct {
	// BeginCreateOrUpdate is the fake for method ConfigurationsClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, serverName string, configurationName string, parameters armmariadb.Configuration, options *armmariadb.ConfigurationsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armmariadb.ConfigurationsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method ConfigurationsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, serverName string, configurationName string, options *armmariadb.ConfigurationsClientGetOptions) (resp azfake.Responder[armmariadb.ConfigurationsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByServerPager is the fake for method ConfigurationsClient.NewListByServerPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByServerPager func(resourceGroupName string, serverName string, options *armmariadb.ConfigurationsClientListByServerOptions) (resp azfake.PagerResponder[armmariadb.ConfigurationsClientListByServerResponse])
}

ConfigurationsServer is a fake server for instances of the armmariadb.ConfigurationsClient type.

type ConfigurationsServerTransport

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

ConfigurationsServerTransport connects instances of armmariadb.ConfigurationsClient to instances of ConfigurationsServer. Don't use this type directly, use NewConfigurationsServerTransport instead.

func NewConfigurationsServerTransport

func NewConfigurationsServerTransport(srv *ConfigurationsServer) *ConfigurationsServerTransport

NewConfigurationsServerTransport creates a new instance of ConfigurationsServerTransport with the provided implementation. The returned ConfigurationsServerTransport instance is connected to an instance of armmariadb.ConfigurationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ConfigurationsServerTransport) Do

Do implements the policy.Transporter interface for ConfigurationsServerTransport.

type DatabasesServer

type DatabasesServer struct {
	// BeginCreateOrUpdate is the fake for method DatabasesClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, serverName string, databaseName string, parameters armmariadb.Database, options *armmariadb.DatabasesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armmariadb.DatabasesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method DatabasesClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, serverName string, databaseName string, options *armmariadb.DatabasesClientBeginDeleteOptions) (resp azfake.PollerResponder[armmariadb.DatabasesClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method DatabasesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, serverName string, databaseName string, options *armmariadb.DatabasesClientGetOptions) (resp azfake.Responder[armmariadb.DatabasesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByServerPager is the fake for method DatabasesClient.NewListByServerPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByServerPager func(resourceGroupName string, serverName string, options *armmariadb.DatabasesClientListByServerOptions) (resp azfake.PagerResponder[armmariadb.DatabasesClientListByServerResponse])
}

DatabasesServer is a fake server for instances of the armmariadb.DatabasesClient type.

type DatabasesServerTransport

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

DatabasesServerTransport connects instances of armmariadb.DatabasesClient to instances of DatabasesServer. Don't use this type directly, use NewDatabasesServerTransport instead.

func NewDatabasesServerTransport

func NewDatabasesServerTransport(srv *DatabasesServer) *DatabasesServerTransport

NewDatabasesServerTransport creates a new instance of DatabasesServerTransport with the provided implementation. The returned DatabasesServerTransport instance is connected to an instance of armmariadb.DatabasesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*DatabasesServerTransport) Do

Do implements the policy.Transporter interface for DatabasesServerTransport.

type FirewallRulesServer

type FirewallRulesServer struct {
	// BeginCreateOrUpdate is the fake for method FirewallRulesClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, serverName string, firewallRuleName string, parameters armmariadb.FirewallRule, options *armmariadb.FirewallRulesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armmariadb.FirewallRulesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method FirewallRulesClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, serverName string, firewallRuleName string, options *armmariadb.FirewallRulesClientBeginDeleteOptions) (resp azfake.PollerResponder[armmariadb.FirewallRulesClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method FirewallRulesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, serverName string, firewallRuleName string, options *armmariadb.FirewallRulesClientGetOptions) (resp azfake.Responder[armmariadb.FirewallRulesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByServerPager is the fake for method FirewallRulesClient.NewListByServerPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByServerPager func(resourceGroupName string, serverName string, options *armmariadb.FirewallRulesClientListByServerOptions) (resp azfake.PagerResponder[armmariadb.FirewallRulesClientListByServerResponse])
}

FirewallRulesServer is a fake server for instances of the armmariadb.FirewallRulesClient type.

type FirewallRulesServerTransport

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

FirewallRulesServerTransport connects instances of armmariadb.FirewallRulesClient to instances of FirewallRulesServer. Don't use this type directly, use NewFirewallRulesServerTransport instead.

func NewFirewallRulesServerTransport

func NewFirewallRulesServerTransport(srv *FirewallRulesServer) *FirewallRulesServerTransport

NewFirewallRulesServerTransport creates a new instance of FirewallRulesServerTransport with the provided implementation. The returned FirewallRulesServerTransport instance is connected to an instance of armmariadb.FirewallRulesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*FirewallRulesServerTransport) Do

Do implements the policy.Transporter interface for FirewallRulesServerTransport.

type LocationBasedPerformanceTierServer

type LocationBasedPerformanceTierServer struct {
	// NewListPager is the fake for method LocationBasedPerformanceTierClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(locationName string, options *armmariadb.LocationBasedPerformanceTierClientListOptions) (resp azfake.PagerResponder[armmariadb.LocationBasedPerformanceTierClientListResponse])
}

LocationBasedPerformanceTierServer is a fake server for instances of the armmariadb.LocationBasedPerformanceTierClient type.

type LocationBasedPerformanceTierServerTransport

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

LocationBasedPerformanceTierServerTransport connects instances of armmariadb.LocationBasedPerformanceTierClient to instances of LocationBasedPerformanceTierServer. Don't use this type directly, use NewLocationBasedPerformanceTierServerTransport instead.

func NewLocationBasedPerformanceTierServerTransport

func NewLocationBasedPerformanceTierServerTransport(srv *LocationBasedPerformanceTierServer) *LocationBasedPerformanceTierServerTransport

NewLocationBasedPerformanceTierServerTransport creates a new instance of LocationBasedPerformanceTierServerTransport with the provided implementation. The returned LocationBasedPerformanceTierServerTransport instance is connected to an instance of armmariadb.LocationBasedPerformanceTierClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*LocationBasedPerformanceTierServerTransport) Do

Do implements the policy.Transporter interface for LocationBasedPerformanceTierServerTransport.

type LocationBasedRecommendedActionSessionsOperationStatusServer

type LocationBasedRecommendedActionSessionsOperationStatusServer struct {
	// Get is the fake for method LocationBasedRecommendedActionSessionsOperationStatusClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, locationName string, operationID string, options *armmariadb.LocationBasedRecommendedActionSessionsOperationStatusClientGetOptions) (resp azfake.Responder[armmariadb.LocationBasedRecommendedActionSessionsOperationStatusClientGetResponse], errResp azfake.ErrorResponder)
}

LocationBasedRecommendedActionSessionsOperationStatusServer is a fake server for instances of the armmariadb.LocationBasedRecommendedActionSessionsOperationStatusClient type.

type LocationBasedRecommendedActionSessionsOperationStatusServerTransport

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

LocationBasedRecommendedActionSessionsOperationStatusServerTransport connects instances of armmariadb.LocationBasedRecommendedActionSessionsOperationStatusClient to instances of LocationBasedRecommendedActionSessionsOperationStatusServer. Don't use this type directly, use NewLocationBasedRecommendedActionSessionsOperationStatusServerTransport instead.

func NewLocationBasedRecommendedActionSessionsOperationStatusServerTransport

func NewLocationBasedRecommendedActionSessionsOperationStatusServerTransport(srv *LocationBasedRecommendedActionSessionsOperationStatusServer) *LocationBasedRecommendedActionSessionsOperationStatusServerTransport

NewLocationBasedRecommendedActionSessionsOperationStatusServerTransport creates a new instance of LocationBasedRecommendedActionSessionsOperationStatusServerTransport with the provided implementation. The returned LocationBasedRecommendedActionSessionsOperationStatusServerTransport instance is connected to an instance of armmariadb.LocationBasedRecommendedActionSessionsOperationStatusClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*LocationBasedRecommendedActionSessionsOperationStatusServerTransport) Do

Do implements the policy.Transporter interface for LocationBasedRecommendedActionSessionsOperationStatusServerTransport.

type LocationBasedRecommendedActionSessionsResultServer

type LocationBasedRecommendedActionSessionsResultServer struct {
	// NewListPager is the fake for method LocationBasedRecommendedActionSessionsResultClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	NewListPager func(locationName string, operationID string, options *armmariadb.LocationBasedRecommendedActionSessionsResultClientListOptions) (resp azfake.PagerResponder[armmariadb.LocationBasedRecommendedActionSessionsResultClientListResponse])
}

LocationBasedRecommendedActionSessionsResultServer is a fake server for instances of the armmariadb.LocationBasedRecommendedActionSessionsResultClient type.

type LocationBasedRecommendedActionSessionsResultServerTransport

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

LocationBasedRecommendedActionSessionsResultServerTransport connects instances of armmariadb.LocationBasedRecommendedActionSessionsResultClient to instances of LocationBasedRecommendedActionSessionsResultServer. Don't use this type directly, use NewLocationBasedRecommendedActionSessionsResultServerTransport instead.

func NewLocationBasedRecommendedActionSessionsResultServerTransport

func NewLocationBasedRecommendedActionSessionsResultServerTransport(srv *LocationBasedRecommendedActionSessionsResultServer) *LocationBasedRecommendedActionSessionsResultServerTransport

NewLocationBasedRecommendedActionSessionsResultServerTransport creates a new instance of LocationBasedRecommendedActionSessionsResultServerTransport with the provided implementation. The returned LocationBasedRecommendedActionSessionsResultServerTransport instance is connected to an instance of armmariadb.LocationBasedRecommendedActionSessionsResultClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*LocationBasedRecommendedActionSessionsResultServerTransport) Do

Do implements the policy.Transporter interface for LocationBasedRecommendedActionSessionsResultServerTransport.

type LogFilesServer

type LogFilesServer struct {
	// NewListByServerPager is the fake for method LogFilesClient.NewListByServerPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByServerPager func(resourceGroupName string, serverName string, options *armmariadb.LogFilesClientListByServerOptions) (resp azfake.PagerResponder[armmariadb.LogFilesClientListByServerResponse])
}

LogFilesServer is a fake server for instances of the armmariadb.LogFilesClient type.

type LogFilesServerTransport

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

LogFilesServerTransport connects instances of armmariadb.LogFilesClient to instances of LogFilesServer. Don't use this type directly, use NewLogFilesServerTransport instead.

func NewLogFilesServerTransport

func NewLogFilesServerTransport(srv *LogFilesServer) *LogFilesServerTransport

NewLogFilesServerTransport creates a new instance of LogFilesServerTransport with the provided implementation. The returned LogFilesServerTransport instance is connected to an instance of armmariadb.LogFilesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*LogFilesServerTransport) Do

Do implements the policy.Transporter interface for LogFilesServerTransport.

type ManagementServer

type ManagementServer struct {
	// BeginCreateRecommendedActionSession is the fake for method ManagementClient.BeginCreateRecommendedActionSession
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginCreateRecommendedActionSession func(ctx context.Context, resourceGroupName string, serverName string, advisorName string, databaseName string, options *armmariadb.ManagementClientBeginCreateRecommendedActionSessionOptions) (resp azfake.PollerResponder[armmariadb.ManagementClientCreateRecommendedActionSessionResponse], errResp azfake.ErrorResponder)

	// ResetQueryPerformanceInsightData is the fake for method ManagementClient.ResetQueryPerformanceInsightData
	// HTTP status codes to indicate success: http.StatusOK
	ResetQueryPerformanceInsightData func(ctx context.Context, resourceGroupName string, serverName string, options *armmariadb.ManagementClientResetQueryPerformanceInsightDataOptions) (resp azfake.Responder[armmariadb.ManagementClientResetQueryPerformanceInsightDataResponse], errResp azfake.ErrorResponder)
}

ManagementServer is a fake server for instances of the armmariadb.ManagementClient type.

type ManagementServerTransport

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

ManagementServerTransport connects instances of armmariadb.ManagementClient to instances of ManagementServer. Don't use this type directly, use NewManagementServerTransport instead.

func NewManagementServerTransport

func NewManagementServerTransport(srv *ManagementServer) *ManagementServerTransport

NewManagementServerTransport creates a new instance of ManagementServerTransport with the provided implementation. The returned ManagementServerTransport instance is connected to an instance of armmariadb.ManagementClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ManagementServerTransport) Do

Do implements the policy.Transporter interface for ManagementServerTransport.

type OperationsServer

type OperationsServer struct {
	// List is the fake for method OperationsClient.List
	// HTTP status codes to indicate success: http.StatusOK
	List func(ctx context.Context, options *armmariadb.OperationsClientListOptions) (resp azfake.Responder[armmariadb.OperationsClientListResponse], errResp azfake.ErrorResponder)
}

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

type OperationsServerTransport

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

OperationsServerTransport connects instances of armmariadb.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 armmariadb.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 {
	// BeginCreateOrUpdate is the fake for method PrivateEndpointConnectionsClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, serverName string, privateEndpointConnectionName string, parameters armmariadb.PrivateEndpointConnection, options *armmariadb.PrivateEndpointConnectionsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armmariadb.PrivateEndpointConnectionsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method PrivateEndpointConnectionsClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, serverName string, privateEndpointConnectionName string, options *armmariadb.PrivateEndpointConnectionsClientBeginDeleteOptions) (resp azfake.PollerResponder[armmariadb.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, serverName string, privateEndpointConnectionName string, options *armmariadb.PrivateEndpointConnectionsClientGetOptions) (resp azfake.Responder[armmariadb.PrivateEndpointConnectionsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByServerPager is the fake for method PrivateEndpointConnectionsClient.NewListByServerPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByServerPager func(resourceGroupName string, serverName string, options *armmariadb.PrivateEndpointConnectionsClientListByServerOptions) (resp azfake.PagerResponder[armmariadb.PrivateEndpointConnectionsClientListByServerResponse])

	// BeginUpdateTags is the fake for method PrivateEndpointConnectionsClient.BeginUpdateTags
	// HTTP status codes to indicate success: http.StatusOK
	BeginUpdateTags func(ctx context.Context, resourceGroupName string, serverName string, privateEndpointConnectionName string, parameters armmariadb.TagsObject, options *armmariadb.PrivateEndpointConnectionsClientBeginUpdateTagsOptions) (resp azfake.PollerResponder[armmariadb.PrivateEndpointConnectionsClientUpdateTagsResponse], errResp azfake.ErrorResponder)
}

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

type PrivateEndpointConnectionsServerTransport

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

PrivateEndpointConnectionsServerTransport connects instances of armmariadb.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 armmariadb.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 {
	// Get is the fake for method PrivateLinkResourcesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, serverName string, groupName string, options *armmariadb.PrivateLinkResourcesClientGetOptions) (resp azfake.Responder[armmariadb.PrivateLinkResourcesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByServerPager is the fake for method PrivateLinkResourcesClient.NewListByServerPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByServerPager func(resourceGroupName string, serverName string, options *armmariadb.PrivateLinkResourcesClientListByServerOptions) (resp azfake.PagerResponder[armmariadb.PrivateLinkResourcesClientListByServerResponse])
}

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

type PrivateLinkResourcesServerTransport

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

PrivateLinkResourcesServerTransport connects instances of armmariadb.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 armmariadb.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 QueryTextsServer

type QueryTextsServer struct {
	// Get is the fake for method QueryTextsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, serverName string, queryID string, options *armmariadb.QueryTextsClientGetOptions) (resp azfake.Responder[armmariadb.QueryTextsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByServerPager is the fake for method QueryTextsClient.NewListByServerPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByServerPager func(resourceGroupName string, serverName string, queryIDs []string, options *armmariadb.QueryTextsClientListByServerOptions) (resp azfake.PagerResponder[armmariadb.QueryTextsClientListByServerResponse])
}

QueryTextsServer is a fake server for instances of the armmariadb.QueryTextsClient type.

type QueryTextsServerTransport

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

QueryTextsServerTransport connects instances of armmariadb.QueryTextsClient to instances of QueryTextsServer. Don't use this type directly, use NewQueryTextsServerTransport instead.

func NewQueryTextsServerTransport

func NewQueryTextsServerTransport(srv *QueryTextsServer) *QueryTextsServerTransport

NewQueryTextsServerTransport creates a new instance of QueryTextsServerTransport with the provided implementation. The returned QueryTextsServerTransport instance is connected to an instance of armmariadb.QueryTextsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*QueryTextsServerTransport) Do

Do implements the policy.Transporter interface for QueryTextsServerTransport.

type RecommendedActionsServer

type RecommendedActionsServer struct {
	// Get is the fake for method RecommendedActionsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, serverName string, advisorName string, recommendedActionName string, options *armmariadb.RecommendedActionsClientGetOptions) (resp azfake.Responder[armmariadb.RecommendedActionsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByServerPager is the fake for method RecommendedActionsClient.NewListByServerPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByServerPager func(resourceGroupName string, serverName string, advisorName string, options *armmariadb.RecommendedActionsClientListByServerOptions) (resp azfake.PagerResponder[armmariadb.RecommendedActionsClientListByServerResponse])
}

RecommendedActionsServer is a fake server for instances of the armmariadb.RecommendedActionsClient type.

type RecommendedActionsServerTransport

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

RecommendedActionsServerTransport connects instances of armmariadb.RecommendedActionsClient to instances of RecommendedActionsServer. Don't use this type directly, use NewRecommendedActionsServerTransport instead.

func NewRecommendedActionsServerTransport

func NewRecommendedActionsServerTransport(srv *RecommendedActionsServer) *RecommendedActionsServerTransport

NewRecommendedActionsServerTransport creates a new instance of RecommendedActionsServerTransport with the provided implementation. The returned RecommendedActionsServerTransport instance is connected to an instance of armmariadb.RecommendedActionsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*RecommendedActionsServerTransport) Do

Do implements the policy.Transporter interface for RecommendedActionsServerTransport.

type RecoverableServersServer

type RecoverableServersServer struct {
	// Get is the fake for method RecoverableServersClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, serverName string, options *armmariadb.RecoverableServersClientGetOptions) (resp azfake.Responder[armmariadb.RecoverableServersClientGetResponse], errResp azfake.ErrorResponder)
}

RecoverableServersServer is a fake server for instances of the armmariadb.RecoverableServersClient type.

type RecoverableServersServerTransport

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

RecoverableServersServerTransport connects instances of armmariadb.RecoverableServersClient to instances of RecoverableServersServer. Don't use this type directly, use NewRecoverableServersServerTransport instead.

func NewRecoverableServersServerTransport

func NewRecoverableServersServerTransport(srv *RecoverableServersServer) *RecoverableServersServerTransport

NewRecoverableServersServerTransport creates a new instance of RecoverableServersServerTransport with the provided implementation. The returned RecoverableServersServerTransport instance is connected to an instance of armmariadb.RecoverableServersClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*RecoverableServersServerTransport) Do

Do implements the policy.Transporter interface for RecoverableServersServerTransport.

type ReplicasServer

type ReplicasServer struct {
	// NewListByServerPager is the fake for method ReplicasClient.NewListByServerPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByServerPager func(resourceGroupName string, serverName string, options *armmariadb.ReplicasClientListByServerOptions) (resp azfake.PagerResponder[armmariadb.ReplicasClientListByServerResponse])
}

ReplicasServer is a fake server for instances of the armmariadb.ReplicasClient type.

type ReplicasServerTransport

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

ReplicasServerTransport connects instances of armmariadb.ReplicasClient to instances of ReplicasServer. Don't use this type directly, use NewReplicasServerTransport instead.

func NewReplicasServerTransport

func NewReplicasServerTransport(srv *ReplicasServer) *ReplicasServerTransport

NewReplicasServerTransport creates a new instance of ReplicasServerTransport with the provided implementation. The returned ReplicasServerTransport instance is connected to an instance of armmariadb.ReplicasClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ReplicasServerTransport) Do

Do implements the policy.Transporter interface for ReplicasServerTransport.

type ServerBasedPerformanceTierServer

type ServerBasedPerformanceTierServer struct {
	// NewListPager is the fake for method ServerBasedPerformanceTierClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, serverName string, options *armmariadb.ServerBasedPerformanceTierClientListOptions) (resp azfake.PagerResponder[armmariadb.ServerBasedPerformanceTierClientListResponse])
}

ServerBasedPerformanceTierServer is a fake server for instances of the armmariadb.ServerBasedPerformanceTierClient type.

type ServerBasedPerformanceTierServerTransport

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

ServerBasedPerformanceTierServerTransport connects instances of armmariadb.ServerBasedPerformanceTierClient to instances of ServerBasedPerformanceTierServer. Don't use this type directly, use NewServerBasedPerformanceTierServerTransport instead.

func NewServerBasedPerformanceTierServerTransport

func NewServerBasedPerformanceTierServerTransport(srv *ServerBasedPerformanceTierServer) *ServerBasedPerformanceTierServerTransport

NewServerBasedPerformanceTierServerTransport creates a new instance of ServerBasedPerformanceTierServerTransport with the provided implementation. The returned ServerBasedPerformanceTierServerTransport instance is connected to an instance of armmariadb.ServerBasedPerformanceTierClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ServerBasedPerformanceTierServerTransport) Do

Do implements the policy.Transporter interface for ServerBasedPerformanceTierServerTransport.

type ServerFactory

type ServerFactory struct {
	AdvisorsServer                                              AdvisorsServer
	CheckNameAvailabilityServer                                 CheckNameAvailabilityServer
	ConfigurationsServer                                        ConfigurationsServer
	DatabasesServer                                             DatabasesServer
	FirewallRulesServer                                         FirewallRulesServer
	LocationBasedPerformanceTierServer                          LocationBasedPerformanceTierServer
	LocationBasedRecommendedActionSessionsOperationStatusServer LocationBasedRecommendedActionSessionsOperationStatusServer
	LocationBasedRecommendedActionSessionsResultServer          LocationBasedRecommendedActionSessionsResultServer
	LogFilesServer                                              LogFilesServer
	ManagementServer                                            ManagementServer
	OperationsServer                                            OperationsServer
	PrivateEndpointConnectionsServer                            PrivateEndpointConnectionsServer
	PrivateLinkResourcesServer                                  PrivateLinkResourcesServer
	QueryTextsServer                                            QueryTextsServer
	RecommendedActionsServer                                    RecommendedActionsServer
	RecoverableServersServer                                    RecoverableServersServer
	ReplicasServer                                              ReplicasServer
	ServerBasedPerformanceTierServer                            ServerBasedPerformanceTierServer
	ServerParametersServer                                      ServerParametersServer
	ServerSecurityAlertPoliciesServer                           ServerSecurityAlertPoliciesServer
	ServersServer                                               ServersServer
	TopQueryStatisticsServer                                    TopQueryStatisticsServer
	VirtualNetworkRulesServer                                   VirtualNetworkRulesServer
	WaitStatisticsServer                                        WaitStatisticsServer
}

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

type ServerFactoryTransport

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

ServerFactoryTransport connects instances of armmariadb.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 armmariadb.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 ServerParametersServer

type ServerParametersServer struct {
	// BeginListUpdateConfigurations is the fake for method ServerParametersClient.BeginListUpdateConfigurations
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginListUpdateConfigurations func(ctx context.Context, resourceGroupName string, serverName string, value armmariadb.ConfigurationListResult, options *armmariadb.ServerParametersClientBeginListUpdateConfigurationsOptions) (resp azfake.PollerResponder[armmariadb.ServerParametersClientListUpdateConfigurationsResponse], errResp azfake.ErrorResponder)
}

ServerParametersServer is a fake server for instances of the armmariadb.ServerParametersClient type.

type ServerParametersServerTransport

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

ServerParametersServerTransport connects instances of armmariadb.ServerParametersClient to instances of ServerParametersServer. Don't use this type directly, use NewServerParametersServerTransport instead.

func NewServerParametersServerTransport

func NewServerParametersServerTransport(srv *ServerParametersServer) *ServerParametersServerTransport

NewServerParametersServerTransport creates a new instance of ServerParametersServerTransport with the provided implementation. The returned ServerParametersServerTransport instance is connected to an instance of armmariadb.ServerParametersClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ServerParametersServerTransport) Do

Do implements the policy.Transporter interface for ServerParametersServerTransport.

type ServerSecurityAlertPoliciesServer

type ServerSecurityAlertPoliciesServer struct {
	// BeginCreateOrUpdate is the fake for method ServerSecurityAlertPoliciesClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, serverName string, securityAlertPolicyName armmariadb.SecurityAlertPolicyName, parameters armmariadb.ServerSecurityAlertPolicy, options *armmariadb.ServerSecurityAlertPoliciesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armmariadb.ServerSecurityAlertPoliciesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method ServerSecurityAlertPoliciesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, serverName string, securityAlertPolicyName armmariadb.SecurityAlertPolicyName, options *armmariadb.ServerSecurityAlertPoliciesClientGetOptions) (resp azfake.Responder[armmariadb.ServerSecurityAlertPoliciesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByServerPager is the fake for method ServerSecurityAlertPoliciesClient.NewListByServerPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByServerPager func(resourceGroupName string, serverName string, options *armmariadb.ServerSecurityAlertPoliciesClientListByServerOptions) (resp azfake.PagerResponder[armmariadb.ServerSecurityAlertPoliciesClientListByServerResponse])
}

ServerSecurityAlertPoliciesServer is a fake server for instances of the armmariadb.ServerSecurityAlertPoliciesClient type.

type ServerSecurityAlertPoliciesServerTransport

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

ServerSecurityAlertPoliciesServerTransport connects instances of armmariadb.ServerSecurityAlertPoliciesClient to instances of ServerSecurityAlertPoliciesServer. Don't use this type directly, use NewServerSecurityAlertPoliciesServerTransport instead.

func NewServerSecurityAlertPoliciesServerTransport

func NewServerSecurityAlertPoliciesServerTransport(srv *ServerSecurityAlertPoliciesServer) *ServerSecurityAlertPoliciesServerTransport

NewServerSecurityAlertPoliciesServerTransport creates a new instance of ServerSecurityAlertPoliciesServerTransport with the provided implementation. The returned ServerSecurityAlertPoliciesServerTransport instance is connected to an instance of armmariadb.ServerSecurityAlertPoliciesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ServerSecurityAlertPoliciesServerTransport) Do

Do implements the policy.Transporter interface for ServerSecurityAlertPoliciesServerTransport.

type ServersServer

type ServersServer struct {
	// BeginCreate is the fake for method ServersClient.BeginCreate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginCreate func(ctx context.Context, resourceGroupName string, serverName string, parameters armmariadb.ServerForCreate, options *armmariadb.ServersClientBeginCreateOptions) (resp azfake.PollerResponder[armmariadb.ServersClientCreateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method ServersClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, serverName string, options *armmariadb.ServersClientBeginDeleteOptions) (resp azfake.PollerResponder[armmariadb.ServersClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method ServersClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, serverName string, options *armmariadb.ServersClientGetOptions) (resp azfake.Responder[armmariadb.ServersClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method ServersClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(options *armmariadb.ServersClientListOptions) (resp azfake.PagerResponder[armmariadb.ServersClientListResponse])

	// NewListByResourceGroupPager is the fake for method ServersClient.NewListByResourceGroupPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByResourceGroupPager func(resourceGroupName string, options *armmariadb.ServersClientListByResourceGroupOptions) (resp azfake.PagerResponder[armmariadb.ServersClientListByResourceGroupResponse])

	// BeginRestart is the fake for method ServersClient.BeginRestart
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginRestart func(ctx context.Context, resourceGroupName string, serverName string, options *armmariadb.ServersClientBeginRestartOptions) (resp azfake.PollerResponder[armmariadb.ServersClientRestartResponse], errResp azfake.ErrorResponder)

	// BeginStart is the fake for method ServersClient.BeginStart
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginStart func(ctx context.Context, resourceGroupName string, serverName string, options *armmariadb.ServersClientBeginStartOptions) (resp azfake.PollerResponder[armmariadb.ServersClientStartResponse], errResp azfake.ErrorResponder)

	// BeginStop is the fake for method ServersClient.BeginStop
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginStop func(ctx context.Context, resourceGroupName string, serverName string, options *armmariadb.ServersClientBeginStopOptions) (resp azfake.PollerResponder[armmariadb.ServersClientStopResponse], errResp azfake.ErrorResponder)

	// BeginUpdate is the fake for method ServersClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, serverName string, parameters armmariadb.ServerUpdateParameters, options *armmariadb.ServersClientBeginUpdateOptions) (resp azfake.PollerResponder[armmariadb.ServersClientUpdateResponse], errResp azfake.ErrorResponder)
}

ServersServer is a fake server for instances of the armmariadb.ServersClient type.

type ServersServerTransport

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

ServersServerTransport connects instances of armmariadb.ServersClient to instances of ServersServer. Don't use this type directly, use NewServersServerTransport instead.

func NewServersServerTransport

func NewServersServerTransport(srv *ServersServer) *ServersServerTransport

NewServersServerTransport creates a new instance of ServersServerTransport with the provided implementation. The returned ServersServerTransport instance is connected to an instance of armmariadb.ServersClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ServersServerTransport) Do

Do implements the policy.Transporter interface for ServersServerTransport.

type TopQueryStatisticsServer

type TopQueryStatisticsServer struct {
	// Get is the fake for method TopQueryStatisticsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, serverName string, queryStatisticID string, options *armmariadb.TopQueryStatisticsClientGetOptions) (resp azfake.Responder[armmariadb.TopQueryStatisticsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByServerPager is the fake for method TopQueryStatisticsClient.NewListByServerPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByServerPager func(resourceGroupName string, serverName string, parameters armmariadb.TopQueryStatisticsInput, options *armmariadb.TopQueryStatisticsClientListByServerOptions) (resp azfake.PagerResponder[armmariadb.TopQueryStatisticsClientListByServerResponse])
}

TopQueryStatisticsServer is a fake server for instances of the armmariadb.TopQueryStatisticsClient type.

type TopQueryStatisticsServerTransport

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

TopQueryStatisticsServerTransport connects instances of armmariadb.TopQueryStatisticsClient to instances of TopQueryStatisticsServer. Don't use this type directly, use NewTopQueryStatisticsServerTransport instead.

func NewTopQueryStatisticsServerTransport

func NewTopQueryStatisticsServerTransport(srv *TopQueryStatisticsServer) *TopQueryStatisticsServerTransport

NewTopQueryStatisticsServerTransport creates a new instance of TopQueryStatisticsServerTransport with the provided implementation. The returned TopQueryStatisticsServerTransport instance is connected to an instance of armmariadb.TopQueryStatisticsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*TopQueryStatisticsServerTransport) Do

Do implements the policy.Transporter interface for TopQueryStatisticsServerTransport.

type VirtualNetworkRulesServer

type VirtualNetworkRulesServer struct {
	// BeginCreateOrUpdate is the fake for method VirtualNetworkRulesClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, serverName string, virtualNetworkRuleName string, parameters armmariadb.VirtualNetworkRule, options *armmariadb.VirtualNetworkRulesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armmariadb.VirtualNetworkRulesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method VirtualNetworkRulesClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, serverName string, virtualNetworkRuleName string, options *armmariadb.VirtualNetworkRulesClientBeginDeleteOptions) (resp azfake.PollerResponder[armmariadb.VirtualNetworkRulesClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method VirtualNetworkRulesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, serverName string, virtualNetworkRuleName string, options *armmariadb.VirtualNetworkRulesClientGetOptions) (resp azfake.Responder[armmariadb.VirtualNetworkRulesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByServerPager is the fake for method VirtualNetworkRulesClient.NewListByServerPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByServerPager func(resourceGroupName string, serverName string, options *armmariadb.VirtualNetworkRulesClientListByServerOptions) (resp azfake.PagerResponder[armmariadb.VirtualNetworkRulesClientListByServerResponse])
}

VirtualNetworkRulesServer is a fake server for instances of the armmariadb.VirtualNetworkRulesClient type.

type VirtualNetworkRulesServerTransport

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

VirtualNetworkRulesServerTransport connects instances of armmariadb.VirtualNetworkRulesClient to instances of VirtualNetworkRulesServer. Don't use this type directly, use NewVirtualNetworkRulesServerTransport instead.

func NewVirtualNetworkRulesServerTransport

func NewVirtualNetworkRulesServerTransport(srv *VirtualNetworkRulesServer) *VirtualNetworkRulesServerTransport

NewVirtualNetworkRulesServerTransport creates a new instance of VirtualNetworkRulesServerTransport with the provided implementation. The returned VirtualNetworkRulesServerTransport instance is connected to an instance of armmariadb.VirtualNetworkRulesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*VirtualNetworkRulesServerTransport) Do

Do implements the policy.Transporter interface for VirtualNetworkRulesServerTransport.

type WaitStatisticsServer

type WaitStatisticsServer struct {
	// Get is the fake for method WaitStatisticsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, serverName string, waitStatisticsID string, options *armmariadb.WaitStatisticsClientGetOptions) (resp azfake.Responder[armmariadb.WaitStatisticsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByServerPager is the fake for method WaitStatisticsClient.NewListByServerPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByServerPager func(resourceGroupName string, serverName string, parameters armmariadb.WaitStatisticsInput, options *armmariadb.WaitStatisticsClientListByServerOptions) (resp azfake.PagerResponder[armmariadb.WaitStatisticsClientListByServerResponse])
}

WaitStatisticsServer is a fake server for instances of the armmariadb.WaitStatisticsClient type.

type WaitStatisticsServerTransport

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

WaitStatisticsServerTransport connects instances of armmariadb.WaitStatisticsClient to instances of WaitStatisticsServer. Don't use this type directly, use NewWaitStatisticsServerTransport instead.

func NewWaitStatisticsServerTransport

func NewWaitStatisticsServerTransport(srv *WaitStatisticsServer) *WaitStatisticsServerTransport

NewWaitStatisticsServerTransport creates a new instance of WaitStatisticsServerTransport with the provided implementation. The returned WaitStatisticsServerTransport instance is connected to an instance of armmariadb.WaitStatisticsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*WaitStatisticsServerTransport) Do

Do implements the policy.Transporter interface for WaitStatisticsServerTransport.

Jump to

Keyboard shortcuts

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