fake

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 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 CacheNodesOperationsServer

type CacheNodesOperationsServer struct {
	// BeginCreateorUpdate is the fake for method CacheNodesOperationsClient.BeginCreateorUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateorUpdate func(ctx context.Context, resourceGroupName string, customerResourceName string, resource armconnectedcache.CacheNodePreviewResource, options *armconnectedcache.CacheNodesOperationsClientBeginCreateorUpdateOptions) (resp azfake.PollerResponder[armconnectedcache.CacheNodesOperationsClientCreateorUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method CacheNodesOperationsClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, customerResourceName string, options *armconnectedcache.CacheNodesOperationsClientDeleteOptions) (resp azfake.Responder[armconnectedcache.CacheNodesOperationsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method CacheNodesOperationsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, customerResourceName string, options *armconnectedcache.CacheNodesOperationsClientGetOptions) (resp azfake.Responder[armconnectedcache.CacheNodesOperationsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByResourceGroupPager is the fake for method CacheNodesOperationsClient.NewListByResourceGroupPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByResourceGroupPager func(resourceGroupName string, options *armconnectedcache.CacheNodesOperationsClientListByResourceGroupOptions) (resp azfake.PagerResponder[armconnectedcache.CacheNodesOperationsClientListByResourceGroupResponse])

	// NewListBySubscriptionPager is the fake for method CacheNodesOperationsClient.NewListBySubscriptionPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListBySubscriptionPager func(options *armconnectedcache.CacheNodesOperationsClientListBySubscriptionOptions) (resp azfake.PagerResponder[armconnectedcache.CacheNodesOperationsClientListBySubscriptionResponse])

	// Update is the fake for method CacheNodesOperationsClient.Update
	// HTTP status codes to indicate success: http.StatusOK
	Update func(ctx context.Context, resourceGroupName string, customerResourceName string, properties armconnectedcache.PatchResource, options *armconnectedcache.CacheNodesOperationsClientUpdateOptions) (resp azfake.Responder[armconnectedcache.CacheNodesOperationsClientUpdateResponse], errResp azfake.ErrorResponder)
}

CacheNodesOperationsServer is a fake server for instances of the armconnectedcache.CacheNodesOperationsClient type.

type CacheNodesOperationsServerTransport

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

CacheNodesOperationsServerTransport connects instances of armconnectedcache.CacheNodesOperationsClient to instances of CacheNodesOperationsServer. Don't use this type directly, use NewCacheNodesOperationsServerTransport instead.

func NewCacheNodesOperationsServerTransport

func NewCacheNodesOperationsServerTransport(srv *CacheNodesOperationsServer) *CacheNodesOperationsServerTransport

NewCacheNodesOperationsServerTransport creates a new instance of CacheNodesOperationsServerTransport with the provided implementation. The returned CacheNodesOperationsServerTransport instance is connected to an instance of armconnectedcache.CacheNodesOperationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*CacheNodesOperationsServerTransport) Do

Do implements the policy.Transporter interface for CacheNodesOperationsServerTransport.

type EnterpriseCustomerOperationsServer

type EnterpriseCustomerOperationsServer struct {
	// BeginCreateOrUpdate is the fake for method EnterpriseCustomerOperationsClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, customerResourceName string, resource armconnectedcache.EnterprisePreviewResource, options *armconnectedcache.EnterpriseCustomerOperationsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armconnectedcache.EnterpriseCustomerOperationsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method EnterpriseCustomerOperationsClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, customerResourceName string, options *armconnectedcache.EnterpriseCustomerOperationsClientDeleteOptions) (resp azfake.Responder[armconnectedcache.EnterpriseCustomerOperationsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method EnterpriseCustomerOperationsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, customerResourceName string, options *armconnectedcache.EnterpriseCustomerOperationsClientGetOptions) (resp azfake.Responder[armconnectedcache.EnterpriseCustomerOperationsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByResourceGroupPager is the fake for method EnterpriseCustomerOperationsClient.NewListByResourceGroupPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByResourceGroupPager func(resourceGroupName string, options *armconnectedcache.EnterpriseCustomerOperationsClientListByResourceGroupOptions) (resp azfake.PagerResponder[armconnectedcache.EnterpriseCustomerOperationsClientListByResourceGroupResponse])

	// NewListBySubscriptionPager is the fake for method EnterpriseCustomerOperationsClient.NewListBySubscriptionPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListBySubscriptionPager func(options *armconnectedcache.EnterpriseCustomerOperationsClientListBySubscriptionOptions) (resp azfake.PagerResponder[armconnectedcache.EnterpriseCustomerOperationsClientListBySubscriptionResponse])

	// Update is the fake for method EnterpriseCustomerOperationsClient.Update
	// HTTP status codes to indicate success: http.StatusOK
	Update func(ctx context.Context, resourceGroupName string, customerResourceName string, properties armconnectedcache.PatchResource, options *armconnectedcache.EnterpriseCustomerOperationsClientUpdateOptions) (resp azfake.Responder[armconnectedcache.EnterpriseCustomerOperationsClientUpdateResponse], errResp azfake.ErrorResponder)
}

