fake

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 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 BackupsServer

type BackupsServer struct {
	// Get is the fake for method BackupsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, serverName string, backupName string, options *armmysqlflexibleservers.BackupsClientGetOptions) (resp azfake.Responder[armmysqlflexibleservers.BackupsClientGetResponse], errResp azfake.ErrorResponder)

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

BackupsServer is a fake server for instances of the armmysqlflexibleservers.BackupsClient type.

type BackupsServerTransport

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

BackupsServerTransport connects instances of armmysqlflexibleservers.BackupsClient to instances of BackupsServer. Don't use this type directly, use NewBackupsServerTransport instead.

func NewBackupsServerTransport

func NewBackupsServerTransport(srv *BackupsServer) *BackupsServerTransport

NewBackupsServerTransport creates a new instance of BackupsServerTransport with the provided implementation. The returned BackupsServerTransport instance is connected to an instance of armmysqlflexibleservers.BackupsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*BackupsServerTransport) Do

Do implements the policy.Transporter interface for BackupsServerTransport.

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, locationName string, nameAvailabilityRequest armmysqlflexibleservers.NameAvailabilityRequest, options *armmysqlflexibleservers.CheckNameAvailabilityClientExecuteOptions) (resp azfake.Responder[armmysqlflexibleservers.CheckNameAvailabilityClientExecuteResponse], errResp azfake.ErrorResponder)
}

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

type CheckNameAvailabilityServerTransport

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

CheckNameAvailabilityServerTransport connects instances of armmysqlflexibleservers.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 armmysqlflexibleservers.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 CheckVirtualNetworkSubnetUsageServer

type CheckVirtualNetworkSubnetUsageServer struct {
	// Execute is the fake for method CheckVirtualNetworkSubnetUsageClient.Execute
	// HTTP status codes to indicate success: http.StatusOK
	Execute func(ctx context.Context, locationName string, parameters armmysqlflexibleservers.VirtualNetworkSubnetUsageParameter, options *armmysqlflexibleservers.CheckVirtualNetworkSubnetUsageClientExecuteOptions) (resp azfake.Responder[armmysqlflexibleservers.CheckVirtualNetworkSubnetUsageClientExecuteResponse], errResp azfake.ErrorResponder)
}

CheckVirtualNetworkSubnetUsageServer is a fake server for instances of the armmysqlflexibleservers.CheckVirtualNetworkSubnetUsageClient type.

type CheckVirtualNetworkSubnetUsageServerTransport

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

CheckVirtualNetworkSubnetUsageServerTransport connects instances of armmysqlflexibleservers.CheckVirtualNetworkSubnetUsageClient to instances of CheckVirtualNetworkSubnetUsageServer. Don't use this type directly, use NewCheckVirtualNetworkSubnetUsageServerTransport instead.

func NewCheckVirtualNetworkSubnetUsageServerTransport

func NewCheckVirtualNetworkSubnetUsageServerTransport(srv *CheckVirtualNetworkSubnetUsageServer) *CheckVirtualNetworkSubnetUsageServerTransport

NewCheckVirtualNetworkSubnetUsageServerTransport creates a new instance of CheckVirtualNetworkSubnetUsageServerTransport with the provided implementation. The returned CheckVirtualNetworkSubnetUsageServerTransport instance is connected to an instance of armmysqlflexibleservers.CheckVirtualNetworkSubnetUsageClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*CheckVirtualNetworkSubnetUsageServerTransport) Do

Do implements the policy.Transporter interface for CheckVirtualNetworkSubnetUsageServerTransport.

type ConfigurationsServer

type ConfigurationsServer struct {
	// BeginBatchUpdate is the fake for method ConfigurationsClient.BeginBatchUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginBatchUpdate func(ctx context.Context, resourceGroupName string, serverName string, parameters armmysqlflexibleservers.ConfigurationListForBatchUpdate, options *armmysqlflexibleservers.ConfigurationsClientBeginBatchUpdateOptions) (resp azfake.PollerResponder[armmysqlflexibleservers.ConfigurationsClientBatchUpdateResponse], 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 *armmysqlflexibleservers.ConfigurationsClientGetOptions) (resp azfake.Responder[armmysqlflexibleservers.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 *armmysqlflexibleservers.ConfigurationsClientListByServerOptions) (resp azfake.PagerResponder[armmysqlflexibleservers.ConfigurationsClientListByServerResponse])

	// BeginUpdate is the fake for method ConfigurationsClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, serverName string, configurationName string, parameters armmysqlflexibleservers.Configuration, options *armmysqlflexibleservers.ConfigurationsClientBeginUpdateOptions) (resp azfake.PollerResponder[armmysqlflexibleservers.ConfigurationsClientUpdateResponse], errResp azfake.ErrorResponder)
}

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

