fake

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2023 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 AllTrafficFiltersServer

type AllTrafficFiltersServer struct {
	// List is the fake for method AllTrafficFiltersClient.List
	// HTTP status codes to indicate success: http.StatusOK
	List func(ctx context.Context, resourceGroupName string, monitorName string, options *armelastic.AllTrafficFiltersClientListOptions) (resp azfake.Responder[armelastic.AllTrafficFiltersClientListResponse], errResp azfake.ErrorResponder)
}

AllTrafficFiltersServer is a fake server for instances of the armelastic.AllTrafficFiltersClient type.

type AllTrafficFiltersServerTransport

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

AllTrafficFiltersServerTransport connects instances of armelastic.AllTrafficFiltersClient to instances of AllTrafficFiltersServer. Don't use this type directly, use NewAllTrafficFiltersServerTransport instead.

func NewAllTrafficFiltersServerTransport

func NewAllTrafficFiltersServerTransport(srv *AllTrafficFiltersServer) *AllTrafficFiltersServerTransport

NewAllTrafficFiltersServerTransport creates a new instance of AllTrafficFiltersServerTransport with the provided implementation. The returned AllTrafficFiltersServerTransport instance is connected to an instance of armelastic.AllTrafficFiltersClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*AllTrafficFiltersServerTransport) Do

Do implements the policy.Transporter interface for AllTrafficFiltersServerTransport.

type AssociateTrafficFilterServer

type AssociateTrafficFilterServer struct {
	// BeginAssociate is the fake for method AssociateTrafficFilterClient.BeginAssociate
	// HTTP status codes to indicate success: http.StatusAccepted
	BeginAssociate func(ctx context.Context, resourceGroupName string, monitorName string, options *armelastic.AssociateTrafficFilterClientBeginAssociateOptions) (resp azfake.PollerResponder[armelastic.AssociateTrafficFilterClientAssociateResponse], errResp azfake.ErrorResponder)
}

AssociateTrafficFilterServer is a fake server for instances of the armelastic.AssociateTrafficFilterClient type.

type AssociateTrafficFilterServerTransport

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

AssociateTrafficFilterServerTransport connects instances of armelastic.AssociateTrafficFilterClient to instances of AssociateTrafficFilterServer. Don't use this type directly, use NewAssociateTrafficFilterServerTransport instead.

func NewAssociateTrafficFilterServerTransport

func NewAssociateTrafficFilterServerTransport(srv *AssociateTrafficFilterServer) *AssociateTrafficFilterServerTransport

NewAssociateTrafficFilterServerTransport creates a new instance of AssociateTrafficFilterServerTransport with the provided implementation. The returned AssociateTrafficFilterServerTransport instance is connected to an instance of armelastic.AssociateTrafficFilterClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*AssociateTrafficFilterServerTransport) Do

Do implements the policy.Transporter interface for AssociateTrafficFilterServerTransport.

type CreateAndAssociateIPFilterServer

type CreateAndAssociateIPFilterServer struct {
	// BeginCreate is the fake for method CreateAndAssociateIPFilterClient.BeginCreate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginCreate func(ctx context.Context, resourceGroupName string, monitorName string, options *armelastic.CreateAndAssociateIPFilterClientBeginCreateOptions) (resp azfake.PollerResponder[armelastic.CreateAndAssociateIPFilterClientCreateResponse], errResp azfake.ErrorResponder)
}

CreateAndAssociateIPFilterServer is a fake server for instances of the armelastic.CreateAndAssociateIPFilterClient type.

type CreateAndAssociateIPFilterServerTransport

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

CreateAndAssociateIPFilterServerTransport connects instances of armelastic.CreateAndAssociateIPFilterClient to instances of CreateAndAssociateIPFilterServer. Don't use this type directly, use NewCreateAndAssociateIPFilterServerTransport instead.

func NewCreateAndAssociateIPFilterServerTransport

func NewCreateAndAssociateIPFilterServerTransport(srv *CreateAndAssociateIPFilterServer) *CreateAndAssociateIPFilterServerTransport

