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: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIKeysServer

type APIKeysServer struct {
	// Create is the fake for method APIKeysClient.Create
	// HTTP status codes to indicate success: http.StatusOK
	Create func(ctx context.Context, resourceGroupName string, resourceName string, apiKeyProperties armapplicationinsights.APIKeyRequest, options *armapplicationinsights.APIKeysClientCreateOptions) (resp azfake.Responder[armapplicationinsights.APIKeysClientCreateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method APIKeysClient.Delete
	// HTTP status codes to indicate success: http.StatusOK
	Delete func(ctx context.Context, resourceGroupName string, resourceName string, keyID string, options *armapplicationinsights.APIKeysClientDeleteOptions) (resp azfake.Responder[armapplicationinsights.APIKeysClientDeleteResponse], errResp azfake.ErrorResponder)

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

	// NewListPager is the fake for method APIKeysClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, resourceName string, options *armapplicationinsights.APIKeysClientListOptions) (resp azfake.PagerResponder[armapplicationinsights.APIKeysClientListResponse])
}

APIKeysServer is a fake server for instances of the armapplicationinsights.APIKeysClient type.

type APIKeysServerTransport

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

APIKeysServerTransport connects instances of armapplicationinsights.APIKeysClient to instances of APIKeysServer. Don't use this type directly, use NewAPIKeysServerTransport instead.

func NewAPIKeysServerTransport

func NewAPIKeysServerTransport(srv *APIKeysServer) *APIKeysServerTransport

NewAPIKeysServerTransport creates a new instance of APIKeysServerTransport with the provided implementation. The returned APIKeysServerTransport instance is connected to an instance of armapplicationinsights.APIKeysClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*APIKeysServerTransport) Do

Do implements the policy.Transporter interface for APIKeysServerTransport.

type AnalyticsItemsServer

type AnalyticsItemsServer struct {
	// Delete is the fake for method AnalyticsItemsClient.Delete
	// HTTP status codes to indicate success: http.StatusOK
	Delete func(ctx context.Context, resourceGroupName string, resourceName string, scopePath armapplicationinsights.ItemScopePath, options *armapplicationinsights.AnalyticsItemsClientDeleteOptions) (resp azfake.Responder[armapplicationinsights.AnalyticsItemsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method AnalyticsItemsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, resourceName string, scopePath armapplicationinsights.ItemScopePath, options *armapplicationinsights.AnalyticsItemsClientGetOptions) (resp azfake.Responder[armapplicationinsights.AnalyticsItemsClientGetResponse], errResp azfake.ErrorResponder)

	// List is the fake for method AnalyticsItemsClient.List
	// HTTP status codes to indicate success: http.StatusOK
	List func(ctx context.Context, resourceGroupName string, resourceName string, scopePath armapplicationinsights.ItemScopePath, options *armapplicationinsights.AnalyticsItemsClientListOptions) (resp azfake.Responder[armapplicationinsights.AnalyticsItemsClientListResponse], errResp azfake.ErrorResponder)

	// Put is the fake for method AnalyticsItemsClient.Put
	// HTTP status codes to indicate success: http.StatusOK
	Put func(ctx context.Context, resourceGroupName string, resourceName string, scopePath armapplicationinsights.ItemScopePath, itemProperties armapplicationinsights.ComponentAnalyticsItem, options *armapplicationinsights.AnalyticsItemsClientPutOptions) (resp azfake.Responder[armapplicationinsights.AnalyticsItemsClientPutResponse], errResp azfake.ErrorResponder)
}

AnalyticsItemsServer is a fake server for instances of the armapplicationinsights.AnalyticsItemsClient type.

type AnalyticsItemsServerTransport

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

AnalyticsItemsServerTransport connects instances of armapplicationinsights.AnalyticsItemsClient to instances of AnalyticsItemsServer. Don't use this type directly, use NewAnalyticsItemsServerTransport instead.

func NewAnalyticsItemsServerTransport

func NewAnalyticsItemsServerTransport(srv *AnalyticsItemsServer) *AnalyticsItemsServerTransport

NewAnalyticsItemsServerTransport creates a new instance of AnalyticsItemsServerTransport with the provided implementation. The returned AnalyticsItemsServerTransport instance is connected to an instance of armapplicationinsights.AnalyticsItemsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*AnalyticsItemsServerTransport) Do

Do implements the policy.Transporter interface for AnalyticsItemsServerTransport.

type AnnotationsServer

type AnnotationsServer struct {
	// Create is the fake for method AnnotationsClient.Create
	// HTTP status codes to indicate success: http.StatusOK
	Create func(ctx context.Context, resourceGroupName string, resourceName string, annotationProperties armapplicationinsights.Annotation, options *armapplicationinsights.AnnotationsClientCreateOptions) (resp azfake.Responder[armapplicationinsights.AnnotationsClientCreateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method AnnotationsClient.Delete
	// HTTP status codes to indicate success: http.StatusOK
	Delete func(ctx context.Context, resourceGroupName string, resourceName string, annotationID string, options *armapplicationinsights.AnnotationsClientDeleteOptions) (resp azfake.Responder[armapplicationinsights.AnnotationsClientDeleteResponse], errResp azfake.ErrorResponder)

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

	// NewListPager is the fake for method AnnotationsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, resourceName string, start string, end string, options *armapplicationinsights.AnnotationsClientListOptions) (resp azfake.PagerResponder[armapplicationinsights.AnnotationsClientListResponse])
}

AnnotationsServer is a fake server for instances of the armapplicationinsights.AnnotationsClient type.

type AnnotationsServerTransport

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

AnnotationsServerTransport connects instances of armapplicationinsights.AnnotationsClient to instances of AnnotationsServer. Don't use this type directly, use NewAnnotationsServerTransport instead.

func NewAnnotationsServerTransport

func NewAnnotationsServerTransport(srv *AnnotationsServer) *AnnotationsServerTransport

NewAnnotationsServerTransport creates a new instance of AnnotationsServerTransport with the provided implementation. The returned AnnotationsServerTransport instance is connected to an instance of armapplicationinsights.AnnotationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*AnnotationsServerTransport) Do

Do implements the policy.Transporter interface for AnnotationsServerTransport.

type ComponentAvailableFeaturesServer

type ComponentAvailableFeaturesServer struct {
	// Get is the fake for method ComponentAvailableFeaturesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, resourceName string, options *armapplicationinsights.ComponentAvailableFeaturesClientGetOptions) (resp azfake.Responder[armapplicationinsights.ComponentAvailableFeaturesClientGetResponse], errResp azfake.ErrorResponder)
}

ComponentAvailableFeaturesServer is a fake server for instances of the armapplicationinsights.ComponentAvailableFeaturesClient type.

type ComponentAvailableFeaturesServerTransport

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

ComponentAvailableFeaturesServerTransport connects instances of armapplicationinsights.ComponentAvailableFeaturesClient to instances of ComponentAvailableFeaturesServer. Don't use this type directly, use NewComponentAvailableFeaturesServerTransport instead.

func NewComponentAvailableFeaturesServerTransport

func NewComponentAvailableFeaturesServerTransport(srv *ComponentAvailableFeaturesServer) *ComponentAvailableFeaturesServerTransport

NewComponentAvailableFeaturesServerTransport creates a new instance of ComponentAvailableFeaturesServerTransport with the provided implementation. The returned ComponentAvailableFeaturesServerTransport instance is connected to an instance of armapplicationinsights.ComponentAvailableFeaturesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ComponentAvailableFeaturesServerTransport) Do

Do implements the policy.Transporter interface for ComponentAvailableFeaturesServerTransport.

type ComponentCurrentBillingFeaturesServer

type ComponentCurrentBillingFeaturesServer struct {
	// Get is the fake for method ComponentCurrentBillingFeaturesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, resourceName string, options *armapplicationinsights.ComponentCurrentBillingFeaturesClientGetOptions) (resp azfake.Responder[armapplicationinsights.ComponentCurrentBillingFeaturesClientGetResponse], errResp azfake.ErrorResponder)

	// Update is the fake for method ComponentCurrentBillingFeaturesClient.Update
	// HTTP status codes to indicate success: http.StatusOK
	Update func(ctx context.Context, resourceGroupName string, resourceName string, billingFeaturesProperties armapplicationinsights.ComponentBillingFeatures, options *armapplicationinsights.ComponentCurrentBillingFeaturesClientUpdateOptions) (resp azfake.Responder[armapplicationinsights.ComponentCurrentBillingFeaturesClientUpdateResponse], errResp azfake.ErrorResponder)
}

ComponentCurrentBillingFeaturesServer is a fake server for instances of the armapplicationinsights.ComponentCurrentBillingFeaturesClient type.

type ComponentCurrentBillingFeaturesServerTransport

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

ComponentCurrentBillingFeaturesServerTransport connects instances of armapplicationinsights.ComponentCurrentBillingFeaturesClient to instances of ComponentCurrentBillingFeaturesServer. Don't use this type directly, use NewComponentCurrentBillingFeaturesServerTransport instead.

func NewComponentCurrentBillingFeaturesServerTransport

func NewComponentCurrentBillingFeaturesServerTransport(srv *ComponentCurrentBillingFeaturesServer) *ComponentCurrentBillingFeaturesServerTransport

NewComponentCurrentBillingFeaturesServerTransport creates a new instance of ComponentCurrentBillingFeaturesServerTransport with the provided implementation. The returned ComponentCurrentBillingFeaturesServerTransport instance is connected to an instance of armapplicationinsights.ComponentCurrentBillingFeaturesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ComponentCurrentBillingFeaturesServerTransport) Do