EnterpriseCustomerOperationsServer is a fake server for instances of the armconnectedcache.EnterpriseCustomerOperationsClient type.

type EnterpriseCustomerOperationsServerTransport

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

EnterpriseCustomerOperationsServerTransport connects instances of armconnectedcache.EnterpriseCustomerOperationsClient to instances of EnterpriseCustomerOperationsServer. Don't use this type directly, use NewEnterpriseCustomerOperationsServerTransport instead.

func NewEnterpriseCustomerOperationsServerTransport

func NewEnterpriseCustomerOperationsServerTransport(srv *EnterpriseCustomerOperationsServer) *EnterpriseCustomerOperationsServerTransport

NewEnterpriseCustomerOperationsServerTransport creates a new instance of EnterpriseCustomerOperationsServerTransport with the provided implementation. The returned EnterpriseCustomerOperationsServerTransport instance is connected to an instance of armconnectedcache.EnterpriseCustomerOperationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*EnterpriseCustomerOperationsServerTransport) Do

Do implements the policy.Transporter interface for EnterpriseCustomerOperationsServerTransport.

type EnterpriseMccCacheNodesOperationsServer

type EnterpriseMccCacheNodesOperationsServer struct {
	// BeginCreateOrUpdate is the fake for method EnterpriseMccCacheNodesOperationsClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, customerResourceName string, cacheNodeResourceName string, resource armconnectedcache.EnterpriseMccCacheNodeResource, options *armconnectedcache.EnterpriseMccCacheNodesOperationsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armconnectedcache.EnterpriseMccCacheNodesOperationsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method EnterpriseMccCacheNodesOperationsClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, customerResourceName string, cacheNodeResourceName string, options *armconnectedcache.EnterpriseMccCacheNodesOperationsClientBeginDeleteOptions) (resp azfake.PollerResponder[armconnectedcache.EnterpriseMccCacheNodesOperationsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method EnterpriseMccCacheNodesOperationsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, customerResourceName string, cacheNodeResourceName string, options *armconnectedcache.EnterpriseMccCacheNodesOperationsClientGetOptions) (resp azfake.Responder[armconnectedcache.EnterpriseMccCacheNodesOperationsClientGetResponse], errResp azfake.ErrorResponder)

	// GetCacheNodeInstallDetails is the fake for method EnterpriseMccCacheNodesOperationsClient.GetCacheNodeInstallDetails
	// HTTP status codes to indicate success: http.StatusOK
	GetCacheNodeInstallDetails func(ctx context.Context, resourceGroupName string, customerResourceName string, cacheNodeResourceName string, options *armconnectedcache.EnterpriseMccCacheNodesOperationsClientGetCacheNodeInstallDetailsOptions) (resp azfake.Responder[armconnectedcache.EnterpriseMccCacheNodesOperationsClientGetCacheNodeInstallDetailsResponse], errResp azfake.ErrorResponder)

	// NewListByEnterpriseMccCustomerResourcePager is the fake for method EnterpriseMccCacheNodesOperationsClient.NewListByEnterpriseMccCustomerResourcePager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByEnterpriseMccCustomerResourcePager func(resourceGroupName string, customerResourceName string, options *armconnectedcache.EnterpriseMccCacheNodesOperationsClientListByEnterpriseMccCustomerResourceOptions) (resp azfake.PagerResponder[armconnectedcache.EnterpriseMccCacheNodesOperationsClientListByEnterpriseMccCustomerResourceResponse])

	// Update is the fake for method EnterpriseMccCacheNodesOperationsClient.Update
	// HTTP status codes to indicate success: http.StatusOK
	Update func(ctx context.Context, resourceGroupName string, customerResourceName string, cacheNodeResourceName string, properties armconnectedcache.PatchResource, options *armconnectedcache.EnterpriseMccCacheNodesOperationsClientUpdateOptions) (resp azfake.Responder[armconnectedcache.EnterpriseMccCacheNodesOperationsClientUpdateResponse], errResp azfake.ErrorResponder)
}

