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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthorizationPoliciesServer

type AuthorizationPoliciesServer struct {
	// CreateOrUpdate is the fake for method AuthorizationPoliciesClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	CreateOrUpdate func(ctx context.Context, resourceGroupName string, hubName string, authorizationPolicyName string, parameters armcustomerinsights.AuthorizationPolicyResourceFormat, options *armcustomerinsights.AuthorizationPoliciesClientCreateOrUpdateOptions) (resp azfake.Responder[armcustomerinsights.AuthorizationPoliciesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method AuthorizationPoliciesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, hubName string, authorizationPolicyName string, options *armcustomerinsights.AuthorizationPoliciesClientGetOptions) (resp azfake.Responder[armcustomerinsights.AuthorizationPoliciesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByHubPager is the fake for method AuthorizationPoliciesClient.NewListByHubPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByHubPager func(resourceGroupName string, hubName string, options *armcustomerinsights.AuthorizationPoliciesClientListByHubOptions) (resp azfake.PagerResponder[armcustomerinsights.AuthorizationPoliciesClientListByHubResponse])

	// RegeneratePrimaryKey is the fake for method AuthorizationPoliciesClient.RegeneratePrimaryKey
	// HTTP status codes to indicate success: http.StatusOK
	RegeneratePrimaryKey func(ctx context.Context, resourceGroupName string, hubName string, authorizationPolicyName string, options *armcustomerinsights.AuthorizationPoliciesClientRegeneratePrimaryKeyOptions) (resp azfake.Responder[armcustomerinsights.AuthorizationPoliciesClientRegeneratePrimaryKeyResponse], errResp azfake.ErrorResponder)

	// RegenerateSecondaryKey is the fake for method AuthorizationPoliciesClient.RegenerateSecondaryKey
	// HTTP status codes to indicate success: http.StatusOK
	RegenerateSecondaryKey func(ctx context.Context, resourceGroupName string, hubName string, authorizationPolicyName string, options *armcustomerinsights.AuthorizationPoliciesClientRegenerateSecondaryKeyOptions) (resp azfake.Responder[armcustomerinsights.AuthorizationPoliciesClientRegenerateSecondaryKeyResponse], errResp azfake.ErrorResponder)
}

AuthorizationPoliciesServer is a fake server for instances of the armcustomerinsights.AuthorizationPoliciesClient type.

type AuthorizationPoliciesServerTransport

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

AuthorizationPoliciesServerTransport connects instances of armcustomerinsights.AuthorizationPoliciesClient to instances of AuthorizationPoliciesServer. Don't use this type directly, use NewAuthorizationPoliciesServerTransport instead.

func NewAuthorizationPoliciesServerTransport

func NewAuthorizationPoliciesServerTransport(srv *AuthorizationPoliciesServer) *AuthorizationPoliciesServerTransport

NewAuthorizationPoliciesServerTransport creates a new instance of AuthorizationPoliciesServerTransport with the provided implementation. The returned AuthorizationPoliciesServerTransport instance is connected to an instance of armcustomerinsights.AuthorizationPoliciesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*AuthorizationPoliciesServerTransport) Do

Do implements the policy.Transporter interface for AuthorizationPoliciesServerTransport.

type ConnectorMappingsServer

type ConnectorMappingsServer struct {
	// CreateOrUpdate is the fake for method ConnectorMappingsClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	CreateOrUpdate func(ctx context.Context, resourceGroupName string, hubName string, connectorName string, mappingName string, parameters armcustomerinsights.ConnectorMappingResourceFormat, options *armcustomerinsights.ConnectorMappingsClientCreateOrUpdateOptions) (resp azfake.Responder[armcustomerinsights.ConnectorMappingsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method ConnectorMappingsClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, hubName string, connectorName string, mappingName string, options *armcustomerinsights.ConnectorMappingsClientDeleteOptions) (resp azfake.Responder[armcustomerinsights.ConnectorMappingsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method ConnectorMappingsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, hubName string, connectorName string, mappingName string, options *armcustomerinsights.ConnectorMappingsClientGetOptions) (resp azfake.Responder[armcustomerinsights.ConnectorMappingsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByConnectorPager is the fake for method ConnectorMappingsClient.NewListByConnectorPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByConnectorPager func(resourceGroupName string, hubName string, connectorName string, options *armcustomerinsights.ConnectorMappingsClientListByConnectorOptions) (resp azfake.PagerResponder[armcustomerinsights.ConnectorMappingsClientListByConnectorResponse])
}

