fake

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2023 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AzureSiteRecoveryManagementServiceAPIServer

type AzureSiteRecoveryManagementServiceAPIServer struct {
	// CheckNameAvailability is the fake for method AzureSiteRecoveryManagementServiceAPIClient.CheckNameAvailability
	// HTTP status codes to indicate success: http.StatusOK
	CheckNameAvailability func(ctx context.Context, location string, options *armrecoveryservicesdatareplication.AzureSiteRecoveryManagementServiceAPIClientCheckNameAvailabilityOptions) (resp azfake.Responder[armrecoveryservicesdatareplication.AzureSiteRecoveryManagementServiceAPIClientCheckNameAvailabilityResponse], errResp azfake.ErrorResponder)

	// DeploymentPreflight is the fake for method AzureSiteRecoveryManagementServiceAPIClient.DeploymentPreflight
	// HTTP status codes to indicate success: http.StatusOK
	DeploymentPreflight func(ctx context.Context, resourceGroupName string, deploymentID string, options *armrecoveryservicesdatareplication.AzureSiteRecoveryManagementServiceAPIClientDeploymentPreflightOptions) (resp azfake.Responder[armrecoveryservicesdatareplication.AzureSiteRecoveryManagementServiceAPIClientDeploymentPreflightResponse], errResp azfake.ErrorResponder)
}

AzureSiteRecoveryManagementServiceAPIServer is a fake server for instances of the armrecoveryservicesdatareplication.AzureSiteRecoveryManagementServiceAPIClient type.

type AzureSiteRecoveryManagementServiceAPIServerTransport

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

AzureSiteRecoveryManagementServiceAPIServerTransport connects instances of armrecoveryservicesdatareplication.AzureSiteRecoveryManagementServiceAPIClient to instances of AzureSiteRecoveryManagementServiceAPIServer. Don't use this type directly, use NewAzureSiteRecoveryManagementServiceAPIServerTransport instead.

func NewAzureSiteRecoveryManagementServiceAPIServerTransport

func NewAzureSiteRecoveryManagementServiceAPIServerTransport(srv *AzureSiteRecoveryManagementServiceAPIServer) *AzureSiteRecoveryManagementServiceAPIServerTransport

NewAzureSiteRecoveryManagementServiceAPIServerTransport creates a new instance of AzureSiteRecoveryManagementServiceAPIServerTransport with the provided implementation. The returned AzureSiteRecoveryManagementServiceAPIServerTransport instance is connected to an instance of armrecoveryservicesdatareplication.AzureSiteRecoveryManagementServiceAPIClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*AzureSiteRecoveryManagementServiceAPIServerTransport) Do

Do implements the policy.Transporter interface for AzureSiteRecoveryManagementServiceAPIServerTransport.

type DraOperationStatusServer

type DraOperationStatusServer struct {
	// Get is the fake for method DraOperationStatusClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, fabricName string, fabricAgentName string, operationID string, options *armrecoveryservicesdatareplication.DraOperationStatusClientGetOptions) (resp azfake.Responder[armrecoveryservicesdatareplication.DraOperationStatusClientGetResponse], errResp azfake.ErrorResponder)
}

DraOperationStatusServer is a fake server for instances of the armrecoveryservicesdatareplication.DraOperationStatusClient type.

type DraOperationStatusServerTransport

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

DraOperationStatusServerTransport connects instances of armrecoveryservicesdatareplication.DraOperationStatusClient to instances of DraOperationStatusServer. Don't use this type directly, use NewDraOperationStatusServerTransport instead.

func NewDraOperationStatusServerTransport

func NewDraOperationStatusServerTransport(srv *DraOperationStatusServer) *DraOperationStatusServerTransport

NewDraOperationStatusServerTransport creates a new instance of DraOperationStatusServerTransport with the provided implementation. The returned DraOperationStatusServerTransport instance is connected to an instance of armrecoveryservicesdatareplication.DraOperationStatusClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*DraOperationStatusServerTransport) Do

Do implements the policy.Transporter interface for DraOperationStatusServerTransport.

type DraServer

