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

func (_m *IClient) AddStorageSystem(ctx context.Context, params *datasync.AddStorageSystemInput, optFns ...func(*datasync.Options)) (*datasync.AddStorageSystemOutput, error)

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

func (*IClient) CancelTaskExecution

func (_m *IClient) CancelTaskExecution(ctx context.Context, params *datasync.CancelTaskExecutionInput, optFns ...func(*datasync.Options)) (*datasync.CancelTaskExecutionOutput, error)

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

func (*IClient) CreateAgent

func (_m *IClient) CreateAgent(ctx context.Context, params *datasync.CreateAgentInput, optFns ...func(*datasync.Options)) (*datasync.CreateAgentOutput, error)

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

func (*IClient) CreateLocationAzureBlob

func (_m *IClient) CreateLocationAzureBlob(ctx context.Context, params *datasync.CreateLocationAzureBlobInput, optFns ...func(*datasync.Options)) (*datasync.CreateLocationAzureBlobOutput, error)

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

func (*IClient) CreateLocationEfs

func (_m *IClient) CreateLocationEfs(ctx context.Context, params *datasync.CreateLocationEfsInput, optFns ...func(*datasync.Options)) (*datasync.CreateLocationEfsOutput, error)

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

func (*IClient) CreateLocationFsxLustre

func (_m *IClient) CreateLocationFsxLustre(ctx context.Context, params *datasync.CreateLocationFsxLustreInput, optFns ...func(*datasync.Options)) (*datasync.CreateLocationFsxLustreOutput, error)

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

func (*IClient) CreateLocationFsxOntap

func (_m *IClient) CreateLocationFsxOntap(ctx context.Context, params *datasync.CreateLocationFsxOntapInput, optFns ...func(*datasync.Options)) (*datasync.CreateLocationFsxOntapOutput, error)

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

func (*IClient) CreateLocationFsxOpenZfs

func (_m *IClient) CreateLocationFsxOpenZfs(ctx context.Context, params *datasync.CreateLocationFsxOpenZfsInput, optFns ...func(*datasync.Options)) (*datasync.CreateLocationFsxOpenZfsOutput, error)

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

func (*IClient) CreateLocationFsxWindows

func (_m *IClient) CreateLocationFsxWindows(ctx context.Context, params *datasync.CreateLocationFsxWindowsInput, optFns ...func(*datasync.Options)) (*datasync.CreateLocationFsxWindowsOutput, error)

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

func (*IClient) CreateLocationHdfs

func (_m *IClient) CreateLocationHdfs(ctx context.Context, params *datasync.CreateLocationHdfsInput, optFns ...func(*datasync.Options)) (*datasync.CreateLocationHdfsOutput, error)

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

func (*IClient) CreateLocationNfs

func (_m *IClient) CreateLocationNfs(ctx context.Context, params *datasync.CreateLocationNfsInput, optFns ...func(*datasync.Options)) (*datasync.CreateLocationNfsOutput, error)

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

func (*IClient) CreateLocationObjectStorage

func (_m *IClient) CreateLocationObjectStorage(ctx context.Context, params *datasync.CreateLocationObjectStorageInput, optFns ...func(*datasync.Options)) (*datasync.CreateLocationObjectStorageOutput, error)

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

func (*IClient) CreateLocationS3

func (_m *IClient) CreateLocationS3(ctx context.Context, params *datasync.CreateLocationS3Input, optFns ...func(*datasync.Options)) (*datasync.CreateLocationS3Output, error)

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

func (*IClient) CreateLocationSmb

func (_m *IClient) CreateLocationSmb(ctx context.Context, params *datasync.CreateLocationSmbInput, optFns ...func(*datasync.Options)) (*datasync.CreateLocationSmbOutput, error)

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

func (*IClient) CreateTask

func (_m *IClient) CreateTask(ctx context.Context, params *datasync.CreateTaskInput, optFns ...func(*datasync.Options)) (*datasync.CreateTaskOutput, error)

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

func (*IClient) DeleteAgent

func (_m *IClient) DeleteAgent(ctx context.Context, params *datasync.DeleteAgentInput, optFns ...func(*datasync.Options)) (*datasync.DeleteAgentOutput, error)

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

func (*IClient) DeleteLocation

func (_m *IClient) DeleteLocation(ctx context.Context, params *datasync.DeleteLocationInput, optFns ...func(*datasync.Options)) (*datasync.DeleteLocationOutput, error)

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

func (*IClient) DeleteTask

func (_m *IClient) DeleteTask(ctx context.Context, params *datasync.DeleteTaskInput, optFns ...func(*datasync.Options)) (*datasync.DeleteTaskOutput, error)

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

func (*IClient) DescribeAgent

func (_m *IClient) DescribeAgent(ctx context.Context, params *datasync.DescribeAgentInput, optFns ...func(*datasync.Options)) (*datasync.DescribeAgentOutput, error)

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

func (*IClient) DescribeDiscoveryJob

func (_m *IClient) DescribeDiscoveryJob(ctx context.Context, params *datasync.DescribeDiscoveryJobInput, optFns ...func(*datasync.Options)) (*datasync.DescribeDiscoveryJobOutput, error)

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