ConnectorMappingsServer is a fake server for instances of the armcustomerinsights.ConnectorMappingsClient type.

type ConnectorMappingsServerTransport

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

ConnectorMappingsServerTransport connects instances of armcustomerinsights.ConnectorMappingsClient to instances of ConnectorMappingsServer. Don't use this type directly, use NewConnectorMappingsServerTransport instead.

func NewConnectorMappingsServerTransport

func NewConnectorMappingsServerTransport(srv *ConnectorMappingsServer) *ConnectorMappingsServerTransport

NewConnectorMappingsServerTransport creates a new instance of ConnectorMappingsServerTransport with the provided implementation. The returned ConnectorMappingsServerTransport instance is connected to an instance of armcustomerinsights.ConnectorMappingsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ConnectorMappingsServerTransport) Do

Do implements the policy.Transporter interface for ConnectorMappingsServerTransport.

type ConnectorsServer

type ConnectorsServer struct {
	// BeginCreateOrUpdate is the fake for method ConnectorsClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, hubName string, connectorName string, parameters armcustomerinsights.ConnectorResourceFormat, options *armcustomerinsights.ConnectorsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armcustomerinsights.ConnectorsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method ConnectorsClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, hubName string, connectorName string, options *armcustomerinsights.ConnectorsClientBeginDeleteOptions) (resp azfake.PollerResponder[armcustomerinsights.ConnectorsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method ConnectorsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, hubName string, connectorName string, options *armcustomerinsights.ConnectorsClientGetOptions) (resp azfake.Responder[armcustomerinsights.ConnectorsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByHubPager is the fake for method ConnectorsClient.NewListByHubPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByHubPager func(resourceGroupName string, hubName string, options *armcustomerinsights.ConnectorsClientListByHubOptions) (resp azfake.PagerResponder[armcustomerinsights.ConnectorsClientListByHubResponse])
}

ConnectorsServer is a fake server for instances of the armcustomerinsights.ConnectorsClient type.

type ConnectorsServerTransport

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

ConnectorsServerTransport connects instances of armcustomerinsights.ConnectorsClient to instances of ConnectorsServer. Don't use this type directly, use NewConnectorsServerTransport instead.

func NewConnectorsServerTransport

func NewConnectorsServerTransport(srv *ConnectorsServer) *ConnectorsServerTransport

NewConnectorsServerTransport creates a new instance of ConnectorsServerTransport with the provided implementation. The returned ConnectorsServerTransport instance is connected to an instance of armcustomerinsights.ConnectorsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ConnectorsServerTransport) Do

Do implements the policy.Transporter interface for ConnectorsServerTransport.

type HubsServer

type HubsServer struct {
	// CreateOrUpdate is the fake for method HubsClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	CreateOrUpdate func(ctx context.Context, resourceGroupName string, hubName string, parameters armcustomerinsights.Hub, options *armcustomerinsights.HubsClientCreateOrUpdateOptions) (resp azfake.Responder[armcustomerinsights.HubsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method HubsClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, hubName string, options *armcustomerinsights.HubsClientBeginDeleteOptions) (resp azfake.PollerResponder[armcustomerinsights.HubsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method HubsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, hubName string, options *armcustomerinsights.HubsClientGetOptions) (resp azfake.Responder[armcustomerinsights.HubsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method HubsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(options *armcustomerinsights.HubsClientListOptions) (resp azfake.PagerResponder[armcustomerinsights.HubsClientListResponse])

	// NewListByResourceGroupPager is the fake for method HubsClient.NewListByResourceGroupPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByResourceGroupPager func(resourceGroupName string, options *armcustomerinsights.HubsClientListByResourceGroupOptions) (resp azfake.PagerResponder[armcustomerinsights.HubsClientListByResourceGroupResponse])

	// Update is the fake for method HubsClient.Update
	// HTTP status codes to indicate success: http.StatusOK
	Update func(ctx context.Context, resourceGroupName string, hubName string, parameters armcustomerinsights.Hub, options *armcustomerinsights.HubsClientUpdateOptions) (resp azfake.Responder[armcustomerinsights.HubsClientUpdateResponse], errResp azfake.ErrorResponder)
}

