mocks

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 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) AssociateApprovalRuleTemplateWithRepository

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

func (*IClient) BatchAssociateApprovalRuleTemplateWithRepositories

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

func (*IClient) BatchDescribeMergeConflicts

func (_m *IClient) BatchDescribeMergeConflicts(ctx context.Context, params *codecommit.BatchDescribeMergeConflictsInput, optFns ...func(*codecommit.Options)) (*codecommit.BatchDescribeMergeConflictsOutput, error)

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

func (*IClient) BatchDisassociateApprovalRuleTemplateFromRepositories

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

func (*IClient) BatchGetCommits

func (_m *IClient) BatchGetCommits(ctx context.Context, params *codecommit.BatchGetCommitsInput, optFns ...func(*codecommit.Options)) (*codecommit.BatchGetCommitsOutput, error)

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

func (*IClient) BatchGetRepositories

func (_m *IClient) BatchGetRepositories(ctx context.Context, params *codecommit.BatchGetRepositoriesInput, optFns ...func(*codecommit.Options)) (*codecommit.BatchGetRepositoriesOutput, error)

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

func (*IClient) CreateApprovalRuleTemplate

func (_m *IClient) CreateApprovalRuleTemplate(ctx context.Context, params *codecommit.CreateApprovalRuleTemplateInput, optFns ...func(*codecommit.Options)) (*codecommit.CreateApprovalRuleTemplateOutput, error)

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

func (*IClient) CreateBranch

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

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

func (*IClient) CreateCommit

func (_m *IClient) CreateCommit(ctx context.Context, params *codecommit.CreateCommitInput, optFns ...func(*codecommit.Options)) (*codecommit.CreateCommitOutput, error)

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

func (*IClient) CreatePullRequest

func (_m *IClient) CreatePullRequest(ctx context.Context, params *codecommit.CreatePullRequestInput, optFns ...func(*codecommit.Options)) (*codecommit.CreatePullRequestOutput, error)

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

func (*IClient) CreatePullRequestApprovalRule

func (_m *IClient) CreatePullRequestApprovalRule(ctx context.Context, params *codecommit.CreatePullRequestApprovalRuleInput, optFns ...func(*codecommit.Options)) (*codecommit.CreatePullRequestApprovalRuleOutput, error)

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

func (*IClient) CreateRepository

func (_m *IClient) CreateRepository(ctx context.Context, params *codecommit.CreateRepositoryInput, optFns ...func(*codecommit.Options)) (*codecommit.CreateRepositoryOutput, error)

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

func (*IClient) CreateUnreferencedMergeCommit

func (_m *IClient) CreateUnreferencedMergeCommit(ctx context.Context, params *codecommit.CreateUnreferencedMergeCommitInput, optFns ...func(*codecommit.Options)) (*codecommit.CreateUnreferencedMergeCommitOutput, error)

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

func (*IClient) DeleteApprovalRuleTemplate

func (_m *IClient) DeleteApprovalRuleTemplate(ctx context.Context, params *codecommit.DeleteApprovalRuleTemplateInput, optFns ...func(*codecommit.Options)) (*codecommit.DeleteApprovalRuleTemplateOutput, error)

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

func (*IClient) DeleteBranch

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

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

func (*IClient) DeleteCommentContent

func (_m *IClient) DeleteCommentContent(ctx context.Context, params *codecommit.DeleteCommentContentInput, optFns ...func(*codecommit.Options)) (*codecommit.DeleteCommentContentOutput, error)

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

func (*IClient) DeleteFile

func (_m *IClient) DeleteFile(ctx context.Context, params *codecommit.DeleteFileInput, optFns ...func(*codecommit.Options)) (*codecommit.DeleteFileOutput, error)

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

func (*IClient) DeletePullRequestApprovalRule

func (_m *IClient) DeletePullRequestApprovalRule(ctx context.Context, params *codecommit.DeletePullRequestApprovalRuleInput, optFns ...func(*codecommit.Options)) (*codecommit.DeletePullRequestApprovalRuleOutput, error)

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

func (*IClient) DeleteRepository

func (_m *IClient) DeleteRepository(ctx context.Context, params *codecommit.DeleteRepositoryInput, optFns ...func(*codecommit.Options)) (*codecommit.DeleteRepositoryOutput, error)

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

func (*IClient) DescribeMergeConflicts

