mocks

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Aug 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) CreateAccess

func (_m *IClient) CreateAccess(ctx context.Context, params *transfer.CreateAccessInput, optFns ...func(*transfer.Options)) (*transfer.CreateAccessOutput, error)

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

func (*IClient) CreateAgreement

func (_m *IClient) CreateAgreement(ctx context.Context, params *transfer.CreateAgreementInput, optFns ...func(*transfer.Options)) (*transfer.CreateAgreementOutput, error)

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

func (*IClient) CreateConnector

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

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

func (*IClient) CreateProfile

func (_m *IClient) CreateProfile(ctx context.Context, params *transfer.CreateProfileInput, optFns ...func(*transfer.Options)) (*transfer.CreateProfileOutput, error)

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

func (*IClient) CreateServer

func (_m *IClient) CreateServer(ctx context.Context, params *transfer.CreateServerInput, optFns ...func(*transfer.Options)) (*transfer.CreateServerOutput, error)

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

func (*IClient) CreateUser

func (_m *IClient) CreateUser(ctx context.Context, params *transfer.CreateUserInput, optFns ...func(*transfer.Options)) (*transfer.CreateUserOutput, error)

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

func (*IClient) CreateWorkflow

func (_m *IClient) CreateWorkflow(ctx context.Context, params *transfer.CreateWorkflowInput, optFns ...func(*transfer.Options)) (*transfer.CreateWorkflowOutput, error)

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

func (*IClient) DeleteAccess

func (_m *IClient) DeleteAccess(ctx context.Context, params *transfer.DeleteAccessInput, optFns ...func(*transfer.Options)) (*transfer.DeleteAccessOutput, error)

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

func (*IClient) DeleteAgreement

func (_m *IClient) DeleteAgreement(ctx context.Context, params *transfer.DeleteAgreementInput, optFns ...func(*transfer.Options)) (*transfer.DeleteAgreementOutput, error)

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

func (*IClient) DeleteCertificate

func (_m *IClient) DeleteCertificate(ctx context.Context, params *transfer.DeleteCertificateInput, optFns ...func(*transfer.Options)) (*transfer.DeleteCertificateOutput, error)

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

func (*IClient) DeleteConnector

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

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

func (*IClient) DeleteHostKey

func (_m *IClient) DeleteHostKey(ctx context.Context, params *transfer.DeleteHostKeyInput, optFns ...func(*transfer.Options)) (*transfer.DeleteHostKeyOutput, error)

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

func (*IClient) DeleteProfile

func (_m *IClient) DeleteProfile(ctx context.Context, params *transfer.DeleteProfileInput, optFns ...func(*transfer.Options)) (*transfer.DeleteProfileOutput, error)

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

func (*IClient) DeleteServer

func (_m *IClient) DeleteServer(ctx context.Context, params *transfer.DeleteServerInput, optFns ...func(*transfer.Options)) (*transfer.DeleteServerOutput, error)

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

func (*IClient) DeleteSshPublicKey

func (_m *IClient) DeleteSshPublicKey(ctx context.Context, params *transfer.DeleteSshPublicKeyInput, optFns ...func(*transfer.Options)) (*transfer.DeleteSshPublicKeyOutput, error)

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

func (*IClient) DeleteUser

func (_m *IClient) DeleteUser(ctx context.Context, params *transfer.DeleteUserInput, optFns ...func(*transfer.Options)) (*transfer.DeleteUserOutput, error)

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

func (*IClient) DeleteWorkflow

func (_m *IClient) DeleteWorkflow(ctx context.Context, params *transfer.DeleteWorkflowInput, optFns ...func(*transfer.Options)) (*transfer.DeleteWorkflowOutput, error)

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

func (*IClient) DescribeAccess

func (_m *IClient) DescribeAccess(ctx context.Context, params *transfer.DescribeAccessInput, optFns ...func(*transfer.Options)) (*transfer.DescribeAccessOutput, error)

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

func (*IClient) DescribeAgreement

func (_m *IClient) DescribeAgreement(ctx context.Context, params *transfer.DescribeAgreementInput, optFns ...func(*transfer.Options)) (*transfer.DescribeAgreementOutput, error)

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

func (*IClient) DescribeCertificate

func (_m *IClient) DescribeCertificate(ctx context.Context, params *transfer.DescribeCertificateInput, optFns ...func(*transfer.Options)) (*transfer.DescribeCertificateOutput, error)

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

