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) ArchiveApplication

func (_m *IClient) ArchiveApplication(ctx context.Context, params *mgn.ArchiveApplicationInput, optFns ...func(*mgn.Options)) (*mgn.ArchiveApplicationOutput, error)

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

func (*IClient) ArchiveWave

func (_m *IClient) ArchiveWave(ctx context.Context, params *mgn.ArchiveWaveInput, optFns ...func(*mgn.Options)) (*mgn.ArchiveWaveOutput, error)

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

func (*IClient) AssociateApplications

func (_m *IClient) AssociateApplications(ctx context.Context, params *mgn.AssociateApplicationsInput, optFns ...func(*mgn.Options)) (*mgn.AssociateApplicationsOutput, error)

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

func (*IClient) AssociateSourceServers

func (_m *IClient) AssociateSourceServers(ctx context.Context, params *mgn.AssociateSourceServersInput, optFns ...func(*mgn.Options)) (*mgn.AssociateSourceServersOutput, error)

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

func (*IClient) ChangeServerLifeCycleState

func (_m *IClient) ChangeServerLifeCycleState(ctx context.Context, params *mgn.ChangeServerLifeCycleStateInput, optFns ...func(*mgn.Options)) (*mgn.ChangeServerLifeCycleStateOutput, error)

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

func (*IClient) CreateApplication

func (_m *IClient) CreateApplication(ctx context.Context, params *mgn.CreateApplicationInput, optFns ...func(*mgn.Options)) (*mgn.CreateApplicationOutput, error)

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

func (*IClient) CreateConnector

func (_m *IClient) CreateConnector(ctx context.Context, params *mgn.CreateConnectorInput, optFns ...func(*mgn.Options)) (*mgn.CreateConnectorOutput, error)

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

func (*IClient) CreateLaunchConfigurationTemplate

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

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

func (*IClient) CreateReplicationConfigurationTemplate

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

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

func (*IClient) CreateWave

func (_m *IClient) CreateWave(ctx context.Context, params *mgn.CreateWaveInput, optFns ...func(*mgn.Options)) (*mgn.CreateWaveOutput, error)

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

func (*IClient) DeleteApplication

func (_m *IClient) DeleteApplication(ctx context.Context, params *mgn.DeleteApplicationInput, optFns ...func(*mgn.Options)) (*mgn.DeleteApplicationOutput, error)

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

func (*IClient) DeleteConnector

func (_m *IClient) DeleteConnector(ctx context.Context, params *mgn.DeleteConnectorInput, optFns ...func(*mgn.Options)) (*mgn.DeleteConnectorOutput, error)

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

func (*IClient) DeleteJob

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

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

func (*IClient) DeleteLaunchConfigurationTemplate

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

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

func (*IClient) DeleteReplicationConfigurationTemplate

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

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

func (*IClient) DeleteSourceServer

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

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

func (*IClient) DeleteVcenterClient

func (_m *IClient) DeleteVcenterClient(ctx context.Context, params *mgn.DeleteVcenterClientInput, optFns ...func(*mgn.Options)) (*mgn.DeleteVcenterClientOutput, error)

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

func (*IClient) DeleteWave

func (_m *IClient) DeleteWave(ctx context.Context, params *mgn.DeleteWaveInput, optFns ...func(*mgn.Options)) (*mgn.DeleteWaveOutput, error)

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

func (*IClient) DescribeJobLogItems

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

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

func (*IClient) DescribeJobs

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

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

func (*IClient) DescribeLaunchConfigurationTemplates

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

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

func (*IClient) DescribeReplicationConfigurationTemplates

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

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

func (*IClient) DescribeSourceServers

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

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

func (*IClient) DescribeVcenterClients

func (_m *IClient) DescribeVcenterClients(ctx context.Context, params *mgn.DescribeVcenterClientsInput, optFns ...func(*mgn.Options)) (*mgn.DescribeVcenterClientsOutput, error)

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

func (*IClient) DisassociateApplications

func (_m *IClient) DisassociateApplications(ctx context.Context, params *mgn.DisassociateApplicationsInput, optFns ...func(*mgn.Options)) (*mgn.DisassociateApplicationsOutput, error)

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

func (*IClient) DisassociateSourceServers