func (_m *IClient) DescribeMergeConflicts(ctx context.Context, params *codecommit.DescribeMergeConflictsInput, optFns ...func(*codecommit.Options)) (*codecommit.DescribeMergeConflictsOutput, error)

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

func (*IClient) DescribePullRequestEvents

func (_m *IClient) DescribePullRequestEvents(ctx context.Context, params *codecommit.DescribePullRequestEventsInput, optFns ...func(*codecommit.Options)) (*codecommit.DescribePullRequestEventsOutput, error)

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

func (*IClient) DisassociateApprovalRuleTemplateFromRepository

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

func (*IClient) EvaluatePullRequestApprovalRules

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

func (*IClient) GetApprovalRuleTemplate

func (_m *IClient) GetApprovalRuleTemplate(ctx context.Context, params *codecommit.GetApprovalRuleTemplateInput, optFns ...func(*codecommit.Options)) (*codecommit.GetApprovalRuleTemplateOutput, error)

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

func (*IClient) GetBlob

func (_m *IClient) GetBlob(ctx context.Context, params *codecommit.GetBlobInput, optFns ...func(*codecommit.Options)) (*codecommit.GetBlobOutput, error)

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

func (*IClient) GetBranch

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

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

func (*IClient) GetComment

func (_m *IClient) GetComment(ctx context.Context, params *codecommit.GetCommentInput, optFns ...func(*codecommit.Options)) (*codecommit.GetCommentOutput, error)

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

func (*IClient) GetCommentReactions

func (_m *IClient) GetCommentReactions(ctx context.Context, params *codecommit.GetCommentReactionsInput, optFns ...func(*codecommit.Options)) (*codecommit.GetCommentReactionsOutput, error)

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

func (*IClient) GetCommentsForComparedCommit

func (_m *IClient) GetCommentsForComparedCommit(ctx context.Context, params *codecommit.GetCommentsForComparedCommitInput, optFns ...func(*codecommit.Options)) (*codecommit.GetCommentsForComparedCommitOutput, error)

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

func (*IClient) GetCommentsForPullRequest

func (_m *IClient) GetCommentsForPullRequest(ctx context.Context, params *codecommit.GetCommentsForPullRequestInput, optFns ...func(*codecommit.Options)) (*codecommit.GetCommentsForPullRequestOutput, error)

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

func (*IClient) GetCommit

func (_m *IClient) GetCommit(ctx context.Context, params *codecommit.GetCommitInput, optFns ...func(*codecommit.Options)) (*codecommit.GetCommitOutput, error)

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

func (*IClient) GetDifferences

func (_m *IClient) GetDifferences(ctx context.Context, params *codecommit.GetDifferencesInput, optFns ...func(*codecommit.Options)) (*codecommit.GetDifferencesOutput, error)

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

func (*IClient) GetFile

func (_m *IClient) GetFile(ctx context.Context, params *codecommit.GetFileInput, optFns ...func(*codecommit.Options)) (*codecommit.GetFileOutput, error)

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

func (*IClient) GetFolder

func (_m *IClient) GetFolder(ctx context.Context, params *codecommit.GetFolderInput, optFns ...func(*codecommit.Options)) (*codecommit.GetFolderOutput, error)

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

func (*IClient) GetMergeCommit

func (_m *IClient) GetMergeCommit(ctx context.Context, params *codecommit.GetMergeCommitInput, optFns ...func(*codecommit.Options)) (*codecommit.GetMergeCommitOutput, error)

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

func (*IClient) GetMergeConflicts

func (_m *IClient) GetMergeConflicts(ctx context.Context, params *codecommit.GetMergeConflictsInput, optFns ...func(*codecommit.Options)) (*codecommit.GetMergeConflictsOutput, error)

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

func (*IClient) GetMergeOptions

func (_m *IClient) GetMergeOptions(ctx context.Context, params *codecommit.GetMergeOptionsInput, optFns ...func(*codecommit.Options)) (*codecommit.GetMergeOptionsOutput, error)

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

func (*IClient) GetPullRequest

func (_m *IClient) GetPullRequest(ctx context.Context, params *codecommit.GetPullRequestInput, optFns ...func(*codecommit.Options)) (*codecommit.GetPullRequestOutput, error)

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

func (*IClient) GetPullRequestApprovalStates

func (_m *IClient) GetPullRequestApprovalStates(ctx context.Context, params *codecommit.GetPullRequestApprovalStatesInput, optFns ...func(*codecommit.Options)) (*codecommit.GetPullRequestApprovalStatesOutput, error)

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