HubsServer is a fake server for instances of the armcustomerinsights.HubsClient type.

type HubsServerTransport

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

HubsServerTransport connects instances of armcustomerinsights.HubsClient to instances of HubsServer. Don't use this type directly, use NewHubsServerTransport instead.

func NewHubsServerTransport

func NewHubsServerTransport(srv *HubsServer) *HubsServerTransport

NewHubsServerTransport creates a new instance of HubsServerTransport with the provided implementation. The returned HubsServerTransport instance is connected to an instance of armcustomerinsights.HubsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*HubsServerTransport) Do

Do implements the policy.Transporter interface for HubsServerTransport.

type ImagesServer

type ImagesServer struct {
	// GetUploadURLForData is the fake for method ImagesClient.GetUploadURLForData
	// HTTP status codes to indicate success: http.StatusOK
	GetUploadURLForData func(ctx context.Context, resourceGroupName string, hubName string, parameters armcustomerinsights.GetImageUploadURLInput, options *armcustomerinsights.ImagesClientGetUploadURLForDataOptions) (resp azfake.Responder[armcustomerinsights.ImagesClientGetUploadURLForDataResponse], errResp azfake.ErrorResponder)

	// GetUploadURLForEntityType is the fake for method ImagesClient.GetUploadURLForEntityType
	// HTTP status codes to indicate success: http.StatusOK
	GetUploadURLForEntityType func(ctx context.Context, resourceGroupName string, hubName string, parameters armcustomerinsights.GetImageUploadURLInput, options *armcustomerinsights.ImagesClientGetUploadURLForEntityTypeOptions) (resp azfake.Responder[armcustomerinsights.ImagesClientGetUploadURLForEntityTypeResponse], errResp azfake.ErrorResponder)
}

ImagesServer is a fake server for instances of the armcustomerinsights.ImagesClient type.

type ImagesServerTransport

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

ImagesServerTransport connects instances of armcustomerinsights.ImagesClient to instances of ImagesServer. Don't use this type directly, use NewImagesServerTransport instead.

func NewImagesServerTransport

func NewImagesServerTransport(srv *ImagesServer) *ImagesServerTransport

NewImagesServerTransport creates a new instance of ImagesServerTransport with the provided implementation. The returned ImagesServerTransport instance is connected to an instance of armcustomerinsights.ImagesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ImagesServerTransport) Do

Do implements the policy.Transporter interface for ImagesServerTransport.

type InteractionsServer

type InteractionsServer struct {
	// BeginCreateOrUpdate is the fake for method InteractionsClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, hubName string, interactionName string, parameters armcustomerinsights.InteractionResourceFormat, options *armcustomerinsights.InteractionsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armcustomerinsights.InteractionsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method InteractionsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, hubName string, interactionName string, options *armcustomerinsights.InteractionsClientGetOptions) (resp azfake.Responder[armcustomerinsights.InteractionsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByHubPager is the fake for method InteractionsClient.NewListByHubPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByHubPager func(resourceGroupName string, hubName string, options *armcustomerinsights.InteractionsClientListByHubOptions) (resp azfake.PagerResponder[armcustomerinsights.InteractionsClientListByHubResponse])

	// SuggestRelationshipLinks is the fake for method InteractionsClient.SuggestRelationshipLinks
	// HTTP status codes to indicate success: http.StatusOK
	SuggestRelationshipLinks func(ctx context.Context, resourceGroupName string, hubName string, interactionName string, options *armcustomerinsights.InteractionsClientSuggestRelationshipLinksOptions) (resp azfake.Responder[armcustomerinsights.InteractionsClientSuggestRelationshipLinksResponse], errResp azfake.ErrorResponder)
}

InteractionsServer is a fake server for instances of the armcustomerinsights.InteractionsClient type.

