fake

package
v2.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 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 DicomServicesServer

type DicomServicesServer struct {
	// BeginCreateOrUpdate is the fake for method DicomServicesClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, workspaceName string, dicomServiceName string, dicomservice armhealthcareapis.DicomService, options *armhealthcareapis.DicomServicesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armhealthcareapis.DicomServicesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method DicomServicesClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, dicomServiceName string, workspaceName string, options *armhealthcareapis.DicomServicesClientBeginDeleteOptions) (resp azfake.PollerResponder[armhealthcareapis.DicomServicesClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method DicomServicesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, workspaceName string, dicomServiceName string, options *armhealthcareapis.DicomServicesClientGetOptions) (resp azfake.Responder[armhealthcareapis.DicomServicesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByWorkspacePager is the fake for method DicomServicesClient.NewListByWorkspacePager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByWorkspacePager func(resourceGroupName string, workspaceName string, options *armhealthcareapis.DicomServicesClientListByWorkspaceOptions) (resp azfake.PagerResponder[armhealthcareapis.DicomServicesClientListByWorkspaceResponse])

	// BeginUpdate is the fake for method DicomServicesClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, dicomServiceName string, workspaceName string, dicomservicePatchResource armhealthcareapis.DicomServicePatchResource, options *armhealthcareapis.DicomServicesClientBeginUpdateOptions) (resp azfake.PollerResponder[armhealthcareapis.DicomServicesClientUpdateResponse], errResp azfake.ErrorResponder)
}

DicomServicesServer is a fake server for instances of the armhealthcareapis.DicomServicesClient type.

type DicomServicesServerTransport

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

DicomServicesServerTransport connects instances of armhealthcareapis.DicomServicesClient to instances of DicomServicesServer. Don't use this type directly, use NewDicomServicesServerTransport instead.

func NewDicomServicesServerTransport

func NewDicomServicesServerTransport(srv *DicomServicesServer) *DicomServicesServerTransport

NewDicomServicesServerTransport creates a new instance of DicomServicesServerTransport with the provided implementation. The returned DicomServicesServerTransport instance is connected to an instance of armhealthcareapis.DicomServicesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*DicomServicesServerTransport) Do

Do implements the policy.Transporter interface for DicomServicesServerTransport.

type FhirDestinationsServer

type FhirDestinationsServer struct {
	// NewListByIotConnectorPager is the fake for method FhirDestinationsClient.NewListByIotConnectorPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByIotConnectorPager func(resourceGroupName string, workspaceName string, iotConnectorName string, options *armhealthcareapis.FhirDestinationsClientListByIotConnectorOptions) (resp azfake.PagerResponder[armhealthcareapis.FhirDestinationsClientListByIotConnectorResponse])
}

FhirDestinationsServer is a fake server for instances of the armhealthcareapis.FhirDestinationsClient type.

type FhirDestinationsServerTransport

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

FhirDestinationsServerTransport connects instances of armhealthcareapis.FhirDestinationsClient to instances of FhirDestinationsServer. Don't use this type directly, use NewFhirDestinationsServerTransport instead.

func NewFhirDestinationsServerTransport

func NewFhirDestinationsServerTransport(srv *FhirDestinationsServer) *FhirDestinationsServerTransport

NewFhirDestinationsServerTransport creates a new instance of FhirDestinationsServerTransport with the provided implementation. The returned FhirDestinationsServerTransport instance is connected to an instance of armhealthcareapis.FhirDestinationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*FhirDestinationsServerTransport) Do

Do implements the policy.Transporter interface for FhirDestinationsServerTransport.

type FhirServicesServer

