fake

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 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 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 armpostgresql.NameAvailabilityRequest, options *armpostgresql.CheckNameAvailabilityClientExecuteOptions) (resp azfake.Responder[armpostgresql.CheckNameAvailabilityClientExecuteResponse], errResp azfake.ErrorResponder)
}

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

type CheckNameAvailabilityServerTransport

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

CheckNameAvailabilityServerTransport connects instances of armpostgresql.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 armpostgresql.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 armpostgresql.Configuration, options *armpostgresql.ConfigurationsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armpostgresql.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 *armpostgresql.ConfigurationsClientGetOptions) (resp azfake.Responder[armpostgresql.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 *armpostgresql.ConfigurationsClientListByServerOptions) (resp azfake.PagerResponder[armpostgresql.ConfigurationsClientListByServerResponse])
}

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

type ConfigurationsServerTransport

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

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

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

type DatabasesServerTransport

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

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

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

type FirewallRulesServerTransport

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

FirewallRulesServerTransport connects instances of armpostgresql.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 armpostgresql.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 *armpostgresql.LocationBasedPerformanceTierClientListOptions) (resp azfake.PagerResponder[armpostgresql.LocationBasedPerformanceTierClientListResponse])
}

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

type LocationBasedPerformanceTierServerTransport

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

LocationBasedPerformanceTierServerTransport connects instances of armpostgresql.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 armpostgresql.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 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 *armpostgresql.LogFilesClientListByServerOptions) (resp azfake.PagerResponder[armpostgresql.LogFilesClientListByServerResponse])
}

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

type LogFilesServerTransport

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

LogFilesServerTransport connects instances of armpostgresql.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 armpostgresql.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 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 *armpostgresql.OperationsClientListOptions) (resp azfake.Responder[armpostgresql.OperationsClientListResponse], errResp azfake.ErrorResponder)
}

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

type OperationsServerTransport

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

OperationsServerTransport connects instances of armpostgresql.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 armpostgresql.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 armpostgresql.PrivateEndpointConnection, options *armpostgresql.PrivateEndpointConnectionsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armpostgresql.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 *armpostgresql.PrivateEndpointConnectionsClientBeginDeleteOptions) (resp azfake.PollerResponder[armpostgresql.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 *armpostgresql.PrivateEndpointConnectionsClientGetOptions) (resp azfake.Responder[armpostgresql.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 *armpostgresql.PrivateEndpointConnectionsClientListByServerOptions) (resp azfake.PagerResponder[armpostgresql.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 armpostgresql.TagsObject, options *armpostgresql.PrivateEndpointConnectionsClientBeginUpdateTagsOptions) (resp azfake.PollerResponder[armpostgresql.PrivateEndpointConnectionsClientUpdateTagsResponse], errResp azfake.ErrorResponder)
}

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

type PrivateEndpointConnectionsServerTransport

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

PrivateEndpointConnectionsServerTransport connects instances of armpostgresql.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 armpostgresql.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 *armpostgresql.PrivateLinkResourcesClientGetOptions) (resp azfake.Responder[armpostgresql.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 *armpostgresql.PrivateLinkResourcesClientListByServerOptions) (resp azfake.PagerResponder[armpostgresql.PrivateLinkResourcesClientListByServerResponse])
}

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

type PrivateLinkResourcesServerTransport

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

PrivateLinkResourcesServerTransport connects instances of armpostgresql.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 armpostgresql.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 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 *armpostgresql.RecoverableServersClientGetOptions) (resp azfake.Responder[armpostgresql.RecoverableServersClientGetResponse], errResp azfake.ErrorResponder)
}

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

type RecoverableServersServerTransport

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

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

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

type ReplicasServerTransport

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

ReplicasServerTransport connects instances of armpostgresql.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 armpostgresql.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 ServerAdministratorsServer

type ServerAdministratorsServer struct {
	// BeginCreateOrUpdate is the fake for method ServerAdministratorsClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, serverName string, properties armpostgresql.ServerAdministratorResource, options *armpostgresql.ServerAdministratorsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armpostgresql.ServerAdministratorsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

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

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

	// NewListPager is the fake for method ServerAdministratorsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, serverName string, options *armpostgresql.ServerAdministratorsClientListOptions) (resp azfake.PagerResponder[armpostgresql.ServerAdministratorsClientListResponse])
}

ServerAdministratorsServer is a fake server for instances of the armpostgresql.ServerAdministratorsClient type.

type ServerAdministratorsServerTransport

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

ServerAdministratorsServerTransport connects instances of armpostgresql.ServerAdministratorsClient to instances of ServerAdministratorsServer. Don't use this type directly, use NewServerAdministratorsServerTransport instead.

func NewServerAdministratorsServerTransport

func NewServerAdministratorsServerTransport(srv *ServerAdministratorsServer) *ServerAdministratorsServerTransport

NewServerAdministratorsServerTransport creates a new instance of ServerAdministratorsServerTransport with the provided implementation. The returned ServerAdministratorsServerTransport instance is connected to an instance of armpostgresql.ServerAdministratorsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ServerAdministratorsServerTransport) Do

Do implements the policy.Transporter interface for ServerAdministratorsServerTransport.

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 *armpostgresql.ServerBasedPerformanceTierClientListOptions) (resp azfake.PagerResponder[armpostgresql.ServerBasedPerformanceTierClientListResponse])
}

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