type InteractionsServerTransport

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

InteractionsServerTransport connects instances of armcustomerinsights.InteractionsClient to instances of InteractionsServer. Don't use this type directly, use NewInteractionsServerTransport instead.

func NewInteractionsServerTransport

func NewInteractionsServerTransport(srv *InteractionsServer) *InteractionsServerTransport

NewInteractionsServerTransport creates a new instance of InteractionsServerTransport with the provided implementation. The returned InteractionsServerTransport instance is connected to an instance of armcustomerinsights.InteractionsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*InteractionsServerTransport) Do

Do implements the policy.Transporter interface for InteractionsServerTransport.

type KpiServer

type KpiServer struct {
	// BeginCreateOrUpdate is the fake for method KpiClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, hubName string, kpiName string, parameters armcustomerinsights.KpiResourceFormat, options *armcustomerinsights.KpiClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armcustomerinsights.KpiClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method KpiClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginDelete func(ctx context.Context, resourceGroupName string, hubName string, kpiName string, options *armcustomerinsights.KpiClientBeginDeleteOptions) (resp azfake.PollerResponder[armcustomerinsights.KpiClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method KpiClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, hubName string, kpiName string, options *armcustomerinsights.KpiClientGetOptions) (resp azfake.Responder[armcustomerinsights.KpiClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByHubPager is the fake for method KpiClient.NewListByHubPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByHubPager func(resourceGroupName string, hubName string, options *armcustomerinsights.KpiClientListByHubOptions) (resp azfake.PagerResponder[armcustomerinsights.KpiClientListByHubResponse])

	// Reprocess is the fake for method KpiClient.Reprocess
	// HTTP status codes to indicate success: http.StatusAccepted
	Reprocess func(ctx context.Context, resourceGroupName string, hubName string, kpiName string, options *armcustomerinsights.KpiClientReprocessOptions) (resp azfake.Responder[armcustomerinsights.KpiClientReprocessResponse], errResp azfake.ErrorResponder)
}

KpiServer is a fake server for instances of the armcustomerinsights.KpiClient type.

type KpiServerTransport

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

KpiServerTransport connects instances of armcustomerinsights.KpiClient to instances of KpiServer. Don't use this type directly, use NewKpiServerTransport instead.

func NewKpiServerTransport

func NewKpiServerTransport(srv *KpiServer) *KpiServerTransport

NewKpiServerTransport creates a new instance of KpiServerTransport with the provided implementation. The returned KpiServerTransport instance is connected to an instance of armcustomerinsights.KpiClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*KpiServerTransport) Do

Do implements the policy.Transporter interface for KpiServerTransport.

type LinksServer

type LinksServer struct {
	// BeginCreateOrUpdate is the fake for method LinksClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, hubName string, linkName string, parameters armcustomerinsights.LinkResourceFormat, options *armcustomerinsights.LinksClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armcustomerinsights.LinksClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method LinksClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	Delete func(ctx context.Context, resourceGroupName string, hubName string, linkName string, options *armcustomerinsights.LinksClientDeleteOptions) (resp azfake.Responder[armcustomerinsights.LinksClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method LinksClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, hubName string, linkName string, options *armcustomerinsights.LinksClientGetOptions) (resp azfake.Responder[armcustomerinsights.LinksClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByHubPager is the fake for method LinksClient.NewListByHubPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByHubPager func(resourceGroupName string, hubName string, options *armcustomerinsights.LinksClientListByHubOptions) (resp azfake.PagerResponder[armcustomerinsights.LinksClientListByHubResponse])
}

LinksServer is a fake server for instances of the armcustomerinsights.LinksClient type.

type LinksServerTransport

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

LinksServerTransport connects instances of armcustomerinsights.LinksClient to instances of LinksServer. Don't use this type directly, use NewLinksServerTransport instead.

func NewLinksServerTransport

func NewLinksServerTransport(srv *LinksServer) *LinksServerTransport

NewLinksServerTransport creates a new instance of LinksServerTransport with the provided implementation. The returned LinksServerTransport instance is connected to an instance of armcustomerinsights.LinksClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*LinksServerTransport) Do