func (_m *IClient) DisassociateSourceServers(ctx context.Context, params *mgn.DisassociateSourceServersInput, optFns ...func(*mgn.Options)) (*mgn.DisassociateSourceServersOutput, error)

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

func (*IClient) DisconnectFromService

func (_m *IClient) DisconnectFromService(ctx context.Context, params *mgn.DisconnectFromServiceInput, optFns ...func(*mgn.Options)) (*mgn.DisconnectFromServiceOutput, error)

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

func (*IClient) FinalizeCutover

func (_m *IClient) FinalizeCutover(ctx context.Context, params *mgn.FinalizeCutoverInput, optFns ...func(*mgn.Options)) (*mgn.FinalizeCutoverOutput, error)

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

func (*IClient) GetLaunchConfiguration

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

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

func (*IClient) GetReplicationConfiguration

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

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

func (*IClient) InitializeService

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

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

func (*IClient) ListApplications

func (_m *IClient) ListApplications(ctx context.Context, params *mgn.ListApplicationsInput, optFns ...func(*mgn.Options)) (*mgn.ListApplicationsOutput, error)

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

func (*IClient) ListConnectors

func (_m *IClient) ListConnectors(ctx context.Context, params *mgn.ListConnectorsInput, optFns ...func(*mgn.Options)) (*mgn.ListConnectorsOutput, error)

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

func (*IClient) ListExportErrors

func (_m *IClient) ListExportErrors(ctx context.Context, params *mgn.ListExportErrorsInput, optFns ...func(*mgn.Options)) (*mgn.ListExportErrorsOutput, error)

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

func (*IClient) ListExports

func (_m *IClient) ListExports(ctx context.Context, params *mgn.ListExportsInput, optFns ...func(*mgn.Options)) (*mgn.ListExportsOutput, error)

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

func (*IClient) ListImportErrors

func (_m *IClient) ListImportErrors(ctx context.Context, params *mgn.ListImportErrorsInput, optFns ...func(*mgn.Options)) (*mgn.ListImportErrorsOutput, error)

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

func (*IClient) ListImports

func (_m *IClient) ListImports(ctx context.Context, params *mgn.ListImportsInput, optFns ...func(*mgn.Options)) (*mgn.ListImportsOutput, error)

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

func (*IClient) ListManagedAccounts

func (_m *IClient) ListManagedAccounts(ctx context.Context, params *mgn.ListManagedAccountsInput, optFns ...func(*mgn.Options)) (*mgn.ListManagedAccountsOutput, error)

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

func (*IClient) ListSourceServerActions

func (_m *IClient) ListSourceServerActions(ctx context.Context, params *mgn.ListSourceServerActionsInput, optFns ...func(*mgn.Options)) (*mgn.ListSourceServerActionsOutput, error)

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

func (*IClient) ListTagsForResource

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

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

func (*IClient) ListTemplateActions

func (_m *IClient) ListTemplateActions(ctx context.Context, params *mgn.ListTemplateActionsInput, optFns ...func(*mgn.Options)) (*mgn.ListTemplateActionsOutput, error)

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

func (*IClient) ListWaves

func (_m *IClient) ListWaves(ctx context.Context, params *mgn.ListWavesInput, optFns ...func(*mgn.Options)) (*mgn.ListWavesOutput, error)

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

func (*IClient) MarkAsArchived

func (_m *IClient) MarkAsArchived(ctx context.Context, params *mgn.MarkAsArchivedInput, optFns ...func(*mgn.Options)) (*mgn.MarkAsArchivedOutput, error)

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) PauseReplication

func (_m *IClient) PauseReplication(ctx context.Context, params *mgn.PauseReplicationInput, optFns ...func(*mgn.Options)) (*mgn.PauseReplicationOutput, error)

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

func (*IClient) PutSourceServerAction

func (_m *IClient) PutSourceServerAction(ctx context.Context, params *mgn.PutSourceServerActionInput, optFns ...func(*mgn.Options)) (*mgn.PutSourceServerActionOutput, error)

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

func (*IClient) PutTemplateAction

func (_m *IClient) PutTemplateAction(ctx context.Context, params *mgn.PutTemplateActionInput, optFns ...func(*mgn.Options)) (*mgn.PutTemplateActionOutput, error)

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

