Documentation ¶
Index ¶
- type ClustersServer
- type ClustersServerTransport
- type ConfigurationsServer
- type ConfigurationsServerTransport
- type FirewallRulesServer
- type FirewallRulesServerTransport
- type OperationsServer
- type OperationsServerTransport
- type PrivateEndpointConnectionsServer
- type PrivateEndpointConnectionsServerTransport
- type PrivateLinkResourcesServer
- type PrivateLinkResourcesServerTransport
- type RolesServer
- type RolesServerTransport
- type ServerFactory
- type ServerFactoryTransport
- type ServersServer
- type ServersServerTransport
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClustersServer ¶
type ClustersServer struct { // CheckNameAvailability is the fake for method ClustersClient.CheckNameAvailability // HTTP status codes to indicate success: http.StatusOK CheckNameAvailability func(ctx context.Context, nameAvailabilityRequest armcosmosforpostgresql.NameAvailabilityRequest, options *armcosmosforpostgresql.ClustersClientCheckNameAvailabilityOptions) (resp azfake.Responder[armcosmosforpostgresql.ClustersClientCheckNameAvailabilityResponse], errResp azfake.ErrorResponder) // BeginCreate is the fake for method ClustersClient.BeginCreate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated BeginCreate func(ctx context.Context, resourceGroupName string, clusterName string, parameters armcosmosforpostgresql.Cluster, options *armcosmosforpostgresql.ClustersClientBeginCreateOptions) (resp azfake.PollerResponder[armcosmosforpostgresql.ClustersClientCreateResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method ClustersClient.BeginDelete // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, resourceGroupName string, clusterName string, options *armcosmosforpostgresql.ClustersClientBeginDeleteOptions) (resp azfake.PollerResponder[armcosmosforpostgresql.ClustersClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method ClustersClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, clusterName string, options *armcosmosforpostgresql.ClustersClientGetOptions) (resp azfake.Responder[armcosmosforpostgresql.ClustersClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method ClustersClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(options *armcosmosforpostgresql.ClustersClientListOptions) (resp azfake.PagerResponder[armcosmosforpostgresql.ClustersClientListResponse]) // NewListByResourceGroupPager is the fake for method ClustersClient.NewListByResourceGroupPager // HTTP status codes to indicate success: http.StatusOK NewListByResourceGroupPager func(resourceGroupName string, options *armcosmosforpostgresql.ClustersClientListByResourceGroupOptions) (resp azfake.PagerResponder[armcosmosforpostgresql.ClustersClientListByResourceGroupResponse]) // BeginPromoteReadReplica is the fake for method ClustersClient.BeginPromoteReadReplica // HTTP status codes to indicate success: http.StatusAccepted BeginPromoteReadReplica func(ctx context.Context, resourceGroupName string, clusterName string, options *armcosmosforpostgresql.ClustersClientBeginPromoteReadReplicaOptions) (resp azfake.PollerResponder[armcosmosforpostgresql.ClustersClientPromoteReadReplicaResponse], errResp azfake.ErrorResponder) // BeginRestart is the fake for method ClustersClient.BeginRestart // HTTP status codes to indicate success: http.StatusAccepted BeginRestart func(ctx context.Context, resourceGroupName string, clusterName string, options *armcosmosforpostgresql.ClustersClientBeginRestartOptions) (resp azfake.PollerResponder[armcosmosforpostgresql.ClustersClientRestartResponse], errResp azfake.ErrorResponder) // BeginStart is the fake for method ClustersClient.BeginStart // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginStart func(ctx context.Context, resourceGroupName string, clusterName string, options *armcosmosforpostgresql.ClustersClientBeginStartOptions) (resp azfake.PollerResponder[armcosmosforpostgresql.ClustersClientStartResponse], errResp azfake.ErrorResponder) // BeginStop is the fake for method ClustersClient.BeginStop // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginStop func(ctx context.Context, resourceGroupName string, clusterName string, options *armcosmosforpostgresql.ClustersClientBeginStopOptions) (resp azfake.PollerResponder[armcosmosforpostgresql.ClustersClientStopResponse], errResp azfake.ErrorResponder) // BeginUpdate is the fake for method ClustersClient.BeginUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginUpdate func(ctx context.Context, resourceGroupName string, clusterName string, parameters armcosmosforpostgresql.ClusterForUpdate, options *armcosmosforpostgresql.ClustersClientBeginUpdateOptions) (resp azfake.PollerResponder[armcosmosforpostgresql.ClustersClientUpdateResponse], errResp azfake.ErrorResponder) }
ClustersServer is a fake server for instances of the armcosmosforpostgresql.ClustersClient type.
type ClustersServerTransport ¶
type ClustersServerTransport struct {
// contains filtered or unexported fields
}
ClustersServerTransport connects instances of armcosmosforpostgresql.ClustersClient to instances of ClustersServer. Don't use this type directly, use NewClustersServerTransport instead.
func NewClustersServerTransport ¶
func NewClustersServerTransport(srv *ClustersServer) *ClustersServerTransport
NewClustersServerTransport creates a new instance of ClustersServerTransport with the provided implementation. The returned ClustersServerTransport instance is connected to an instance of armcosmosforpostgresql.ClustersClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ConfigurationsServer ¶
type ConfigurationsServer struct { // Get is the fake for method ConfigurationsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, clusterName string, configurationName string, options *armcosmosforpostgresql.ConfigurationsClientGetOptions) (resp azfake.Responder[armcosmosforpostgresql.ConfigurationsClientGetResponse], errResp azfake.ErrorResponder) // GetCoordinator is the fake for method ConfigurationsClient.GetCoordinator // HTTP status codes to indicate success: http.StatusOK GetCoordinator func(ctx context.Context, resourceGroupName string, clusterName string, configurationName string, options *armcosmosforpostgresql.ConfigurationsClientGetCoordinatorOptions) (resp azfake.Responder[armcosmosforpostgresql.ConfigurationsClientGetCoordinatorResponse], errResp azfake.ErrorResponder) // GetNode is the fake for method ConfigurationsClient.GetNode // HTTP status codes to indicate success: http.StatusOK GetNode func(ctx context.Context, resourceGroupName string, clusterName string, configurationName string, options *armcosmosforpostgresql.ConfigurationsClientGetNodeOptions) (resp azfake.Responder[armcosmosforpostgresql.ConfigurationsClientGetNodeResponse], errResp azfake.ErrorResponder) // NewListByClusterPager is the fake for method ConfigurationsClient.NewListByClusterPager // HTTP status codes to indicate success: http.StatusOK NewListByClusterPager func(resourceGroupName string, clusterName string, options *armcosmosforpostgresql.ConfigurationsClientListByClusterOptions) (resp azfake.PagerResponder[armcosmosforpostgresql.ConfigurationsClientListByClusterResponse]) // NewListByServerPager is the fake for method ConfigurationsClient.NewListByServerPager // HTTP status codes to indicate success: http.StatusOK NewListByServerPager func(resourceGroupName string, clusterName string, serverName string, options *armcosmosforpostgresql.ConfigurationsClientListByServerOptions) (resp azfake.PagerResponder[armcosmosforpostgresql.ConfigurationsClientListByServerResponse]) // BeginUpdateOnCoordinator is the fake for method ConfigurationsClient.BeginUpdateOnCoordinator // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated BeginUpdateOnCoordinator func(ctx context.Context, resourceGroupName string, clusterName string, configurationName string, parameters armcosmosforpostgresql.ServerConfiguration, options *armcosmosforpostgresql.ConfigurationsClientBeginUpdateOnCoordinatorOptions) (resp azfake.PollerResponder[armcosmosforpostgresql.ConfigurationsClientUpdateOnCoordinatorResponse], errResp azfake.ErrorResponder) // BeginUpdateOnNode is the fake for method ConfigurationsClient.BeginUpdateOnNode // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated BeginUpdateOnNode func(ctx context.Context, resourceGroupName string, clusterName string, configurationName string, parameters armcosmosforpostgresql.ServerConfiguration, options *armcosmosforpostgresql.ConfigurationsClientBeginUpdateOnNodeOptions) (resp azfake.PollerResponder[armcosmosforpostgresql.ConfigurationsClientUpdateOnNodeResponse], errResp azfake.ErrorResponder) }
ConfigurationsServer is a fake server for instances of the armcosmosforpostgresql.ConfigurationsClient type.
type ConfigurationsServerTransport ¶
type ConfigurationsServerTransport struct {
// contains filtered or unexported fields
}
ConfigurationsServerTransport connects instances of armcosmosforpostgresql.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 armcosmosforpostgresql.ConfigurationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type FirewallRulesServer ¶
type FirewallRulesServer struct { // BeginCreateOrUpdate is the fake for method FirewallRulesClient.BeginCreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, clusterName string, firewallRuleName string, parameters armcosmosforpostgresql.FirewallRule, options *armcosmosforpostgresql.FirewallRulesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armcosmosforpostgresql.FirewallRulesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method FirewallRulesClient.BeginDelete // HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, resourceGroupName string, clusterName string, firewallRuleName string, options *armcosmosforpostgresql.FirewallRulesClientBeginDeleteOptions) (resp azfake.PollerResponder[armcosmosforpostgresql.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, clusterName string, firewallRuleName string, options *armcosmosforpostgresql.FirewallRulesClientGetOptions) (resp azfake.Responder[armcosmosforpostgresql.FirewallRulesClientGetResponse], errResp azfake.ErrorResponder) // NewListByClusterPager is the fake for method FirewallRulesClient.NewListByClusterPager // HTTP status codes to indicate success: http.StatusOK NewListByClusterPager func(resourceGroupName string, clusterName string, options *armcosmosforpostgresql.FirewallRulesClientListByClusterOptions) (resp azfake.PagerResponder[armcosmosforpostgresql.FirewallRulesClientListByClusterResponse]) }
FirewallRulesServer is a fake server for instances of the armcosmosforpostgresql.FirewallRulesClient type.
type FirewallRulesServerTransport ¶
type FirewallRulesServerTransport struct {
// contains filtered or unexported fields
}
FirewallRulesServerTransport connects instances of armcosmosforpostgresql.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 armcosmosforpostgresql.FirewallRulesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type OperationsServer ¶
type OperationsServer struct { // NewListPager is the fake for method OperationsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(options *armcosmosforpostgresql.OperationsClientListOptions) (resp azfake.PagerResponder[armcosmosforpostgresql.OperationsClientListResponse]) }
OperationsServer is a fake server for instances of the armcosmosforpostgresql.OperationsClient type.
type OperationsServerTransport ¶
type OperationsServerTransport struct {
// contains filtered or unexported fields
}
OperationsServerTransport connects instances of armcosmosforpostgresql.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 armcosmosforpostgresql.OperationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type PrivateEndpointConnectionsServer ¶
type PrivateEndpointConnectionsServer struct { // BeginCreateOrUpdate is the fake for method PrivateEndpointConnectionsClient.BeginCreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, clusterName string, privateEndpointConnectionName string, parameters armcosmosforpostgresql.PrivateEndpointConnection, options *armcosmosforpostgresql.PrivateEndpointConnectionsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armcosmosforpostgresql.PrivateEndpointConnectionsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method PrivateEndpointConnectionsClient.BeginDelete // HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, resourceGroupName string, clusterName string, privateEndpointConnectionName string, options *armcosmosforpostgresql.PrivateEndpointConnectionsClientBeginDeleteOptions) (resp azfake.PollerResponder[armcosmosforpostgresql.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, clusterName string, privateEndpointConnectionName string, options *armcosmosforpostgresql.PrivateEndpointConnectionsClientGetOptions) (resp azfake.Responder[armcosmosforpostgresql.PrivateEndpointConnectionsClientGetResponse], errResp azfake.ErrorResponder) // NewListByClusterPager is the fake for method PrivateEndpointConnectionsClient.NewListByClusterPager // HTTP status codes to indicate success: http.StatusOK NewListByClusterPager func(resourceGroupName string, clusterName string, options *armcosmosforpostgresql.PrivateEndpointConnectionsClientListByClusterOptions) (resp azfake.PagerResponder[armcosmosforpostgresql.PrivateEndpointConnectionsClientListByClusterResponse]) }
PrivateEndpointConnectionsServer is a fake server for instances of the armcosmosforpostgresql.PrivateEndpointConnectionsClient type.
type PrivateEndpointConnectionsServerTransport ¶
type PrivateEndpointConnectionsServerTransport struct {
// contains filtered or unexported fields
}
PrivateEndpointConnectionsServerTransport connects instances of armcosmosforpostgresql.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 armcosmosforpostgresql.PrivateEndpointConnectionsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
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, clusterName string, privateLinkResourceName string, options *armcosmosforpostgresql.PrivateLinkResourcesClientGetOptions) (resp azfake.Responder[armcosmosforpostgresql.PrivateLinkResourcesClientGetResponse], errResp azfake.ErrorResponder) // NewListByClusterPager is the fake for method PrivateLinkResourcesClient.NewListByClusterPager // HTTP status codes to indicate success: http.StatusOK NewListByClusterPager func(resourceGroupName string, clusterName string, options *armcosmosforpostgresql.PrivateLinkResourcesClientListByClusterOptions) (resp azfake.PagerResponder[armcosmosforpostgresql.PrivateLinkResourcesClientListByClusterResponse]) }
PrivateLinkResourcesServer is a fake server for instances of the armcosmosforpostgresql.PrivateLinkResourcesClient type.
type PrivateLinkResourcesServerTransport ¶
type PrivateLinkResourcesServerTransport struct {
// contains filtered or unexported fields
}
PrivateLinkResourcesServerTransport connects instances of armcosmosforpostgresql.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 armcosmosforpostgresql.PrivateLinkResourcesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type RolesServer ¶
type RolesServer struct { // BeginCreate is the fake for method RolesClient.BeginCreate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated BeginCreate func(ctx context.Context, resourceGroupName string, clusterName string, roleName string, parameters armcosmosforpostgresql.Role, options *armcosmosforpostgresql.RolesClientBeginCreateOptions) (resp azfake.PollerResponder[armcosmosforpostgresql.RolesClientCreateResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method RolesClient.BeginDelete // HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, resourceGroupName string, clusterName string, roleName string, options *armcosmosforpostgresql.RolesClientBeginDeleteOptions) (resp azfake.PollerResponder[armcosmosforpostgresql.RolesClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method RolesClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, clusterName string, roleName string, options *armcosmosforpostgresql.RolesClientGetOptions) (resp azfake.Responder[armcosmosforpostgresql.RolesClientGetResponse], errResp azfake.ErrorResponder) // NewListByClusterPager is the fake for method RolesClient.NewListByClusterPager // HTTP status codes to indicate success: http.StatusOK NewListByClusterPager func(resourceGroupName string, clusterName string, options *armcosmosforpostgresql.RolesClientListByClusterOptions) (resp azfake.PagerResponder[armcosmosforpostgresql.RolesClientListByClusterResponse]) }
RolesServer is a fake server for instances of the armcosmosforpostgresql.RolesClient type.
type RolesServerTransport ¶
type RolesServerTransport struct {
// contains filtered or unexported fields
}
RolesServerTransport connects instances of armcosmosforpostgresql.RolesClient to instances of RolesServer. Don't use this type directly, use NewRolesServerTransport instead.
func NewRolesServerTransport ¶
func NewRolesServerTransport(srv *RolesServer) *RolesServerTransport
NewRolesServerTransport creates a new instance of RolesServerTransport with the provided implementation. The returned RolesServerTransport instance is connected to an instance of armcosmosforpostgresql.RolesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ServerFactory ¶
type ServerFactory struct { ClustersServer ClustersServer ConfigurationsServer ConfigurationsServer FirewallRulesServer FirewallRulesServer OperationsServer OperationsServer PrivateEndpointConnectionsServer PrivateEndpointConnectionsServer PrivateLinkResourcesServer PrivateLinkResourcesServer RolesServer RolesServer ServersServer ServersServer }
ServerFactory is a fake server for instances of the armcosmosforpostgresql.ClientFactory type.
type ServerFactoryTransport ¶
type ServerFactoryTransport struct {
// contains filtered or unexported fields
}
ServerFactoryTransport connects instances of armcosmosforpostgresql.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 armcosmosforpostgresql.ClientFactory via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ServersServer ¶
type ServersServer struct { // Get is the fake for method ServersClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, clusterName string, serverName string, options *armcosmosforpostgresql.ServersClientGetOptions) (resp azfake.Responder[armcosmosforpostgresql.ServersClientGetResponse], errResp azfake.ErrorResponder) // NewListByClusterPager is the fake for method ServersClient.NewListByClusterPager // HTTP status codes to indicate success: http.StatusOK NewListByClusterPager func(resourceGroupName string, clusterName string, options *armcosmosforpostgresql.ServersClientListByClusterOptions) (resp azfake.PagerResponder[armcosmosforpostgresql.ServersClientListByClusterResponse]) }
ServersServer is a fake server for instances of the armcosmosforpostgresql.ServersClient type.
type ServersServerTransport ¶
type ServersServerTransport struct {
// contains filtered or unexported fields
}
ServersServerTransport connects instances of armcosmosforpostgresql.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 armcosmosforpostgresql.ServersClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.