type DraServer struct {
	// BeginCreate is the fake for method DraClient.BeginCreate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreate func(ctx context.Context, resourceGroupName string, fabricName string, fabricAgentName string, body armrecoveryservicesdatareplication.DraModel, options *armrecoveryservicesdatareplication.DraClientBeginCreateOptions) (resp azfake.PollerResponder[armrecoveryservicesdatareplication.DraClientCreateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method DraClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, fabricName string, fabricAgentName string, options *armrecoveryservicesdatareplication.DraClientBeginDeleteOptions) (resp azfake.PollerResponder[armrecoveryservicesdatareplication.DraClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method DraClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, fabricName string, fabricAgentName string, options *armrecoveryservicesdatareplication.DraClientGetOptions) (resp azfake.Responder[armrecoveryservicesdatareplication.DraClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method DraClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, fabricName string, options *armrecoveryservicesdatareplication.DraClientListOptions) (resp azfake.PagerResponder[armrecoveryservicesdatareplication.DraClientListResponse])
}

DraServer is a fake server for instances of the armrecoveryservicesdatareplication.DraClient type.

type DraServerTransport

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

DraServerTransport connects instances of armrecoveryservicesdatareplication.DraClient to instances of DraServer. Don't use this type directly, use NewDraServerTransport instead.

func NewDraServerTransport

func NewDraServerTransport(srv *DraServer) *DraServerTransport

NewDraServerTransport creates a new instance of DraServerTransport with the provided implementation. The returned DraServerTransport instance is connected to an instance of armrecoveryservicesdatareplication.DraClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*DraServerTransport) Do

Do implements the policy.Transporter interface for DraServerTransport.

type EmailConfigurationServer

type EmailConfigurationServer struct {
	// Create is the fake for method EmailConfigurationClient.Create
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	Create func(ctx context.Context, resourceGroupName string, vaultName string, emailConfigurationName string, body armrecoveryservicesdatareplication.EmailConfigurationModel, options *armrecoveryservicesdatareplication.EmailConfigurationClientCreateOptions) (resp azfake.Responder[armrecoveryservicesdatareplication.EmailConfigurationClientCreateResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method EmailConfigurationClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, vaultName string, emailConfigurationName string, options *armrecoveryservicesdatareplication.EmailConfigurationClientGetOptions) (resp azfake.Responder[armrecoveryservicesdatareplication.EmailConfigurationClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method EmailConfigurationClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, vaultName string, options *armrecoveryservicesdatareplication.EmailConfigurationClientListOptions) (resp azfake.PagerResponder[armrecoveryservicesdatareplication.EmailConfigurationClientListResponse])
}

EmailConfigurationServer is a fake server for instances of the armrecoveryservicesdatareplication.EmailConfigurationClient type.

type EmailConfigurationServerTransport

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

EmailConfigurationServerTransport connects instances of armrecoveryservicesdatareplication.EmailConfigurationClient to instances of EmailConfigurationServer. Don't use this type directly, use NewEmailConfigurationServerTransport instead.

func NewEmailConfigurationServerTransport

func NewEmailConfigurationServerTransport(srv *EmailConfigurationServer) *EmailConfigurationServerTransport

NewEmailConfigurationServerTransport creates a new instance of EmailConfigurationServerTransport with the provided implementation. The returned EmailConfigurationServerTransport instance is connected to an instance of armrecoveryservicesdatareplication.EmailConfigurationClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*EmailConfigurationServerTransport) Do

Do implements the policy.Transporter interface for EmailConfigurationServerTransport.

type EventServer

type EventServer struct {
	// Get is the fake for method EventClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, vaultName string, eventName string, options *armrecoveryservicesdatareplication.EventClientGetOptions) (resp azfake.Responder[armrecoveryservicesdatareplication.EventClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method EventClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, vaultName string, options *armrecoveryservicesdatareplication.EventClientListOptions) (resp azfake.PagerResponder[armrecoveryservicesdatareplication.EventClientListResponse])
}

EventServer is a fake server for instances of the armrecoveryservicesdatareplication.EventClient type.

type EventServerTransport

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

EventServerTransport connects instances of armrecoveryservicesdatareplication.EventClient to instances of EventServer. Don't use this type directly, use NewEventServerTransport instead.

func NewEventServerTransport

func NewEventServerTransport(srv *EventServer) *EventServerTransport

NewEventServerTransport creates a new instance of EventServerTransport with the provided implementation. The returned EventServerTransport instance is connected to an instance of armrecoveryservicesdatareplication.EventClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*EventServerTransport) Do