EnterpriseMccCacheNodesOperationsServer is a fake server for instances of the armconnectedcache.EnterpriseMccCacheNodesOperationsClient type.

type EnterpriseMccCacheNodesOperationsServerTransport

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

EnterpriseMccCacheNodesOperationsServerTransport connects instances of armconnectedcache.EnterpriseMccCacheNodesOperationsClient to instances of EnterpriseMccCacheNodesOperationsServer. Don't use this type directly, use NewEnterpriseMccCacheNodesOperationsServerTransport instead.

func NewEnterpriseMccCacheNodesOperationsServerTransport

func NewEnterpriseMccCacheNodesOperationsServerTransport(srv *EnterpriseMccCacheNodesOperationsServer) *EnterpriseMccCacheNodesOperationsServerTransport

NewEnterpriseMccCacheNodesOperationsServerTransport creates a new instance of EnterpriseMccCacheNodesOperationsServerTransport with the provided implementation. The returned EnterpriseMccCacheNodesOperationsServerTransport instance is connected to an instance of armconnectedcache.EnterpriseMccCacheNodesOperationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*EnterpriseMccCacheNodesOperationsServerTransport) Do

Do implements the policy.Transporter interface for EnterpriseMccCacheNodesOperationsServerTransport.

type EnterpriseMccCustomersServer

type EnterpriseMccCustomersServer struct {
	// BeginCreateOrUpdate is the fake for method EnterpriseMccCustomersClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, customerResourceName string, resource armconnectedcache.EnterpriseMccCustomerResource, options *armconnectedcache.EnterpriseMccCustomersClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armconnectedcache.EnterpriseMccCustomersClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method EnterpriseMccCustomersClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, customerResourceName string, options *armconnectedcache.EnterpriseMccCustomersClientBeginDeleteOptions) (resp azfake.PollerResponder[armconnectedcache.EnterpriseMccCustomersClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method EnterpriseMccCustomersClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, customerResourceName string, options *armconnectedcache.EnterpriseMccCustomersClientGetOptions) (resp azfake.Responder[armconnectedcache.EnterpriseMccCustomersClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByResourceGroupPager is the fake for method EnterpriseMccCustomersClient.NewListByResourceGroupPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByResourceGroupPager func(resourceGroupName string, options *armconnectedcache.EnterpriseMccCustomersClientListByResourceGroupOptions) (resp azfake.PagerResponder[armconnectedcache.EnterpriseMccCustomersClientListByResourceGroupResponse])

	// NewListBySubscriptionPager is the fake for method EnterpriseMccCustomersClient.NewListBySubscriptionPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListBySubscriptionPager func(options *armconnectedcache.EnterpriseMccCustomersClientListBySubscriptionOptions) (resp azfake.PagerResponder[armconnectedcache.EnterpriseMccCustomersClientListBySubscriptionResponse])

	// Update is the fake for method EnterpriseMccCustomersClient.Update
	// HTTP status codes to indicate success: http.StatusOK
	Update func(ctx context.Context, resourceGroupName string, customerResourceName string, properties armconnectedcache.PatchResource, options *armconnectedcache.EnterpriseMccCustomersClientUpdateOptions) (resp azfake.Responder[armconnectedcache.EnterpriseMccCustomersClientUpdateResponse], errResp azfake.ErrorResponder)
}

EnterpriseMccCustomersServer is a fake server for instances of the armconnectedcache.EnterpriseMccCustomersClient type.

type EnterpriseMccCustomersServerTransport

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

EnterpriseMccCustomersServerTransport connects instances of armconnectedcache.EnterpriseMccCustomersClient to instances of EnterpriseMccCustomersServer. Don't use this type directly, use NewEnterpriseMccCustomersServerTransport instead.