Do implements the policy.Transporter interface for LinksServerTransport.

type OperationsServer

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

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

type OperationsServerTransport

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

OperationsServerTransport connects instances of armcustomerinsights.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 armcustomerinsights.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 PredictionsServer

type PredictionsServer struct {
	// BeginCreateOrUpdate is the fake for method PredictionsClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, hubName string, predictionName string, parameters armcustomerinsights.PredictionResourceFormat, options *armcustomerinsights.PredictionsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armcustomerinsights.PredictionsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method PredictionsClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginDelete func(ctx context.Context, resourceGroupName string, hubName string, predictionName string, options *armcustomerinsights.PredictionsClientBeginDeleteOptions) (resp azfake.PollerResponder[armcustomerinsights.PredictionsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method PredictionsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, hubName string, predictionName string, options *armcustomerinsights.PredictionsClientGetOptions) (resp azfake.Responder[armcustomerinsights.PredictionsClientGetResponse], errResp azfake.ErrorResponder)

	// GetModelStatus is the fake for method PredictionsClient.GetModelStatus
	// HTTP status codes to indicate success: http.StatusOK
	GetModelStatus func(ctx context.Context, resourceGroupName string, hubName string, predictionName string, options *armcustomerinsights.PredictionsClientGetModelStatusOptions) (resp azfake.Responder[armcustomerinsights.PredictionsClientGetModelStatusResponse], errResp azfake.ErrorResponder)

	// GetTrainingResults is the fake for method PredictionsClient.GetTrainingResults
	// HTTP status codes to indicate success: http.StatusOK
	GetTrainingResults func(ctx context.Context, resourceGroupName string, hubName string, predictionName string, options *armcustomerinsights.PredictionsClientGetTrainingResultsOptions) (resp azfake.Responder[armcustomerinsights.PredictionsClientGetTrainingResultsResponse], errResp azfake.ErrorResponder)

	// NewListByHubPager is the fake for method PredictionsClient.NewListByHubPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByHubPager func(resourceGroupName string, hubName string, options *armcustomerinsights.PredictionsClientListByHubOptions) (resp azfake.PagerResponder[armcustomerinsights.PredictionsClientListByHubResponse])

	// ModelStatus is the fake for method PredictionsClient.ModelStatus
	// HTTP status codes to indicate success: http.StatusOK
	ModelStatus func(ctx context.Context, resourceGroupName string, hubName string, predictionName string, parameters armcustomerinsights.PredictionModelStatus, options *armcustomerinsights.PredictionsClientModelStatusOptions) (resp azfake.Responder[armcustomerinsights.PredictionsClientModelStatusResponse], errResp azfake.ErrorResponder)
}

PredictionsServer is a fake server for instances of the armcustomerinsights.PredictionsClient type.

type PredictionsServerTransport

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

PredictionsServerTransport connects instances of armcustomerinsights.PredictionsClient to instances of PredictionsServer. Don't use this type directly, use NewPredictionsServerTransport instead.

func NewPredictionsServerTransport

func NewPredictionsServerTransport(srv *PredictionsServer) *PredictionsServerTransport

NewPredictionsServerTransport creates a new instance of PredictionsServerTransport with the provided implementation. The returned PredictionsServerTransport instance is connected to an instance of armcustomerinsights.PredictionsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*PredictionsServerTransport) Do

Do implements the policy.Transporter interface for PredictionsServerTransport.

type ProfilesServer