func (*IClient) RemoveSourceServerAction

func (_m *IClient) RemoveSourceServerAction(ctx context.Context, params *mgn.RemoveSourceServerActionInput, optFns ...func(*mgn.Options)) (*mgn.RemoveSourceServerActionOutput, error)

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

func (*IClient) RemoveTemplateAction

func (_m *IClient) RemoveTemplateAction(ctx context.Context, params *mgn.RemoveTemplateActionInput, optFns ...func(*mgn.Options)) (*mgn.RemoveTemplateActionOutput, error)

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

func (*IClient) ResumeReplication

func (_m *IClient) ResumeReplication(ctx context.Context, params *mgn.ResumeReplicationInput, optFns ...func(*mgn.Options)) (*mgn.ResumeReplicationOutput, error)

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

func (*IClient) RetryDataReplication

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

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

func (*IClient) StartCutover

func (_m *IClient) StartCutover(ctx context.Context, params *mgn.StartCutoverInput, optFns ...func(*mgn.Options)) (*mgn.StartCutoverOutput, error)

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

func (*IClient) StartExport

func (_m *IClient) StartExport(ctx context.Context, params *mgn.StartExportInput, optFns ...func(*mgn.Options)) (*mgn.StartExportOutput, error)

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

func (*IClient) StartImport

func (_m *IClient) StartImport(ctx context.Context, params *mgn.StartImportInput, optFns ...func(*mgn.Options)) (*mgn.StartImportOutput, error)

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

func (*IClient) StartReplication

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

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

func (*IClient) StartTest

func (_m *IClient) StartTest(ctx context.Context, params *mgn.StartTestInput, optFns ...func(*mgn.Options)) (*mgn.StartTestOutput, error)

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

func (*IClient) StopReplication

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

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

func (*IClient) TagResource

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

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

func (*IClient) TerminateTargetInstances

func (_m *IClient) TerminateTargetInstances(ctx context.Context, params *mgn.TerminateTargetInstancesInput, optFns ...func(*mgn.Options)) (*mgn.TerminateTargetInstancesOutput, error)

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

func (*IClient) UnarchiveApplication

func (_m *IClient) UnarchiveApplication(ctx context.Context, params *mgn.UnarchiveApplicationInput, optFns ...func(*mgn.Options)) (*mgn.UnarchiveApplicationOutput, error)

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

func (*IClient) UnarchiveWave

func (_m *IClient) UnarchiveWave(ctx context.Context, params *mgn.UnarchiveWaveInput, optFns ...func(*mgn.Options)) (*mgn.UnarchiveWaveOutput, error)

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

func (*IClient) UntagResource

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

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

func (*IClient) UpdateApplication

func (_m *IClient) UpdateApplication(ctx context.Context, params *mgn.UpdateApplicationInput, optFns ...func(*mgn.Options)) (*mgn.UpdateApplicationOutput, error)

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

func (*IClient) UpdateConnector

func (_m *IClient) UpdateConnector(ctx context.Context, params *mgn.UpdateConnectorInput, optFns ...func(*mgn.Options)) (*mgn.UpdateConnectorOutput, error)

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

func (*IClient) UpdateLaunchConfiguration

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

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

func (*IClient) UpdateLaunchConfigurationTemplate

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

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

func (*IClient) UpdateReplicationConfiguration

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

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

func (*IClient) UpdateReplicationConfigurationTemplate

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

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

func (*IClient) UpdateSourceServer

func (_m *IClient) UpdateSourceServer(ctx context.Context, params *mgn.UpdateSourceServerInput, optFns ...func(*mgn.Options)) (*mgn.UpdateSourceServerOutput, error)

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

func (*IClient) UpdateSourceServerReplicationType

func (_m *IClient) UpdateSourceServerReplicationType(ctx context.Context, params *mgn.UpdateSourceServerReplicationTypeInput, optFns ...func(*mgn.Options)) (*mgn.UpdateSourceServerReplicationTypeOutput, error)

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

func (*IClient) UpdateWave

func (_m *IClient) UpdateWave(ctx context.Context, params *mgn.UpdateWaveInput, optFns ...func(*mgn.Options)) (*mgn.UpdateWaveOutput, error)

UpdateWave 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