type ConfigurationsServerTransport

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

ConfigurationsServerTransport connects instances of armmysqlflexibleservers.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 armmysqlflexibleservers.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 armmysqlflexibleservers.Database, options *armmysqlflexibleservers.DatabasesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armmysqlflexibleservers.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 *armmysqlflexibleservers.DatabasesClientBeginDeleteOptions) (resp azfake.PollerResponder[armmysqlflexibleservers.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 *armmysqlflexibleservers.DatabasesClientGetOptions) (resp azfake.Responder[armmysqlflexibleservers.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 *armmysqlflexibleservers.DatabasesClientListByServerOptions) (resp azfake.PagerResponder[armmysqlflexibleservers.DatabasesClientListByServerResponse])
}

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

type DatabasesServerTransport

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

DatabasesServerTransport connects instances of armmysqlflexibleservers.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 armmysqlflexibleservers.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 armmysqlflexibleservers.FirewallRule, options *armmysqlflexibleservers.FirewallRulesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armmysqlflexibleservers.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 *armmysqlflexibleservers.FirewallRulesClientBeginDeleteOptions) (resp azfake.PollerResponder[armmysqlflexibleservers.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 *armmysqlflexibleservers.FirewallRulesClientGetOptions) (resp azfake.Responder[armmysqlflexibleservers.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 *armmysqlflexibleservers.FirewallRulesClientListByServerOptions) (resp azfake.PagerResponder[armmysqlflexibleservers.FirewallRulesClientListByServerResponse])
}

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

type FirewallRulesServerTransport

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

FirewallRulesServerTransport connects instances of armmysqlflexibleservers.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 armmysqlflexibleservers.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 GetPrivateDNSZoneSuffixServer

type GetPrivateDNSZoneSuffixServer struct {
	// Execute is the fake for method GetPrivateDNSZoneSuffixClient.Execute
	// HTTP status codes to indicate success: http.StatusOK
	Execute func(ctx context.Context, options *armmysqlflexibleservers.GetPrivateDNSZoneSuffixClientExecuteOptions) (resp azfake.Responder[armmysqlflexibleservers.GetPrivateDNSZoneSuffixClientExecuteResponse], errResp azfake.ErrorResponder)
}

GetPrivateDNSZoneSuffixServer is a fake server for instances of the armmysqlflexibleservers.GetPrivateDNSZoneSuffixClient type.

type GetPrivateDNSZoneSuffixServerTransport

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

GetPrivateDNSZoneSuffixServerTransport connects instances of armmysqlflexibleservers.GetPrivateDNSZoneSuffixClient to instances of GetPrivateDNSZoneSuffixServer. Don't use this type directly, use NewGetPrivateDNSZoneSuffixServerTransport instead.

func NewGetPrivateDNSZoneSuffixServerTransport

func NewGetPrivateDNSZoneSuffixServerTransport(srv *GetPrivateDNSZoneSuffixServer) *GetPrivateDNSZoneSuffixServerTransport

NewGetPrivateDNSZoneSuffixServerTransport creates a new instance of GetPrivateDNSZoneSuffixServerTransport with the provided implementation. The returned GetPrivateDNSZoneSuffixServerTransport instance is connected to an instance of armmysqlflexibleservers.GetPrivateDNSZoneSuffixClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*GetPrivateDNSZoneSuffixServerTransport) Do

Do implements the policy.Transporter interface for GetPrivateDNSZoneSuffixServerTransport.

type LocationBasedCapabilitiesServer

type LocationBasedCapabilitiesServer struct {
	// NewListPager is the fake for method LocationBasedCapabilitiesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(locationName string, options *armmysqlflexibleservers.LocationBasedCapabilitiesClientListOptions) (resp azfake.PagerResponder[armmysqlflexibleservers.LocationBasedCapabilitiesClientListResponse])
}

LocationBasedCapabilitiesServer is a fake server for instances of the armmysqlflexibleservers.LocationBasedCapabilitiesClient type.

type LocationBasedCapabilitiesServerTransport

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