type ProfilesServer struct {
	// BeginCreateOrUpdate is the fake for method ProfilesClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, hubName string, profileName string, parameters armcustomerinsights.ProfileResourceFormat, options *armcustomerinsights.ProfilesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armcustomerinsights.ProfilesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method ProfilesClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, hubName string, profileName string, options *armcustomerinsights.ProfilesClientBeginDeleteOptions) (resp azfake.PollerResponder[armcustomerinsights.ProfilesClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method ProfilesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, hubName string, profileName string, options *armcustomerinsights.ProfilesClientGetOptions) (resp azfake.Responder[armcustomerinsights.ProfilesClientGetResponse], errResp azfake.ErrorResponder)

	// GetEnrichingKpis is the fake for method ProfilesClient.GetEnrichingKpis
	// HTTP status codes to indicate success: http.StatusOK
	GetEnrichingKpis func(ctx context.Context, resourceGroupName string, hubName string, profileName string, options *armcustomerinsights.ProfilesClientGetEnrichingKpisOptions) (resp azfake.Responder[armcustomerinsights.ProfilesClientGetEnrichingKpisResponse], errResp azfake.ErrorResponder)

	// NewListByHubPager is the fake for method ProfilesClient.NewListByHubPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByHubPager func(resourceGroupName string, hubName string, options *armcustomerinsights.ProfilesClientListByHubOptions) (resp azfake.PagerResponder[armcustomerinsights.ProfilesClientListByHubResponse])
}

ProfilesServer is a fake server for instances of the armcustomerinsights.ProfilesClient type.

type ProfilesServerTransport

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

ProfilesServerTransport connects instances of armcustomerinsights.ProfilesClient to instances of ProfilesServer. Don't use this type directly, use NewProfilesServerTransport instead.

func NewProfilesServerTransport

func NewProfilesServerTransport(srv *ProfilesServer) *ProfilesServerTransport

NewProfilesServerTransport creates a new instance of ProfilesServerTransport with the provided implementation. The returned ProfilesServerTransport instance is connected to an instance of armcustomerinsights.ProfilesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ProfilesServerTransport) Do

Do implements the policy.Transporter interface for ProfilesServerTransport.

type RelationshipLinksServer

type RelationshipLinksServer struct {
	// BeginCreateOrUpdate is the fake for method RelationshipLinksClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, hubName string, relationshipLinkName string, parameters armcustomerinsights.RelationshipLinkResourceFormat, options *armcustomerinsights.RelationshipLinksClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armcustomerinsights.RelationshipLinksClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method RelationshipLinksClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginDelete func(ctx context.Context, resourceGroupName string, hubName string, relationshipLinkName string, options *armcustomerinsights.RelationshipLinksClientBeginDeleteOptions) (resp azfake.PollerResponder[armcustomerinsights.RelationshipLinksClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method RelationshipLinksClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, hubName string, relationshipLinkName string, options *armcustomerinsights.RelationshipLinksClientGetOptions) (resp azfake.Responder[armcustomerinsights.RelationshipLinksClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByHubPager is the fake for method RelationshipLinksClient.NewListByHubPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByHubPager func(resourceGroupName string, hubName string, options *armcustomerinsights.RelationshipLinksClientListByHubOptions) (resp azfake.PagerResponder[armcustomerinsights.RelationshipLinksClientListByHubResponse])
}

RelationshipLinksServer is a fake server for instances of the armcustomerinsights.RelationshipLinksClient type.

type RelationshipLinksServerTransport

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

RelationshipLinksServerTransport connects instances of armcustomerinsights.RelationshipLinksClient to instances of RelationshipLinksServer. Don't use this type directly, use NewRelationshipLinksServerTransport instead.

func NewRelationshipLinksServerTransport

func NewRelationshipLinksServerTransport(srv *RelationshipLinksServer) *RelationshipLinksServerTransport

NewRelationshipLinksServerTransport creates a new instance of RelationshipLinksServerTransport with the provided implementation. The returned RelationshipLinksServerTransport instance is connected to an instance of armcustomerinsights.RelationshipLinksClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*RelationshipLinksServerTransport) Do

Do implements the policy.Transporter interface for RelationshipLinksServerTransport.

type RelationshipsServer

type RelationshipsServer struct {
	// BeginCreateOrUpdate is the fake for method RelationshipsClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, hubName string, relationshipName string, parameters armcustomerinsights.RelationshipResourceFormat, options *armcustomerinsights.RelationshipsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armcustomerinsights.RelationshipsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method RelationshipsClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginDelete func(ctx context.Context, resourceGroupName string, hubName string, relationshipName string, options *armcustomerinsights.RelationshipsClientBeginDeleteOptions) (resp azfake.PollerResponder[armcustomerinsights.RelationshipsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method RelationshipsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, hubName string, relationshipName string, options *armcustomerinsights.RelationshipsClientGetOptions) (resp azfake.Responder[armcustomerinsights.RelationshipsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByHubPager is the fake for method RelationshipsClient.NewListByHubPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByHubPager func(resourceGroupName string, hubName string, options *armcustomerinsights.RelationshipsClientListByHubOptions) (resp azfake.PagerResponder[armcustomerinsights.RelationshipsClientListByHubResponse])
}