Do implements the policy.Transporter interface for ComponentCurrentBillingFeaturesServerTransport.

type ComponentFeatureCapabilitiesServer

type ComponentFeatureCapabilitiesServer struct {
	// Get is the fake for method ComponentFeatureCapabilitiesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, resourceName string, options *armapplicationinsights.ComponentFeatureCapabilitiesClientGetOptions) (resp azfake.Responder[armapplicationinsights.ComponentFeatureCapabilitiesClientGetResponse], errResp azfake.ErrorResponder)
}

ComponentFeatureCapabilitiesServer is a fake server for instances of the armapplicationinsights.ComponentFeatureCapabilitiesClient type.

type ComponentFeatureCapabilitiesServerTransport

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

ComponentFeatureCapabilitiesServerTransport connects instances of armapplicationinsights.ComponentFeatureCapabilitiesClient to instances of ComponentFeatureCapabilitiesServer. Don't use this type directly, use NewComponentFeatureCapabilitiesServerTransport instead.

func NewComponentFeatureCapabilitiesServerTransport

func NewComponentFeatureCapabilitiesServerTransport(srv *ComponentFeatureCapabilitiesServer) *ComponentFeatureCapabilitiesServerTransport

NewComponentFeatureCapabilitiesServerTransport creates a new instance of ComponentFeatureCapabilitiesServerTransport with the provided implementation. The returned ComponentFeatureCapabilitiesServerTransport instance is connected to an instance of armapplicationinsights.ComponentFeatureCapabilitiesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ComponentFeatureCapabilitiesServerTransport) Do