NewCreateAndAssociateIPFilterServerTransport creates a new instance of CreateAndAssociateIPFilterServerTransport with the provided implementation. The returned CreateAndAssociateIPFilterServerTransport instance is connected to an instance of armelastic.CreateAndAssociateIPFilterClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*CreateAndAssociateIPFilterServerTransport) Do

Do implements the policy.Transporter interface for CreateAndAssociateIPFilterServerTransport.

type CreateAndAssociatePLFilterServer

type CreateAndAssociatePLFilterServer struct {
	// BeginCreate is the fake for method CreateAndAssociatePLFilterClient.BeginCreate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginCreate func(ctx context.Context, resourceGroupName string, monitorName string, options *armelastic.CreateAndAssociatePLFilterClientBeginCreateOptions) (resp azfake.PollerResponder[armelastic.CreateAndAssociatePLFilterClientCreateResponse], errResp azfake.ErrorResponder)
}

CreateAndAssociatePLFilterServer is a fake server for instances of the armelastic.CreateAndAssociatePLFilterClient type.

type CreateAndAssociatePLFilterServerTransport

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

CreateAndAssociatePLFilterServerTransport connects instances of armelastic.CreateAndAssociatePLFilterClient to instances of CreateAndAssociatePLFilterServer. Don't use this type directly, use NewCreateAndAssociatePLFilterServerTransport instead.

func NewCreateAndAssociatePLFilterServerTransport

func NewCreateAndAssociatePLFilterServerTransport(srv *CreateAndAssociatePLFilterServer) *CreateAndAssociatePLFilterServerTransport

NewCreateAndAssociatePLFilterServerTransport creates a new instance of CreateAndAssociatePLFilterServerTransport with the provided implementation. The returned CreateAndAssociatePLFilterServerTransport instance is connected to an instance of armelastic.CreateAndAssociatePLFilterClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*CreateAndAssociatePLFilterServerTransport) Do

Do implements the policy.Transporter interface for CreateAndAssociatePLFilterServerTransport.

type DeploymentInfoServer

type DeploymentInfoServer struct {
	// List is the fake for method DeploymentInfoClient.List
	// HTTP status codes to indicate success: http.StatusOK
	List func(ctx context.Context, resourceGroupName string, monitorName string, options *armelastic.DeploymentInfoClientListOptions) (resp azfake.Responder[armelastic.DeploymentInfoClientListResponse], errResp azfake.ErrorResponder)
}

DeploymentInfoServer is a fake server for instances of the armelastic.DeploymentInfoClient type.

type DeploymentInfoServerTransport

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

DeploymentInfoServerTransport connects instances of armelastic.DeploymentInfoClient to instances of DeploymentInfoServer. Don't use this type directly, use NewDeploymentInfoServerTransport instead.

func NewDeploymentInfoServerTransport

func NewDeploymentInfoServerTransport(srv *DeploymentInfoServer) *DeploymentInfoServerTransport

NewDeploymentInfoServerTransport creates a new instance of DeploymentInfoServerTransport with the provided implementation. The returned DeploymentInfoServerTransport instance is connected to an instance of armelastic.DeploymentInfoClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*DeploymentInfoServerTransport) Do

Do implements the policy.Transporter interface for DeploymentInfoServerTransport.

type DetachAndDeleteTrafficFilterServer

type DetachAndDeleteTrafficFilterServer struct {
	// Delete is the fake for method DetachAndDeleteTrafficFilterClient.Delete
	// HTTP status codes to indicate success: http.StatusOK
	Delete func(ctx context.Context, resourceGroupName string, monitorName string, options *armelastic.DetachAndDeleteTrafficFilterClientDeleteOptions) (resp azfake.Responder[armelastic.DetachAndDeleteTrafficFilterClientDeleteResponse], errResp azfake.ErrorResponder)
}

DetachAndDeleteTrafficFilterServer is a fake server for instances of the armelastic.DetachAndDeleteTrafficFilterClient type.