func (*IClient) DescribeLocationAzureBlob

func (_m *IClient) DescribeLocationAzureBlob(ctx context.Context, params *datasync.DescribeLocationAzureBlobInput, optFns ...func(*datasync.Options)) (*datasync.DescribeLocationAzureBlobOutput, error)

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

func (*IClient) DescribeLocationEfs

func (_m *IClient) DescribeLocationEfs(ctx context.Context, params *datasync.DescribeLocationEfsInput, optFns ...func(*datasync.Options)) (*datasync.DescribeLocationEfsOutput, error)

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

func (*IClient) DescribeLocationFsxLustre

func (_m *IClient) DescribeLocationFsxLustre(ctx context.Context, params *datasync.DescribeLocationFsxLustreInput, optFns ...func(*datasync.Options)) (*datasync.DescribeLocationFsxLustreOutput, error)

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

func (*IClient) DescribeLocationFsxOntap

func (_m *IClient) DescribeLocationFsxOntap(ctx context.Context, params *datasync.DescribeLocationFsxOntapInput, optFns ...func(*datasync.Options)) (*datasync.DescribeLocationFsxOntapOutput, error)

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

func (*IClient) DescribeLocationFsxOpenZfs

func (_m *IClient) DescribeLocationFsxOpenZfs(ctx context.Context, params *datasync.DescribeLocationFsxOpenZfsInput, optFns ...func(*datasync.Options)) (*datasync.DescribeLocationFsxOpenZfsOutput, error)

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

func (*IClient) DescribeLocationFsxWindows

func (_m *IClient) DescribeLocationFsxWindows(ctx context.Context, params *datasync.DescribeLocationFsxWindowsInput, optFns ...func(*datasync.Options)) (*datasync.DescribeLocationFsxWindowsOutput, error)

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

func (*IClient) DescribeLocationHdfs

func (_m *IClient) DescribeLocationHdfs(ctx context.Context, params *datasync.DescribeLocationHdfsInput, optFns ...func(*datasync.Options)) (*datasync.DescribeLocationHdfsOutput, error)

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

func (*IClient) DescribeLocationNfs

func (_m *IClient) DescribeLocationNfs(ctx context.Context, params *datasync.DescribeLocationNfsInput, optFns ...func(*datasync.Options)) (*datasync.DescribeLocationNfsOutput, error)

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

func (*IClient) DescribeLocationObjectStorage

func (_m *IClient) DescribeLocationObjectStorage(ctx context.Context, params *datasync.DescribeLocationObjectStorageInput, optFns ...func(*datasync.Options)) (*datasync.DescribeLocationObjectStorageOutput, error)

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

func (*IClient) DescribeLocationS3

func (_m *IClient) DescribeLocationS3(ctx context.Context, params *datasync.DescribeLocationS3Input, optFns ...func(*datasync.Options)) (*datasync.DescribeLocationS3Output, error)

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

func (*IClient) DescribeLocationSmb

func (_m *IClient) DescribeLocationSmb(ctx context.Context, params *datasync.DescribeLocationSmbInput, optFns ...func(*datasync.Options)) (*datasync.DescribeLocationSmbOutput, error)

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

func (*IClient) DescribeStorageSystem

func (_m *IClient) DescribeStorageSystem(ctx context.Context, params *datasync.DescribeStorageSystemInput, optFns ...func(*datasync.Options)) (*datasync.DescribeStorageSystemOutput, error)

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

func (*IClient) DescribeStorageSystemResourceMetrics

func (_m *IClient) DescribeStorageSystemResourceMetrics(ctx context.Context, params *datasync.DescribeStorageSystemResourceMetricsInput, optFns ...func(*datasync.Options)) (*datasync.DescribeStorageSystemResourceMetricsOutput, error)

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

func (*IClient) DescribeStorageSystemResources

func (_m *IClient) DescribeStorageSystemResources(ctx context.Context, params *datasync.DescribeStorageSystemResourcesInput, optFns ...func(*datasync.Options)) (*datasync.DescribeStorageSystemResourcesOutput, error)

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

func (*IClient) DescribeTask

func (_m *IClient) DescribeTask(ctx context.Context, params *datasync.DescribeTaskInput, optFns ...func(*datasync.Options)) (*datasync.DescribeTaskOutput, error)

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

func (*IClient) DescribeTaskExecution

func (_m *IClient) DescribeTaskExecution(ctx context.Context, params *datasync.DescribeTaskExecutionInput, optFns ...func(*datasync.Options)) (*datasync.DescribeTaskExecutionOutput, error)

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

func (*IClient) GenerateRecommendations

func (_m *IClient) GenerateRecommendations(ctx context.Context, params *datasync.GenerateRecommendationsInput, optFns ...func(*datasync.Options)) (*datasync.GenerateRecommendationsOutput, error)

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

func (*IClient) ListAgents

func (_m *IClient) ListAgents(ctx context.Context, params *datasync.ListAgentsInput, optFns ...func(*datasync.Options)) (*datasync.ListAgentsOutput, error)

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