Do implements the policy.Transporter interface for ComponentFeatureCapabilitiesServerTransport.

type ComponentQuotaStatusServer

type ComponentQuotaStatusServer struct {
	// Get is the fake for method ComponentQuotaStatusClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, resourceName string, options *armapplicationinsights.ComponentQuotaStatusClientGetOptions) (resp azfake.Responder[armapplicationinsights.ComponentQuotaStatusClientGetResponse], errResp azfake.ErrorResponder)
}

ComponentQuotaStatusServer is a fake server for instances of the armapplicationinsights.ComponentQuotaStatusClient type.

type ComponentQuotaStatusServerTransport

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

ComponentQuotaStatusServerTransport connects instances of armapplicationinsights.ComponentQuotaStatusClient to instances of ComponentQuotaStatusServer. Don't use this type directly, use NewComponentQuotaStatusServerTransport instead.

func NewComponentQuotaStatusServerTransport

func NewComponentQuotaStatusServerTransport(srv *ComponentQuotaStatusServer) *ComponentQuotaStatusServerTransport

NewComponentQuotaStatusServerTransport creates a new instance of ComponentQuotaStatusServerTransport with the provided implementation. The returned ComponentQuotaStatusServerTransport instance is connected to an instance of armapplicationinsights.ComponentQuotaStatusClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ComponentQuotaStatusServerTransport) Do

Do implements the policy.Transporter interface for ComponentQuotaStatusServerTransport.

type ComponentsServer