type DetachAndDeleteTrafficFilterServerTransport

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

DetachAndDeleteTrafficFilterServerTransport connects instances of armelastic.DetachAndDeleteTrafficFilterClient to instances of DetachAndDeleteTrafficFilterServer. Don't use this type directly, use NewDetachAndDeleteTrafficFilterServerTransport instead.

func NewDetachAndDeleteTrafficFilterServerTransport

func NewDetachAndDeleteTrafficFilterServerTransport(srv *DetachAndDeleteTrafficFilterServer) *DetachAndDeleteTrafficFilterServerTransport

NewDetachAndDeleteTrafficFilterServerTransport creates a new instance of DetachAndDeleteTrafficFilterServerTransport with the provided implementation. The returned DetachAndDeleteTrafficFilterServerTransport instance is connected to an instance of armelastic.DetachAndDeleteTrafficFilterClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*DetachAndDeleteTrafficFilterServerTransport) Do

Do implements the policy.Transporter interface for DetachAndDeleteTrafficFilterServerTransport.

type DetachTrafficFilterServer

type DetachTrafficFilterServer struct {
	// BeginUpdate is the fake for method DetachTrafficFilterClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, monitorName string, options *armelastic.DetachTrafficFilterClientBeginUpdateOptions) (resp azfake.PollerResponder[armelastic.DetachTrafficFilterClientUpdateResponse], errResp azfake.ErrorResponder)
}

DetachTrafficFilterServer is a fake server for instances of the armelastic.DetachTrafficFilterClient type.

type DetachTrafficFilterServerTransport

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

DetachTrafficFilterServerTransport connects instances of armelastic.DetachTrafficFilterClient to instances of DetachTrafficFilterServer. Don't use this type directly, use NewDetachTrafficFilterServerTransport instead.

func NewDetachTrafficFilterServerTransport

func NewDetachTrafficFilterServerTransport(srv *DetachTrafficFilterServer) *DetachTrafficFilterServerTransport

NewDetachTrafficFilterServerTransport creates a new instance of DetachTrafficFilterServerTransport with the provided implementation. The returned DetachTrafficFilterServerTransport instance is connected to an instance of armelastic.DetachTrafficFilterClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*DetachTrafficFilterServerTransport) Do

Do implements the policy.Transporter interface for DetachTrafficFilterServerTransport.

type ExternalUserServer

type ExternalUserServer struct {
	// CreateOrUpdate is the fake for method ExternalUserClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK
	CreateOrUpdate func(ctx context.Context, resourceGroupName string, monitorName string, options *armelastic.ExternalUserClientCreateOrUpdateOptions) (resp azfake.Responder[armelastic.ExternalUserClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)
}

ExternalUserServer is a fake server for instances of the armelastic.ExternalUserClient type.

type ExternalUserServerTransport

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

ExternalUserServerTransport connects instances of armelastic.ExternalUserClient to instances of ExternalUserServer. Don't use this type directly, use NewExternalUserServerTransport instead.

func NewExternalUserServerTransport

func NewExternalUserServerTransport(srv *ExternalUserServer) *ExternalUserServerTransport

NewExternalUserServerTransport creates a new instance of ExternalUserServerTransport with the provided implementation. The returned ExternalUserServerTransport instance is connected to an instance of armelastic.ExternalUserClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ExternalUserServerTransport) Do

Do implements the policy.Transporter interface for ExternalUserServerTransport.

type ListAssociatedTrafficFiltersServer

type ListAssociatedTrafficFiltersServer struct {
	// List is the fake for method ListAssociatedTrafficFiltersClient.List
	// HTTP status codes to indicate success: http.StatusOK
	List func(ctx context.Context, resourceGroupName string, monitorName string, options *armelastic.ListAssociatedTrafficFiltersClientListOptions) (resp azfake.Responder[armelastic.ListAssociatedTrafficFiltersClientListResponse], errResp azfake.ErrorResponder)
}