type FhirServicesServer struct {
	// BeginCreateOrUpdate is the fake for method FhirServicesClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, workspaceName string, fhirServiceName string, fhirservice armhealthcareapis.FhirService, options *armhealthcareapis.FhirServicesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armhealthcareapis.FhirServicesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method FhirServicesClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, fhirServiceName string, workspaceName string, options *armhealthcareapis.FhirServicesClientBeginDeleteOptions) (resp azfake.PollerResponder[armhealthcareapis.FhirServicesClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method FhirServicesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, workspaceName string, fhirServiceName string, options *armhealthcareapis.FhirServicesClientGetOptions) (resp azfake.Responder[armhealthcareapis.FhirServicesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByWorkspacePager is the fake for method FhirServicesClient.NewListByWorkspacePager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByWorkspacePager func(resourceGroupName string, workspaceName string, options *armhealthcareapis.FhirServicesClientListByWorkspaceOptions) (resp azfake.PagerResponder[armhealthcareapis.FhirServicesClientListByWorkspaceResponse])

	// BeginUpdate is the fake for method FhirServicesClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, fhirServiceName string, workspaceName string, fhirservicePatchResource armhealthcareapis.FhirServicePatchResource, options *armhealthcareapis.FhirServicesClientBeginUpdateOptions) (resp azfake.PollerResponder[armhealthcareapis.FhirServicesClientUpdateResponse], errResp azfake.ErrorResponder)
}

FhirServicesServer is a fake server for instances of the armhealthcareapis.FhirServicesClient type.

type FhirServicesServerTransport

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

FhirServicesServerTransport connects instances of armhealthcareapis.FhirServicesClient to instances of FhirServicesServer. Don't use this type directly, use NewFhirServicesServerTransport instead.

func NewFhirServicesServerTransport

func NewFhirServicesServerTransport(srv *FhirServicesServer) *FhirServicesServerTransport

NewFhirServicesServerTransport creates a new instance of FhirServicesServerTransport with the provided implementation. The returned FhirServicesServerTransport instance is connected to an instance of armhealthcareapis.FhirServicesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*FhirServicesServerTransport) Do

Do implements the policy.Transporter interface for FhirServicesServerTransport.

type IotConnectorFhirDestinationServer

type IotConnectorFhirDestinationServer struct {
	// BeginCreateOrUpdate is the fake for method IotConnectorFhirDestinationClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, workspaceName string, iotConnectorName string, fhirDestinationName string, iotFhirDestination armhealthcareapis.IotFhirDestination, options *armhealthcareapis.IotConnectorFhirDestinationClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armhealthcareapis.IotConnectorFhirDestinationClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method IotConnectorFhirDestinationClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, workspaceName string, iotConnectorName string, fhirDestinationName string, options *armhealthcareapis.IotConnectorFhirDestinationClientBeginDeleteOptions) (resp azfake.PollerResponder[armhealthcareapis.IotConnectorFhirDestinationClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method IotConnectorFhirDestinationClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, workspaceName string, iotConnectorName string, fhirDestinationName string, options *armhealthcareapis.IotConnectorFhirDestinationClientGetOptions) (resp azfake.Responder[armhealthcareapis.IotConnectorFhirDestinationClientGetResponse], errResp azfake.ErrorResponder)
}

IotConnectorFhirDestinationServer is a fake server for instances of the armhealthcareapis.IotConnectorFhirDestinationClient type.

type IotConnectorFhirDestinationServerTransport

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

IotConnectorFhirDestinationServerTransport connects instances of armhealthcareapis.IotConnectorFhirDestinationClient to instances of IotConnectorFhirDestinationServer. Don't use this type directly, use NewIotConnectorFhirDestinationServerTransport instead.

func NewIotConnectorFhirDestinationServerTransport

func NewIotConnectorFhirDestinationServerTransport(srv *IotConnectorFhirDestinationServer) *IotConnectorFhirDestinationServerTransport

NewIotConnectorFhirDestinationServerTransport creates a new instance of IotConnectorFhirDestinationServerTransport with the provided implementation. The returned IotConnectorFhirDestinationServerTransport instance is connected to an instance of armhealthcareapis.IotConnectorFhirDestinationClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*IotConnectorFhirDestinationServerTransport) Do

Do implements the policy.Transporter interface for IotConnectorFhirDestinationServerTransport.

type IotConnectorsServer