Do implements the policy.Transporter interface for EventServerTransport.

type FabricOperationsStatusServer

type FabricOperationsStatusServer struct {
	// Get is the fake for method FabricOperationsStatusClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, fabricName string, operationID string, options *armrecoveryservicesdatareplication.FabricOperationsStatusClientGetOptions) (resp azfake.Responder[armrecoveryservicesdatareplication.FabricOperationsStatusClientGetResponse], errResp azfake.ErrorResponder)
}

FabricOperationsStatusServer is a fake server for instances of the armrecoveryservicesdatareplication.FabricOperationsStatusClient type.

type FabricOperationsStatusServerTransport

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

FabricOperationsStatusServerTransport connects instances of armrecoveryservicesdatareplication.FabricOperationsStatusClient to instances of FabricOperationsStatusServer. Don't use this type directly, use NewFabricOperationsStatusServerTransport instead.

func NewFabricOperationsStatusServerTransport

func NewFabricOperationsStatusServerTransport(srv *FabricOperationsStatusServer) *FabricOperationsStatusServerTransport

NewFabricOperationsStatusServerTransport creates a new instance of FabricOperationsStatusServerTransport with the provided implementation. The returned FabricOperationsStatusServerTransport instance is connected to an instance of armrecoveryservicesdatareplication.FabricOperationsStatusClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*FabricOperationsStatusServerTransport) Do

Do implements the policy.Transporter interface for FabricOperationsStatusServerTransport.

type FabricServer

type FabricServer struct {
	// BeginCreate is the fake for method FabricClient.BeginCreate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreate func(ctx context.Context, resourceGroupName string, fabricName string, body armrecoveryservicesdatareplication.FabricModel, options *armrecoveryservicesdatareplication.FabricClientBeginCreateOptions) (resp azfake.PollerResponder[armrecoveryservicesdatareplication.FabricClientCreateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method FabricClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, fabricName string, options *armrecoveryservicesdatareplication.FabricClientBeginDeleteOptions) (resp azfake.PollerResponder[armrecoveryservicesdatareplication.FabricClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method FabricClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, fabricName string, options *armrecoveryservicesdatareplication.FabricClientGetOptions) (resp azfake.Responder[armrecoveryservicesdatareplication.FabricClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method FabricClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, options *armrecoveryservicesdatareplication.FabricClientListOptions) (resp azfake.PagerResponder[armrecoveryservicesdatareplication.FabricClientListResponse])

	// NewListBySubscriptionPager is the fake for method FabricClient.NewListBySubscriptionPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListBySubscriptionPager func(options *armrecoveryservicesdatareplication.FabricClientListBySubscriptionOptions) (resp azfake.PagerResponder[armrecoveryservicesdatareplication.FabricClientListBySubscriptionResponse])

	// BeginUpdate is the fake for method FabricClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, fabricName string, body armrecoveryservicesdatareplication.FabricModelUpdate, options *armrecoveryservicesdatareplication.FabricClientBeginUpdateOptions) (resp azfake.PollerResponder[armrecoveryservicesdatareplication.FabricClientUpdateResponse], errResp azfake.ErrorResponder)
}

FabricServer is a fake server for instances of the armrecoveryservicesdatareplication.FabricClient type.

type FabricServerTransport

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

FabricServerTransport connects instances of armrecoveryservicesdatareplication.FabricClient to instances of FabricServer. Don't use this type directly, use NewFabricServerTransport instead.

func NewFabricServerTransport

func NewFabricServerTransport(srv *FabricServer) *FabricServerTransport

NewFabricServerTransport creates a new instance of FabricServerTransport with the provided implementation. The returned FabricServerTransport instance is connected to an instance of armrecoveryservicesdatareplication.FabricClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*FabricServerTransport) Do