ListAssociatedTrafficFiltersServer is a fake server for instances of the armelastic.ListAssociatedTrafficFiltersClient type.

type ListAssociatedTrafficFiltersServerTransport

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

ListAssociatedTrafficFiltersServerTransport connects instances of armelastic.ListAssociatedTrafficFiltersClient to instances of ListAssociatedTrafficFiltersServer. Don't use this type directly, use NewListAssociatedTrafficFiltersServerTransport instead.

func NewListAssociatedTrafficFiltersServerTransport

func NewListAssociatedTrafficFiltersServerTransport(srv *ListAssociatedTrafficFiltersServer) *ListAssociatedTrafficFiltersServerTransport

NewListAssociatedTrafficFiltersServerTransport creates a new instance of ListAssociatedTrafficFiltersServerTransport with the provided implementation. The returned ListAssociatedTrafficFiltersServerTransport instance is connected to an instance of armelastic.ListAssociatedTrafficFiltersClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ListAssociatedTrafficFiltersServerTransport) Do

Do implements the policy.Transporter interface for ListAssociatedTrafficFiltersServerTransport.

type MonitorServer

type MonitorServer struct {
	// BeginUpgrade is the fake for method MonitorClient.BeginUpgrade
	// HTTP status codes to indicate success: http.StatusAccepted
	BeginUpgrade func(ctx context.Context, resourceGroupName string, monitorName string, options *armelastic.MonitorClientBeginUpgradeOptions) (resp azfake.PollerResponder[armelastic.MonitorClientUpgradeResponse], errResp azfake.ErrorResponder)
}

MonitorServer is a fake server for instances of the armelastic.MonitorClient type.

type MonitorServerTransport

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

MonitorServerTransport connects instances of armelastic.MonitorClient to instances of MonitorServer. Don't use this type directly, use NewMonitorServerTransport instead.

func NewMonitorServerTransport

func NewMonitorServerTransport(srv *MonitorServer) *MonitorServerTransport

NewMonitorServerTransport creates a new instance of MonitorServerTransport with the provided implementation. The returned MonitorServerTransport instance is connected to an instance of armelastic.MonitorClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*MonitorServerTransport) Do

Do implements the policy.Transporter interface for MonitorServerTransport.

type MonitoredResourcesServer

type MonitoredResourcesServer struct {
	// NewListPager is the fake for method MonitoredResourcesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, monitorName string, options *armelastic.MonitoredResourcesClientListOptions) (resp azfake.PagerResponder[armelastic.MonitoredResourcesClientListResponse])
}

MonitoredResourcesServer is a fake server for instances of the armelastic.MonitoredResourcesClient type.

type MonitoredResourcesServerTransport

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

MonitoredResourcesServerTransport connects instances of armelastic.MonitoredResourcesClient to instances of MonitoredResourcesServer. Don't use this type directly, use NewMonitoredResourcesServerTransport instead.

func NewMonitoredResourcesServerTransport

func NewMonitoredResourcesServerTransport(srv *MonitoredResourcesServer) *MonitoredResourcesServerTransport

NewMonitoredResourcesServerTransport creates a new instance of MonitoredResourcesServerTransport with the provided implementation. The returned MonitoredResourcesServerTransport instance is connected to an instance of armelastic.MonitoredResourcesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*MonitoredResourcesServerTransport) Do

Do implements the policy.Transporter interface for MonitoredResourcesServerTransport.

type MonitorsServer

