mocks

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 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) AssociateFileSystemAliases

func (_m *IClient) AssociateFileSystemAliases(ctx context.Context, params *fsx.AssociateFileSystemAliasesInput, optFns ...func(*fsx.Options)) (*fsx.AssociateFileSystemAliasesOutput, error)

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

func (*IClient) CancelDataRepositoryTask

func (_m *IClient) CancelDataRepositoryTask(ctx context.Context, params *fsx.CancelDataRepositoryTaskInput, optFns ...func(*fsx.Options)) (*fsx.CancelDataRepositoryTaskOutput, error)

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

func (*IClient) CopyBackup

func (_m *IClient) CopyBackup(ctx context.Context, params *fsx.CopyBackupInput, optFns ...func(*fsx.Options)) (*fsx.CopyBackupOutput, error)

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

func (*IClient) CopySnapshotAndUpdateVolume

func (_m *IClient) CopySnapshotAndUpdateVolume(ctx context.Context, params *fsx.CopySnapshotAndUpdateVolumeInput, optFns ...func(*fsx.Options)) (*fsx.CopySnapshotAndUpdateVolumeOutput, error)

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

func (*IClient) CreateBackup

func (_m *IClient) CreateBackup(ctx context.Context, params *fsx.CreateBackupInput, optFns ...func(*fsx.Options)) (*fsx.CreateBackupOutput, error)

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

func (*IClient) CreateDataRepositoryAssociation

func (_m *IClient) CreateDataRepositoryAssociation(ctx context.Context, params *fsx.CreateDataRepositoryAssociationInput, optFns ...func(*fsx.Options)) (*fsx.CreateDataRepositoryAssociationOutput, error)

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

func (*IClient) CreateDataRepositoryTask

func (_m *IClient) CreateDataRepositoryTask(ctx context.Context, params *fsx.CreateDataRepositoryTaskInput, optFns ...func(*fsx.Options)) (*fsx.CreateDataRepositoryTaskOutput, error)

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

func (*IClient) CreateFileCache

func (_m *IClient) CreateFileCache(ctx context.Context, params *fsx.CreateFileCacheInput, optFns ...func(*fsx.Options)) (*fsx.CreateFileCacheOutput, error)

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

func (*IClient) CreateFileSystem

func (_m *IClient) CreateFileSystem(ctx context.Context, params *fsx.CreateFileSystemInput, optFns ...func(*fsx.Options)) (*fsx.CreateFileSystemOutput, error)

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

func (*IClient) CreateFileSystemFromBackup

func (_m *IClient) CreateFileSystemFromBackup(ctx context.Context, params *fsx.CreateFileSystemFromBackupInput, optFns ...func(*fsx.Options)) (*fsx.CreateFileSystemFromBackupOutput, error)

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

func (*IClient) CreateSnapshot

func (_m *IClient) CreateSnapshot(ctx context.Context, params *fsx.CreateSnapshotInput, optFns ...func(*fsx.Options)) (*fsx.CreateSnapshotOutput, error)

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

func (*IClient) CreateStorageVirtualMachine

func (_m *IClient) CreateStorageVirtualMachine(ctx context.Context, params *fsx.CreateStorageVirtualMachineInput, optFns ...func(*fsx.Options)) (*fsx.CreateStorageVirtualMachineOutput, error)

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

func (*IClient) CreateVolume

func (_m *IClient) CreateVolume(ctx context.Context, params *fsx.CreateVolumeInput, optFns ...func(*fsx.Options)) (*fsx.CreateVolumeOutput, error)

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

func (*IClient) CreateVolumeFromBackup

func (_m *IClient) CreateVolumeFromBackup(ctx context.Context, params *fsx.CreateVolumeFromBackupInput, optFns ...func(*fsx.Options)) (*fsx.CreateVolumeFromBackupOutput, error)

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

func (*IClient) DeleteBackup

func (_m *IClient) DeleteBackup(ctx context.Context, params *fsx.DeleteBackupInput, optFns ...func(*fsx.Options)) (*fsx.DeleteBackupOutput, error)

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