func NewEnterpriseMccCustomersServerTransport

func NewEnterpriseMccCustomersServerTransport(srv *EnterpriseMccCustomersServer) *EnterpriseMccCustomersServerTransport

NewEnterpriseMccCustomersServerTransport creates a new instance of EnterpriseMccCustomersServerTransport with the provided implementation. The returned EnterpriseMccCustomersServerTransport instance is connected to an instance of armconnectedcache.EnterpriseMccCustomersClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*EnterpriseMccCustomersServerTransport) Do

Do implements the policy.Transporter interface for EnterpriseMccCustomersServerTransport.

type IspCacheNodesOperationsServer

type IspCacheNodesOperationsServer struct {
	// BeginCreateOrUpdate is the fake for method IspCacheNodesOperationsClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, customerResourceName string, cacheNodeResourceName string, resource armconnectedcache.IspCacheNodeResource, options *armconnectedcache.IspCacheNodesOperationsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armconnectedcache.IspCacheNodesOperationsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method IspCacheNodesOperationsClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, customerResourceName string, cacheNodeResourceName string, options *armconnectedcache.IspCacheNodesOperationsClientBeginDeleteOptions) (resp azfake.PollerResponder[armconnectedcache.IspCacheNodesOperationsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method IspCacheNodesOperationsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, customerResourceName string, cacheNodeResourceName string, options *armconnectedcache.IspCacheNodesOperationsClientGetOptions) (resp azfake.Responder[armconnectedcache.IspCacheNodesOperationsClientGetResponse], errResp azfake.ErrorResponder)

	// GetBgpCidrs is the fake for method IspCacheNodesOperationsClient.GetBgpCidrs
	// HTTP status codes to indicate success: http.StatusOK
	GetBgpCidrs func(ctx context.Context, resourceGroupName string, customerResourceName string, cacheNodeResourceName string, options *armconnectedcache.IspCacheNodesOperationsClientGetBgpCidrsOptions) (resp azfake.Responder[armconnectedcache.IspCacheNodesOperationsClientGetBgpCidrsResponse], errResp azfake.ErrorResponder)

	// GetCacheNodeInstallDetails is the fake for method IspCacheNodesOperationsClient.GetCacheNodeInstallDetails
	// HTTP status codes to indicate success: http.StatusOK
	GetCacheNodeInstallDetails func(ctx context.Context, resourceGroupName string, customerResourceName string, cacheNodeResourceName string, options *armconnectedcache.IspCacheNodesOperationsClientGetCacheNodeInstallDetailsOptions) (resp azfake.Responder[armconnectedcache.IspCacheNodesOperationsClientGetCacheNodeInstallDetailsResponse], errResp azfake.ErrorResponder)

	// NewListByIspCustomerResourcePager is the fake for method IspCacheNodesOperationsClient.NewListByIspCustomerResourcePager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByIspCustomerResourcePager func(resourceGroupName string, customerResourceName string, options *armconnectedcache.IspCacheNodesOperationsClientListByIspCustomerResourceOptions) (resp azfake.PagerResponder[armconnectedcache.IspCacheNodesOperationsClientListByIspCustomerResourceResponse])

	// Update is the fake for method IspCacheNodesOperationsClient.Update
	// HTTP status codes to indicate success: http.StatusOK
	Update func(ctx context.Context, resourceGroupName string, customerResourceName string, cacheNodeResourceName string, properties armconnectedcache.PatchResource, options *armconnectedcache.IspCacheNodesOperationsClientUpdateOptions) (resp azfake.Responder[armconnectedcache.IspCacheNodesOperationsClientUpdateResponse], errResp azfake.ErrorResponder)
}

IspCacheNodesOperationsServer is a fake server for instances of the armconnectedcache.IspCacheNodesOperationsClient type.

type IspCacheNodesOperationsServerTransport

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

IspCacheNodesOperationsServerTransport connects instances of armconnectedcache.IspCacheNodesOperationsClient to instances of IspCacheNodesOperationsServer. Don't use this type directly, use NewIspCacheNodesOperationsServerTransport instead.

func NewIspCacheNodesOperationsServerTransport

func NewIspCacheNodesOperationsServerTransport(srv *IspCacheNodesOperationsServer) *IspCacheNodesOperationsServerTransport