type ServerBasedPerformanceTierServerTransport

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

ServerBasedPerformanceTierServerTransport connects instances of armpostgresql.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 armpostgresql.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 {
	CheckNameAvailabilityServer        CheckNameAvailabilityServer
	ConfigurationsServer               ConfigurationsServer
	DatabasesServer                    DatabasesServer
	FirewallRulesServer                FirewallRulesServer
	LocationBasedPerformanceTierServer LocationBasedPerformanceTierServer
	LogFilesServer                     LogFilesServer
	OperationsServer                   OperationsServer
	PrivateEndpointConnectionsServer   PrivateEndpointConnectionsServer
	PrivateLinkResourcesServer         PrivateLinkResourcesServer
	RecoverableServersServer           RecoverableServersServer
	ReplicasServer                     ReplicasServer
	ServerAdministratorsServer         ServerAdministratorsServer
	ServerBasedPerformanceTierServer   ServerBasedPerformanceTierServer
	ServerKeysServer                   ServerKeysServer
	ServerParametersServer             ServerParametersServer
	ServerSecurityAlertPoliciesServer  ServerSecurityAlertPoliciesServer
	ServersServer                      ServersServer
	VirtualNetworkRulesServer          VirtualNetworkRulesServer
}

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

type ServerFactoryTransport

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

ServerFactoryTransport connects instances of armpostgresql.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 armpostgresql.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 ServerKeysServer

type ServerKeysServer struct {
	// BeginCreateOrUpdate is the fake for method ServerKeysClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginCreateOrUpdate func(ctx context.Context, serverName string, keyName string, resourceGroupName string, parameters armpostgresql.ServerKey, options *armpostgresql.ServerKeysClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armpostgresql.ServerKeysClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

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

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

	// NewListPager is the fake for method ServerKeysClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, serverName string, options *armpostgresql.ServerKeysClientListOptions) (resp azfake.PagerResponder[armpostgresql.ServerKeysClientListResponse])
}

ServerKeysServer is a fake server for instances of the armpostgresql.ServerKeysClient type.

type ServerKeysServerTransport

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

ServerKeysServerTransport connects instances of armpostgresql.ServerKeysClient to instances of ServerKeysServer. Don't use this type directly, use NewServerKeysServerTransport instead.

func NewServerKeysServerTransport

func NewServerKeysServerTransport(srv *ServerKeysServer) *ServerKeysServerTransport

NewServerKeysServerTransport creates a new instance of ServerKeysServerTransport with the provided implementation. The returned ServerKeysServerTransport instance is connected to an instance of armpostgresql.ServerKeysClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ServerKeysServerTransport) Do

Do implements the policy.Transporter interface for ServerKeysServerTransport.

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 armpostgresql.ConfigurationListResult, options *armpostgresql.ServerParametersClientBeginListUpdateConfigurationsOptions) (resp azfake.PollerResponder[armpostgresql.ServerParametersClientListUpdateConfigurationsResponse], errResp azfake.ErrorResponder)
}

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

type ServerParametersServerTransport

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

ServerParametersServerTransport connects instances of armpostgresql.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 armpostgresql.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 armpostgresql.SecurityAlertPolicyName, parameters armpostgresql.ServerSecurityAlertPolicy, options *armpostgresql.ServerSecurityAlertPoliciesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armpostgresql.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 armpostgresql.SecurityAlertPolicyName, options *armpostgresql.ServerSecurityAlertPoliciesClientGetOptions) (resp azfake.Responder[armpostgresql.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 *armpostgresql.ServerSecurityAlertPoliciesClientListByServerOptions) (resp azfake.PagerResponder[armpostgresql.ServerSecurityAlertPoliciesClientListByServerResponse])
}

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

type ServerSecurityAlertPoliciesServerTransport

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

ServerSecurityAlertPoliciesServerTransport connects instances of armpostgresql.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 armpostgresql.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 armpostgresql.ServerForCreate, options *armpostgresql.ServersClientBeginCreateOptions) (resp azfake.PollerResponder[armpostgresql.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 *armpostgresql.ServersClientBeginDeleteOptions) (resp azfake.PollerResponder[armpostgresql.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 *armpostgresql.ServersClientGetOptions) (resp azfake.Responder[armpostgresql.ServersClientGetResponse], errResp azfake.ErrorResponder)

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

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

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

type ServersServerTransport

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

ServersServerTransport connects instances of armpostgresql.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 armpostgresql.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 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 armpostgresql.VirtualNetworkRule, options *armpostgresql.VirtualNetworkRulesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armpostgresql.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 *armpostgresql.VirtualNetworkRulesClientBeginDeleteOptions) (resp azfake.PollerResponder[armpostgresql.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 *armpostgresql.VirtualNetworkRulesClientGetOptions) (resp azfake.Responder[armpostgresql.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 *armpostgresql.VirtualNetworkRulesClientListByServerOptions) (resp azfake.PagerResponder[armpostgresql.VirtualNetworkRulesClientListByServerResponse])
}

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

type VirtualNetworkRulesServerTransport

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

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

func (*VirtualNetworkRulesServerTransport) Do

Do implements the policy.Transporter interface for VirtualNetworkRulesServerTransport.

Jump to

Keyboard shortcuts

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