func (*IClient) DeleteDataRepositoryAssociation

func (_m *IClient) DeleteDataRepositoryAssociation(ctx context.Context, params *fsx.DeleteDataRepositoryAssociationInput, optFns ...func(*fsx.Options)) (*fsx.DeleteDataRepositoryAssociationOutput, error)

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

func (*IClient) DeleteFileCache

func (_m *IClient) DeleteFileCache(ctx context.Context, params *fsx.DeleteFileCacheInput, optFns ...func(*fsx.Options)) (*fsx.DeleteFileCacheOutput, error)

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

func (*IClient) DeleteFileSystem

func (_m *IClient) DeleteFileSystem(ctx context.Context, params *fsx.DeleteFileSystemInput, optFns ...func(*fsx.Options)) (*fsx.DeleteFileSystemOutput, error)

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

func (*IClient) DeleteSnapshot

func (_m *IClient) DeleteSnapshot(ctx context.Context, params *fsx.DeleteSnapshotInput, optFns ...func(*fsx.Options)) (*fsx.DeleteSnapshotOutput, error)

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

func (*IClient) DeleteStorageVirtualMachine

func (_m *IClient) DeleteStorageVirtualMachine(ctx context.Context, params *fsx.DeleteStorageVirtualMachineInput, optFns ...func(*fsx.Options)) (*fsx.DeleteStorageVirtualMachineOutput, error)

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

func (*IClient) DeleteVolume

func (_m *IClient) DeleteVolume(ctx context.Context, params *fsx.DeleteVolumeInput, optFns ...func(*fsx.Options)) (*fsx.DeleteVolumeOutput, error)

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

func (*IClient) DescribeBackups

func (_m *IClient) DescribeBackups(ctx context.Context, params *fsx.DescribeBackupsInput, optFns ...func(*fsx.Options)) (*fsx.DescribeBackupsOutput, error)

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

func (*IClient) DescribeDataRepositoryAssociations

func (_m *IClient) DescribeDataRepositoryAssociations(ctx context.Context, params *fsx.DescribeDataRepositoryAssociationsInput, optFns ...func(*fsx.Options)) (*fsx.DescribeDataRepositoryAssociationsOutput, error)

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

func (*IClient) DescribeDataRepositoryTasks

func (_m *IClient) DescribeDataRepositoryTasks(ctx context.Context, params *fsx.DescribeDataRepositoryTasksInput, optFns ...func(*fsx.Options)) (*fsx.DescribeDataRepositoryTasksOutput, error)

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

func (*IClient) DescribeFileCaches

func (_m *IClient) DescribeFileCaches(ctx context.Context, params *fsx.DescribeFileCachesInput, optFns ...func(*fsx.Options)) (*fsx.DescribeFileCachesOutput, error)

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

func (*IClient) DescribeFileSystemAliases

func (_m *IClient) DescribeFileSystemAliases(ctx context.Context, params *fsx.DescribeFileSystemAliasesInput, optFns ...func(*fsx.Options)) (*fsx.DescribeFileSystemAliasesOutput, error)

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

func (*IClient) DescribeFileSystems

func (_m *IClient) DescribeFileSystems(ctx context.Context, params *fsx.DescribeFileSystemsInput, optFns ...func(*fsx.Options)) (*fsx.DescribeFileSystemsOutput, error)

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

func (*IClient) DescribeSharedVpcConfiguration

func (_m *IClient) DescribeSharedVpcConfiguration(ctx context.Context, params *fsx.DescribeSharedVpcConfigurationInput, optFns ...func(*fsx.Options)) (*fsx.DescribeSharedVpcConfigurationOutput, error)

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

func (*IClient) DescribeSnapshots

func (_m *IClient) DescribeSnapshots(ctx context.Context, params *fsx.DescribeSnapshotsInput, optFns ...func(*fsx.Options)) (*fsx.DescribeSnapshotsOutput, error)

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

