mocks

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IClient

type IClient struct {
	mock.Mock
}

IClient is an autogenerated mock type for the IClient type

func NewIClient

func NewIClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *IClient

NewIClient creates a new instance of IClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*IClient) AssociateSourceNetworkStack

func (_m *IClient) AssociateSourceNetworkStack(ctx context.Context, params *drs.AssociateSourceNetworkStackInput, optFns ...func(*drs.Options)) (*drs.AssociateSourceNetworkStackOutput, error)

AssociateSourceNetworkStack provides a mock function with given fields: ctx, params, optFns

func (*IClient) CreateExtendedSourceServer

func (_m *IClient) CreateExtendedSourceServer(ctx context.Context, params *drs.CreateExtendedSourceServerInput, optFns ...func(*drs.Options)) (*drs.CreateExtendedSourceServerOutput, error)

CreateExtendedSourceServer provides a mock function with given fields: ctx, params, optFns

func (*IClient) CreateLaunchConfigurationTemplate

func (_m *IClient) CreateLaunchConfigurationTemplate(ctx context.Context, params *drs.CreateLaunchConfigurationTemplateInput, optFns ...func(*drs.Options)) (*drs.CreateLaunchConfigurationTemplateOutput, error)

CreateLaunchConfigurationTemplate provides a mock function with given fields: ctx, params, optFns

func (*IClient) CreateReplicationConfigurationTemplate

func (_m *IClient) CreateReplicationConfigurationTemplate(ctx context.Context, params *drs.CreateReplicationConfigurationTemplateInput, optFns ...func(*drs.Options)) (*drs.CreateReplicationConfigurationTemplateOutput, error)

CreateReplicationConfigurationTemplate provides a mock function with given fields: ctx, params, optFns

func (*IClient) CreateSourceNetwork

func (_m *IClient) CreateSourceNetwork(ctx context.Context, params *drs.CreateSourceNetworkInput, optFns ...func(*drs.Options)) (*drs.CreateSourceNetworkOutput, error)

CreateSourceNetwork provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteJob

func (_m *IClient) DeleteJob(ctx context.Context, params *drs.DeleteJobInput, optFns ...func(*drs.Options)) (*drs.DeleteJobOutput, error)

DeleteJob provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteLaunchAction

func (_m *IClient) DeleteLaunchAction(ctx context.Context, params *drs.DeleteLaunchActionInput, optFns ...func(*drs.Options)) (*drs.DeleteLaunchActionOutput, error)

DeleteLaunchAction provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteLaunchConfigurationTemplate

func (_m *IClient) DeleteLaunchConfigurationTemplate(ctx context.Context, params *drs.DeleteLaunchConfigurationTemplateInput, optFns ...func(*drs.Options)) (*drs.DeleteLaunchConfigurationTemplateOutput, error)

DeleteLaunchConfigurationTemplate provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteRecoveryInstance

func (_m *IClient) DeleteRecoveryInstance(ctx context.Context, params *drs.DeleteRecoveryInstanceInput, optFns ...func(*drs.Options)) (*drs.DeleteRecoveryInstanceOutput, error)

DeleteRecoveryInstance provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteReplicationConfigurationTemplate

func (_m *IClient) DeleteReplicationConfigurationTemplate(ctx context.Context, params *drs.DeleteReplicationConfigurationTemplateInput, optFns ...func(*drs.Options)) (*drs.DeleteReplicationConfigurationTemplateOutput, error)

DeleteReplicationConfigurationTemplate provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteSourceNetwork

func (_m *IClient) DeleteSourceNetwork(ctx context.Context, params *drs.DeleteSourceNetworkInput, optFns ...func(*drs.Options)) (*drs.DeleteSourceNetworkOutput, error)

DeleteSourceNetwork provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteSourceServer

func (_m *IClient) DeleteSourceServer(ctx context.Context, params *drs.DeleteSourceServerInput, optFns ...func(*drs.Options)) (*drs.DeleteSourceServerOutput, error)

DeleteSourceServer provides a mock function with given fields: ctx, params, optFns

func (*IClient) DescribeJobLogItems