func (*IClient) DescribeConnector

func (_m *IClient) DescribeConnector(ctx context.Context, params *transfer.DescribeConnectorInput, optFns ...func(*transfer.Options)) (*transfer.DescribeConnectorOutput, error)

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

func (*IClient) DescribeExecution

func (_m *IClient) DescribeExecution(ctx context.Context, params *transfer.DescribeExecutionInput, optFns ...func(*transfer.Options)) (*transfer.DescribeExecutionOutput, error)

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

func (*IClient) DescribeHostKey

func (_m *IClient) DescribeHostKey(ctx context.Context, params *transfer.DescribeHostKeyInput, optFns ...func(*transfer.Options)) (*transfer.DescribeHostKeyOutput, error)

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

func (*IClient) DescribeProfile

func (_m *IClient) DescribeProfile(ctx context.Context, params *transfer.DescribeProfileInput, optFns ...func(*transfer.Options)) (*transfer.DescribeProfileOutput, error)

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

func (*IClient) DescribeSecurityPolicy

func (_m *IClient) DescribeSecurityPolicy(ctx context.Context, params *transfer.DescribeSecurityPolicyInput, optFns ...func(*transfer.Options)) (*transfer.DescribeSecurityPolicyOutput, error)

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

func (*IClient) DescribeServer

func (_m *IClient) DescribeServer(ctx context.Context, params *transfer.DescribeServerInput, optFns ...func(*transfer.Options)) (*transfer.DescribeServerOutput, error)

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

func (*IClient) DescribeUser

func (_m *IClient) DescribeUser(ctx context.Context, params *transfer.DescribeUserInput, optFns ...func(*transfer.Options)) (*transfer.DescribeUserOutput, error)

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

func (*IClient) DescribeWorkflow

func (_m *IClient) DescribeWorkflow(ctx context.Context, params *transfer.DescribeWorkflowInput, optFns ...func(*transfer.Options)) (*transfer.DescribeWorkflowOutput, error)

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

func (*IClient) ImportCertificate

func (_m *IClient) ImportCertificate(ctx context.Context, params *transfer.ImportCertificateInput, optFns ...func(*transfer.Options)) (*transfer.ImportCertificateOutput, error)

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

func (*IClient) ImportHostKey

func (_m *IClient) ImportHostKey(ctx context.Context, params *transfer.ImportHostKeyInput, optFns ...func(*transfer.Options)) (*transfer.ImportHostKeyOutput, error)

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

func (*IClient) ImportSshPublicKey

func (_m *IClient) ImportSshPublicKey(ctx context.Context, params *transfer.ImportSshPublicKeyInput, optFns ...func(*transfer.Options)) (*transfer.ImportSshPublicKeyOutput, error)

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

func (*IClient) ListAccesses

func (_m *IClient) ListAccesses(ctx context.Context, params *transfer.ListAccessesInput, optFns ...func(*transfer.Options)) (*transfer.ListAccessesOutput, error)

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

func (*IClient) ListAgreements

func (_m *IClient) ListAgreements(ctx context.Context, params *transfer.ListAgreementsInput, optFns ...func(*transfer.Options)) (*transfer.ListAgreementsOutput, error)

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

func (*IClient) ListCertificates

func (_m *IClient) ListCertificates(ctx context.Context, params *transfer.ListCertificatesInput, optFns ...func(*transfer.Options)) (*transfer.ListCertificatesOutput, error)

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

func (*IClient) ListConnectors

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

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

func (*IClient) ListExecutions

func (_m *IClient) ListExecutions(ctx context.Context, params *transfer.ListExecutionsInput, optFns ...func(*transfer.Options)) (*transfer.ListExecutionsOutput, error)

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

func (*IClient) ListHostKeys

func (_m *IClient) ListHostKeys(ctx context.Context, params *transfer.ListHostKeysInput, optFns ...func(*transfer.Options)) (*transfer.ListHostKeysOutput, error)

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

func (*IClient) ListProfiles

func (_m *IClient) ListProfiles(ctx context.Context, params *transfer.ListProfilesInput, optFns ...func(*transfer.Options)) (*transfer.ListProfilesOutput, error)

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

func (*IClient) ListSecurityPolicies