Do implements the policy.Transporter interface for FabricServerTransport.

type OperationsServer

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

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

type OperationsServerTransport

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

OperationsServerTransport connects instances of armrecoveryservicesdatareplication.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 armrecoveryservicesdatareplication.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 PolicyOperationStatusServer

type PolicyOperationStatusServer struct {
	// Get is the fake for method PolicyOperationStatusClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, vaultName string, policyName string, operationID string, options *armrecoveryservicesdatareplication.PolicyOperationStatusClientGetOptions) (resp azfake.Responder[armrecoveryservicesdatareplication.PolicyOperationStatusClientGetResponse], errResp azfake.ErrorResponder)
}

PolicyOperationStatusServer is a fake server for instances of the armrecoveryservicesdatareplication.PolicyOperationStatusClient type.

type PolicyOperationStatusServerTransport

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

PolicyOperationStatusServerTransport connects instances of armrecoveryservicesdatareplication.PolicyOperationStatusClient to instances of PolicyOperationStatusServer. Don't use this type directly, use NewPolicyOperationStatusServerTransport instead.

func NewPolicyOperationStatusServerTransport

func NewPolicyOperationStatusServerTransport(srv *PolicyOperationStatusServer) *PolicyOperationStatusServerTransport

NewPolicyOperationStatusServerTransport creates a new instance of PolicyOperationStatusServerTransport with the provided implementation. The returned PolicyOperationStatusServerTransport instance is connected to an instance of armrecoveryservicesdatareplication.PolicyOperationStatusClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*PolicyOperationStatusServerTransport) Do

Do implements the policy.Transporter interface for PolicyOperationStatusServerTransport.

type PolicyServer

type PolicyServer struct {
	// BeginCreate is the fake for method PolicyClient.BeginCreate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreate func(ctx context.Context, resourceGroupName string, vaultName string, policyName string, body armrecoveryservicesdatareplication.PolicyModel, options *armrecoveryservicesdatareplication.PolicyClientBeginCreateOptions) (resp azfake.PollerResponder[armrecoveryservicesdatareplication.PolicyClientCreateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method PolicyClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, vaultName string, policyName string, options *armrecoveryservicesdatareplication.PolicyClientBeginDeleteOptions) (resp azfake.PollerResponder[armrecoveryservicesdatareplication.PolicyClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method PolicyClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, vaultName string, policyName string, options *armrecoveryservicesdatareplication.PolicyClientGetOptions) (resp azfake.Responder[armrecoveryservicesdatareplication.PolicyClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method PolicyClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, vaultName string, options *armrecoveryservicesdatareplication.PolicyClientListOptions) (resp azfake.PagerResponder[armrecoveryservicesdatareplication.PolicyClientListResponse])
}

PolicyServer is a fake server for instances of the armrecoveryservicesdatareplication.PolicyClient type.

type PolicyServerTransport

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

PolicyServerTransport connects instances of armrecoveryservicesdatareplication.PolicyClient to instances of PolicyServer. Don't use this type directly, use NewPolicyServerTransport instead.

func NewPolicyServerTransport

func NewPolicyServerTransport(srv *PolicyServer) *PolicyServerTransport

NewPolicyServerTransport creates a new instance of PolicyServerTransport with the provided implementation. The returned PolicyServerTransport instance is connected to an instance of armrecoveryservicesdatareplication.PolicyClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*PolicyServerTransport) Do

Do implements the policy.Transporter interface for PolicyServerTransport.

type ProtectedItemOperationStatusServer

type ProtectedItemOperationStatusServer struct {
	// Get is the fake for method ProtectedItemOperationStatusClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, vaultName string, protectedItemName string, operationID string, options *armrecoveryservicesdatareplication.ProtectedItemOperationStatusClientGetOptions) (resp azfake.Responder[armrecoveryservicesdatareplication.ProtectedItemOperationStatusClientGetResponse], errResp azfake.ErrorResponder)
}

ProtectedItemOperationStatusServer is a fake server for instances of the armrecoveryservicesdatareplication.ProtectedItemOperationStatusClient type.

type ProtectedItemOperationStatusServerTransport

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