RelationshipsServer is a fake server for instances of the armcustomerinsights.RelationshipsClient type.

type RelationshipsServerTransport

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

RelationshipsServerTransport connects instances of armcustomerinsights.RelationshipsClient to instances of RelationshipsServer. Don't use this type directly, use NewRelationshipsServerTransport instead.

func NewRelationshipsServerTransport

func NewRelationshipsServerTransport(srv *RelationshipsServer) *RelationshipsServerTransport

NewRelationshipsServerTransport creates a new instance of RelationshipsServerTransport with the provided implementation. The returned RelationshipsServerTransport instance is connected to an instance of armcustomerinsights.RelationshipsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*RelationshipsServerTransport) Do

Do implements the policy.Transporter interface for RelationshipsServerTransport.

type RoleAssignmentsServer

type RoleAssignmentsServer struct {
	// BeginCreateOrUpdate is the fake for method RoleAssignmentsClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, hubName string, assignmentName string, parameters armcustomerinsights.RoleAssignmentResourceFormat, options *armcustomerinsights.RoleAssignmentsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armcustomerinsights.RoleAssignmentsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method RoleAssignmentsClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	Delete func(ctx context.Context, resourceGroupName string, hubName string, assignmentName string, options *armcustomerinsights.RoleAssignmentsClientDeleteOptions) (resp azfake.Responder[armcustomerinsights.RoleAssignmentsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method RoleAssignmentsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, hubName string, assignmentName string, options *armcustomerinsights.RoleAssignmentsClientGetOptions) (resp azfake.Responder[armcustomerinsights.RoleAssignmentsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByHubPager is the fake for method RoleAssignmentsClient.NewListByHubPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByHubPager func(resourceGroupName string, hubName string, options *armcustomerinsights.RoleAssignmentsClientListByHubOptions) (resp azfake.PagerResponder[armcustomerinsights.RoleAssignmentsClientListByHubResponse])
}

RoleAssignmentsServer is a fake server for instances of the armcustomerinsights.RoleAssignmentsClient type.

type RoleAssignmentsServerTransport

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

RoleAssignmentsServerTransport connects instances of armcustomerinsights.RoleAssignmentsClient to instances of RoleAssignmentsServer. Don't use this type directly, use NewRoleAssignmentsServerTransport instead.

func NewRoleAssignmentsServerTransport

func NewRoleAssignmentsServerTransport(srv *RoleAssignmentsServer) *RoleAssignmentsServerTransport

NewRoleAssignmentsServerTransport creates a new instance of RoleAssignmentsServerTransport with the provided implementation. The returned RoleAssignmentsServerTransport instance is connected to an instance of armcustomerinsights.RoleAssignmentsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*RoleAssignmentsServerTransport) Do

Do implements the policy.Transporter interface for RoleAssignmentsServerTransport.

type RolesServer

type RolesServer struct {
	// NewListByHubPager is the fake for method RolesClient.NewListByHubPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByHubPager func(resourceGroupName string, hubName string, options *armcustomerinsights.RolesClientListByHubOptions) (resp azfake.PagerResponder[armcustomerinsights.RolesClientListByHubResponse])
}

RolesServer is a fake server for instances of the armcustomerinsights.RolesClient type.

type RolesServerTransport

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

RolesServerTransport connects instances of armcustomerinsights.RolesClient to instances of RolesServer. Don't use this type directly, use NewRolesServerTransport instead.

func NewRolesServerTransport

func NewRolesServerTransport(srv *RolesServer) *RolesServerTransport

NewRolesServerTransport creates a new instance of RolesServerTransport with the provided implementation. The returned RolesServerTransport instance is connected to an instance of armcustomerinsights.RolesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*RolesServerTransport) Do

Do implements the policy.Transporter interface for RolesServerTransport.

