Documentation ¶
Index ¶
- type MockPullApprovedChecker
- func (mock *MockPullApprovedChecker) PullIsApproved(baseRepo models.Repo, pull models.PullRequest) (bool, error)
- func (mock *MockPullApprovedChecker) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierPullApprovedChecker
- func (mock *MockPullApprovedChecker) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierPullApprovedChecker
- func (mock *MockPullApprovedChecker) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierPullApprovedChecker
- func (mock *MockPullApprovedChecker) VerifyWasCalledOnce() *VerifierPullApprovedChecker
- type MockPullMergeableChecker
- func (mock *MockPullMergeableChecker) PullIsMergeable(baseRepo models.Repo, pull models.PullRequest) (bool, error)
- func (mock *MockPullMergeableChecker) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierPullMergeableChecker
- func (mock *MockPullMergeableChecker) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierPullMergeableChecker
- func (mock *MockPullMergeableChecker) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierPullMergeableChecker
- func (mock *MockPullMergeableChecker) VerifyWasCalledOnce() *VerifierPullMergeableChecker
- type PullApprovedChecker_PullIsApproved_OngoingVerification
- type PullMergeableChecker_PullIsMergeable_OngoingVerification
- type VerifierPullApprovedChecker
- type VerifierPullMergeableChecker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPullApprovedChecker ¶
type MockPullApprovedChecker struct {
// contains filtered or unexported fields
}
func NewMockPullApprovedChecker ¶
func NewMockPullApprovedChecker() *MockPullApprovedChecker
func (*MockPullApprovedChecker) PullIsApproved ¶
func (mock *MockPullApprovedChecker) PullIsApproved(baseRepo models.Repo, pull models.PullRequest) (bool, error)
func (*MockPullApprovedChecker) VerifyWasCalled ¶
func (mock *MockPullApprovedChecker) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierPullApprovedChecker
func (*MockPullApprovedChecker) VerifyWasCalledEventually ¶ added in v0.4.13
func (mock *MockPullApprovedChecker) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierPullApprovedChecker
func (*MockPullApprovedChecker) VerifyWasCalledInOrder ¶
func (mock *MockPullApprovedChecker) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierPullApprovedChecker
func (*MockPullApprovedChecker) VerifyWasCalledOnce ¶
func (mock *MockPullApprovedChecker) VerifyWasCalledOnce() *VerifierPullApprovedChecker
type MockPullMergeableChecker ¶ added in v0.4.13
type MockPullMergeableChecker struct {
// contains filtered or unexported fields
}
func NewMockPullMergeableChecker ¶ added in v0.4.13
func NewMockPullMergeableChecker() *MockPullMergeableChecker
func (*MockPullMergeableChecker) PullIsMergeable ¶ added in v0.4.13
func (mock *MockPullMergeableChecker) PullIsMergeable(baseRepo models.Repo, pull models.PullRequest) (bool, error)
func (*MockPullMergeableChecker) VerifyWasCalled ¶ added in v0.4.13
func (mock *MockPullMergeableChecker) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierPullMergeableChecker
func (*MockPullMergeableChecker) VerifyWasCalledEventually ¶ added in v0.4.13
func (mock *MockPullMergeableChecker) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierPullMergeableChecker
func (*MockPullMergeableChecker) VerifyWasCalledInOrder ¶ added in v0.4.13
func (mock *MockPullMergeableChecker) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierPullMergeableChecker
func (*MockPullMergeableChecker) VerifyWasCalledOnce ¶ added in v0.4.13
func (mock *MockPullMergeableChecker) VerifyWasCalledOnce() *VerifierPullMergeableChecker
type PullApprovedChecker_PullIsApproved_OngoingVerification ¶
type PullApprovedChecker_PullIsApproved_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*PullApprovedChecker_PullIsApproved_OngoingVerification) GetAllCapturedArguments ¶
func (c *PullApprovedChecker_PullIsApproved_OngoingVerification) GetAllCapturedArguments() (_param0 []models.Repo, _param1 []models.PullRequest)
func (*PullApprovedChecker_PullIsApproved_OngoingVerification) GetCapturedArguments ¶
func (c *PullApprovedChecker_PullIsApproved_OngoingVerification) GetCapturedArguments() (models.Repo, models.PullRequest)
type PullMergeableChecker_PullIsMergeable_OngoingVerification ¶ added in v0.4.13
type PullMergeableChecker_PullIsMergeable_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*PullMergeableChecker_PullIsMergeable_OngoingVerification) GetAllCapturedArguments ¶ added in v0.4.13
func (c *PullMergeableChecker_PullIsMergeable_OngoingVerification) GetAllCapturedArguments() (_param0 []models.Repo, _param1 []models.PullRequest)
func (*PullMergeableChecker_PullIsMergeable_OngoingVerification) GetCapturedArguments ¶ added in v0.4.13
func (c *PullMergeableChecker_PullIsMergeable_OngoingVerification) GetCapturedArguments() (models.Repo, models.PullRequest)
type VerifierPullApprovedChecker ¶
type VerifierPullApprovedChecker struct {
// contains filtered or unexported fields
}
func (*VerifierPullApprovedChecker) PullIsApproved ¶
func (verifier *VerifierPullApprovedChecker) PullIsApproved(baseRepo models.Repo, pull models.PullRequest) *PullApprovedChecker_PullIsApproved_OngoingVerification
type VerifierPullMergeableChecker ¶ added in v0.4.13
type VerifierPullMergeableChecker struct {
// contains filtered or unexported fields
}
func (*VerifierPullMergeableChecker) PullIsMergeable ¶ added in v0.4.13
func (verifier *VerifierPullMergeableChecker) PullIsMergeable(baseRepo models.Repo, pull models.PullRequest) *PullMergeableChecker_PullIsMergeable_OngoingVerification
Click to show internal directories.
Click to hide internal directories.