ProtectedItemOperationStatusServerTransport connects instances of armrecoveryservicesdatareplication.ProtectedItemOperationStatusClient to instances of ProtectedItemOperationStatusServer. Don't use this type directly, use NewProtectedItemOperationStatusServerTransport instead.

func NewProtectedItemOperationStatusServerTransport

func NewProtectedItemOperationStatusServerTransport(srv *ProtectedItemOperationStatusServer) *ProtectedItemOperationStatusServerTransport

NewProtectedItemOperationStatusServerTransport creates a new instance of ProtectedItemOperationStatusServerTransport with the provided implementation. The returned ProtectedItemOperationStatusServerTransport instance is connected to an instance of armrecoveryservicesdatareplication.ProtectedItemOperationStatusClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ProtectedItemOperationStatusServerTransport) Do

Do implements the policy.Transporter interface for ProtectedItemOperationStatusServerTransport.

type ProtectedItemServer

type ProtectedItemServer struct {
	// BeginCreate is the fake for method ProtectedItemClient.BeginCreate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreate func(ctx context.Context, resourceGroupName string, vaultName string, protectedItemName string, body armrecoveryservicesdatareplication.ProtectedItemModel, options *armrecoveryservicesdatareplication.ProtectedItemClientBeginCreateOptions) (resp azfake.PollerResponder[armrecoveryservicesdatareplication.ProtectedItemClientCreateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method ProtectedItemClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, vaultName string, protectedItemName string, options *armrecoveryservicesdatareplication.ProtectedItemClientBeginDeleteOptions) (resp azfake.PollerResponder[armrecoveryservicesdatareplication.ProtectedItemClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method ProtectedItemClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, vaultName string, protectedItemName string, options *armrecoveryservicesdatareplication.ProtectedItemClientGetOptions) (resp azfake.Responder[armrecoveryservicesdatareplication.ProtectedItemClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method ProtectedItemClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, vaultName string, options *armrecoveryservicesdatareplication.ProtectedItemClientListOptions) (resp azfake.PagerResponder[armrecoveryservicesdatareplication.ProtectedItemClientListResponse])

	// BeginPlannedFailover is the fake for method ProtectedItemClient.BeginPlannedFailover
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginPlannedFailover func(ctx context.Context, resourceGroupName string, vaultName string, protectedItemName string, options *armrecoveryservicesdatareplication.ProtectedItemClientBeginPlannedFailoverOptions) (resp azfake.PollerResponder[armrecoveryservicesdatareplication.ProtectedItemClientPlannedFailoverResponse], errResp azfake.ErrorResponder)
}

ProtectedItemServer is a fake server for instances of the armrecoveryservicesdatareplication.ProtectedItemClient type.

type ProtectedItemServerTransport

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

ProtectedItemServerTransport connects instances of armrecoveryservicesdatareplication.ProtectedItemClient to instances of ProtectedItemServer. Don't use this type directly, use NewProtectedItemServerTransport instead.

func NewProtectedItemServerTransport

func NewProtectedItemServerTransport(srv *ProtectedItemServer) *ProtectedItemServerTransport

NewProtectedItemServerTransport creates a new instance of ProtectedItemServerTransport with the provided implementation. The returned ProtectedItemServerTransport instance is connected to an instance of armrecoveryservicesdatareplication.ProtectedItemClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ProtectedItemServerTransport) Do

Do implements the policy.Transporter interface for ProtectedItemServerTransport.

type RecoveryPointsServer

type RecoveryPointsServer struct {
	// Get is the fake for method RecoveryPointsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, vaultName string, protectedItemName string, recoveryPointName string, options *armrecoveryservicesdatareplication.RecoveryPointsClientGetOptions) (resp azfake.Responder[armrecoveryservicesdatareplication.RecoveryPointsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method RecoveryPointsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, vaultName string, protectedItemName string, options *armrecoveryservicesdatareplication.RecoveryPointsClientListOptions) (resp azfake.PagerResponder[armrecoveryservicesdatareplication.RecoveryPointsClientListResponse])
}

RecoveryPointsServer is a fake server for instances of the armrecoveryservicesdatareplication.RecoveryPointsClient type.