func (*IClient) GetPullRequestOverrideState

func (_m *IClient) GetPullRequestOverrideState(ctx context.Context, params *codecommit.GetPullRequestOverrideStateInput, optFns ...func(*codecommit.Options)) (*codecommit.GetPullRequestOverrideStateOutput, error)

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

func (*IClient) GetRepository

func (_m *IClient) GetRepository(ctx context.Context, params *codecommit.GetRepositoryInput, optFns ...func(*codecommit.Options)) (*codecommit.GetRepositoryOutput, error)

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

func (*IClient) GetRepositoryTriggers

func (_m *IClient) GetRepositoryTriggers(ctx context.Context, params *codecommit.GetRepositoryTriggersInput, optFns ...func(*codecommit.Options)) (*codecommit.GetRepositoryTriggersOutput, error)

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

func (*IClient) ListApprovalRuleTemplates

func (_m *IClient) ListApprovalRuleTemplates(ctx context.Context, params *codecommit.ListApprovalRuleTemplatesInput, optFns ...func(*codecommit.Options)) (*codecommit.ListApprovalRuleTemplatesOutput, error)

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

func (*IClient) ListAssociatedApprovalRuleTemplatesForRepository

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

func (*IClient) ListBranches

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

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

func (*IClient) ListFileCommitHistory

func (_m *IClient) ListFileCommitHistory(ctx context.Context, params *codecommit.ListFileCommitHistoryInput, optFns ...func(*codecommit.Options)) (*codecommit.ListFileCommitHistoryOutput, error)

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

func (*IClient) ListPullRequests

func (_m *IClient) ListPullRequests(ctx context.Context, params *codecommit.ListPullRequestsInput, optFns ...func(*codecommit.Options)) (*codecommit.ListPullRequestsOutput, error)

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

func (*IClient) ListRepositories

func (_m *IClient) ListRepositories(ctx context.Context, params *codecommit.ListRepositoriesInput, optFns ...func(*codecommit.Options)) (*codecommit.ListRepositoriesOutput, error)

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

func (*IClient) ListRepositoriesForApprovalRuleTemplate

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

func (*IClient) ListTagsForResource

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

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

func (*IClient) MergeBranchesByFastForward

func (_m *IClient) MergeBranchesByFastForward(ctx context.Context, params *codecommit.MergeBranchesByFastForwardInput, optFns ...func(*codecommit.Options)) (*codecommit.MergeBranchesByFastForwardOutput, error)

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

func (*IClient) MergeBranchesBySquash

func (_m *IClient) MergeBranchesBySquash(ctx context.Context, params *codecommit.MergeBranchesBySquashInput, optFns ...func(*codecommit.Options)) (*codecommit.MergeBranchesBySquashOutput, error)

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

func (*IClient) MergeBranchesByThreeWay

func (_m *IClient) MergeBranchesByThreeWay(ctx context.Context, params *codecommit.MergeBranchesByThreeWayInput, optFns ...func(*codecommit.Options)) (*codecommit.MergeBranchesByThreeWayOutput, error)

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

func (*IClient) MergePullRequestByFastForward

func (_m *IClient) MergePullRequestByFastForward(ctx context.Context, params *codecommit.MergePullRequestByFastForwardInput, optFns ...func(*codecommit.Options)) (*codecommit.MergePullRequestByFastForwardOutput, error)

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

func (*IClient) MergePullRequestBySquash

func (_m *IClient) MergePullRequestBySquash(ctx context.Context, params *codecommit.MergePullRequestBySquashInput, optFns ...func(*codecommit.Options)) (*codecommit.MergePullRequestBySquashOutput, error)

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

func (*IClient) MergePullRequestByThreeWay

func (_m *IClient) MergePullRequestByThreeWay(ctx context.Context, params *codecommit.MergePullRequestByThreeWayInput, optFns ...func(*codecommit.Options)) (*codecommit.MergePullRequestByThreeWayOutput, error)

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) OverridePullRequestApprovalRules

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

func (*IClient) PostCommentForComparedCommit

func (_m *IClient) PostCommentForComparedCommit(ctx context.Context, params *codecommit.PostCommentForComparedCommitInput, optFns ...func(*codecommit.Options)) (*codecommit.PostCommentForComparedCommitOutput, error)

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