func (*IClient) ListDiscoveryJobs

func (_m *IClient) ListDiscoveryJobs(ctx context.Context, params *datasync.ListDiscoveryJobsInput, optFns ...func(*datasync.Options)) (*datasync.ListDiscoveryJobsOutput, error)

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

func (*IClient) ListLocations

func (_m *IClient) ListLocations(ctx context.Context, params *datasync.ListLocationsInput, optFns ...func(*datasync.Options)) (*datasync.ListLocationsOutput, error)

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

func (*IClient) ListStorageSystems

func (_m *IClient) ListStorageSystems(ctx context.Context, params *datasync.ListStorageSystemsInput, optFns ...func(*datasync.Options)) (*datasync.ListStorageSystemsOutput, error)

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

func (*IClient) ListTagsForResource

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

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

func (*IClient) ListTaskExecutions

func (_m *IClient) ListTaskExecutions(ctx context.Context, params *datasync.ListTaskExecutionsInput, optFns ...func(*datasync.Options)) (*datasync.ListTaskExecutionsOutput, error)

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

func (*IClient) ListTasks

func (_m *IClient) ListTasks(ctx context.Context, params *datasync.ListTasksInput, optFns ...func(*datasync.Options)) (*datasync.ListTasksOutput, error)

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) RemoveStorageSystem

func (_m *IClient) RemoveStorageSystem(ctx context.Context, params *datasync.RemoveStorageSystemInput, optFns ...func(*datasync.Options)) (*datasync.RemoveStorageSystemOutput, error)

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

func (*IClient) StartDiscoveryJob

func (_m *IClient) StartDiscoveryJob(ctx context.Context, params *datasync.StartDiscoveryJobInput, optFns ...func(*datasync.Options)) (*datasync.StartDiscoveryJobOutput, error)

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

func (*IClient) StartTaskExecution

func (_m *IClient) StartTaskExecution(ctx context.Context, params *datasync.StartTaskExecutionInput, optFns ...func(*datasync.Options)) (*datasync.StartTaskExecutionOutput, error)

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

func (*IClient) StopDiscoveryJob

func (_m *IClient) StopDiscoveryJob(ctx context.Context, params *datasync.StopDiscoveryJobInput, optFns ...func(*datasync.Options)) (*datasync.StopDiscoveryJobOutput, error)

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

func (*IClient) TagResource

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

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

func (*IClient) UntagResource

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

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

func (*IClient) UpdateAgent

func (_m *IClient) UpdateAgent(ctx context.Context, params *datasync.UpdateAgentInput, optFns ...func(*datasync.Options)) (*datasync.UpdateAgentOutput, error)

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

func (*IClient) UpdateDiscoveryJob

func (_m *IClient) UpdateDiscoveryJob(ctx context.Context, params *datasync.UpdateDiscoveryJobInput, optFns ...func(*datasync.Options)) (*datasync.UpdateDiscoveryJobOutput, error)

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

func (*IClient) UpdateLocationAzureBlob

func (_m *IClient) UpdateLocationAzureBlob(ctx context.Context, params *datasync.UpdateLocationAzureBlobInput, optFns ...func(*datasync.Options)) (*datasync.UpdateLocationAzureBlobOutput, error)

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

func (*IClient) UpdateLocationHdfs

func (_m *IClient) UpdateLocationHdfs(ctx context.Context, params *datasync.UpdateLocationHdfsInput, optFns ...func(*datasync.Options)) (*datasync.UpdateLocationHdfsOutput, error)

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

func (*IClient) UpdateLocationNfs

func (_m *IClient) UpdateLocationNfs(ctx context.Context, params *datasync.UpdateLocationNfsInput, optFns ...func(*datasync.Options)) (*datasync.UpdateLocationNfsOutput, error)

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

func (*IClient) UpdateLocationObjectStorage

func (_m *IClient) UpdateLocationObjectStorage(ctx context.Context, params *datasync.UpdateLocationObjectStorageInput, optFns ...func(*datasync.Options)) (*datasync.UpdateLocationObjectStorageOutput, error)

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

func (*IClient) UpdateLocationSmb

func (_m *IClient) UpdateLocationSmb(ctx context.Context, params *datasync.UpdateLocationSmbInput, optFns ...func(*datasync.Options)) (*datasync.UpdateLocationSmbOutput, error)

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

func (*IClient) UpdateStorageSystem

func (_m *IClient) UpdateStorageSystem(ctx context.Context, params *datasync.UpdateStorageSystemInput, optFns ...func(*datasync.Options)) (*datasync.UpdateStorageSystemOutput, error)

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

func (*IClient) UpdateTask

func (_m *IClient) UpdateTask(ctx context.Context, params *datasync.UpdateTaskInput, optFns ...func(*datasync.Options)) (*datasync.UpdateTaskOutput, error)

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

func (*IClient) UpdateTaskExecution

func (_m *IClient) UpdateTaskExecution(ctx context.Context, params *datasync.UpdateTaskExecutionInput, optFns ...func(*datasync.Options)) (*datasync.UpdateTaskExecutionOutput, error)

UpdateTaskExecution 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