type RecoveryPointsServerTransport

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

RecoveryPointsServerTransport connects instances of armrecoveryservicesdatareplication.RecoveryPointsClient to instances of RecoveryPointsServer. Don't use this type directly, use NewRecoveryPointsServerTransport instead.

func NewRecoveryPointsServerTransport

func NewRecoveryPointsServerTransport(srv *RecoveryPointsServer) *RecoveryPointsServerTransport

NewRecoveryPointsServerTransport creates a new instance of RecoveryPointsServerTransport with the provided implementation. The returned RecoveryPointsServerTransport instance is connected to an instance of armrecoveryservicesdatareplication.RecoveryPointsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*RecoveryPointsServerTransport) Do

Do implements the policy.Transporter interface for RecoveryPointsServerTransport.

type ReplicationExtensionOperationStatusServer

type ReplicationExtensionOperationStatusServer struct {
	// Get is the fake for method ReplicationExtensionOperationStatusClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, vaultName string, replicationExtensionName string, operationID string, options *armrecoveryservicesdatareplication.ReplicationExtensionOperationStatusClientGetOptions) (resp azfake.Responder[armrecoveryservicesdatareplication.ReplicationExtensionOperationStatusClientGetResponse], errResp azfake.ErrorResponder)
}

ReplicationExtensionOperationStatusServer is a fake server for instances of the armrecoveryservicesdatareplication.ReplicationExtensionOperationStatusClient type.

type ReplicationExtensionOperationStatusServerTransport

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

ReplicationExtensionOperationStatusServerTransport connects instances of armrecoveryservicesdatareplication.ReplicationExtensionOperationStatusClient to instances of ReplicationExtensionOperationStatusServer. Don't use this type directly, use NewReplicationExtensionOperationStatusServerTransport instead.

func NewReplicationExtensionOperationStatusServerTransport

func NewReplicationExtensionOperationStatusServerTransport(srv *ReplicationExtensionOperationStatusServer) *ReplicationExtensionOperationStatusServerTransport

NewReplicationExtensionOperationStatusServerTransport creates a new instance of ReplicationExtensionOperationStatusServerTransport with the provided implementation. The returned ReplicationExtensionOperationStatusServerTransport instance is connected to an instance of armrecoveryservicesdatareplication.ReplicationExtensionOperationStatusClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ReplicationExtensionOperationStatusServerTransport) Do

Do implements the policy.Transporter interface for ReplicationExtensionOperationStatusServerTransport.

type ReplicationExtensionServer

type ReplicationExtensionServer struct {
	// BeginCreate is the fake for method ReplicationExtensionClient.BeginCreate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreate func(ctx context.Context, resourceGroupName string, vaultName string, replicationExtensionName string, body armrecoveryservicesdatareplication.ReplicationExtensionModel, options *armrecoveryservicesdatareplication.ReplicationExtensionClientBeginCreateOptions) (resp azfake.PollerResponder[armrecoveryservicesdatareplication.ReplicationExtensionClientCreateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method ReplicationExtensionClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, vaultName string, replicationExtensionName string, options *armrecoveryservicesdatareplication.ReplicationExtensionClientBeginDeleteOptions) (resp azfake.PollerResponder[armrecoveryservicesdatareplication.ReplicationExtensionClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method ReplicationExtensionClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, vaultName string, replicationExtensionName string, options *armrecoveryservicesdatareplication.ReplicationExtensionClientGetOptions) (resp azfake.Responder[armrecoveryservicesdatareplication.ReplicationExtensionClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method ReplicationExtensionClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, vaultName string, options *armrecoveryservicesdatareplication.ReplicationExtensionClientListOptions) (resp azfake.PagerResponder[armrecoveryservicesdatareplication.ReplicationExtensionClientListResponse])
}

ReplicationExtensionServer is a fake server for instances of the armrecoveryservicesdatareplication.ReplicationExtensionClient type.

type ReplicationExtensionServerTransport

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

ReplicationExtensionServerTransport connects instances of armrecoveryservicesdatareplication.ReplicationExtensionClient to instances of ReplicationExtensionServer. Don't use this type directly, use NewReplicationExtensionServerTransport instead.

