Documentation
¶
Index ¶
- type BranchesServer
- type BranchesServerTransport
- type ComputesServer
- type ComputesServerTransport
- type EndpointsServer
- type EndpointsServerTransport
- type NeonDatabasesServer
- type NeonDatabasesServerTransport
- type NeonRolesServer
- type NeonRolesServerTransport
- type OperationsServer
- type OperationsServerTransport
- type OrganizationsServer
- type OrganizationsServerTransport
- type ProjectsServer
- type ProjectsServerTransport
- type ServerFactory
- type ServerFactoryTransport
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BranchesServer ¶ added in v1.0.0
type BranchesServer struct { // BeginCreateOrUpdate is the fake for method BranchesClient.BeginCreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, organizationName string, projectName string, branchName string, resource armneonpostgres.Branch, options *armneonpostgres.BranchesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armneonpostgres.BranchesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method BranchesClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Delete func(ctx context.Context, resourceGroupName string, organizationName string, projectName string, branchName string, options *armneonpostgres.BranchesClientDeleteOptions) (resp azfake.Responder[armneonpostgres.BranchesClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method BranchesClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, organizationName string, projectName string, branchName string, options *armneonpostgres.BranchesClientGetOptions) (resp azfake.Responder[armneonpostgres.BranchesClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method BranchesClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, organizationName string, projectName string, options *armneonpostgres.BranchesClientListOptions) (resp azfake.PagerResponder[armneonpostgres.BranchesClientListResponse]) // BeginUpdate is the fake for method BranchesClient.BeginUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginUpdate func(ctx context.Context, resourceGroupName string, organizationName string, projectName string, branchName string, properties armneonpostgres.Branch, options *armneonpostgres.BranchesClientBeginUpdateOptions) (resp azfake.PollerResponder[armneonpostgres.BranchesClientUpdateResponse], errResp azfake.ErrorResponder) }
BranchesServer is a fake server for instances of the armneonpostgres.BranchesClient type.
type BranchesServerTransport ¶ added in v1.0.0
type BranchesServerTransport struct {
// contains filtered or unexported fields
}
BranchesServerTransport connects instances of armneonpostgres.BranchesClient to instances of BranchesServer. Don't use this type directly, use NewBranchesServerTransport instead.
func NewBranchesServerTransport ¶ added in v1.0.0
func NewBranchesServerTransport(srv *BranchesServer) *BranchesServerTransport
NewBranchesServerTransport creates a new instance of BranchesServerTransport with the provided implementation. The returned BranchesServerTransport instance is connected to an instance of armneonpostgres.BranchesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ComputesServer ¶ added in v1.0.0
type ComputesServer struct { // BeginCreateOrUpdate is the fake for method ComputesClient.BeginCreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, organizationName string, projectName string, branchName string, computeName string, resource armneonpostgres.Compute, options *armneonpostgres.ComputesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armneonpostgres.ComputesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method ComputesClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Delete func(ctx context.Context, resourceGroupName string, organizationName string, projectName string, branchName string, computeName string, options *armneonpostgres.ComputesClientDeleteOptions) (resp azfake.Responder[armneonpostgres.ComputesClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method ComputesClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, organizationName string, projectName string, branchName string, computeName string, options *armneonpostgres.ComputesClientGetOptions) (resp azfake.Responder[armneonpostgres.ComputesClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method ComputesClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, organizationName string, projectName string, branchName string, options *armneonpostgres.ComputesClientListOptions) (resp azfake.PagerResponder[armneonpostgres.ComputesClientListResponse]) // BeginUpdate is the fake for method ComputesClient.BeginUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginUpdate func(ctx context.Context, resourceGroupName string, organizationName string, projectName string, branchName string, computeName string, properties armneonpostgres.Compute, options *armneonpostgres.ComputesClientBeginUpdateOptions) (resp azfake.PollerResponder[armneonpostgres.ComputesClientUpdateResponse], errResp azfake.ErrorResponder) }
ComputesServer is a fake server for instances of the armneonpostgres.ComputesClient type.
type ComputesServerTransport ¶ added in v1.0.0
type ComputesServerTransport struct {
// contains filtered or unexported fields
}
ComputesServerTransport connects instances of armneonpostgres.ComputesClient to instances of ComputesServer. Don't use this type directly, use NewComputesServerTransport instead.
func NewComputesServerTransport ¶ added in v1.0.0
func NewComputesServerTransport(srv *ComputesServer) *ComputesServerTransport
NewComputesServerTransport creates a new instance of ComputesServerTransport with the provided implementation. The returned ComputesServerTransport instance is connected to an instance of armneonpostgres.ComputesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type EndpointsServer ¶ added in v1.0.0
type EndpointsServer struct { // BeginCreateOrUpdate is the fake for method EndpointsClient.BeginCreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, organizationName string, projectName string, branchName string, endpointName string, resource armneonpostgres.Endpoint, options *armneonpostgres.EndpointsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armneonpostgres.EndpointsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method EndpointsClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Delete func(ctx context.Context, resourceGroupName string, organizationName string, projectName string, branchName string, endpointName string, options *armneonpostgres.EndpointsClientDeleteOptions) (resp azfake.Responder[armneonpostgres.EndpointsClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method EndpointsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, organizationName string, projectName string, branchName string, endpointName string, options *armneonpostgres.EndpointsClientGetOptions) (resp azfake.Responder[armneonpostgres.EndpointsClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method EndpointsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, organizationName string, projectName string, branchName string, options *armneonpostgres.EndpointsClientListOptions) (resp azfake.PagerResponder[armneonpostgres.EndpointsClientListResponse]) // BeginUpdate is the fake for method EndpointsClient.BeginUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginUpdate func(ctx context.Context, resourceGroupName string, organizationName string, projectName string, branchName string, endpointName string, properties armneonpostgres.Endpoint, options *armneonpostgres.EndpointsClientBeginUpdateOptions) (resp azfake.PollerResponder[armneonpostgres.EndpointsClientUpdateResponse], errResp azfake.ErrorResponder) }
EndpointsServer is a fake server for instances of the armneonpostgres.EndpointsClient type.
type EndpointsServerTransport ¶ added in v1.0.0
type EndpointsServerTransport struct {
// contains filtered or unexported fields
}
EndpointsServerTransport connects instances of armneonpostgres.EndpointsClient to instances of EndpointsServer. Don't use this type directly, use NewEndpointsServerTransport instead.
func NewEndpointsServerTransport ¶ added in v1.0.0
func NewEndpointsServerTransport(srv *EndpointsServer) *EndpointsServerTransport
NewEndpointsServerTransport creates a new instance of EndpointsServerTransport with the provided implementation. The returned EndpointsServerTransport instance is connected to an instance of armneonpostgres.EndpointsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type NeonDatabasesServer ¶ added in v1.0.0
type NeonDatabasesServer struct { // BeginCreateOrUpdate is the fake for method NeonDatabasesClient.BeginCreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, organizationName string, projectName string, branchName string, neonDatabaseName string, resource armneonpostgres.NeonDatabase, options *armneonpostgres.NeonDatabasesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armneonpostgres.NeonDatabasesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method NeonDatabasesClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Delete func(ctx context.Context, resourceGroupName string, organizationName string, projectName string, branchName string, neonDatabaseName string, options *armneonpostgres.NeonDatabasesClientDeleteOptions) (resp azfake.Responder[armneonpostgres.NeonDatabasesClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method NeonDatabasesClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, organizationName string, projectName string, branchName string, neonDatabaseName string, options *armneonpostgres.NeonDatabasesClientGetOptions) (resp azfake.Responder[armneonpostgres.NeonDatabasesClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method NeonDatabasesClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, organizationName string, projectName string, branchName string, options *armneonpostgres.NeonDatabasesClientListOptions) (resp azfake.PagerResponder[armneonpostgres.NeonDatabasesClientListResponse]) // BeginUpdate is the fake for method NeonDatabasesClient.BeginUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginUpdate func(ctx context.Context, resourceGroupName string, organizationName string, projectName string, branchName string, neonDatabaseName string, properties armneonpostgres.NeonDatabase, options *armneonpostgres.NeonDatabasesClientBeginUpdateOptions) (resp azfake.PollerResponder[armneonpostgres.NeonDatabasesClientUpdateResponse], errResp azfake.ErrorResponder) }
NeonDatabasesServer is a fake server for instances of the armneonpostgres.NeonDatabasesClient type.
type NeonDatabasesServerTransport ¶ added in v1.0.0
type NeonDatabasesServerTransport struct {
// contains filtered or unexported fields
}
NeonDatabasesServerTransport connects instances of armneonpostgres.NeonDatabasesClient to instances of NeonDatabasesServer. Don't use this type directly, use NewNeonDatabasesServerTransport instead.
func NewNeonDatabasesServerTransport ¶ added in v1.0.0
func NewNeonDatabasesServerTransport(srv *NeonDatabasesServer) *NeonDatabasesServerTransport
NewNeonDatabasesServerTransport creates a new instance of NeonDatabasesServerTransport with the provided implementation. The returned NeonDatabasesServerTransport instance is connected to an instance of armneonpostgres.NeonDatabasesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type NeonRolesServer ¶ added in v1.0.0
type NeonRolesServer struct { // BeginCreateOrUpdate is the fake for method NeonRolesClient.BeginCreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, organizationName string, projectName string, branchName string, neonRoleName string, resource armneonpostgres.NeonRole, options *armneonpostgres.NeonRolesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armneonpostgres.NeonRolesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method NeonRolesClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Delete func(ctx context.Context, resourceGroupName string, organizationName string, projectName string, branchName string, neonRoleName string, options *armneonpostgres.NeonRolesClientDeleteOptions) (resp azfake.Responder[armneonpostgres.NeonRolesClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method NeonRolesClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, organizationName string, projectName string, branchName string, neonRoleName string, options *armneonpostgres.NeonRolesClientGetOptions) (resp azfake.Responder[armneonpostgres.NeonRolesClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method NeonRolesClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, organizationName string, projectName string, branchName string, options *armneonpostgres.NeonRolesClientListOptions) (resp azfake.PagerResponder[armneonpostgres.NeonRolesClientListResponse]) // BeginUpdate is the fake for method NeonRolesClient.BeginUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginUpdate func(ctx context.Context, resourceGroupName string, organizationName string, projectName string, branchName string, neonRoleName string, properties armneonpostgres.NeonRole, options *armneonpostgres.NeonRolesClientBeginUpdateOptions) (resp azfake.PollerResponder[armneonpostgres.NeonRolesClientUpdateResponse], errResp azfake.ErrorResponder) }
NeonRolesServer is a fake server for instances of the armneonpostgres.NeonRolesClient type.
type NeonRolesServerTransport ¶ added in v1.0.0
type NeonRolesServerTransport struct {
// contains filtered or unexported fields
}
NeonRolesServerTransport connects instances of armneonpostgres.NeonRolesClient to instances of NeonRolesServer. Don't use this type directly, use NewNeonRolesServerTransport instead.
func NewNeonRolesServerTransport ¶ added in v1.0.0
func NewNeonRolesServerTransport(srv *NeonRolesServer) *NeonRolesServerTransport
NewNeonRolesServerTransport creates a new instance of NeonRolesServerTransport with the provided implementation. The returned NeonRolesServerTransport instance is connected to an instance of armneonpostgres.NeonRolesClient 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 *armneonpostgres.OperationsClientListOptions) (resp azfake.PagerResponder[armneonpostgres.OperationsClientListResponse]) }
OperationsServer is a fake server for instances of the armneonpostgres.OperationsClient type.
type OperationsServerTransport ¶
type OperationsServerTransport struct {
// contains filtered or unexported fields
}
OperationsServerTransport connects instances of armneonpostgres.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 armneonpostgres.OperationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type OrganizationsServer ¶
type OrganizationsServer struct { // BeginCreateOrUpdate is the fake for method OrganizationsClient.BeginCreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, organizationName string, resource armneonpostgres.OrganizationResource, options *armneonpostgres.OrganizationsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armneonpostgres.OrganizationsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method OrganizationsClient.BeginDelete // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, resourceGroupName string, organizationName string, options *armneonpostgres.OrganizationsClientBeginDeleteOptions) (resp azfake.PollerResponder[armneonpostgres.OrganizationsClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method OrganizationsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, organizationName string, options *armneonpostgres.OrganizationsClientGetOptions) (resp azfake.Responder[armneonpostgres.OrganizationsClientGetResponse], errResp azfake.ErrorResponder) // GetPostgresVersions is the fake for method OrganizationsClient.GetPostgresVersions // HTTP status codes to indicate success: http.StatusOK GetPostgresVersions func(ctx context.Context, resourceGroupName string, options *armneonpostgres.OrganizationsClientGetPostgresVersionsOptions) (resp azfake.Responder[armneonpostgres.OrganizationsClientGetPostgresVersionsResponse], errResp azfake.ErrorResponder) // NewListByResourceGroupPager is the fake for method OrganizationsClient.NewListByResourceGroupPager // HTTP status codes to indicate success: http.StatusOK NewListByResourceGroupPager func(resourceGroupName string, options *armneonpostgres.OrganizationsClientListByResourceGroupOptions) (resp azfake.PagerResponder[armneonpostgres.OrganizationsClientListByResourceGroupResponse]) // NewListBySubscriptionPager is the fake for method OrganizationsClient.NewListBySubscriptionPager // HTTP status codes to indicate success: http.StatusOK NewListBySubscriptionPager func(options *armneonpostgres.OrganizationsClientListBySubscriptionOptions) (resp azfake.PagerResponder[armneonpostgres.OrganizationsClientListBySubscriptionResponse]) // BeginUpdate is the fake for method OrganizationsClient.BeginUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginUpdate func(ctx context.Context, resourceGroupName string, organizationName string, properties armneonpostgres.OrganizationResource, options *armneonpostgres.OrganizationsClientBeginUpdateOptions) (resp azfake.PollerResponder[armneonpostgres.OrganizationsClientUpdateResponse], errResp azfake.ErrorResponder) }
OrganizationsServer is a fake server for instances of the armneonpostgres.OrganizationsClient type.
type OrganizationsServerTransport ¶
type OrganizationsServerTransport struct {
// contains filtered or unexported fields
}
OrganizationsServerTransport connects instances of armneonpostgres.OrganizationsClient to instances of OrganizationsServer. Don't use this type directly, use NewOrganizationsServerTransport instead.
func NewOrganizationsServerTransport ¶
func NewOrganizationsServerTransport(srv *OrganizationsServer) *OrganizationsServerTransport
NewOrganizationsServerTransport creates a new instance of OrganizationsServerTransport with the provided implementation. The returned OrganizationsServerTransport instance is connected to an instance of armneonpostgres.OrganizationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ProjectsServer ¶ added in v1.0.0
type ProjectsServer struct { // BeginCreateOrUpdate is the fake for method ProjectsClient.BeginCreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, organizationName string, projectName string, resource armneonpostgres.Project, options *armneonpostgres.ProjectsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armneonpostgres.ProjectsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method ProjectsClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Delete func(ctx context.Context, resourceGroupName string, organizationName string, projectName string, options *armneonpostgres.ProjectsClientDeleteOptions) (resp azfake.Responder[armneonpostgres.ProjectsClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method ProjectsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, organizationName string, projectName string, options *armneonpostgres.ProjectsClientGetOptions) (resp azfake.Responder[armneonpostgres.ProjectsClientGetResponse], errResp azfake.ErrorResponder) // GetConnectionURI is the fake for method ProjectsClient.GetConnectionURI // HTTP status codes to indicate success: http.StatusOK GetConnectionURI func(ctx context.Context, resourceGroupName string, organizationName string, projectName string, connectionURIParameters armneonpostgres.ConnectionURIProperties, options *armneonpostgres.ProjectsClientGetConnectionURIOptions) (resp azfake.Responder[armneonpostgres.ProjectsClientGetConnectionURIResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method ProjectsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, organizationName string, options *armneonpostgres.ProjectsClientListOptions) (resp azfake.PagerResponder[armneonpostgres.ProjectsClientListResponse]) // BeginUpdate is the fake for method ProjectsClient.BeginUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginUpdate func(ctx context.Context, resourceGroupName string, organizationName string, projectName string, properties armneonpostgres.Project, options *armneonpostgres.ProjectsClientBeginUpdateOptions) (resp azfake.PollerResponder[armneonpostgres.ProjectsClientUpdateResponse], errResp azfake.ErrorResponder) }
ProjectsServer is a fake server for instances of the armneonpostgres.ProjectsClient type.
type ProjectsServerTransport ¶ added in v1.0.0
type ProjectsServerTransport struct {
// contains filtered or unexported fields
}
ProjectsServerTransport connects instances of armneonpostgres.ProjectsClient to instances of ProjectsServer. Don't use this type directly, use NewProjectsServerTransport instead.
func NewProjectsServerTransport ¶ added in v1.0.0
func NewProjectsServerTransport(srv *ProjectsServer) *ProjectsServerTransport
NewProjectsServerTransport creates a new instance of ProjectsServerTransport with the provided implementation. The returned ProjectsServerTransport instance is connected to an instance of armneonpostgres.ProjectsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ServerFactory ¶
type ServerFactory struct { // BranchesServer contains the fakes for client BranchesClient BranchesServer BranchesServer // ComputesServer contains the fakes for client ComputesClient ComputesServer ComputesServer // EndpointsServer contains the fakes for client EndpointsClient EndpointsServer EndpointsServer // NeonDatabasesServer contains the fakes for client NeonDatabasesClient NeonDatabasesServer NeonDatabasesServer // NeonRolesServer contains the fakes for client NeonRolesClient NeonRolesServer NeonRolesServer // OperationsServer contains the fakes for client OperationsClient OperationsServer OperationsServer // OrganizationsServer contains the fakes for client OrganizationsClient OrganizationsServer OrganizationsServer // ProjectsServer contains the fakes for client ProjectsClient ProjectsServer ProjectsServer }
ServerFactory is a fake server for instances of the armneonpostgres.ClientFactory type.
type ServerFactoryTransport ¶
type ServerFactoryTransport struct {
// contains filtered or unexported fields
}
ServerFactoryTransport connects instances of armneonpostgres.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 armneonpostgres.ClientFactory via the azcore.ClientOptions.Transporter field in the client's constructor parameters.