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

func (_m *IClient) CreateApp(ctx context.Context, params *amplify.CreateAppInput, optFns ...func(*amplify.Options)) (*amplify.CreateAppOutput, error)

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

func (*IClient) CreateBackendEnvironment

func (_m *IClient) CreateBackendEnvironment(ctx context.Context, params *amplify.CreateBackendEnvironmentInput, optFns ...func(*amplify.Options)) (*amplify.CreateBackendEnvironmentOutput, error)

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

func (*IClient) CreateBranch

func (_m *IClient) CreateBranch(ctx context.Context, params *amplify.CreateBranchInput, optFns ...func(*amplify.Options)) (*amplify.CreateBranchOutput, error)

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

func (*IClient) CreateDeployment

func (_m *IClient) CreateDeployment(ctx context.Context, params *amplify.CreateDeploymentInput, optFns ...func(*amplify.Options)) (*amplify.CreateDeploymentOutput, error)

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

func (*IClient) CreateDomainAssociation

func (_m *IClient) CreateDomainAssociation(ctx context.Context, params *amplify.CreateDomainAssociationInput, optFns ...func(*amplify.Options)) (*amplify.CreateDomainAssociationOutput, error)

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

func (*IClient) CreateWebhook

func (_m *IClient) CreateWebhook(ctx context.Context, params *amplify.CreateWebhookInput, optFns ...func(*amplify.Options)) (*amplify.CreateWebhookOutput, error)

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

func (*IClient) DeleteApp

func (_m *IClient) DeleteApp(ctx context.Context, params *amplify.DeleteAppInput, optFns ...func(*amplify.Options)) (*amplify.DeleteAppOutput, error)

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

func (*IClient) DeleteBackendEnvironment

func (_m *IClient) DeleteBackendEnvironment(ctx context.Context, params *amplify.DeleteBackendEnvironmentInput, optFns ...func(*amplify.Options)) (*amplify.DeleteBackendEnvironmentOutput, error)

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

func (*IClient) DeleteBranch

func (_m *IClient) DeleteBranch(ctx context.Context, params *amplify.DeleteBranchInput, optFns ...func(*amplify.Options)) (*amplify.DeleteBranchOutput, error)

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

func (*IClient) DeleteDomainAssociation

func (_m *IClient) DeleteDomainAssociation(ctx context.Context, params *amplify.DeleteDomainAssociationInput, optFns ...func(*amplify.Options)) (*amplify.DeleteDomainAssociationOutput, error)

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

func (*IClient) DeleteJob

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

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

func (*IClient) DeleteWebhook

func (_m *IClient) DeleteWebhook(ctx context.Context, params *amplify.DeleteWebhookInput, optFns ...func(*amplify.Options)) (*amplify.DeleteWebhookOutput, error)

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

func (*IClient) GenerateAccessLogs

func (_m *IClient) GenerateAccessLogs(ctx context.Context, params *amplify.GenerateAccessLogsInput, optFns ...func(*amplify.Options)) (*amplify.GenerateAccessLogsOutput, error)

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

func (*IClient) GetApp

func (_m *IClient) GetApp(ctx context.Context, params *amplify.GetAppInput, optFns ...func(*amplify.Options)) (*amplify.GetAppOutput, error)

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

func (*IClient) GetArtifactUrl

func (_m *IClient) GetArtifactUrl(ctx context.Context, params *amplify.GetArtifactUrlInput, optFns ...func(*amplify.Options)) (*amplify.GetArtifactUrlOutput, error)

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

func (*IClient) GetBackendEnvironment

func (_m *IClient) GetBackendEnvironment(ctx context.Context, params *amplify.GetBackendEnvironmentInput, optFns ...func(*amplify.Options)) (*amplify.GetBackendEnvironmentOutput, error)

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

func (*IClient) GetBranch

func (_m *IClient) GetBranch(ctx context.Context, params *amplify.GetBranchInput, optFns ...func(*amplify.Options)) (*amplify.GetBranchOutput, error)

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

func (*IClient) GetDomainAssociation