func NewReplicationExtensionServerTransport

func NewReplicationExtensionServerTransport(srv *ReplicationExtensionServer) *ReplicationExtensionServerTransport

NewReplicationExtensionServerTransport creates a new instance of ReplicationExtensionServerTransport with the provided implementation. The returned ReplicationExtensionServerTransport instance is connected to an instance of armrecoveryservicesdatareplication.ReplicationExtensionClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ReplicationExtensionServerTransport) Do

Do implements the policy.Transporter interface for ReplicationExtensionServerTransport.

type ServerFactory

type ServerFactory struct {
	AzureSiteRecoveryManagementServiceAPIServer AzureSiteRecoveryManagementServiceAPIServer
	DraServer                                   DraServer
	DraOperationStatusServer                    DraOperationStatusServer
	EmailConfigurationServer                    EmailConfigurationServer
	EventServer                                 EventServer
	FabricServer                                FabricServer
	FabricOperationsStatusServer                FabricOperationsStatusServer
	OperationsServer                            OperationsServer
	PolicyServer                                PolicyServer
	PolicyOperationStatusServer                 PolicyOperationStatusServer
	ProtectedItemServer                         ProtectedItemServer
	ProtectedItemOperationStatusServer          ProtectedItemOperationStatusServer
	RecoveryPointsServer                        RecoveryPointsServer
	ReplicationExtensionServer                  ReplicationExtensionServer
	ReplicationExtensionOperationStatusServer   ReplicationExtensionOperationStatusServer
	VaultServer                                 VaultServer
	VaultOperationStatusServer                  VaultOperationStatusServer
	WorkflowServer                              WorkflowServer
	WorkflowOperationStatusServer               WorkflowOperationStatusServer
}

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

type ServerFactoryTransport

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

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

type VaultOperationStatusServer struct {
	// Get is the fake for method VaultOperationStatusClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, vaultName string, operationID string, options *armrecoveryservicesdatareplication.VaultOperationStatusClientGetOptions) (resp azfake.Responder[armrecoveryservicesdatareplication.VaultOperationStatusClientGetResponse], errResp azfake.ErrorResponder)
}

VaultOperationStatusServer is a fake server for instances of the armrecoveryservicesdatareplication.VaultOperationStatusClient type.

type VaultOperationStatusServerTransport

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

VaultOperationStatusServerTransport connects instances of armrecoveryservicesdatareplication.VaultOperationStatusClient to instances of VaultOperationStatusServer. Don't use this type directly, use NewVaultOperationStatusServerTransport instead.

func NewVaultOperationStatusServerTransport

func NewVaultOperationStatusServerTransport(srv *VaultOperationStatusServer) *VaultOperationStatusServerTransport

NewVaultOperationStatusServerTransport creates a new instance of VaultOperationStatusServerTransport with the provided implementation. The returned VaultOperationStatusServerTransport instance is connected to an instance of armrecoveryservicesdatareplication.VaultOperationStatusClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*VaultOperationStatusServerTransport) Do

Do implements the policy.Transporter interface for VaultOperationStatusServerTransport.

type VaultServer

type VaultServer struct {
	// BeginCreate is the fake for method VaultClient.BeginCreate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreate func(ctx context.Context, resourceGroupName string, vaultName string, body armrecoveryservicesdatareplication.VaultModel, options *armrecoveryservicesdatareplication.VaultClientBeginCreateOptions) (resp azfake.PollerResponder[armrecoveryservicesdatareplication.VaultClientCreateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method VaultClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, vaultName string, options *armrecoveryservicesdatareplication.VaultClientBeginDeleteOptions) (resp azfake.PollerResponder[armrecoveryservicesdatareplication.VaultClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method VaultClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, vaultName string, options *armrecoveryservicesdatareplication.VaultClientGetOptions) (resp azfake.Responder[armrecoveryservicesdatareplication.VaultClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method VaultClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, options *armrecoveryservicesdatareplication.VaultClientListOptions) (resp azfake.PagerResponder[armrecoveryservicesdatareplication.VaultClientListResponse])

	// NewListBySubscriptionPager is the fake for method VaultClient.NewListBySubscriptionPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListBySubscriptionPager func(options *armrecoveryservicesdatareplication.VaultClientListBySubscriptionOptions) (resp azfake.PagerResponder[armrecoveryservicesdatareplication.VaultClientListBySubscriptionResponse])

	// BeginUpdate is the fake for method VaultClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, vaultName string, body armrecoveryservicesdatareplication.VaultModelUpdate, options *armrecoveryservicesdatareplication.VaultClientBeginUpdateOptions) (resp azfake.PollerResponder[armrecoveryservicesdatareplication.VaultClientUpdateResponse], errResp azfake.ErrorResponder)
}