type IotConnectorsServer struct {
	// BeginCreateOrUpdate is the fake for method IotConnectorsClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, workspaceName string, iotConnectorName string, iotConnector armhealthcareapis.IotConnector, options *armhealthcareapis.IotConnectorsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armhealthcareapis.IotConnectorsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method IotConnectorsClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, iotConnectorName string, workspaceName string, options *armhealthcareapis.IotConnectorsClientBeginDeleteOptions) (resp azfake.PollerResponder[armhealthcareapis.IotConnectorsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method IotConnectorsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, workspaceName string, iotConnectorName string, options *armhealthcareapis.IotConnectorsClientGetOptions) (resp azfake.Responder[armhealthcareapis.IotConnectorsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByWorkspacePager is the fake for method IotConnectorsClient.NewListByWorkspacePager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByWorkspacePager func(resourceGroupName string, workspaceName string, options *armhealthcareapis.IotConnectorsClientListByWorkspaceOptions) (resp azfake.PagerResponder[armhealthcareapis.IotConnectorsClientListByWorkspaceResponse])

	// BeginUpdate is the fake for method IotConnectorsClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, iotConnectorName string, workspaceName string, iotConnectorPatchResource armhealthcareapis.IotConnectorPatchResource, options *armhealthcareapis.IotConnectorsClientBeginUpdateOptions) (resp azfake.PollerResponder[armhealthcareapis.IotConnectorsClientUpdateResponse], errResp azfake.ErrorResponder)
}

IotConnectorsServer is a fake server for instances of the armhealthcareapis.IotConnectorsClient type.

type IotConnectorsServerTransport

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

IotConnectorsServerTransport connects instances of armhealthcareapis.IotConnectorsClient to instances of IotConnectorsServer. Don't use this type directly, use NewIotConnectorsServerTransport instead.

func NewIotConnectorsServerTransport

func NewIotConnectorsServerTransport(srv *IotConnectorsServer) *IotConnectorsServerTransport

NewIotConnectorsServerTransport creates a new instance of IotConnectorsServerTransport with the provided implementation. The returned IotConnectorsServerTransport instance is connected to an instance of armhealthcareapis.IotConnectorsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*IotConnectorsServerTransport) Do

Do implements the policy.Transporter interface for IotConnectorsServerTransport.

type OperationResultsServer

type OperationResultsServer struct {
	// Get is the fake for method OperationResultsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, locationName string, operationResultID string, options *armhealthcareapis.OperationResultsClientGetOptions) (resp azfake.Responder[armhealthcareapis.OperationResultsClientGetResponse], errResp azfake.ErrorResponder)
}

OperationResultsServer is a fake server for instances of the armhealthcareapis.OperationResultsClient type.

type OperationResultsServerTransport

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

OperationResultsServerTransport connects instances of armhealthcareapis.OperationResultsClient to instances of OperationResultsServer. Don't use this type directly, use NewOperationResultsServerTransport instead.

func NewOperationResultsServerTransport

func NewOperationResultsServerTransport(srv *OperationResultsServer) *OperationResultsServerTransport

NewOperationResultsServerTransport creates a new instance of OperationResultsServerTransport with the provided implementation. The returned OperationResultsServerTransport instance is connected to an instance of armhealthcareapis.OperationResultsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*OperationResultsServerTransport) Do

Do implements the policy.Transporter interface for OperationResultsServerTransport.

type OperationsServer

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

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

type OperationsServerTransport

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

