fake

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ADCCatalogsServer

type ADCCatalogsServer struct {
	// CreateOrUpdate is the fake for method ADCCatalogsClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	CreateOrUpdate func(ctx context.Context, resourceGroupName string, catalogName string, properties armdatacatalog.ADCCatalog, options *armdatacatalog.ADCCatalogsClientCreateOrUpdateOptions) (resp azfake.Responder[armdatacatalog.ADCCatalogsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method ADCCatalogsClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, catalogName string, options *armdatacatalog.ADCCatalogsClientBeginDeleteOptions) (resp azfake.PollerResponder[armdatacatalog.ADCCatalogsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method ADCCatalogsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, catalogName string, options *armdatacatalog.ADCCatalogsClientGetOptions) (resp azfake.Responder[armdatacatalog.ADCCatalogsClientGetResponse], errResp azfake.ErrorResponder)

	// ListtByResourceGroup is the fake for method ADCCatalogsClient.ListtByResourceGroup
	// HTTP status codes to indicate success: http.StatusOK
	ListtByResourceGroup func(ctx context.Context, resourceGroupName string, options *armdatacatalog.ADCCatalogsClientListtByResourceGroupOptions) (resp azfake.Responder[armdatacatalog.ADCCatalogsClientListtByResourceGroupResponse], errResp azfake.ErrorResponder)

	// Update is the fake for method ADCCatalogsClient.Update
	// HTTP status codes to indicate success: http.StatusOK
	Update func(ctx context.Context, resourceGroupName string, catalogName string, properties armdatacatalog.ADCCatalog, options *armdatacatalog.ADCCatalogsClientUpdateOptions) (resp azfake.Responder[armdatacatalog.ADCCatalogsClientUpdateResponse], errResp azfake.ErrorResponder)
}

ADCCatalogsServer is a fake server for instances of the armdatacatalog.ADCCatalogsClient type.

type ADCCatalogsServerTransport

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

ADCCatalogsServerTransport connects instances of armdatacatalog.ADCCatalogsClient to instances of ADCCatalogsServer. Don't use this type directly, use NewADCCatalogsServerTransport instead.

func NewADCCatalogsServerTransport

func NewADCCatalogsServerTransport(srv *ADCCatalogsServer) *ADCCatalogsServerTransport

NewADCCatalogsServerTransport creates a new instance of ADCCatalogsServerTransport with the provided implementation. The returned ADCCatalogsServerTransport instance is connected to an instance of armdatacatalog.ADCCatalogsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ADCCatalogsServerTransport) Do

Do implements the policy.Transporter interface for ADCCatalogsServerTransport.

type ADCOperationsServer

type ADCOperationsServer struct {
	// List is the fake for method ADCOperationsClient.List
	// HTTP status codes to indicate success: http.StatusOK
	List func(ctx context.Context, options *armdatacatalog.ADCOperationsClientListOptions) (resp azfake.Responder[armdatacatalog.ADCOperationsClientListResponse], errResp azfake.ErrorResponder)
}

ADCOperationsServer is a fake server for instances of the armdatacatalog.ADCOperationsClient type.

type ADCOperationsServerTransport

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

ADCOperationsServerTransport connects instances of armdatacatalog.ADCOperationsClient to instances of ADCOperationsServer. Don't use this type directly, use NewADCOperationsServerTransport instead.

func NewADCOperationsServerTransport

func NewADCOperationsServerTransport(srv *ADCOperationsServer) *ADCOperationsServerTransport

NewADCOperationsServerTransport creates a new instance of ADCOperationsServerTransport with the provided implementation. The returned ADCOperationsServerTransport instance is connected to an instance of armdatacatalog.ADCOperationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ADCOperationsServerTransport) Do

Do implements the policy.Transporter interface for ADCOperationsServerTransport.

type ServerFactory

type ServerFactory struct {
	ADCCatalogsServer   ADCCatalogsServer
	ADCOperationsServer ADCOperationsServer
}

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

type ServerFactoryTransport

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

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