func (_m *IClient) DescribeJobLogItems(ctx context.Context, params *drs.DescribeJobLogItemsInput, optFns ...func(*drs.Options)) (*drs.DescribeJobLogItemsOutput, error)

DescribeJobLogItems provides a mock function with given fields: ctx, params, optFns

func (*IClient) DescribeJobs

func (_m *IClient) DescribeJobs(ctx context.Context, params *drs.DescribeJobsInput, optFns ...func(*drs.Options)) (*drs.DescribeJobsOutput, error)

DescribeJobs provides a mock function with given fields: ctx, params, optFns

func (*IClient) DescribeLaunchConfigurationTemplates

func (_m *IClient) DescribeLaunchConfigurationTemplates(ctx context.Context, params *drs.DescribeLaunchConfigurationTemplatesInput, optFns ...func(*drs.Options)) (*drs.DescribeLaunchConfigurationTemplatesOutput, error)

DescribeLaunchConfigurationTemplates provides a mock function with given fields: ctx, params, optFns

func (*IClient) DescribeRecoveryInstances

func (_m *IClient) DescribeRecoveryInstances(ctx context.Context, params *drs.DescribeRecoveryInstancesInput, optFns ...func(*drs.Options)) (*drs.DescribeRecoveryInstancesOutput, error)

DescribeRecoveryInstances provides a mock function with given fields: ctx, params, optFns

func (*IClient) DescribeRecoverySnapshots

func (_m *IClient) DescribeRecoverySnapshots(ctx context.Context, params *drs.DescribeRecoverySnapshotsInput, optFns ...func(*drs.Options)) (*drs.DescribeRecoverySnapshotsOutput, error)

DescribeRecoverySnapshots provides a mock function with given fields: ctx, params, optFns

func (*IClient) DescribeReplicationConfigurationTemplates

func (_m *IClient) DescribeReplicationConfigurationTemplates(ctx context.Context, params *drs.DescribeReplicationConfigurationTemplatesInput, optFns ...func(*drs.Options)) (*drs.DescribeReplicationConfigurationTemplatesOutput, error)

DescribeReplicationConfigurationTemplates provides a mock function with given fields: ctx, params, optFns

func (*IClient) DescribeSourceNetworks

func (_m *IClient) DescribeSourceNetworks(ctx context.Context, params *drs.DescribeSourceNetworksInput, optFns ...func(*drs.Options)) (*drs.DescribeSourceNetworksOutput, error)

DescribeSourceNetworks provides a mock function with given fields: ctx, params, optFns

func (*IClient) DescribeSourceServers

func (_m *IClient) DescribeSourceServers(ctx context.Context, params *drs.DescribeSourceServersInput, optFns ...func(*drs.Options)) (*drs.DescribeSourceServersOutput, error)

DescribeSourceServers provides a mock function with given fields: ctx, params, optFns

func (*IClient) DisconnectRecoveryInstance

func (_m *IClient) DisconnectRecoveryInstance(ctx context.Context, params *drs.DisconnectRecoveryInstanceInput, optFns ...func(*drs.Options)) (*drs.DisconnectRecoveryInstanceOutput, error)

DisconnectRecoveryInstance provides a mock function with given fields: ctx, params, optFns

func (*IClient) DisconnectSourceServer

func (_m *IClient) DisconnectSourceServer(ctx context.Context, params *drs.DisconnectSourceServerInput, optFns ...func(*drs.Options)) (*drs.DisconnectSourceServerOutput, error)

DisconnectSourceServer provides a mock function with given fields: ctx, params, optFns

func (*IClient) ExportSourceNetworkCfnTemplate

func (_m *IClient) ExportSourceNetworkCfnTemplate(ctx context.Context, params *drs.ExportSourceNetworkCfnTemplateInput, optFns ...func(*drs.Options)) (*drs.ExportSourceNetworkCfnTemplateOutput, error)

ExportSourceNetworkCfnTemplate provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetFailbackReplicationConfiguration

func (_m *IClient) GetFailbackReplicationConfiguration(ctx context.Context, params *drs.GetFailbackReplicationConfigurationInput, optFns ...func(*drs.Options)) (*drs.GetFailbackReplicationConfigurationOutput, error)

GetFailbackReplicationConfiguration provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetLaunchConfiguration

func (_m *IClient) GetLaunchConfiguration(ctx context.Context, params *drs.GetLaunchConfigurationInput, optFns ...func(*drs.Options)) (*drs.GetLaunchConfigurationOutput, error)

GetLaunchConfiguration provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetReplicationConfiguration

func (_m *IClient) GetReplicationConfiguration(ctx context.Context, params *drs.GetReplicationConfigurationInput, optFns ...func(*drs.Options)) (*drs.GetReplicationConfigurationOutput, error)

GetReplicationConfiguration provides a mock function with given fields: ctx, params, optFns

func (*IClient) InitializeService

func (_m *IClient) InitializeService(ctx context.Context, params *drs.InitializeServiceInput, optFns ...func(*drs.Options)) (*drs.InitializeServiceOutput, error)

InitializeService provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListExtensibleSourceServers

func (_m *IClient) ListExtensibleSourceServers(ctx context.Context, params *drs.ListExtensibleSourceServersInput, optFns ...func(*drs.Options)) (*drs.ListExtensibleSourceServersOutput, error)

ListExtensibleSourceServers provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListLaunchActions

func (_m *IClient) ListLaunchActions(ctx context.Context, params *drs.ListLaunchActionsInput, optFns ...func(*drs.Options)) (*drs.ListLaunchActionsOutput, error)

ListLaunchActions provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListStagingAccounts

func (_m *IClient) ListStagingAccounts(ctx context.Context, params *drs.ListStagingAccountsInput, optFns ...func(*drs.Options)) (*drs.ListStagingAccountsOutput, error)

ListStagingAccounts provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListTagsForResource

func (_m *IClient) ListTagsForResource(ctx context.Context, params *drs.ListTagsForResourceInput, optFns ...func(*drs.Options)) (*drs.ListTagsForResourceOutput, error)

ListTagsForResource provides a mock function with given fields: ctx, params, optFns

func (*IClient) Options

func (_m *IClient) Options() drs.Options

Options provides a mock function with given fields:

func (*IClient) PutLaunchAction

func (_m *IClient) PutLaunchAction(ctx context.Context, params *drs.PutLaunchActionInput, optFns ...func(*drs.Options)) (*drs.PutLaunchActionOutput, error)

PutLaunchAction provides a mock function with given fields: ctx, params, optFns

func (*IClient) RetryDataReplication

func (_m *IClient) RetryDataReplication(ctx context.Context, params *drs.RetryDataReplicationInput, optFns ...func(*drs.Options)) (*drs.RetryDataReplicationOutput, error)

RetryDataReplication provides a mock function with given fields: ctx, params, optFns

func (*IClient) ReverseReplication

func (_m *IClient) ReverseReplication(ctx context.Context, params *drs.ReverseReplicationInput, optFns ...func(*drs.Options)) (*drs.ReverseReplicationOutput, error)

ReverseReplication provides a mock function with given fields: ctx, params, optFns

func (*IClient) StartFailbackLaunch

func (_m *IClient) StartFailbackLaunch(ctx context.Context, params *drs.StartFailbackLaunchInput, optFns ...func(*drs.Options)) (*drs.StartFailbackLaunchOutput, error)

StartFailbackLaunch provides a mock function with given fields: ctx, params, optFns

func (*IClient) StartRecovery

func (_m *IClient) StartRecovery(ctx context.Context, params *drs.StartRecoveryInput, optFns ...func(*drs.Options)) (*drs.StartRecoveryOutput, error)

StartRecovery provides a mock function with given fields: ctx, params, optFns

func (*IClient) StartReplication

func (_m *IClient) StartReplication(ctx context.Context, params *drs.StartReplicationInput, optFns ...func(*drs.Options)) (*drs.StartReplicationOutput, error)

StartReplication provides a mock function with given fields: ctx, params, optFns

func (*IClient) StartSourceNetworkRecovery

func (_m *IClient) StartSourceNetworkRecovery(ctx context.Context, params *drs.StartSourceNetworkRecoveryInput, optFns ...func(*drs.Options)) (*drs.StartSourceNetworkRecoveryOutput, error)

StartSourceNetworkRecovery provides a mock function with given fields: ctx, params, optFns