func (*IClient) DescribeStorageVirtualMachines

func (_m *IClient) DescribeStorageVirtualMachines(ctx context.Context, params *fsx.DescribeStorageVirtualMachinesInput, optFns ...func(*fsx.Options)) (*fsx.DescribeStorageVirtualMachinesOutput, error)

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

func (*IClient) DescribeVolumes

func (_m *IClient) DescribeVolumes(ctx context.Context, params *fsx.DescribeVolumesInput, optFns ...func(*fsx.Options)) (*fsx.DescribeVolumesOutput, error)

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

func (*IClient) DisassociateFileSystemAliases

func (_m *IClient) DisassociateFileSystemAliases(ctx context.Context, params *fsx.DisassociateFileSystemAliasesInput, optFns ...func(*fsx.Options)) (*fsx.DisassociateFileSystemAliasesOutput, error)

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

func (*IClient) ListTagsForResource

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

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) ReleaseFileSystemNfsV3Locks

func (_m *IClient) ReleaseFileSystemNfsV3Locks(ctx context.Context, params *fsx.ReleaseFileSystemNfsV3LocksInput, optFns ...func(*fsx.Options)) (*fsx.ReleaseFileSystemNfsV3LocksOutput, error)

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

func (*IClient) RestoreVolumeFromSnapshot

func (_m *IClient) RestoreVolumeFromSnapshot(ctx context.Context, params *fsx.RestoreVolumeFromSnapshotInput, optFns ...func(*fsx.Options)) (*fsx.RestoreVolumeFromSnapshotOutput, error)

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

func (*IClient) StartMisconfiguredStateRecovery

func (_m *IClient) StartMisconfiguredStateRecovery(ctx context.Context, params *fsx.StartMisconfiguredStateRecoveryInput, optFns ...func(*fsx.Options)) (*fsx.StartMisconfiguredStateRecoveryOutput, error)

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

func (*IClient) TagResource

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

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

func (*IClient) UntagResource

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

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

func (*IClient) UpdateDataRepositoryAssociation

func (_m *IClient) UpdateDataRepositoryAssociation(ctx context.Context, params *fsx.UpdateDataRepositoryAssociationInput, optFns ...func(*fsx.Options)) (*fsx.UpdateDataRepositoryAssociationOutput, error)

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

func (*IClient) UpdateFileCache

func (_m *IClient) UpdateFileCache(ctx context.Context, params *fsx.UpdateFileCacheInput, optFns ...func(*fsx.Options)) (*fsx.UpdateFileCacheOutput, error)

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

func (*IClient) UpdateFileSystem

func (_m *IClient) UpdateFileSystem(ctx context.Context, params *fsx.UpdateFileSystemInput, optFns ...func(*fsx.Options)) (*fsx.UpdateFileSystemOutput, error)

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

func (*IClient) UpdateSharedVpcConfiguration

func (_m *IClient) UpdateSharedVpcConfiguration(ctx context.Context, params *fsx.UpdateSharedVpcConfigurationInput, optFns ...func(*fsx.Options)) (*fsx.UpdateSharedVpcConfigurationOutput, error)

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

func (*IClient) UpdateSnapshot

func (_m *IClient) UpdateSnapshot(ctx context.Context, params *fsx.UpdateSnapshotInput, optFns ...func(*fsx.Options)) (*fsx.UpdateSnapshotOutput, error)

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

func (*IClient) UpdateStorageVirtualMachine

func (_m *IClient) UpdateStorageVirtualMachine(ctx context.Context, params *fsx.UpdateStorageVirtualMachineInput, optFns ...func(*fsx.Options)) (*fsx.UpdateStorageVirtualMachineOutput, error)

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

func (*IClient) UpdateVolume

func (_m *IClient) UpdateVolume(ctx context.Context, params *fsx.UpdateVolumeInput, optFns ...func(*fsx.Options)) (*fsx.UpdateVolumeOutput, error)

UpdateVolume 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