type ServerFactory

type ServerFactory struct {
	AuthorizationPoliciesServer AuthorizationPoliciesServer
	ConnectorMappingsServer     ConnectorMappingsServer
	ConnectorsServer            ConnectorsServer
	HubsServer                  HubsServer
	ImagesServer                ImagesServer
	InteractionsServer          InteractionsServer
	KpiServer                   KpiServer
	LinksServer                 LinksServer
	OperationsServer            OperationsServer
	PredictionsServer           PredictionsServer
	ProfilesServer              ProfilesServer
	RelationshipLinksServer     RelationshipLinksServer
	RelationshipsServer         RelationshipsServer
	RoleAssignmentsServer       RoleAssignmentsServer
	RolesServer                 RolesServer
	ViewsServer                 ViewsServer
	WidgetTypesServer           WidgetTypesServer
}

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

type ServerFactoryTransport

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

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

type ViewsServer struct {
	// CreateOrUpdate is the fake for method ViewsClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK
	CreateOrUpdate func(ctx context.Context, resourceGroupName string, hubName string, viewName string, parameters armcustomerinsights.ViewResourceFormat, options *armcustomerinsights.ViewsClientCreateOrUpdateOptions) (resp azfake.Responder[armcustomerinsights.ViewsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method ViewsClient.Delete
	// HTTP status codes to indicate success: http.StatusOK
	Delete func(ctx context.Context, resourceGroupName string, hubName string, viewName string, userID string, options *armcustomerinsights.ViewsClientDeleteOptions) (resp azfake.Responder[armcustomerinsights.ViewsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method ViewsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, hubName string, viewName string, userID string, options *armcustomerinsights.ViewsClientGetOptions) (resp azfake.Responder[armcustomerinsights.ViewsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByHubPager is the fake for method ViewsClient.NewListByHubPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByHubPager func(resourceGroupName string, hubName string, userID string, options *armcustomerinsights.ViewsClientListByHubOptions) (resp azfake.PagerResponder[armcustomerinsights.ViewsClientListByHubResponse])
}

ViewsServer is a fake server for instances of the armcustomerinsights.ViewsClient type.

type ViewsServerTransport

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

ViewsServerTransport connects instances of armcustomerinsights.ViewsClient to instances of ViewsServer. Don't use this type directly, use NewViewsServerTransport instead.

func NewViewsServerTransport

func NewViewsServerTransport(srv *ViewsServer) *ViewsServerTransport

NewViewsServerTransport creates a new instance of ViewsServerTransport with the provided implementation. The returned ViewsServerTransport instance is connected to an instance of armcustomerinsights.ViewsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ViewsServerTransport) Do

Do implements the policy.Transporter interface for ViewsServerTransport.

type WidgetTypesServer

type WidgetTypesServer struct {
	// Get is the fake for method WidgetTypesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, hubName string, widgetTypeName string, options *armcustomerinsights.WidgetTypesClientGetOptions) (resp azfake.Responder[armcustomerinsights.WidgetTypesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByHubPager is the fake for method WidgetTypesClient.NewListByHubPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByHubPager func(resourceGroupName string, hubName string, options *armcustomerinsights.WidgetTypesClientListByHubOptions) (resp azfake.PagerResponder[armcustomerinsights.WidgetTypesClientListByHubResponse])
}

WidgetTypesServer is a fake server for instances of the armcustomerinsights.WidgetTypesClient type.

type WidgetTypesServerTransport

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

WidgetTypesServerTransport connects instances of armcustomerinsights.WidgetTypesClient to instances of WidgetTypesServer. Don't use this type directly, use NewWidgetTypesServerTransport instead.

func NewWidgetTypesServerTransport

func NewWidgetTypesServerTransport(srv *WidgetTypesServer) *WidgetTypesServerTransport

NewWidgetTypesServerTransport creates a new instance of WidgetTypesServerTransport with the provided implementation. The returned WidgetTypesServerTransport instance is connected to an instance of armcustomerinsights.WidgetTypesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*WidgetTypesServerTransport) Do

Do implements the policy.Transporter interface for WidgetTypesServerTransport.

Jump to

Keyboard shortcuts

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