VaultServer is a fake server for instances of the armrecoveryservicesdatareplication.VaultClient type.

type VaultServerTransport

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

VaultServerTransport connects instances of armrecoveryservicesdatareplication.VaultClient to instances of VaultServer. Don't use this type directly, use NewVaultServerTransport instead.

func NewVaultServerTransport

func NewVaultServerTransport(srv *VaultServer) *VaultServerTransport

NewVaultServerTransport creates a new instance of VaultServerTransport with the provided implementation. The returned VaultServerTransport instance is connected to an instance of armrecoveryservicesdatareplication.VaultClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*VaultServerTransport) Do

Do implements the policy.Transporter interface for VaultServerTransport.

type WorkflowOperationStatusServer

type WorkflowOperationStatusServer struct {
	// Get is the fake for method WorkflowOperationStatusClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, vaultName string, jobName string, operationID string, options *armrecoveryservicesdatareplication.WorkflowOperationStatusClientGetOptions) (resp azfake.Responder[armrecoveryservicesdatareplication.WorkflowOperationStatusClientGetResponse], errResp azfake.ErrorResponder)
}

WorkflowOperationStatusServer is a fake server for instances of the armrecoveryservicesdatareplication.WorkflowOperationStatusClient type.

type WorkflowOperationStatusServerTransport

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

WorkflowOperationStatusServerTransport connects instances of armrecoveryservicesdatareplication.WorkflowOperationStatusClient to instances of WorkflowOperationStatusServer. Don't use this type directly, use NewWorkflowOperationStatusServerTransport instead.

func NewWorkflowOperationStatusServerTransport

func NewWorkflowOperationStatusServerTransport(srv *WorkflowOperationStatusServer) *WorkflowOperationStatusServerTransport

NewWorkflowOperationStatusServerTransport creates a new instance of WorkflowOperationStatusServerTransport with the provided implementation. The returned WorkflowOperationStatusServerTransport instance is connected to an instance of armrecoveryservicesdatareplication.WorkflowOperationStatusClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*WorkflowOperationStatusServerTransport) Do

Do implements the policy.Transporter interface for WorkflowOperationStatusServerTransport.

type WorkflowServer

type WorkflowServer struct {
	// Get is the fake for method WorkflowClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, vaultName string, jobName string, options *armrecoveryservicesdatareplication.WorkflowClientGetOptions) (resp azfake.Responder[armrecoveryservicesdatareplication.WorkflowClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method WorkflowClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, vaultName string, options *armrecoveryservicesdatareplication.WorkflowClientListOptions) (resp azfake.PagerResponder[armrecoveryservicesdatareplication.WorkflowClientListResponse])
}

WorkflowServer is a fake server for instances of the armrecoveryservicesdatareplication.WorkflowClient type.

type WorkflowServerTransport

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

WorkflowServerTransport connects instances of armrecoveryservicesdatareplication.WorkflowClient to instances of WorkflowServer. Don't use this type directly, use NewWorkflowServerTransport instead.

func NewWorkflowServerTransport

func NewWorkflowServerTransport(srv *WorkflowServer) *WorkflowServerTransport

NewWorkflowServerTransport creates a new instance of WorkflowServerTransport with the provided implementation. The returned WorkflowServerTransport instance is connected to an instance of armrecoveryservicesdatareplication.WorkflowClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*WorkflowServerTransport) Do

Do implements the policy.Transporter interface for WorkflowServerTransport.

Jump to

Keyboard shortcuts

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