OperationsServerTransport connects instances of armhealthcareapis.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 armhealthcareapis.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
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, resourceName string, privateEndpointConnectionName string, properties armhealthcareapis.PrivateEndpointConnection, options *armhealthcareapis.PrivateEndpointConnectionsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armhealthcareapis.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, resourceName string, privateEndpointConnectionName string, options *armhealthcareapis.PrivateEndpointConnectionsClientBeginDeleteOptions) (resp azfake.PollerResponder[armhealthcareapis.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, resourceName string, privateEndpointConnectionName string, options *armhealthcareapis.PrivateEndpointConnectionsClientGetOptions) (resp azfake.Responder[armhealthcareapis.PrivateEndpointConnectionsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByServicePager is the fake for method PrivateEndpointConnectionsClient.NewListByServicePager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByServicePager func(resourceGroupName string, resourceName string, options *armhealthcareapis.PrivateEndpointConnectionsClientListByServiceOptions) (resp azfake.PagerResponder[armhealthcareapis.PrivateEndpointConnectionsClientListByServiceResponse])
}

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

type PrivateEndpointConnectionsServerTransport

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

PrivateEndpointConnectionsServerTransport connects instances of armhealthcareapis.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 armhealthcareapis.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, resourceName string, groupName string, options *armhealthcareapis.PrivateLinkResourcesClientGetOptions) (resp azfake.Responder[armhealthcareapis.PrivateLinkResourcesClientGetResponse], errResp azfake.ErrorResponder)

	// ListByService is the fake for method PrivateLinkResourcesClient.ListByService
	// HTTP status codes to indicate success: http.StatusOK
	ListByService func(ctx context.Context, resourceGroupName string, resourceName string, options *armhealthcareapis.PrivateLinkResourcesClientListByServiceOptions) (resp azfake.Responder[armhealthcareapis.PrivateLinkResourcesClientListByServiceResponse], errResp azfake.ErrorResponder)
}

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

type PrivateLinkResourcesServerTransport

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

PrivateLinkResourcesServerTransport connects instances of armhealthcareapis.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 armhealthcareapis.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 ServerFactory

type ServerFactory struct {
	DicomServicesServer                       DicomServicesServer
	FhirDestinationsServer                    FhirDestinationsServer
	FhirServicesServer                        FhirServicesServer
	IotConnectorFhirDestinationServer         IotConnectorFhirDestinationServer
	IotConnectorsServer                       IotConnectorsServer
	OperationResultsServer                    OperationResultsServer
	OperationsServer                          OperationsServer
	PrivateEndpointConnectionsServer          PrivateEndpointConnectionsServer
	PrivateLinkResourcesServer                PrivateLinkResourcesServer
	ServicesServer                            ServicesServer
	WorkspacePrivateEndpointConnectionsServer WorkspacePrivateEndpointConnectionsServer
	WorkspacePrivateLinkResourcesServer       WorkspacePrivateLinkResourcesServer
	WorkspacesServer                          WorkspacesServer
}

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

type ServerFactoryTransport

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

ServerFactoryTransport connects instances of armhealthcareapis.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 armhealthcareapis.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 ServicesServer

type ServicesServer struct {
	// CheckNameAvailability is the fake for method ServicesClient.CheckNameAvailability
	// HTTP status codes to indicate success: http.StatusOK
	CheckNameAvailability func(ctx context.Context, checkNameAvailabilityInputs armhealthcareapis.CheckNameAvailabilityParameters, options *armhealthcareapis.ServicesClientCheckNameAvailabilityOptions) (resp azfake.Responder[armhealthcareapis.ServicesClientCheckNameAvailabilityResponse], errResp azfake.ErrorResponder)

	// BeginCreateOrUpdate is the fake for method ServicesClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, resourceName string, serviceDescription armhealthcareapis.ServicesDescription, options *armhealthcareapis.ServicesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armhealthcareapis.ServicesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method ServicesClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, resourceName string, options *armhealthcareapis.ServicesClientBeginDeleteOptions) (resp azfake.PollerResponder[armhealthcareapis.ServicesClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method ServicesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, resourceName string, options *armhealthcareapis.ServicesClientGetOptions) (resp azfake.Responder[armhealthcareapis.ServicesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method ServicesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(options *armhealthcareapis.ServicesClientListOptions) (resp azfake.PagerResponder[armhealthcareapis.ServicesClientListResponse])

	// NewListByResourceGroupPager is the fake for method ServicesClient.NewListByResourceGroupPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByResourceGroupPager func(resourceGroupName string, options *armhealthcareapis.ServicesClientListByResourceGroupOptions) (resp azfake.PagerResponder[armhealthcareapis.ServicesClientListByResourceGroupResponse])

	// BeginUpdate is the fake for method ServicesClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK
	BeginUpdate func(ctx context.Context, resourceGroupName string, resourceName string, servicePatchDescription armhealthcareapis.ServicesPatchDescription, options *armhealthcareapis.ServicesClientBeginUpdateOptions) (resp azfake.PollerResponder[armhealthcareapis.ServicesClientUpdateResponse], errResp azfake.ErrorResponder)
}