func (_m *IClient) GetDomainAssociation(ctx context.Context, params *amplify.GetDomainAssociationInput, optFns ...func(*amplify.Options)) (*amplify.GetDomainAssociationOutput, error)

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

func (*IClient) GetJob

func (_m *IClient) GetJob(ctx context.Context, params *amplify.GetJobInput, optFns ...func(*amplify.Options)) (*amplify.GetJobOutput, error)

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

func (*IClient) GetWebhook

func (_m *IClient) GetWebhook(ctx context.Context, params *amplify.GetWebhookInput, optFns ...func(*amplify.Options)) (*amplify.GetWebhookOutput, error)

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

func (*IClient) ListApps

func (_m *IClient) ListApps(ctx context.Context, params *amplify.ListAppsInput, optFns ...func(*amplify.Options)) (*amplify.ListAppsOutput, error)

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

func (*IClient) ListArtifacts

func (_m *IClient) ListArtifacts(ctx context.Context, params *amplify.ListArtifactsInput, optFns ...func(*amplify.Options)) (*amplify.ListArtifactsOutput, error)

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

func (*IClient) ListBackendEnvironments

func (_m *IClient) ListBackendEnvironments(ctx context.Context, params *amplify.ListBackendEnvironmentsInput, optFns ...func(*amplify.Options)) (*amplify.ListBackendEnvironmentsOutput, error)

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

func (*IClient) ListBranches

func (_m *IClient) ListBranches(ctx context.Context, params *amplify.ListBranchesInput, optFns ...func(*amplify.Options)) (*amplify.ListBranchesOutput, error)

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

func (*IClient) ListDomainAssociations

func (_m *IClient) ListDomainAssociations(ctx context.Context, params *amplify.ListDomainAssociationsInput, optFns ...func(*amplify.Options)) (*amplify.ListDomainAssociationsOutput, error)

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

func (*IClient) ListJobs

func (_m *IClient) ListJobs(ctx context.Context, params *amplify.ListJobsInput, optFns ...func(*amplify.Options)) (*amplify.ListJobsOutput, error)

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

func (*IClient) ListTagsForResource

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

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

func (*IClient) ListWebhooks

func (_m *IClient) ListWebhooks(ctx context.Context, params *amplify.ListWebhooksInput, optFns ...func(*amplify.Options)) (*amplify.ListWebhooksOutput, error)

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) StartDeployment

func (_m *IClient) StartDeployment(ctx context.Context, params *amplify.StartDeploymentInput, optFns ...func(*amplify.Options)) (*amplify.StartDeploymentOutput, error)

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

func (*IClient) StartJob

func (_m *IClient) StartJob(ctx context.Context, params *amplify.StartJobInput, optFns ...func(*amplify.Options)) (*amplify.StartJobOutput, error)

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

func (*IClient) StopJob

func (_m *IClient) StopJob(ctx context.Context, params *amplify.StopJobInput, optFns ...func(*amplify.Options)) (*amplify.StopJobOutput, error)

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

func (*IClient) TagResource

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

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

func (*IClient) UntagResource

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

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

func (*IClient) UpdateApp

func (_m *IClient) UpdateApp(ctx context.Context, params *amplify.UpdateAppInput, optFns ...func(*amplify.Options)) (*amplify.UpdateAppOutput, error)

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

func (*IClient) UpdateBranch

func (_m *IClient) UpdateBranch(ctx context.Context, params *amplify.UpdateBranchInput, optFns ...func(*amplify.Options)) (*amplify.UpdateBranchOutput, error)

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

func (*IClient) UpdateDomainAssociation

func (_m *IClient) UpdateDomainAssociation(ctx context.Context, params *amplify.UpdateDomainAssociationInput, optFns ...func(*amplify.Options)) (*amplify.UpdateDomainAssociationOutput, error)

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

func (*IClient) UpdateWebhook

func (_m *IClient) UpdateWebhook(ctx context.Context, params *amplify.UpdateWebhookInput, optFns ...func(*amplify.Options)) (*amplify.UpdateWebhookOutput, error)

UpdateWebhook 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