func (*IClient) StartSourceNetworkReplication

func (_m *IClient) StartSourceNetworkReplication(ctx context.Context, params *drs.StartSourceNetworkReplicationInput, optFns ...func(*drs.Options)) (*drs.StartSourceNetworkReplicationOutput, error)

StartSourceNetworkReplication provides a mock function with given fields: ctx, params, optFns

func (*IClient) StopFailback

func (_m *IClient) StopFailback(ctx context.Context, params *drs.StopFailbackInput, optFns ...func(*drs.Options)) (*drs.StopFailbackOutput, error)

StopFailback provides a mock function with given fields: ctx, params, optFns

func (*IClient) StopReplication

func (_m *IClient) StopReplication(ctx context.Context, params *drs.StopReplicationInput, optFns ...func(*drs.Options)) (*drs.StopReplicationOutput, error)

StopReplication provides a mock function with given fields: ctx, params, optFns

func (*IClient) StopSourceNetworkReplication

func (_m *IClient) StopSourceNetworkReplication(ctx context.Context, params *drs.StopSourceNetworkReplicationInput, optFns ...func(*drs.Options)) (*drs.StopSourceNetworkReplicationOutput, error)

StopSourceNetworkReplication provides a mock function with given fields: ctx, params, optFns

func (*IClient) TagResource

func (_m *IClient) TagResource(ctx context.Context, params *drs.TagResourceInput, optFns ...func(*drs.Options)) (*drs.TagResourceOutput, error)

TagResource provides a mock function with given fields: ctx, params, optFns

func (*IClient) TerminateRecoveryInstances

func (_m *IClient) TerminateRecoveryInstances(ctx context.Context, params *drs.TerminateRecoveryInstancesInput, optFns ...func(*drs.Options)) (*drs.TerminateRecoveryInstancesOutput, error)

TerminateRecoveryInstances provides a mock function with given fields: ctx, params, optFns

func (*IClient) UntagResource

func (_m *IClient) UntagResource(ctx context.Context, params *drs.UntagResourceInput, optFns ...func(*drs.Options)) (*drs.UntagResourceOutput, error)

UntagResource provides a mock function with given fields: ctx, params, optFns

func (*IClient) UpdateFailbackReplicationConfiguration

func (_m *IClient) UpdateFailbackReplicationConfiguration(ctx context.Context, params *drs.UpdateFailbackReplicationConfigurationInput, optFns ...func(*drs.Options)) (*drs.UpdateFailbackReplicationConfigurationOutput, error)

UpdateFailbackReplicationConfiguration provides a mock function with given fields: ctx, params, optFns

func (*IClient) UpdateLaunchConfiguration

func (_m *IClient) UpdateLaunchConfiguration(ctx context.Context, params *drs.UpdateLaunchConfigurationInput, optFns ...func(*drs.Options)) (*drs.UpdateLaunchConfigurationOutput, error)

UpdateLaunchConfiguration provides a mock function with given fields: ctx, params, optFns

func (*IClient) UpdateLaunchConfigurationTemplate

func (_m *IClient) UpdateLaunchConfigurationTemplate(ctx context.Context, params *drs.UpdateLaunchConfigurationTemplateInput, optFns ...func(*drs.Options)) (*drs.UpdateLaunchConfigurationTemplateOutput, error)

UpdateLaunchConfigurationTemplate provides a mock function with given fields: ctx, params, optFns

func (*IClient) UpdateReplicationConfiguration

func (_m *IClient) UpdateReplicationConfiguration(ctx context.Context, params *drs.UpdateReplicationConfigurationInput, optFns ...func(*drs.Options)) (*drs.UpdateReplicationConfigurationOutput, error)

UpdateReplicationConfiguration provides a mock function with given fields: ctx, params, optFns

func (*IClient) UpdateReplicationConfigurationTemplate

func (_m *IClient) UpdateReplicationConfigurationTemplate(ctx context.Context, params *drs.UpdateReplicationConfigurationTemplateInput, optFns ...func(*drs.Options)) (*drs.UpdateReplicationConfigurationTemplateOutput, error)

UpdateReplicationConfigurationTemplate provides a mock function with given fields: ctx, params, optFns

Jump to

Keyboard shortcuts

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