LocationBasedCapabilitiesServerTransport connects instances of armmysqlflexibleservers.LocationBasedCapabilitiesClient to instances of LocationBasedCapabilitiesServer. Don't use this type directly, use NewLocationBasedCapabilitiesServerTransport instead.

func NewLocationBasedCapabilitiesServerTransport

func NewLocationBasedCapabilitiesServerTransport(srv *LocationBasedCapabilitiesServer) *LocationBasedCapabilitiesServerTransport

NewLocationBasedCapabilitiesServerTransport creates a new instance of LocationBasedCapabilitiesServerTransport with the provided implementation. The returned LocationBasedCapabilitiesServerTransport instance is connected to an instance of armmysqlflexibleservers.LocationBasedCapabilitiesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*LocationBasedCapabilitiesServerTransport) Do

Do implements the policy.Transporter interface for LocationBasedCapabilitiesServerTransport.

type OperationsServer

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

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

type OperationsServerTransport

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

OperationsServerTransport connects instances of armmysqlflexibleservers.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 armmysqlflexibleservers.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 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 *armmysqlflexibleservers.ReplicasClientListByServerOptions) (resp azfake.PagerResponder[armmysqlflexibleservers.ReplicasClientListByServerResponse])
}

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

type ReplicasServerTransport

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

ReplicasServerTransport connects instances of armmysqlflexibleservers.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 armmysqlflexibleservers.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 ServerFactory

type ServerFactory struct {
	BackupsServer                        BackupsServer
	CheckNameAvailabilityServer          CheckNameAvailabilityServer
	CheckVirtualNetworkSubnetUsageServer CheckVirtualNetworkSubnetUsageServer
	ConfigurationsServer                 ConfigurationsServer
	DatabasesServer                      DatabasesServer
	FirewallRulesServer                  FirewallRulesServer
	GetPrivateDNSZoneSuffixServer        GetPrivateDNSZoneSuffixServer
	LocationBasedCapabilitiesServer      LocationBasedCapabilitiesServer
	OperationsServer                     OperationsServer
	ReplicasServer                       ReplicasServer
	ServersServer                        ServersServer
}

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

type ServerFactoryTransport

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

ServerFactoryTransport connects instances of armmysqlflexibleservers.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 armmysqlflexibleservers.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 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 armmysqlflexibleservers.Server, options *armmysqlflexibleservers.ServersClientBeginCreateOptions) (resp azfake.PollerResponder[armmysqlflexibleservers.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 *armmysqlflexibleservers.ServersClientBeginDeleteOptions) (resp azfake.PollerResponder[armmysqlflexibleservers.ServersClientDeleteResponse], errResp azfake.ErrorResponder)

	// BeginFailover is the fake for method ServersClient.BeginFailover
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginFailover func(ctx context.Context, resourceGroupName string, serverName string, options *armmysqlflexibleservers.ServersClientBeginFailoverOptions) (resp azfake.PollerResponder[armmysqlflexibleservers.ServersClientFailoverResponse], 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 *armmysqlflexibleservers.ServersClientGetOptions) (resp azfake.Responder[armmysqlflexibleservers.ServersClientGetResponse], errResp azfake.ErrorResponder)

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

	// NewListByResourceGroupPager is the fake for method ServersClient.NewListByResourceGroupPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByResourceGroupPager func(resourceGroupName string, options *armmysqlflexibleservers.ServersClientListByResourceGroupOptions) (resp azfake.PagerResponder[armmysqlflexibleservers.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, parameters armmysqlflexibleservers.ServerRestartParameter, options *armmysqlflexibleservers.ServersClientBeginRestartOptions) (resp azfake.PollerResponder[armmysqlflexibleservers.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 *armmysqlflexibleservers.ServersClientBeginStartOptions) (resp azfake.PollerResponder[armmysqlflexibleservers.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 *armmysqlflexibleservers.ServersClientBeginStopOptions) (resp azfake.PollerResponder[armmysqlflexibleservers.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 armmysqlflexibleservers.ServerForUpdate, options *armmysqlflexibleservers.ServersClientBeginUpdateOptions) (resp azfake.PollerResponder[armmysqlflexibleservers.ServersClientUpdateResponse], errResp azfake.ErrorResponder)
}

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

type ServersServerTransport

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

ServersServerTransport connects instances of armmysqlflexibleservers.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 armmysqlflexibleservers.ServersClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ServersServerTransport) Do

Do implements the policy.Transporter interface for ServersServerTransport.

Jump to

Keyboard shortcuts

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