type MonitorsServer struct {
	// BeginCreate is the fake for method MonitorsClient.BeginCreate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreate func(ctx context.Context, resourceGroupName string, monitorName string, options *armelastic.MonitorsClientBeginCreateOptions) (resp azfake.PollerResponder[armelastic.MonitorsClientCreateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method MonitorsClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, monitorName string, options *armelastic.MonitorsClientBeginDeleteOptions) (resp azfake.PollerResponder[armelastic.MonitorsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method MonitorsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, monitorName string, options *armelastic.MonitorsClientGetOptions) (resp azfake.Responder[armelastic.MonitorsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method MonitorsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(options *armelastic.MonitorsClientListOptions) (resp azfake.PagerResponder[armelastic.MonitorsClientListResponse])

	// NewListByResourceGroupPager is the fake for method MonitorsClient.NewListByResourceGroupPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByResourceGroupPager func(resourceGroupName string, options *armelastic.MonitorsClientListByResourceGroupOptions) (resp azfake.PagerResponder[armelastic.MonitorsClientListByResourceGroupResponse])

	// Update is the fake for method MonitorsClient.Update
	// HTTP status codes to indicate success: http.StatusOK
	Update func(ctx context.Context, resourceGroupName string, monitorName string, options *armelastic.MonitorsClientUpdateOptions) (resp azfake.Responder[armelastic.MonitorsClientUpdateResponse], errResp azfake.ErrorResponder)
}

MonitorsServer is a fake server for instances of the armelastic.MonitorsClient type.

type MonitorsServerTransport

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

MonitorsServerTransport connects instances of armelastic.MonitorsClient to instances of MonitorsServer. Don't use this type directly, use NewMonitorsServerTransport instead.

func NewMonitorsServerTransport

func NewMonitorsServerTransport(srv *MonitorsServer) *MonitorsServerTransport

NewMonitorsServerTransport creates a new instance of MonitorsServerTransport with the provided implementation. The returned MonitorsServerTransport instance is connected to an instance of armelastic.MonitorsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*MonitorsServerTransport) Do

Do implements the policy.Transporter interface for MonitorsServerTransport.

type OperationsServer

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

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

type OperationsServerTransport

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

OperationsServerTransport connects instances of armelastic.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 armelastic.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 OrganizationsServer

type OrganizationsServer struct {
	// GetAPIKey is the fake for method OrganizationsClient.GetAPIKey
	// HTTP status codes to indicate success: http.StatusOK
	GetAPIKey func(ctx context.Context, options *armelastic.OrganizationsClientGetAPIKeyOptions) (resp azfake.Responder[armelastic.OrganizationsClientGetAPIKeyResponse], errResp azfake.ErrorResponder)
}

OrganizationsServer is a fake server for instances of the armelastic.OrganizationsClient type.

type OrganizationsServerTransport

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

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

func (*OrganizationsServerTransport) Do

Do implements the policy.Transporter interface for OrganizationsServerTransport.

type ServerFactory

type ServerFactory struct {
	AllTrafficFiltersServer            AllTrafficFiltersServer
	AssociateTrafficFilterServer       AssociateTrafficFilterServer
	CreateAndAssociateIPFilterServer   CreateAndAssociateIPFilterServer
	CreateAndAssociatePLFilterServer   CreateAndAssociatePLFilterServer
	DeploymentInfoServer               DeploymentInfoServer
	DetachAndDeleteTrafficFilterServer DetachAndDeleteTrafficFilterServer
	DetachTrafficFilterServer          DetachTrafficFilterServer
	ExternalUserServer                 ExternalUserServer
	ListAssociatedTrafficFiltersServer ListAssociatedTrafficFiltersServer
	MonitorServer                      MonitorServer
	MonitoredResourcesServer           MonitoredResourcesServer
	MonitorsServer                     MonitorsServer
	OperationsServer                   OperationsServer
	OrganizationsServer                OrganizationsServer
	TagRulesServer                     TagRulesServer
	TrafficFiltersServer               TrafficFiltersServer
	UpgradableVersionsServer           UpgradableVersionsServer
	VMCollectionServer                 VMCollectionServer
	VMHostServer                       VMHostServer
	VMIngestionServer                  VMIngestionServer
	VersionsServer                     VersionsServer
}

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

type ServerFactoryTransport

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

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