func (_m *IClient) ListSecurityPolicies(ctx context.Context, params *transfer.ListSecurityPoliciesInput, optFns ...func(*transfer.Options)) (*transfer.ListSecurityPoliciesOutput, error)

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

func (*IClient) ListServers

func (_m *IClient) ListServers(ctx context.Context, params *transfer.ListServersInput, optFns ...func(*transfer.Options)) (*transfer.ListServersOutput, error)

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

func (*IClient) ListTagsForResource

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

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

func (*IClient) ListUsers

func (_m *IClient) ListUsers(ctx context.Context, params *transfer.ListUsersInput, optFns ...func(*transfer.Options)) (*transfer.ListUsersOutput, error)

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

func (*IClient) ListWorkflows

func (_m *IClient) ListWorkflows(ctx context.Context, params *transfer.ListWorkflowsInput, optFns ...func(*transfer.Options)) (*transfer.ListWorkflowsOutput, error)

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) SendWorkflowStepState

func (_m *IClient) SendWorkflowStepState(ctx context.Context, params *transfer.SendWorkflowStepStateInput, optFns ...func(*transfer.Options)) (*transfer.SendWorkflowStepStateOutput, error)

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

func (*IClient) StartDirectoryListing

func (_m *IClient) StartDirectoryListing(ctx context.Context, params *transfer.StartDirectoryListingInput, optFns ...func(*transfer.Options)) (*transfer.StartDirectoryListingOutput, error)

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

func (*IClient) StartFileTransfer

func (_m *IClient) StartFileTransfer(ctx context.Context, params *transfer.StartFileTransferInput, optFns ...func(*transfer.Options)) (*transfer.StartFileTransferOutput, error)

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

func (*IClient) StartServer

func (_m *IClient) StartServer(ctx context.Context, params *transfer.StartServerInput, optFns ...func(*transfer.Options)) (*transfer.StartServerOutput, error)

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

func (*IClient) StopServer

func (_m *IClient) StopServer(ctx context.Context, params *transfer.StopServerInput, optFns ...func(*transfer.Options)) (*transfer.StopServerOutput, error)

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

func (*IClient) TagResource

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

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

func (*IClient) TestConnection

func (_m *IClient) TestConnection(ctx context.Context, params *transfer.TestConnectionInput, optFns ...func(*transfer.Options)) (*transfer.TestConnectionOutput, error)

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

func (*IClient) TestIdentityProvider

func (_m *IClient) TestIdentityProvider(ctx context.Context, params *transfer.TestIdentityProviderInput, optFns ...func(*transfer.Options)) (*transfer.TestIdentityProviderOutput, error)

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

func (*IClient) UntagResource

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

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

func (*IClient) UpdateAccess

func (_m *IClient) UpdateAccess(ctx context.Context, params *transfer.UpdateAccessInput, optFns ...func(*transfer.Options)) (*transfer.UpdateAccessOutput, error)

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

func (*IClient) UpdateAgreement

func (_m *IClient) UpdateAgreement(ctx context.Context, params *transfer.UpdateAgreementInput, optFns ...func(*transfer.Options)) (*transfer.UpdateAgreementOutput, error)

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

func (*IClient) UpdateCertificate

func (_m *IClient) UpdateCertificate(ctx context.Context, params *transfer.UpdateCertificateInput, optFns ...func(*transfer.Options)) (*transfer.UpdateCertificateOutput, error)

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

func (*IClient) UpdateConnector

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

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

func (*IClient) UpdateHostKey

func (_m *IClient) UpdateHostKey(ctx context.Context, params *transfer.UpdateHostKeyInput, optFns ...func(*transfer.Options)) (*transfer.UpdateHostKeyOutput, error)

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

func (*IClient) UpdateProfile

func (_m *IClient) UpdateProfile(ctx context.Context, params *transfer.UpdateProfileInput, optFns ...func(*transfer.Options)) (*transfer.UpdateProfileOutput, error)

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

func (*IClient) UpdateServer

func (_m *IClient) UpdateServer(ctx context.Context, params *transfer.UpdateServerInput, optFns ...func(*transfer.Options)) (*transfer.UpdateServerOutput, error)

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

func (*IClient) UpdateUser

func (_m *IClient) UpdateUser(ctx context.Context, params *transfer.UpdateUserInput, optFns ...func(*transfer.Options)) (*transfer.UpdateUserOutput, error)

UpdateUser 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