type ComponentsServer struct {
	// CreateOrUpdate is the fake for method ComponentsClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK
	CreateOrUpdate func(ctx context.Context, resourceGroupName string, resourceName string, insightProperties armapplicationinsights.Component, options *armapplicationinsights.ComponentsClientCreateOrUpdateOptions) (resp azfake.Responder[armapplicationinsights.ComponentsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method ComponentsClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, resourceName string, options *armapplicationinsights.ComponentsClientDeleteOptions) (resp azfake.Responder[armapplicationinsights.ComponentsClientDeleteResponse], errResp azfake.ErrorResponder)

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

	// GetPurgeStatus is the fake for method ComponentsClient.GetPurgeStatus
	// HTTP status codes to indicate success: http.StatusOK
	GetPurgeStatus func(ctx context.Context, resourceGroupName string, resourceName string, purgeID string, options *armapplicationinsights.ComponentsClientGetPurgeStatusOptions) (resp azfake.Responder[armapplicationinsights.ComponentsClientGetPurgeStatusResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method ComponentsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(options *armapplicationinsights.ComponentsClientListOptions) (resp azfake.PagerResponder[armapplicationinsights.ComponentsClientListResponse])

	// NewListByResourceGroupPager is the fake for method ComponentsClient.NewListByResourceGroupPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByResourceGroupPager func(resourceGroupName string, options *armapplicationinsights.ComponentsClientListByResourceGroupOptions) (resp azfake.PagerResponder[armapplicationinsights.ComponentsClientListByResourceGroupResponse])

	// Purge is the fake for method ComponentsClient.Purge
	// HTTP status codes to indicate success: http.StatusAccepted
	Purge func(ctx context.Context, resourceGroupName string, resourceName string, body armapplicationinsights.ComponentPurgeBody, options *armapplicationinsights.ComponentsClientPurgeOptions) (resp azfake.Responder[armapplicationinsights.ComponentsClientPurgeResponse], errResp azfake.ErrorResponder)

	// UpdateTags is the fake for method ComponentsClient.UpdateTags
	// HTTP status codes to indicate success: http.StatusOK
	UpdateTags func(ctx context.Context, resourceGroupName string, resourceName string, componentTags armapplicationinsights.TagsResource, options *armapplicationinsights.ComponentsClientUpdateTagsOptions) (resp azfake.Responder[armapplicationinsights.ComponentsClientUpdateTagsResponse], errResp azfake.ErrorResponder)
}

ComponentsServer is a fake server for instances of the armapplicationinsights.ComponentsClient type.

type ComponentsServerTransport

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

ComponentsServerTransport connects instances of armapplicationinsights.ComponentsClient to instances of ComponentsServer. Don't use this type directly, use NewComponentsServerTransport instead.

func NewComponentsServerTransport

func NewComponentsServerTransport(srv *ComponentsServer) *ComponentsServerTransport

NewComponentsServerTransport creates a new instance of ComponentsServerTransport with the provided implementation. The returned ComponentsServerTransport instance is connected to an instance of armapplicationinsights.ComponentsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ComponentsServerTransport) Do

Do implements the policy.Transporter interface for ComponentsServerTransport.

type ExportConfigurationsServer

type ExportConfigurationsServer struct {
	// Create is the fake for method ExportConfigurationsClient.Create
	// HTTP status codes to indicate success: http.StatusOK
	Create func(ctx context.Context, resourceGroupName string, resourceName string, exportProperties armapplicationinsights.ComponentExportRequest, options *armapplicationinsights.ExportConfigurationsClientCreateOptions) (resp azfake.Responder[armapplicationinsights.ExportConfigurationsClientCreateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method ExportConfigurationsClient.Delete
	// HTTP status codes to indicate success: http.StatusOK
	Delete func(ctx context.Context, resourceGroupName string, resourceName string, exportID string, options *armapplicationinsights.ExportConfigurationsClientDeleteOptions) (resp azfake.Responder[armapplicationinsights.ExportConfigurationsClientDeleteResponse], errResp azfake.ErrorResponder)

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

	// List is the fake for method ExportConfigurationsClient.List
	// HTTP status codes to indicate success: http.StatusOK
	List func(ctx context.Context, resourceGroupName string, resourceName string, options *armapplicationinsights.ExportConfigurationsClientListOptions) (resp azfake.Responder[armapplicationinsights.ExportConfigurationsClientListResponse], errResp azfake.ErrorResponder)

	// Update is the fake for method ExportConfigurationsClient.Update
	// HTTP status codes to indicate success: http.StatusOK
	Update func(ctx context.Context, resourceGroupName string, resourceName string, exportID string, exportProperties armapplicationinsights.ComponentExportRequest, options *armapplicationinsights.ExportConfigurationsClientUpdateOptions) (resp azfake.Responder[armapplicationinsights.ExportConfigurationsClientUpdateResponse], errResp azfake.ErrorResponder)
}

ExportConfigurationsServer is a fake server for instances of the armapplicationinsights.ExportConfigurationsClient type.

type ExportConfigurationsServerTransport

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

ExportConfigurationsServerTransport connects instances of armapplicationinsights.ExportConfigurationsClient to instances of ExportConfigurationsServer. Don't use this type directly, use NewExportConfigurationsServerTransport instead.

func NewExportConfigurationsServerTransport

func NewExportConfigurationsServerTransport(srv *ExportConfigurationsServer) *ExportConfigurationsServerTransport

NewExportConfigurationsServerTransport creates a new instance of ExportConfigurationsServerTransport with the provided implementation. The returned ExportConfigurationsServerTransport instance is connected to an instance of armapplicationinsights.ExportConfigurationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ExportConfigurationsServerTransport) Do

Do implements the policy.Transporter interface for ExportConfigurationsServerTransport.

type FavoritesServer

type FavoritesServer struct {
	// Add is the fake for method FavoritesClient.Add
	// HTTP status codes to indicate success: http.StatusOK
	Add func(ctx context.Context, resourceGroupName string, resourceName string, favoriteID string, favoriteProperties armapplicationinsights.ComponentFavorite, options *armapplicationinsights.FavoritesClientAddOptions) (resp azfake.Responder[armapplicationinsights.FavoritesClientAddResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method FavoritesClient.Delete
	// HTTP status codes to indicate success: http.StatusOK
	Delete func(ctx context.Context, resourceGroupName string, resourceName string, favoriteID string, options *armapplicationinsights.FavoritesClientDeleteOptions) (resp azfake.Responder[armapplicationinsights.FavoritesClientDeleteResponse], errResp azfake.ErrorResponder)

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

	// List is the fake for method FavoritesClient.List
	// HTTP status codes to indicate success: http.StatusOK
	List func(ctx context.Context, resourceGroupName string, resourceName string, options *armapplicationinsights.FavoritesClientListOptions) (resp azfake.Responder[armapplicationinsights.FavoritesClientListResponse], errResp azfake.ErrorResponder)

	// Update is the fake for method FavoritesClient.Update
	// HTTP status codes to indicate success: http.StatusOK
	Update func(ctx context.Context, resourceGroupName string, resourceName string, favoriteID string, favoriteProperties armapplicationinsights.ComponentFavorite, options *armapplicationinsights.FavoritesClientUpdateOptions) (resp azfake.Responder[armapplicationinsights.FavoritesClientUpdateResponse], errResp azfake.ErrorResponder)
}

FavoritesServer is a fake server for instances of the armapplicationinsights.FavoritesClient type.

type FavoritesServerTransport

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

FavoritesServerTransport connects instances of armapplicationinsights.FavoritesClient to instances of FavoritesServer. Don't use this type directly, use NewFavoritesServerTransport instead.

func NewFavoritesServerTransport

func NewFavoritesServerTransport(srv *FavoritesServer) *FavoritesServerTransport

NewFavoritesServerTransport creates a new instance of FavoritesServerTransport with the provided implementation. The returned FavoritesServerTransport instance is connected to an instance of armapplicationinsights.FavoritesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*FavoritesServerTransport) Do

Do implements the policy.Transporter interface for FavoritesServerTransport.

type MyWorkbooksServer

type MyWorkbooksServer struct {
	// CreateOrUpdate is the fake for method MyWorkbooksClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	CreateOrUpdate func(ctx context.Context, resourceGroupName string, resourceName string, workbookProperties armapplicationinsights.MyWorkbook, options *armapplicationinsights.MyWorkbooksClientCreateOrUpdateOptions) (resp azfake.Responder[armapplicationinsights.MyWorkbooksClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method MyWorkbooksClient.Delete
	// HTTP status codes to indicate success: http.StatusCreated, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, resourceName string, options *armapplicationinsights.MyWorkbooksClientDeleteOptions) (resp azfake.Responder[armapplicationinsights.MyWorkbooksClientDeleteResponse], errResp azfake.ErrorResponder)

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

	// NewListByResourceGroupPager is the fake for method MyWorkbooksClient.NewListByResourceGroupPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByResourceGroupPager func(resourceGroupName string, category armapplicationinsights.CategoryType, options *armapplicationinsights.MyWorkbooksClientListByResourceGroupOptions) (resp azfake.PagerResponder[armapplicationinsights.MyWorkbooksClientListByResourceGroupResponse])

	// NewListBySubscriptionPager is the fake for method MyWorkbooksClient.NewListBySubscriptionPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListBySubscriptionPager func(category armapplicationinsights.CategoryType, options *armapplicationinsights.MyWorkbooksClientListBySubscriptionOptions) (resp azfake.PagerResponder[armapplicationinsights.MyWorkbooksClientListBySubscriptionResponse])

	// Update is the fake for method MyWorkbooksClient.Update
	// HTTP status codes to indicate success: http.StatusOK
	Update func(ctx context.Context, resourceGroupName string, resourceName string, workbookProperties armapplicationinsights.MyWorkbook, options *armapplicationinsights.MyWorkbooksClientUpdateOptions) (resp azfake.Responder[armapplicationinsights.MyWorkbooksClientUpdateResponse], errResp azfake.ErrorResponder)
}

MyWorkbooksServer is a fake server for instances of the armapplicationinsights.MyWorkbooksClient type.

type MyWorkbooksServerTransport

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

MyWorkbooksServerTransport connects instances of armapplicationinsights.MyWorkbooksClient to instances of MyWorkbooksServer. Don't use this type directly, use NewMyWorkbooksServerTransport instead.

func NewMyWorkbooksServerTransport

func NewMyWorkbooksServerTransport(srv *MyWorkbooksServer) *MyWorkbooksServerTransport

NewMyWorkbooksServerTransport creates a new instance of MyWorkbooksServerTransport with the provided implementation. The returned MyWorkbooksServerTransport instance is connected to an instance of armapplicationinsights.MyWorkbooksClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*MyWorkbooksServerTransport) Do

Do implements the policy.Transporter interface for MyWorkbooksServerTransport.

type ProactiveDetectionConfigurationsServer

type ProactiveDetectionConfigurationsServer struct {
	// Get is the fake for method ProactiveDetectionConfigurationsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, resourceName string, configurationID string, options *armapplicationinsights.ProactiveDetectionConfigurationsClientGetOptions) (resp azfake.Responder[armapplicationinsights.ProactiveDetectionConfigurationsClientGetResponse], errResp azfake.ErrorResponder)

	// List is the fake for method ProactiveDetectionConfigurationsClient.List
	// HTTP status codes to indicate success: http.StatusOK
	List func(ctx context.Context, resourceGroupName string, resourceName string, options *armapplicationinsights.ProactiveDetectionConfigurationsClientListOptions) (resp azfake.Responder[armapplicationinsights.ProactiveDetectionConfigurationsClientListResponse], errResp azfake.ErrorResponder)

	// Update is the fake for method ProactiveDetectionConfigurationsClient.Update
	// HTTP status codes to indicate success: http.StatusOK
	Update func(ctx context.Context, resourceGroupName string, resourceName string, configurationID string, proactiveDetectionProperties armapplicationinsights.ComponentProactiveDetectionConfiguration, options *armapplicationinsights.ProactiveDetectionConfigurationsClientUpdateOptions) (resp azfake.Responder[armapplicationinsights.ProactiveDetectionConfigurationsClientUpdateResponse], errResp azfake.ErrorResponder)
}

ProactiveDetectionConfigurationsServer is a fake server for instances of the armapplicationinsights.ProactiveDetectionConfigurationsClient type.

type ProactiveDetectionConfigurationsServerTransport

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

ProactiveDetectionConfigurationsServerTransport connects instances of armapplicationinsights.ProactiveDetectionConfigurationsClient to instances of ProactiveDetectionConfigurationsServer. Don't use this type directly, use NewProactiveDetectionConfigurationsServerTransport instead.

func NewProactiveDetectionConfigurationsServerTransport

func NewProactiveDetectionConfigurationsServerTransport(srv *ProactiveDetectionConfigurationsServer) *ProactiveDetectionConfigurationsServerTransport

NewProactiveDetectionConfigurationsServerTransport creates a new instance of ProactiveDetectionConfigurationsServerTransport with the provided implementation. The returned ProactiveDetectionConfigurationsServerTransport instance is connected to an instance of armapplicationinsights.ProactiveDetectionConfigurationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ProactiveDetectionConfigurationsServerTransport) Do

Do implements the policy.Transporter interface for ProactiveDetectionConfigurationsServerTransport.

type ServerFactory

type ServerFactory struct {
	APIKeysServer                          APIKeysServer
	AnalyticsItemsServer                   AnalyticsItemsServer
	AnnotationsServer                      AnnotationsServer
	ComponentAvailableFeaturesServer       ComponentAvailableFeaturesServer
	ComponentCurrentBillingFeaturesServer  ComponentCurrentBillingFeaturesServer
	ComponentFeatureCapabilitiesServer     ComponentFeatureCapabilitiesServer
	ComponentQuotaStatusServer             ComponentQuotaStatusServer
	ComponentsServer                       ComponentsServer
	ExportConfigurationsServer             ExportConfigurationsServer
	FavoritesServer                        FavoritesServer
	MyWorkbooksServer                      MyWorkbooksServer
	ProactiveDetectionConfigurationsServer ProactiveDetectionConfigurationsServer
	WebTestLocationsServer                 WebTestLocationsServer
	WebTestsServer                         WebTestsServer
	WorkItemConfigurationsServer           WorkItemConfigurationsServer
	WorkbooksServer                        WorkbooksServer
}

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

type ServerFactoryTransport

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

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

type WebTestLocationsServer struct {
	// NewListPager is the fake for method WebTestLocationsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, resourceName string, options *armapplicationinsights.WebTestLocationsClientListOptions) (resp azfake.PagerResponder[armapplicationinsights.WebTestLocationsClientListResponse])
}

WebTestLocationsServer is a fake server for instances of the armapplicationinsights.WebTestLocationsClient type.

type WebTestLocationsServerTransport

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

WebTestLocationsServerTransport connects instances of armapplicationinsights.WebTestLocationsClient to instances of WebTestLocationsServer. Don't use this type directly, use NewWebTestLocationsServerTransport instead.

func NewWebTestLocationsServerTransport

func NewWebTestLocationsServerTransport(srv *WebTestLocationsServer) *WebTestLocationsServerTransport

NewWebTestLocationsServerTransport creates a new instance of WebTestLocationsServerTransport with the provided implementation. The returned WebTestLocationsServerTransport instance is connected to an instance of armapplicationinsights.WebTestLocationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*WebTestLocationsServerTransport) Do

Do implements the policy.Transporter interface for WebTestLocationsServerTransport.

type WebTestsServer

type WebTestsServer struct {
	// CreateOrUpdate is the fake for method WebTestsClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK
	CreateOrUpdate func(ctx context.Context, resourceGroupName string, webTestName string, webTestDefinition armapplicationinsights.WebTest, options *armapplicationinsights.WebTestsClientCreateOrUpdateOptions) (resp azfake.Responder[armapplicationinsights.WebTestsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method WebTestsClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, webTestName string, options *armapplicationinsights.WebTestsClientDeleteOptions) (resp azfake.Responder[armapplicationinsights.WebTestsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method WebTestsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, webTestName string, options *armapplicationinsights.WebTestsClientGetOptions) (resp azfake.Responder[armapplicationinsights.WebTestsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method WebTestsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(options *armapplicationinsights.WebTestsClientListOptions) (resp azfake.PagerResponder[armapplicationinsights.WebTestsClientListResponse])

	// NewListByComponentPager is the fake for method WebTestsClient.NewListByComponentPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByComponentPager func(componentName string, resourceGroupName string, options *armapplicationinsights.WebTestsClientListByComponentOptions) (resp azfake.PagerResponder[armapplicationinsights.WebTestsClientListByComponentResponse])

	// NewListByResourceGroupPager is the fake for method WebTestsClient.NewListByResourceGroupPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByResourceGroupPager func(resourceGroupName string, options *armapplicationinsights.WebTestsClientListByResourceGroupOptions) (resp azfake.PagerResponder[armapplicationinsights.WebTestsClientListByResourceGroupResponse])

	// UpdateTags is the fake for method WebTestsClient.UpdateTags
	// HTTP status codes to indicate success: http.StatusOK
	UpdateTags func(ctx context.Context, resourceGroupName string, webTestName string, webTestTags armapplicationinsights.TagsResource, options *armapplicationinsights.WebTestsClientUpdateTagsOptions) (resp azfake.Responder[armapplicationinsights.WebTestsClientUpdateTagsResponse], errResp azfake.ErrorResponder)
}

WebTestsServer is a fake server for instances of the armapplicationinsights.WebTestsClient type.

type WebTestsServerTransport

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

WebTestsServerTransport connects instances of armapplicationinsights.WebTestsClient to instances of WebTestsServer. Don't use this type directly, use NewWebTestsServerTransport instead.

func NewWebTestsServerTransport

func NewWebTestsServerTransport(srv *WebTestsServer) *WebTestsServerTransport

NewWebTestsServerTransport creates a new instance of WebTestsServerTransport with the provided implementation. The returned WebTestsServerTransport instance is connected to an instance of armapplicationinsights.WebTestsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*WebTestsServerTransport) Do

Do implements the policy.Transporter interface for WebTestsServerTransport.

type WorkItemConfigurationsServer

type WorkItemConfigurationsServer struct {
	// Create is the fake for method WorkItemConfigurationsClient.Create
	// HTTP status codes to indicate success: http.StatusOK
	Create func(ctx context.Context, resourceGroupName string, resourceName string, workItemConfigurationProperties armapplicationinsights.WorkItemCreateConfiguration, options *armapplicationinsights.WorkItemConfigurationsClientCreateOptions) (resp azfake.Responder[armapplicationinsights.WorkItemConfigurationsClientCreateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method WorkItemConfigurationsClient.Delete
	// HTTP status codes to indicate success: http.StatusOK
	Delete func(ctx context.Context, resourceGroupName string, resourceName string, workItemConfigID string, options *armapplicationinsights.WorkItemConfigurationsClientDeleteOptions) (resp azfake.Responder[armapplicationinsights.WorkItemConfigurationsClientDeleteResponse], errResp azfake.ErrorResponder)

	// GetDefault is the fake for method WorkItemConfigurationsClient.GetDefault
	// HTTP status codes to indicate success: http.StatusOK
	GetDefault func(ctx context.Context, resourceGroupName string, resourceName string, options *armapplicationinsights.WorkItemConfigurationsClientGetDefaultOptions) (resp azfake.Responder[armapplicationinsights.WorkItemConfigurationsClientGetDefaultResponse], errResp azfake.ErrorResponder)

	// GetItem is the fake for method WorkItemConfigurationsClient.GetItem
	// HTTP status codes to indicate success: http.StatusOK
	GetItem func(ctx context.Context, resourceGroupName string, resourceName string, workItemConfigID string, options *armapplicationinsights.WorkItemConfigurationsClientGetItemOptions) (resp azfake.Responder[armapplicationinsights.WorkItemConfigurationsClientGetItemResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method WorkItemConfigurationsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, resourceName string, options *armapplicationinsights.WorkItemConfigurationsClientListOptions) (resp azfake.PagerResponder[armapplicationinsights.WorkItemConfigurationsClientListResponse])

	// UpdateItem is the fake for method WorkItemConfigurationsClient.UpdateItem
	// HTTP status codes to indicate success: http.StatusOK
	UpdateItem func(ctx context.Context, resourceGroupName string, resourceName string, workItemConfigID string, workItemConfigurationProperties armapplicationinsights.WorkItemCreateConfiguration, options *armapplicationinsights.WorkItemConfigurationsClientUpdateItemOptions) (resp azfake.Responder[armapplicationinsights.WorkItemConfigurationsClientUpdateItemResponse], errResp azfake.ErrorResponder)
}

WorkItemConfigurationsServer is a fake server for instances of the armapplicationinsights.WorkItemConfigurationsClient type.

type WorkItemConfigurationsServerTransport

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

WorkItemConfigurationsServerTransport connects instances of armapplicationinsights.WorkItemConfigurationsClient to instances of WorkItemConfigurationsServer. Don't use this type directly, use NewWorkItemConfigurationsServerTransport instead.

func NewWorkItemConfigurationsServerTransport

func NewWorkItemConfigurationsServerTransport(srv *WorkItemConfigurationsServer) *WorkItemConfigurationsServerTransport

NewWorkItemConfigurationsServerTransport creates a new instance of WorkItemConfigurationsServerTransport with the provided implementation. The returned WorkItemConfigurationsServerTransport instance is connected to an instance of armapplicationinsights.WorkItemConfigurationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*WorkItemConfigurationsServerTransport) Do

Do implements the policy.Transporter interface for WorkItemConfigurationsServerTransport.

type WorkbooksServer

type WorkbooksServer struct {
	// CreateOrUpdate is the fake for method WorkbooksClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	CreateOrUpdate func(ctx context.Context, resourceGroupName string, resourceName string, workbookProperties armapplicationinsights.Workbook, options *armapplicationinsights.WorkbooksClientCreateOrUpdateOptions) (resp azfake.Responder[armapplicationinsights.WorkbooksClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method WorkbooksClient.Delete
	// HTTP status codes to indicate success: http.StatusCreated, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, resourceName string, options *armapplicationinsights.WorkbooksClientDeleteOptions) (resp azfake.Responder[armapplicationinsights.WorkbooksClientDeleteResponse], errResp azfake.ErrorResponder)

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

	// NewListByResourceGroupPager is the fake for method WorkbooksClient.NewListByResourceGroupPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByResourceGroupPager func(resourceGroupName string, category armapplicationinsights.CategoryType, options *armapplicationinsights.WorkbooksClientListByResourceGroupOptions) (resp azfake.PagerResponder[armapplicationinsights.WorkbooksClientListByResourceGroupResponse])

	// Update is the fake for method WorkbooksClient.Update
	// HTTP status codes to indicate success: http.StatusOK
	Update func(ctx context.Context, resourceGroupName string, resourceName string, workbookProperties armapplicationinsights.Workbook, options *armapplicationinsights.WorkbooksClientUpdateOptions) (resp azfake.Responder[armapplicationinsights.WorkbooksClientUpdateResponse], errResp azfake.ErrorResponder)
}

WorkbooksServer is a fake server for instances of the armapplicationinsights.WorkbooksClient type.

type WorkbooksServerTransport

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

WorkbooksServerTransport connects instances of armapplicationinsights.WorkbooksClient to instances of WorkbooksServer. Don't use this type directly, use NewWorkbooksServerTransport instead.

func NewWorkbooksServerTransport

func NewWorkbooksServerTransport(srv *WorkbooksServer) *WorkbooksServerTransport

NewWorkbooksServerTransport creates a new instance of WorkbooksServerTransport with the provided implementation. The returned WorkbooksServerTransport instance is connected to an instance of armapplicationinsights.WorkbooksClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*WorkbooksServerTransport) Do

Do implements the policy.Transporter interface for WorkbooksServerTransport.

Jump to

Keyboard shortcuts

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