Versions in this module Expand all Collapse all v0 v0.22.0 Oct 21, 2020 Changes in this version + type FakeGit struct + CheckoutStub func(string, string, bool) error + FetchStub func(string, int, int, bool) error + GitCryptUnlockStub func(string) error + InitStub func(string) error + MergeStub func(string, bool) error + PullStub func(string, string, int, bool, bool) error + RebaseStub func(string, string, bool) error + RevParseStub func(string) (string, error) + func (fake *FakeGit) Checkout(arg1 string, arg2 string, arg3 bool) error + func (fake *FakeGit) CheckoutArgsForCall(i int) (string, string, bool) + func (fake *FakeGit) CheckoutCallCount() int + func (fake *FakeGit) CheckoutCalls(stub func(string, string, bool) error) + func (fake *FakeGit) CheckoutReturns(result1 error) + func (fake *FakeGit) CheckoutReturnsOnCall(i int, result1 error) + func (fake *FakeGit) Fetch(arg1 string, arg2 int, arg3 int, arg4 bool) error + func (fake *FakeGit) FetchArgsForCall(i int) (string, int, int, bool) + func (fake *FakeGit) FetchCallCount() int + func (fake *FakeGit) FetchCalls(stub func(string, int, int, bool) error) + func (fake *FakeGit) FetchReturns(result1 error) + func (fake *FakeGit) FetchReturnsOnCall(i int, result1 error) + func (fake *FakeGit) GitCryptUnlock(arg1 string) error + func (fake *FakeGit) GitCryptUnlockArgsForCall(i int) string + func (fake *FakeGit) GitCryptUnlockCallCount() int + func (fake *FakeGit) GitCryptUnlockCalls(stub func(string) error) + func (fake *FakeGit) GitCryptUnlockReturns(result1 error) + func (fake *FakeGit) GitCryptUnlockReturnsOnCall(i int, result1 error) + func (fake *FakeGit) Init(arg1 string) error + func (fake *FakeGit) InitArgsForCall(i int) string + func (fake *FakeGit) InitCallCount() int + func (fake *FakeGit) InitCalls(stub func(string) error) + func (fake *FakeGit) InitReturns(result1 error) + func (fake *FakeGit) InitReturnsOnCall(i int, result1 error) + func (fake *FakeGit) Invocations() map[string][][]interface{} + func (fake *FakeGit) Merge(arg1 string, arg2 bool) error + func (fake *FakeGit) MergeArgsForCall(i int) (string, bool) + func (fake *FakeGit) MergeCallCount() int + func (fake *FakeGit) MergeCalls(stub func(string, bool) error) + func (fake *FakeGit) MergeReturns(result1 error) + func (fake *FakeGit) MergeReturnsOnCall(i int, result1 error) + func (fake *FakeGit) Pull(arg1 string, arg2 string, arg3 int, arg4 bool, arg5 bool) error + func (fake *FakeGit) PullArgsForCall(i int) (string, string, int, bool, bool) + func (fake *FakeGit) PullCallCount() int + func (fake *FakeGit) PullCalls(stub func(string, string, int, bool, bool) error) + func (fake *FakeGit) PullReturns(result1 error) + func (fake *FakeGit) PullReturnsOnCall(i int, result1 error) + func (fake *FakeGit) Rebase(arg1 string, arg2 string, arg3 bool) error + func (fake *FakeGit) RebaseArgsForCall(i int) (string, string, bool) + func (fake *FakeGit) RebaseCallCount() int + func (fake *FakeGit) RebaseCalls(stub func(string, string, bool) error) + func (fake *FakeGit) RebaseReturns(result1 error) + func (fake *FakeGit) RebaseReturnsOnCall(i int, result1 error) + func (fake *FakeGit) RevParse(arg1 string) (string, error) + func (fake *FakeGit) RevParseArgsForCall(i int) string + func (fake *FakeGit) RevParseCallCount() int + func (fake *FakeGit) RevParseCalls(stub func(string) (string, error)) + func (fake *FakeGit) RevParseReturns(result1 string, result2 error) + func (fake *FakeGit) RevParseReturnsOnCall(i int, result1 string, result2 error) + type FakeGithub struct + DeletePreviousCommentsStub func(string) error + GetChangedFilesStub func(string, string) ([]resource.ChangedFileObject, error) + GetPullRequestStub func(string, string) (*resource.PullRequest, error) + ListModifiedFilesStub func(int) ([]string, error) + ListOpenPullRequestsStub func() ([]*resource.PullRequest, error) + PostCommentStub func(string, string) error + UpdateCommitStatusStub func(string, string, string, string, string, string) error + func (fake *FakeGithub) DeletePreviousComments(arg1 string) error + func (fake *FakeGithub) DeletePreviousCommentsArgsForCall(i int) string + func (fake *FakeGithub) DeletePreviousCommentsCallCount() int + func (fake *FakeGithub) DeletePreviousCommentsCalls(stub func(string) error) + func (fake *FakeGithub) DeletePreviousCommentsReturns(result1 error) + func (fake *FakeGithub) DeletePreviousCommentsReturnsOnCall(i int, result1 error) + func (fake *FakeGithub) GetChangedFiles(arg1 string, arg2 string) ([]resource.ChangedFileObject, error) + func (fake *FakeGithub) GetChangedFilesArgsForCall(i int) (string, string) + func (fake *FakeGithub) GetChangedFilesCallCount() int + func (fake *FakeGithub) GetChangedFilesCalls(stub func(string, string) ([]resource.ChangedFileObject, error)) + func (fake *FakeGithub) GetChangedFilesReturns(result1 []resource.ChangedFileObject, result2 error) + func (fake *FakeGithub) GetChangedFilesReturnsOnCall(i int, result1 []resource.ChangedFileObject, result2 error) + func (fake *FakeGithub) GetPullRequest(arg1 string, arg2 string) (*resource.PullRequest, error) + func (fake *FakeGithub) GetPullRequestArgsForCall(i int) (string, string) + func (fake *FakeGithub) GetPullRequestCallCount() int + func (fake *FakeGithub) GetPullRequestCalls(stub func(string, string) (*resource.PullRequest, error)) + func (fake *FakeGithub) GetPullRequestReturns(result1 *resource.PullRequest, result2 error) + func (fake *FakeGithub) GetPullRequestReturnsOnCall(i int, result1 *resource.PullRequest, result2 error) + func (fake *FakeGithub) Invocations() map[string][][]interface{} + func (fake *FakeGithub) ListModifiedFiles(arg1 int) ([]string, error) + func (fake *FakeGithub) ListModifiedFilesArgsForCall(i int) int + func (fake *FakeGithub) ListModifiedFilesCallCount() int + func (fake *FakeGithub) ListModifiedFilesCalls(stub func(int) ([]string, error)) + func (fake *FakeGithub) ListModifiedFilesReturns(result1 []string, result2 error) + func (fake *FakeGithub) ListModifiedFilesReturnsOnCall(i int, result1 []string, result2 error) + func (fake *FakeGithub) ListOpenPullRequests() ([]*resource.PullRequest, error) + func (fake *FakeGithub) ListOpenPullRequestsCallCount() int + func (fake *FakeGithub) ListOpenPullRequestsCalls(stub func() ([]*resource.PullRequest, error)) + func (fake *FakeGithub) ListOpenPullRequestsReturns(result1 []*resource.PullRequest, result2 error) + func (fake *FakeGithub) ListOpenPullRequestsReturnsOnCall(i int, result1 []*resource.PullRequest, result2 error) + func (fake *FakeGithub) PostComment(arg1 string, arg2 string) error + func (fake *FakeGithub) PostCommentArgsForCall(i int) (string, string) + func (fake *FakeGithub) PostCommentCallCount() int + func (fake *FakeGithub) PostCommentCalls(stub func(string, string) error) + func (fake *FakeGithub) PostCommentReturns(result1 error) + func (fake *FakeGithub) PostCommentReturnsOnCall(i int, result1 error) + func (fake *FakeGithub) UpdateCommitStatus(arg1 string, arg2 string, arg3 string, arg4 string, arg5 string, arg6 string) error + func (fake *FakeGithub) UpdateCommitStatusArgsForCall(i int) (string, string, string, string, string, string) + func (fake *FakeGithub) UpdateCommitStatusCallCount() int + func (fake *FakeGithub) UpdateCommitStatusCalls(stub func(string, string, string, string, string, string) error) + func (fake *FakeGithub) UpdateCommitStatusReturns(result1 error) + func (fake *FakeGithub) UpdateCommitStatusReturnsOnCall(i int, result1 error)