Documentation ¶
Index ¶
- type Client_CreateComment_OngoingVerification
- type Client_GetModifiedFiles_OngoingVerification
- type Client_GetPullRequest_OngoingVerification
- type Client_PullIsApproved_OngoingVerification
- type Client_UpdateStatus_OngoingVerification
- type MockClient
- func (mock *MockClient) CreateComment(repo models.Repo, pull models.PullRequest, comment string) error
- func (mock *MockClient) GetModifiedFiles(repo models.Repo, pull models.PullRequest) ([]string, error)
- func (mock *MockClient) GetPullRequest(repo models.Repo, num int) (*github.PullRequest, *github.Response, error)
- func (mock *MockClient) PullIsApproved(repo models.Repo, pull models.PullRequest) (bool, error)
- func (mock *MockClient) UpdateStatus(repo models.Repo, pull models.PullRequest, state string, description string, ...) error
- func (mock *MockClient) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierClient
- func (mock *MockClient) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierClient
- func (mock *MockClient) VerifyWasCalledOnce() *VerifierClient
- type VerifierClient
- func (verifier *VerifierClient) CreateComment(repo models.Repo, pull models.PullRequest, comment string) *Client_CreateComment_OngoingVerification
- func (verifier *VerifierClient) GetModifiedFiles(repo models.Repo, pull models.PullRequest) *Client_GetModifiedFiles_OngoingVerification
- func (verifier *VerifierClient) GetPullRequest(repo models.Repo, num int) *Client_GetPullRequest_OngoingVerification
- func (verifier *VerifierClient) PullIsApproved(repo models.Repo, pull models.PullRequest) *Client_PullIsApproved_OngoingVerification
- func (verifier *VerifierClient) UpdateStatus(repo models.Repo, pull models.PullRequest, state string, description string, ...) *Client_UpdateStatus_OngoingVerification
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client_CreateComment_OngoingVerification ¶
type Client_CreateComment_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*Client_CreateComment_OngoingVerification) GetAllCapturedArguments ¶
func (c *Client_CreateComment_OngoingVerification) GetAllCapturedArguments() (_param0 []models.Repo, _param1 []models.PullRequest, _param2 []string)
func (*Client_CreateComment_OngoingVerification) GetCapturedArguments ¶
func (c *Client_CreateComment_OngoingVerification) GetCapturedArguments() (models.Repo, models.PullRequest, string)
type Client_GetModifiedFiles_OngoingVerification ¶
type Client_GetModifiedFiles_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*Client_GetModifiedFiles_OngoingVerification) GetAllCapturedArguments ¶
func (c *Client_GetModifiedFiles_OngoingVerification) GetAllCapturedArguments() (_param0 []models.Repo, _param1 []models.PullRequest)
func (*Client_GetModifiedFiles_OngoingVerification) GetCapturedArguments ¶
func (c *Client_GetModifiedFiles_OngoingVerification) GetCapturedArguments() (models.Repo, models.PullRequest)
type Client_GetPullRequest_OngoingVerification ¶
type Client_GetPullRequest_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*Client_GetPullRequest_OngoingVerification) GetAllCapturedArguments ¶
func (c *Client_GetPullRequest_OngoingVerification) GetAllCapturedArguments() (_param0 []models.Repo, _param1 []int)
func (*Client_GetPullRequest_OngoingVerification) GetCapturedArguments ¶
func (c *Client_GetPullRequest_OngoingVerification) GetCapturedArguments() (models.Repo, int)
type Client_PullIsApproved_OngoingVerification ¶
type Client_PullIsApproved_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*Client_PullIsApproved_OngoingVerification) GetAllCapturedArguments ¶
func (c *Client_PullIsApproved_OngoingVerification) GetAllCapturedArguments() (_param0 []models.Repo, _param1 []models.PullRequest)
func (*Client_PullIsApproved_OngoingVerification) GetCapturedArguments ¶
func (c *Client_PullIsApproved_OngoingVerification) GetCapturedArguments() (models.Repo, models.PullRequest)
type Client_UpdateStatus_OngoingVerification ¶
type Client_UpdateStatus_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*Client_UpdateStatus_OngoingVerification) GetAllCapturedArguments ¶
func (c *Client_UpdateStatus_OngoingVerification) GetAllCapturedArguments() (_param0 []models.Repo, _param1 []models.PullRequest, _param2 []string, _param3 []string, _param4 []string)
func (*Client_UpdateStatus_OngoingVerification) GetCapturedArguments ¶
func (c *Client_UpdateStatus_OngoingVerification) GetCapturedArguments() (models.Repo, models.PullRequest, string, string, string)
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
func NewMockClient ¶
func NewMockClient() *MockClient
func (*MockClient) CreateComment ¶
func (mock *MockClient) CreateComment(repo models.Repo, pull models.PullRequest, comment string) error
func (*MockClient) GetModifiedFiles ¶
func (mock *MockClient) GetModifiedFiles(repo models.Repo, pull models.PullRequest) ([]string, error)
func (*MockClient) GetPullRequest ¶
func (mock *MockClient) GetPullRequest(repo models.Repo, num int) (*github.PullRequest, *github.Response, error)
func (*MockClient) PullIsApproved ¶
func (mock *MockClient) PullIsApproved(repo models.Repo, pull models.PullRequest) (bool, error)
func (*MockClient) UpdateStatus ¶
func (mock *MockClient) UpdateStatus(repo models.Repo, pull models.PullRequest, state string, description string, context string) error
func (*MockClient) VerifyWasCalled ¶
func (mock *MockClient) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierClient
func (*MockClient) VerifyWasCalledInOrder ¶
func (mock *MockClient) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierClient
func (*MockClient) VerifyWasCalledOnce ¶
func (mock *MockClient) VerifyWasCalledOnce() *VerifierClient
type VerifierClient ¶
type VerifierClient struct {
// contains filtered or unexported fields
}
func (*VerifierClient) CreateComment ¶
func (verifier *VerifierClient) CreateComment(repo models.Repo, pull models.PullRequest, comment string) *Client_CreateComment_OngoingVerification
func (*VerifierClient) GetModifiedFiles ¶
func (verifier *VerifierClient) GetModifiedFiles(repo models.Repo, pull models.PullRequest) *Client_GetModifiedFiles_OngoingVerification
func (*VerifierClient) GetPullRequest ¶
func (verifier *VerifierClient) GetPullRequest(repo models.Repo, num int) *Client_GetPullRequest_OngoingVerification
func (*VerifierClient) PullIsApproved ¶
func (verifier *VerifierClient) PullIsApproved(repo models.Repo, pull models.PullRequest) *Client_PullIsApproved_OngoingVerification
func (*VerifierClient) UpdateStatus ¶
func (verifier *VerifierClient) UpdateStatus(repo models.Repo, pull models.PullRequest, state string, description string, context string) *Client_UpdateStatus_OngoingVerification
Click to show internal directories.
Click to hide internal directories.