type TagRulesServer struct {
	// CreateOrUpdate is the fake for method TagRulesClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK
	CreateOrUpdate func(ctx context.Context, resourceGroupName string, monitorName string, ruleSetName string, options *armelastic.TagRulesClientCreateOrUpdateOptions) (resp azfake.Responder[armelastic.TagRulesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method TagRulesClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, monitorName string, ruleSetName string, options *armelastic.TagRulesClientBeginDeleteOptions) (resp azfake.PollerResponder[armelastic.TagRulesClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method TagRulesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, monitorName string, ruleSetName string, options *armelastic.TagRulesClientGetOptions) (resp azfake.Responder[armelastic.TagRulesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method TagRulesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, monitorName string, options *armelastic.TagRulesClientListOptions) (resp azfake.PagerResponder[armelastic.TagRulesClientListResponse])
}

TagRulesServer is a fake server for instances of the armelastic.TagRulesClient type.

type TagRulesServerTransport

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

TagRulesServerTransport connects instances of armelastic.TagRulesClient to instances of TagRulesServer. Don't use this type directly, use NewTagRulesServerTransport instead.

func NewTagRulesServerTransport

func NewTagRulesServerTransport(srv *TagRulesServer) *TagRulesServerTransport

NewTagRulesServerTransport creates a new instance of TagRulesServerTransport with the provided implementation. The returned TagRulesServerTransport instance is connected to an instance of armelastic.TagRulesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*TagRulesServerTransport) Do

Do implements the policy.Transporter interface for TagRulesServerTransport.

type TrafficFiltersServer

type TrafficFiltersServer struct {
	// Delete is the fake for method TrafficFiltersClient.Delete
	// HTTP status codes to indicate success: http.StatusOK
	Delete func(ctx context.Context, resourceGroupName string, monitorName string, options *armelastic.TrafficFiltersClientDeleteOptions) (resp azfake.Responder[armelastic.TrafficFiltersClientDeleteResponse], errResp azfake.ErrorResponder)
}

TrafficFiltersServer is a fake server for instances of the armelastic.TrafficFiltersClient type.

type TrafficFiltersServerTransport

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

TrafficFiltersServerTransport connects instances of armelastic.TrafficFiltersClient to instances of TrafficFiltersServer. Don't use this type directly, use NewTrafficFiltersServerTransport instead.

func NewTrafficFiltersServerTransport

func NewTrafficFiltersServerTransport(srv *TrafficFiltersServer) *TrafficFiltersServerTransport

NewTrafficFiltersServerTransport creates a new instance of TrafficFiltersServerTransport with the provided implementation. The returned TrafficFiltersServerTransport instance is connected to an instance of armelastic.TrafficFiltersClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*TrafficFiltersServerTransport) Do

Do implements the policy.Transporter interface for TrafficFiltersServerTransport.

type UpgradableVersionsServer

type UpgradableVersionsServer struct {
	// Details is the fake for method UpgradableVersionsClient.Details
	// HTTP status codes to indicate success: http.StatusOK
	Details func(ctx context.Context, resourceGroupName string, monitorName string, options *armelastic.UpgradableVersionsClientDetailsOptions) (resp azfake.Responder[armelastic.UpgradableVersionsClientDetailsResponse], errResp azfake.ErrorResponder)
}

UpgradableVersionsServer is a fake server for instances of the armelastic.UpgradableVersionsClient type.

type UpgradableVersionsServerTransport

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

UpgradableVersionsServerTransport connects instances of armelastic.UpgradableVersionsClient to instances of UpgradableVersionsServer. Don't use this type directly, use NewUpgradableVersionsServerTransport instead.

func NewUpgradableVersionsServerTransport

func NewUpgradableVersionsServerTransport(srv *UpgradableVersionsServer) *UpgradableVersionsServerTransport

NewUpgradableVersionsServerTransport creates a new instance of UpgradableVersionsServerTransport with the provided implementation. The returned UpgradableVersionsServerTransport instance is connected to an instance of armelastic.UpgradableVersionsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*UpgradableVersionsServerTransport) Do

Do implements the policy.Transporter interface for UpgradableVersionsServerTransport.

type VMCollectionServer