ServicesServer is a fake server for instances of the armhealthcareapis.ServicesClient type.

type ServicesServerTransport

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

ServicesServerTransport connects instances of armhealthcareapis.ServicesClient to instances of ServicesServer. Don't use this type directly, use NewServicesServerTransport instead.

func NewServicesServerTransport

func NewServicesServerTransport(srv *ServicesServer) *ServicesServerTransport

NewServicesServerTransport creates a new instance of ServicesServerTransport with the provided implementation. The returned ServicesServerTransport instance is connected to an instance of armhealthcareapis.ServicesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ServicesServerTransport) Do

Do implements the policy.Transporter interface for ServicesServerTransport.

type WorkspacePrivateEndpointConnectionsServer

type WorkspacePrivateEndpointConnectionsServer struct {
	// BeginCreateOrUpdate is the fake for method WorkspacePrivateEndpointConnectionsClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, workspaceName string, privateEndpointConnectionName string, properties armhealthcareapis.PrivateEndpointConnectionDescription, options *armhealthcareapis.WorkspacePrivateEndpointConnectionsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armhealthcareapis.WorkspacePrivateEndpointConnectionsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method WorkspacePrivateEndpointConnectionsClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, workspaceName string, privateEndpointConnectionName string, options *armhealthcareapis.WorkspacePrivateEndpointConnectionsClientBeginDeleteOptions) (resp azfake.PollerResponder[armhealthcareapis.WorkspacePrivateEndpointConnectionsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method WorkspacePrivateEndpointConnectionsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, workspaceName string, privateEndpointConnectionName string, options *armhealthcareapis.WorkspacePrivateEndpointConnectionsClientGetOptions) (resp azfake.Responder[armhealthcareapis.WorkspacePrivateEndpointConnectionsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByWorkspacePager is the fake for method WorkspacePrivateEndpointConnectionsClient.NewListByWorkspacePager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByWorkspacePager func(resourceGroupName string, workspaceName string, options *armhealthcareapis.WorkspacePrivateEndpointConnectionsClientListByWorkspaceOptions) (resp azfake.PagerResponder[armhealthcareapis.WorkspacePrivateEndpointConnectionsClientListByWorkspaceResponse])
}

WorkspacePrivateEndpointConnectionsServer is a fake server for instances of the armhealthcareapis.WorkspacePrivateEndpointConnectionsClient type.

type WorkspacePrivateEndpointConnectionsServerTransport

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

WorkspacePrivateEndpointConnectionsServerTransport connects instances of armhealthcareapis.WorkspacePrivateEndpointConnectionsClient to instances of WorkspacePrivateEndpointConnectionsServer. Don't use this type directly, use NewWorkspacePrivateEndpointConnectionsServerTransport instead.

func NewWorkspacePrivateEndpointConnectionsServerTransport

func NewWorkspacePrivateEndpointConnectionsServerTransport(srv *WorkspacePrivateEndpointConnectionsServer) *WorkspacePrivateEndpointConnectionsServerTransport

NewWorkspacePrivateEndpointConnectionsServerTransport creates a new instance of WorkspacePrivateEndpointConnectionsServerTransport with the provided implementation. The returned WorkspacePrivateEndpointConnectionsServerTransport instance is connected to an instance of armhealthcareapis.WorkspacePrivateEndpointConnectionsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*WorkspacePrivateEndpointConnectionsServerTransport) Do

Do implements the policy.Transporter interface for WorkspacePrivateEndpointConnectionsServerTransport.

type WorkspacePrivateLinkResourcesServer

