fake

package
v0.0.0-...-45adee8 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 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 DeidServicesServer

type DeidServicesServer struct {
	// BeginCreate is the fake for method DeidServicesClient.BeginCreate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreate func(ctx context.Context, resourceGroupName string, deidServiceName string, resource armhealthdataaiservices.DeidService, options *armhealthdataaiservices.DeidServicesClientBeginCreateOptions) (resp azfake.PollerResponder[armhealthdataaiservices.DeidServicesClientCreateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method DeidServicesClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, deidServiceName string, options *armhealthdataaiservices.DeidServicesClientBeginDeleteOptions) (resp azfake.PollerResponder[armhealthdataaiservices.DeidServicesClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method DeidServicesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, deidServiceName string, options *armhealthdataaiservices.DeidServicesClientGetOptions) (resp azfake.Responder[armhealthdataaiservices.DeidServicesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByResourceGroupPager is the fake for method DeidServicesClient.NewListByResourceGroupPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByResourceGroupPager func(resourceGroupName string, options *armhealthdataaiservices.DeidServicesClientListByResourceGroupOptions) (resp azfake.PagerResponder[armhealthdataaiservices.DeidServicesClientListByResourceGroupResponse])

	// NewListBySubscriptionPager is the fake for method DeidServicesClient.NewListBySubscriptionPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListBySubscriptionPager func(options *armhealthdataaiservices.DeidServicesClientListBySubscriptionOptions) (resp azfake.PagerResponder[armhealthdataaiservices.DeidServicesClientListBySubscriptionResponse])

	// BeginUpdate is the fake for method DeidServicesClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, deidServiceName string, properties armhealthdataaiservices.DeidUpdate, options *armhealthdataaiservices.DeidServicesClientBeginUpdateOptions) (resp azfake.PollerResponder[armhealthdataaiservices.DeidServicesClientUpdateResponse], errResp azfake.ErrorResponder)
}

DeidServicesServer is a fake server for instances of the armhealthdataaiservices.DeidServicesClient type.

type DeidServicesServerTransport

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

DeidServicesServerTransport connects instances of armhealthdataaiservices.DeidServicesClient to instances of DeidServicesServer. Don't use this type directly, use NewDeidServicesServerTransport instead.

func NewDeidServicesServerTransport

func NewDeidServicesServerTransport(srv *DeidServicesServer) *DeidServicesServerTransport

NewDeidServicesServerTransport creates a new instance of DeidServicesServerTransport with the provided implementation. The returned DeidServicesServerTransport instance is connected to an instance of armhealthdataaiservices.DeidServicesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*DeidServicesServerTransport) Do

Do implements the policy.Transporter interface for DeidServicesServerTransport.

type OperationsServer

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

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

type OperationsServerTransport

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

OperationsServerTransport connects instances of armhealthdataaiservices.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 armhealthdataaiservices.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 {
	// BeginCreate is the fake for method PrivateEndpointConnectionsClient.BeginCreate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreate func(ctx context.Context, resourceGroupName string, deidServiceName string, privateEndpointConnectionName string, resource armhealthdataaiservices.PrivateEndpointConnectionResource, options *armhealthdataaiservices.PrivateEndpointConnectionsClientBeginCreateOptions) (resp azfake.PollerResponder[armhealthdataaiservices.PrivateEndpointConnectionsClientCreateResponse], 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, deidServiceName string, privateEndpointConnectionName string, options *armhealthdataaiservices.PrivateEndpointConnectionsClientBeginDeleteOptions) (resp azfake.PollerResponder[armhealthdataaiservices.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, deidServiceName string, privateEndpointConnectionName string, options *armhealthdataaiservices.PrivateEndpointConnectionsClientGetOptions) (resp azfake.Responder[armhealthdataaiservices.PrivateEndpointConnectionsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByDeidServicePager is the fake for method PrivateEndpointConnectionsClient.NewListByDeidServicePager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByDeidServicePager func(resourceGroupName string, deidServiceName string, options *armhealthdataaiservices.PrivateEndpointConnectionsClientListByDeidServiceOptions) (resp azfake.PagerResponder[armhealthdataaiservices.PrivateEndpointConnectionsClientListByDeidServiceResponse])
}

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

type PrivateEndpointConnectionsServerTransport

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

PrivateEndpointConnectionsServerTransport connects instances of armhealthdataaiservices.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 armhealthdataaiservices.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 PrivateLinksServer

type PrivateLinksServer struct {
	// NewListByDeidServicePager is the fake for method PrivateLinksClient.NewListByDeidServicePager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByDeidServicePager func(resourceGroupName string, deidServiceName string, options *armhealthdataaiservices.PrivateLinksClientListByDeidServiceOptions) (resp azfake.PagerResponder[armhealthdataaiservices.PrivateLinksClientListByDeidServiceResponse])
}

PrivateLinksServer is a fake server for instances of the armhealthdataaiservices.PrivateLinksClient type.

type PrivateLinksServerTransport

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

PrivateLinksServerTransport connects instances of armhealthdataaiservices.PrivateLinksClient to instances of PrivateLinksServer. Don't use this type directly, use NewPrivateLinksServerTransport instead.

func NewPrivateLinksServerTransport

func NewPrivateLinksServerTransport(srv *PrivateLinksServer) *PrivateLinksServerTransport

NewPrivateLinksServerTransport creates a new instance of PrivateLinksServerTransport with the provided implementation. The returned PrivateLinksServerTransport instance is connected to an instance of armhealthdataaiservices.PrivateLinksClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*PrivateLinksServerTransport) Do

Do implements the policy.Transporter interface for PrivateLinksServerTransport.

type ServerFactory

type ServerFactory struct {
	// DeidServicesServer contains the fakes for client DeidServicesClient
	DeidServicesServer DeidServicesServer

	// OperationsServer contains the fakes for client OperationsClient
	OperationsServer OperationsServer

	// PrivateEndpointConnectionsServer contains the fakes for client PrivateEndpointConnectionsClient
	PrivateEndpointConnectionsServer PrivateEndpointConnectionsServer

	// PrivateLinksServer contains the fakes for client PrivateLinksClient
	PrivateLinksServer PrivateLinksServer
}

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

type ServerFactoryTransport

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

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

func (*ServerFactoryTransport) Do

Do implements the policy.Transporter interface for ServerFactoryTransport.

Jump to

Keyboard shortcuts

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