func (*IClient) PostCommentForPullRequest

func (_m *IClient) PostCommentForPullRequest(ctx context.Context, params *codecommit.PostCommentForPullRequestInput, optFns ...func(*codecommit.Options)) (*codecommit.PostCommentForPullRequestOutput, error)

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

func (*IClient) PostCommentReply

func (_m *IClient) PostCommentReply(ctx context.Context, params *codecommit.PostCommentReplyInput, optFns ...func(*codecommit.Options)) (*codecommit.PostCommentReplyOutput, error)

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

func (*IClient) PutCommentReaction

func (_m *IClient) PutCommentReaction(ctx context.Context, params *codecommit.PutCommentReactionInput, optFns ...func(*codecommit.Options)) (*codecommit.PutCommentReactionOutput, error)

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

func (*IClient) PutFile

func (_m *IClient) PutFile(ctx context.Context, params *codecommit.PutFileInput, optFns ...func(*codecommit.Options)) (*codecommit.PutFileOutput, error)

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

func (*IClient) PutRepositoryTriggers

func (_m *IClient) PutRepositoryTriggers(ctx context.Context, params *codecommit.PutRepositoryTriggersInput, optFns ...func(*codecommit.Options)) (*codecommit.PutRepositoryTriggersOutput, error)

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

func (*IClient) TagResource

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

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

func (*IClient) TestRepositoryTriggers

func (_m *IClient) TestRepositoryTriggers(ctx context.Context, params *codecommit.TestRepositoryTriggersInput, optFns ...func(*codecommit.Options)) (*codecommit.TestRepositoryTriggersOutput, error)

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

func (*IClient) UntagResource

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

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

func (*IClient) UpdateApprovalRuleTemplateContent

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

func (*IClient) UpdateApprovalRuleTemplateDescription

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

func (*IClient) UpdateApprovalRuleTemplateName

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

func (*IClient) UpdateComment

func (_m *IClient) UpdateComment(ctx context.Context, params *codecommit.UpdateCommentInput, optFns ...func(*codecommit.Options)) (*codecommit.UpdateCommentOutput, error)

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

func (*IClient) UpdateDefaultBranch

func (_m *IClient) UpdateDefaultBranch(ctx context.Context, params *codecommit.UpdateDefaultBranchInput, optFns ...func(*codecommit.Options)) (*codecommit.UpdateDefaultBranchOutput, error)

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

func (*IClient) UpdatePullRequestApprovalRuleContent

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

func (*IClient) UpdatePullRequestApprovalState

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

func (*IClient) UpdatePullRequestDescription

func (_m *IClient) UpdatePullRequestDescription(ctx context.Context, params *codecommit.UpdatePullRequestDescriptionInput, optFns ...func(*codecommit.Options)) (*codecommit.UpdatePullRequestDescriptionOutput, error)

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

func (*IClient) UpdatePullRequestStatus

func (_m *IClient) UpdatePullRequestStatus(ctx context.Context, params *codecommit.UpdatePullRequestStatusInput, optFns ...func(*codecommit.Options)) (*codecommit.UpdatePullRequestStatusOutput, error)

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

func (*IClient) UpdatePullRequestTitle

func (_m *IClient) UpdatePullRequestTitle(ctx context.Context, params *codecommit.UpdatePullRequestTitleInput, optFns ...func(*codecommit.Options)) (*codecommit.UpdatePullRequestTitleOutput, error)

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

func (*IClient) UpdateRepositoryDescription

func (_m *IClient) UpdateRepositoryDescription(ctx context.Context, params *codecommit.UpdateRepositoryDescriptionInput, optFns ...func(*codecommit.Options)) (*codecommit.UpdateRepositoryDescriptionOutput, error)

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

func (*IClient) UpdateRepositoryEncryptionKey

func (_m *IClient) UpdateRepositoryEncryptionKey(ctx context.Context, params *codecommit.UpdateRepositoryEncryptionKeyInput, optFns ...func(*codecommit.Options)) (*codecommit.UpdateRepositoryEncryptionKeyOutput, error)

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

func (*IClient) UpdateRepositoryName

func (_m *IClient) UpdateRepositoryName(ctx context.Context, params *codecommit.UpdateRepositoryNameInput, optFns ...func(*codecommit.Options)) (*codecommit.UpdateRepositoryNameOutput, error)

UpdateRepositoryName 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