type WorkspacePrivateLinkResourcesServer struct {
	// Get is the fake for method WorkspacePrivateLinkResourcesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, workspaceName string, groupName string, options *armhealthcareapis.WorkspacePrivateLinkResourcesClientGetOptions) (resp azfake.Responder[armhealthcareapis.WorkspacePrivateLinkResourcesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByWorkspacePager is the fake for method WorkspacePrivateLinkResourcesClient.NewListByWorkspacePager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByWorkspacePager func(resourceGroupName string, workspaceName string, options *armhealthcareapis.WorkspacePrivateLinkResourcesClientListByWorkspaceOptions) (resp azfake.PagerResponder[armhealthcareapis.WorkspacePrivateLinkResourcesClientListByWorkspaceResponse])
}

WorkspacePrivateLinkResourcesServer is a fake server for instances of the armhealthcareapis.WorkspacePrivateLinkResourcesClient type.

type WorkspacePrivateLinkResourcesServerTransport

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

WorkspacePrivateLinkResourcesServerTransport connects instances of armhealthcareapis.WorkspacePrivateLinkResourcesClient to instances of WorkspacePrivateLinkResourcesServer. Don't use this type directly, use NewWorkspacePrivateLinkResourcesServerTransport instead.

func NewWorkspacePrivateLinkResourcesServerTransport

func NewWorkspacePrivateLinkResourcesServerTransport(srv *WorkspacePrivateLinkResourcesServer) *WorkspacePrivateLinkResourcesServerTransport

NewWorkspacePrivateLinkResourcesServerTransport creates a new instance of WorkspacePrivateLinkResourcesServerTransport with the provided implementation. The returned WorkspacePrivateLinkResourcesServerTransport instance is connected to an instance of armhealthcareapis.WorkspacePrivateLinkResourcesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*WorkspacePrivateLinkResourcesServerTransport) Do

Do implements the policy.Transporter interface for WorkspacePrivateLinkResourcesServerTransport.

type WorkspacesServer

type WorkspacesServer struct {
	// BeginCreateOrUpdate is the fake for method WorkspacesClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, workspaceName string, workspace armhealthcareapis.Workspace, options *armhealthcareapis.WorkspacesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armhealthcareapis.WorkspacesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method WorkspacesClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, workspaceName string, options *armhealthcareapis.WorkspacesClientBeginDeleteOptions) (resp azfake.PollerResponder[armhealthcareapis.WorkspacesClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method WorkspacesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, workspaceName string, options *armhealthcareapis.WorkspacesClientGetOptions) (resp azfake.Responder[armhealthcareapis.WorkspacesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByResourceGroupPager is the fake for method WorkspacesClient.NewListByResourceGroupPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByResourceGroupPager func(resourceGroupName string, options *armhealthcareapis.WorkspacesClientListByResourceGroupOptions) (resp azfake.PagerResponder[armhealthcareapis.WorkspacesClientListByResourceGroupResponse])

	// NewListBySubscriptionPager is the fake for method WorkspacesClient.NewListBySubscriptionPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListBySubscriptionPager func(options *armhealthcareapis.WorkspacesClientListBySubscriptionOptions) (resp azfake.PagerResponder[armhealthcareapis.WorkspacesClientListBySubscriptionResponse])

	// BeginUpdate is the fake for method WorkspacesClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, workspaceName string, workspacePatchResource armhealthcareapis.WorkspacePatchResource, options *armhealthcareapis.WorkspacesClientBeginUpdateOptions) (resp azfake.PollerResponder[armhealthcareapis.WorkspacesClientUpdateResponse], errResp azfake.ErrorResponder)
}

WorkspacesServer is a fake server for instances of the armhealthcareapis.WorkspacesClient type.

type WorkspacesServerTransport

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

WorkspacesServerTransport connects instances of armhealthcareapis.WorkspacesClient to instances of WorkspacesServer. Don't use this type directly, use NewWorkspacesServerTransport instead.

func NewWorkspacesServerTransport

func NewWorkspacesServerTransport(srv *WorkspacesServer) *WorkspacesServerTransport

NewWorkspacesServerTransport creates a new instance of WorkspacesServerTransport with the provided implementation. The returned WorkspacesServerTransport instance is connected to an instance of armhealthcareapis.WorkspacesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*WorkspacesServerTransport) Do

Do implements the policy.Transporter interface for WorkspacesServerTransport.

Jump to

Keyboard shortcuts

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