NewIspCacheNodesOperationsServerTransport creates a new instance of IspCacheNodesOperationsServerTransport with the provided implementation. The returned IspCacheNodesOperationsServerTransport instance is connected to an instance of armconnectedcache.IspCacheNodesOperationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*IspCacheNodesOperationsServerTransport) Do

Do implements the policy.Transporter interface for IspCacheNodesOperationsServerTransport.

type IspCustomersServer

type IspCustomersServer struct {
	// BeginCreateOrUpdate is the fake for method IspCustomersClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, customerResourceName string, resource armconnectedcache.IspCustomerResource, options *armconnectedcache.IspCustomersClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armconnectedcache.IspCustomersClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method IspCustomersClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, customerResourceName string, options *armconnectedcache.IspCustomersClientBeginDeleteOptions) (resp azfake.PollerResponder[armconnectedcache.IspCustomersClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method IspCustomersClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, customerResourceName string, options *armconnectedcache.IspCustomersClientGetOptions) (resp azfake.Responder[armconnectedcache.IspCustomersClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByResourceGroupPager is the fake for method IspCustomersClient.NewListByResourceGroupPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByResourceGroupPager func(resourceGroupName string, options *armconnectedcache.IspCustomersClientListByResourceGroupOptions) (resp azfake.PagerResponder[armconnectedcache.IspCustomersClientListByResourceGroupResponse])

	// NewListBySubscriptionPager is the fake for method IspCustomersClient.NewListBySubscriptionPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListBySubscriptionPager func(options *armconnectedcache.IspCustomersClientListBySubscriptionOptions) (resp azfake.PagerResponder[armconnectedcache.IspCustomersClientListBySubscriptionResponse])

	// Update is the fake for method IspCustomersClient.Update
	// HTTP status codes to indicate success: http.StatusOK
	Update func(ctx context.Context, resourceGroupName string, customerResourceName string, properties armconnectedcache.PatchResource, options *armconnectedcache.IspCustomersClientUpdateOptions) (resp azfake.Responder[armconnectedcache.IspCustomersClientUpdateResponse], errResp azfake.ErrorResponder)
}

IspCustomersServer is a fake server for instances of the armconnectedcache.IspCustomersClient type.

type IspCustomersServerTransport

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

IspCustomersServerTransport connects instances of armconnectedcache.IspCustomersClient to instances of IspCustomersServer. Don't use this type directly, use NewIspCustomersServerTransport instead.

func NewIspCustomersServerTransport

func NewIspCustomersServerTransport(srv *IspCustomersServer) *IspCustomersServerTransport

NewIspCustomersServerTransport creates a new instance of IspCustomersServerTransport with the provided implementation. The returned IspCustomersServerTransport instance is connected to an instance of armconnectedcache.IspCustomersClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*IspCustomersServerTransport) Do

Do implements the policy.Transporter interface for IspCustomersServerTransport.

type OperationsServer

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

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

type OperationsServerTransport

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

OperationsServerTransport connects instances of armconnectedcache.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 armconnectedcache.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 ServerFactory

type ServerFactory struct {
	// CacheNodesOperationsServer contains the fakes for client CacheNodesOperationsClient
	CacheNodesOperationsServer CacheNodesOperationsServer

	// EnterpriseCustomerOperationsServer contains the fakes for client EnterpriseCustomerOperationsClient
	EnterpriseCustomerOperationsServer EnterpriseCustomerOperationsServer

	// EnterpriseMccCacheNodesOperationsServer contains the fakes for client EnterpriseMccCacheNodesOperationsClient
	EnterpriseMccCacheNodesOperationsServer EnterpriseMccCacheNodesOperationsServer

	// EnterpriseMccCustomersServer contains the fakes for client EnterpriseMccCustomersClient
	EnterpriseMccCustomersServer EnterpriseMccCustomersServer

	// IspCacheNodesOperationsServer contains the fakes for client IspCacheNodesOperationsClient
	IspCacheNodesOperationsServer IspCacheNodesOperationsServer

	// IspCustomersServer contains the fakes for client IspCustomersClient
	IspCustomersServer IspCustomersServer

	// OperationsServer contains the fakes for client OperationsClient
	OperationsServer OperationsServer
}

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

type ServerFactoryTransport

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

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