type VMCollectionServer struct {
	// Update is the fake for method VMCollectionClient.Update
	// HTTP status codes to indicate success: http.StatusOK
	Update func(ctx context.Context, resourceGroupName string, monitorName string, options *armelastic.VMCollectionClientUpdateOptions) (resp azfake.Responder[armelastic.VMCollectionClientUpdateResponse], errResp azfake.ErrorResponder)
}

VMCollectionServer is a fake server for instances of the armelastic.VMCollectionClient type.

type VMCollectionServerTransport

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

VMCollectionServerTransport connects instances of armelastic.VMCollectionClient to instances of VMCollectionServer. Don't use this type directly, use NewVMCollectionServerTransport instead.

func NewVMCollectionServerTransport

func NewVMCollectionServerTransport(srv *VMCollectionServer) *VMCollectionServerTransport

NewVMCollectionServerTransport creates a new instance of VMCollectionServerTransport with the provided implementation. The returned VMCollectionServerTransport instance is connected to an instance of armelastic.VMCollectionClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*VMCollectionServerTransport) Do

Do implements the policy.Transporter interface for VMCollectionServerTransport.

type VMHostServer

type VMHostServer struct {
	// NewListPager is the fake for method VMHostClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, monitorName string, options *armelastic.VMHostClientListOptions) (resp azfake.PagerResponder[armelastic.VMHostClientListResponse])
}

VMHostServer is a fake server for instances of the armelastic.VMHostClient type.

type VMHostServerTransport

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

VMHostServerTransport connects instances of armelastic.VMHostClient to instances of VMHostServer. Don't use this type directly, use NewVMHostServerTransport instead.

func NewVMHostServerTransport

func NewVMHostServerTransport(srv *VMHostServer) *VMHostServerTransport

NewVMHostServerTransport creates a new instance of VMHostServerTransport with the provided implementation. The returned VMHostServerTransport instance is connected to an instance of armelastic.VMHostClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*VMHostServerTransport) Do

Do implements the policy.Transporter interface for VMHostServerTransport.

type VMIngestionServer

type VMIngestionServer struct {
	// Details is the fake for method VMIngestionClient.Details
	// HTTP status codes to indicate success: http.StatusOK
	Details func(ctx context.Context, resourceGroupName string, monitorName string, options *armelastic.VMIngestionClientDetailsOptions) (resp azfake.Responder[armelastic.VMIngestionClientDetailsResponse], errResp azfake.ErrorResponder)
}

VMIngestionServer is a fake server for instances of the armelastic.VMIngestionClient type.

type VMIngestionServerTransport

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

VMIngestionServerTransport connects instances of armelastic.VMIngestionClient to instances of VMIngestionServer. Don't use this type directly, use NewVMIngestionServerTransport instead.

func NewVMIngestionServerTransport

func NewVMIngestionServerTransport(srv *VMIngestionServer) *VMIngestionServerTransport

NewVMIngestionServerTransport creates a new instance of VMIngestionServerTransport with the provided implementation. The returned VMIngestionServerTransport instance is connected to an instance of armelastic.VMIngestionClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*VMIngestionServerTransport) Do

Do implements the policy.Transporter interface for VMIngestionServerTransport.

type VersionsServer

type VersionsServer struct {
	// NewListPager is the fake for method VersionsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(region string, options *armelastic.VersionsClientListOptions) (resp azfake.PagerResponder[armelastic.VersionsClientListResponse])
}

VersionsServer is a fake server for instances of the armelastic.VersionsClient type.

type VersionsServerTransport

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

VersionsServerTransport connects instances of armelastic.VersionsClient to instances of VersionsServer. Don't use this type directly, use NewVersionsServerTransport instead.

func NewVersionsServerTransport

func NewVersionsServerTransport(srv *VersionsServer) *VersionsServerTransport

NewVersionsServerTransport creates a new instance of VersionsServerTransport with the provided implementation. The returned VersionsServerTransport instance is connected to an instance of armelastic.VersionsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*VersionsServerTransport) Do

Do implements the policy.Transporter interface for VersionsServerTransport.

Jump to

Keyboard shortcuts

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