Documentation ¶
Index ¶
- type ClientProxy_CreateComment_OngoingVerification
- type ClientProxy_GetModifiedFiles_OngoingVerification
- type ClientProxy_MergePull_OngoingVerification
- type ClientProxy_PullIsApproved_OngoingVerification
- type ClientProxy_PullIsMergeable_OngoingVerification
- type ClientProxy_UpdateStatus_OngoingVerification
- type Client_CreateComment_OngoingVerification
- type Client_GetModifiedFiles_OngoingVerification
- type Client_PullIsApproved_OngoingVerification
- type Client_PullIsMergeable_OngoingVerification
- type Client_UpdateStatus_OngoingVerification
- type MockClient
- func (mock *MockClient) CreateComment(repo models.Repo, pullNum int, comment string) error
- func (mock *MockClient) GetModifiedFiles(repo models.Repo, pull models.PullRequest) ([]string, error)
- func (mock *MockClient) PullIsApproved(repo models.Repo, pull models.PullRequest) (bool, error)
- func (mock *MockClient) PullIsMergeable(repo models.Repo, pull models.PullRequest) (bool, error)
- func (mock *MockClient) UpdateStatus(repo models.Repo, pull models.PullRequest, state models.CommitStatus, ...) error
- func (mock *MockClient) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierClient
- func (mock *MockClient) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierClient
- func (mock *MockClient) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierClient
- func (mock *MockClient) VerifyWasCalledOnce() *VerifierClient
- type MockClientProxy
- func (mock *MockClientProxy) CreateComment(repo models.Repo, pullNum int, comment string) error
- func (mock *MockClientProxy) GetModifiedFiles(repo models.Repo, pull models.PullRequest) ([]string, error)
- func (mock *MockClientProxy) MergePull(pull models.PullRequest) error
- func (mock *MockClientProxy) PullIsApproved(repo models.Repo, pull models.PullRequest) (bool, error)
- func (mock *MockClientProxy) PullIsMergeable(repo models.Repo, pull models.PullRequest) (bool, error)
- func (mock *MockClientProxy) UpdateStatus(repo models.Repo, pull models.PullRequest, state models.CommitStatus, ...) error
- func (mock *MockClientProxy) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierClientProxy
- func (mock *MockClientProxy) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierClientProxy
- func (mock *MockClientProxy) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierClientProxy
- func (mock *MockClientProxy) VerifyWasCalledOnce() *VerifierClientProxy
- type VerifierClient
- func (verifier *VerifierClient) CreateComment(repo models.Repo, pullNum int, comment string) *Client_CreateComment_OngoingVerification
- func (verifier *VerifierClient) GetModifiedFiles(repo models.Repo, pull models.PullRequest) *Client_GetModifiedFiles_OngoingVerification
- func (verifier *VerifierClient) PullIsApproved(repo models.Repo, pull models.PullRequest) *Client_PullIsApproved_OngoingVerification
- func (verifier *VerifierClient) PullIsMergeable(repo models.Repo, pull models.PullRequest) *Client_PullIsMergeable_OngoingVerification
- func (verifier *VerifierClient) UpdateStatus(repo models.Repo, pull models.PullRequest, state models.CommitStatus, ...) *Client_UpdateStatus_OngoingVerification
- type VerifierClientProxy
- func (verifier *VerifierClientProxy) CreateComment(repo models.Repo, pullNum int, comment string) *ClientProxy_CreateComment_OngoingVerification
- func (verifier *VerifierClientProxy) GetModifiedFiles(repo models.Repo, pull models.PullRequest) *ClientProxy_GetModifiedFiles_OngoingVerification
- func (verifier *VerifierClientProxy) MergePull(pull models.PullRequest) *ClientProxy_MergePull_OngoingVerification
- func (verifier *VerifierClientProxy) PullIsApproved(repo models.Repo, pull models.PullRequest) *ClientProxy_PullIsApproved_OngoingVerification
- func (verifier *VerifierClientProxy) PullIsMergeable(repo models.Repo, pull models.PullRequest) *ClientProxy_PullIsMergeable_OngoingVerification
- func (verifier *VerifierClientProxy) UpdateStatus(repo models.Repo, pull models.PullRequest, state models.CommitStatus, ...) *ClientProxy_UpdateStatus_OngoingVerification
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientProxy_CreateComment_OngoingVerification ¶
type ClientProxy_CreateComment_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*ClientProxy_CreateComment_OngoingVerification) GetAllCapturedArguments ¶
func (c *ClientProxy_CreateComment_OngoingVerification) GetAllCapturedArguments() (_param0 []models.Repo, _param1 []int, _param2 []string)
func (*ClientProxy_CreateComment_OngoingVerification) GetCapturedArguments ¶
func (c *ClientProxy_CreateComment_OngoingVerification) GetCapturedArguments() (models.Repo, int, string)
type ClientProxy_GetModifiedFiles_OngoingVerification ¶
type ClientProxy_GetModifiedFiles_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*ClientProxy_GetModifiedFiles_OngoingVerification) GetAllCapturedArguments ¶
func (c *ClientProxy_GetModifiedFiles_OngoingVerification) GetAllCapturedArguments() (_param0 []models.Repo, _param1 []models.PullRequest)
func (*ClientProxy_GetModifiedFiles_OngoingVerification) GetCapturedArguments ¶
func (c *ClientProxy_GetModifiedFiles_OngoingVerification) GetCapturedArguments() (models.Repo, models.PullRequest)
type ClientProxy_MergePull_OngoingVerification ¶ added in v0.4.14
type ClientProxy_MergePull_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*ClientProxy_MergePull_OngoingVerification) GetAllCapturedArguments ¶ added in v0.4.14
func (c *ClientProxy_MergePull_OngoingVerification) GetAllCapturedArguments() (_param0 []models.PullRequest)
func (*ClientProxy_MergePull_OngoingVerification) GetCapturedArguments ¶ added in v0.4.14
func (c *ClientProxy_MergePull_OngoingVerification) GetCapturedArguments() models.PullRequest
type ClientProxy_PullIsApproved_OngoingVerification ¶
type ClientProxy_PullIsApproved_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*ClientProxy_PullIsApproved_OngoingVerification) GetAllCapturedArguments ¶
func (c *ClientProxy_PullIsApproved_OngoingVerification) GetAllCapturedArguments() (_param0 []models.Repo, _param1 []models.PullRequest)
func (*ClientProxy_PullIsApproved_OngoingVerification) GetCapturedArguments ¶
func (c *ClientProxy_PullIsApproved_OngoingVerification) GetCapturedArguments() (models.Repo, models.PullRequest)
type ClientProxy_PullIsMergeable_OngoingVerification ¶ added in v0.4.13
type ClientProxy_PullIsMergeable_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*ClientProxy_PullIsMergeable_OngoingVerification) GetAllCapturedArguments ¶ added in v0.4.13
func (c *ClientProxy_PullIsMergeable_OngoingVerification) GetAllCapturedArguments() (_param0 []models.Repo, _param1 []models.PullRequest)
func (*ClientProxy_PullIsMergeable_OngoingVerification) GetCapturedArguments ¶ added in v0.4.13
func (c *ClientProxy_PullIsMergeable_OngoingVerification) GetCapturedArguments() (models.Repo, models.PullRequest)
type ClientProxy_UpdateStatus_OngoingVerification ¶
type ClientProxy_UpdateStatus_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*ClientProxy_UpdateStatus_OngoingVerification) GetAllCapturedArguments ¶
func (c *ClientProxy_UpdateStatus_OngoingVerification) GetAllCapturedArguments() (_param0 []models.Repo, _param1 []models.PullRequest, _param2 []models.CommitStatus, _param3 []string)
func (*ClientProxy_UpdateStatus_OngoingVerification) GetCapturedArguments ¶
func (c *ClientProxy_UpdateStatus_OngoingVerification) GetCapturedArguments() (models.Repo, models.PullRequest, models.CommitStatus, string)
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 []int, _param2 []string)
func (*Client_CreateComment_OngoingVerification) GetCapturedArguments ¶
func (c *Client_CreateComment_OngoingVerification) GetCapturedArguments() (models.Repo, int, 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_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_PullIsMergeable_OngoingVerification ¶ added in v0.4.13
type Client_PullIsMergeable_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*Client_PullIsMergeable_OngoingVerification) GetAllCapturedArguments ¶ added in v0.4.13
func (c *Client_PullIsMergeable_OngoingVerification) GetAllCapturedArguments() (_param0 []models.Repo, _param1 []models.PullRequest)
func (*Client_PullIsMergeable_OngoingVerification) GetCapturedArguments ¶ added in v0.4.13
func (c *Client_PullIsMergeable_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 []models.CommitStatus, _param3 []string)
func (*Client_UpdateStatus_OngoingVerification) GetCapturedArguments ¶
func (c *Client_UpdateStatus_OngoingVerification) GetCapturedArguments() (models.Repo, models.PullRequest, models.CommitStatus, string)
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
func NewMockClient ¶
func NewMockClient() *MockClient
func (*MockClient) CreateComment ¶
func (*MockClient) GetModifiedFiles ¶
func (mock *MockClient) GetModifiedFiles(repo models.Repo, pull models.PullRequest) ([]string, error)
func (*MockClient) PullIsApproved ¶
func (mock *MockClient) PullIsApproved(repo models.Repo, pull models.PullRequest) (bool, error)
func (*MockClient) PullIsMergeable ¶ added in v0.4.13
func (mock *MockClient) PullIsMergeable(repo models.Repo, pull models.PullRequest) (bool, error)
func (*MockClient) UpdateStatus ¶
func (mock *MockClient) UpdateStatus(repo models.Repo, pull models.PullRequest, state models.CommitStatus, description string) error
func (*MockClient) VerifyWasCalled ¶
func (mock *MockClient) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierClient
func (*MockClient) VerifyWasCalledEventually ¶ added in v0.4.13
func (mock *MockClient) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierClient
func (*MockClient) VerifyWasCalledInOrder ¶
func (mock *MockClient) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierClient
func (*MockClient) VerifyWasCalledOnce ¶
func (mock *MockClient) VerifyWasCalledOnce() *VerifierClient
type MockClientProxy ¶
type MockClientProxy struct {
// contains filtered or unexported fields
}
func NewMockClientProxy ¶
func NewMockClientProxy() *MockClientProxy
func (*MockClientProxy) CreateComment ¶
func (*MockClientProxy) GetModifiedFiles ¶
func (mock *MockClientProxy) GetModifiedFiles(repo models.Repo, pull models.PullRequest) ([]string, error)
func (*MockClientProxy) MergePull ¶ added in v0.4.14
func (mock *MockClientProxy) MergePull(pull models.PullRequest) error
func (*MockClientProxy) PullIsApproved ¶
func (mock *MockClientProxy) PullIsApproved(repo models.Repo, pull models.PullRequest) (bool, error)
func (*MockClientProxy) PullIsMergeable ¶ added in v0.4.13
func (mock *MockClientProxy) PullIsMergeable(repo models.Repo, pull models.PullRequest) (bool, error)
func (*MockClientProxy) UpdateStatus ¶
func (mock *MockClientProxy) UpdateStatus(repo models.Repo, pull models.PullRequest, state models.CommitStatus, description string) error
func (*MockClientProxy) VerifyWasCalled ¶
func (mock *MockClientProxy) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierClientProxy
func (*MockClientProxy) VerifyWasCalledEventually ¶ added in v0.4.13
func (mock *MockClientProxy) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierClientProxy
func (*MockClientProxy) VerifyWasCalledInOrder ¶
func (mock *MockClientProxy) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierClientProxy
func (*MockClientProxy) VerifyWasCalledOnce ¶
func (mock *MockClientProxy) VerifyWasCalledOnce() *VerifierClientProxy
type VerifierClient ¶
type VerifierClient struct {
// contains filtered or unexported fields
}
func (*VerifierClient) CreateComment ¶
func (verifier *VerifierClient) CreateComment(repo models.Repo, pullNum int, comment string) *Client_CreateComment_OngoingVerification
func (*VerifierClient) GetModifiedFiles ¶
func (verifier *VerifierClient) GetModifiedFiles(repo models.Repo, pull models.PullRequest) *Client_GetModifiedFiles_OngoingVerification
func (*VerifierClient) PullIsApproved ¶
func (verifier *VerifierClient) PullIsApproved(repo models.Repo, pull models.PullRequest) *Client_PullIsApproved_OngoingVerification
func (*VerifierClient) PullIsMergeable ¶ added in v0.4.13
func (verifier *VerifierClient) PullIsMergeable(repo models.Repo, pull models.PullRequest) *Client_PullIsMergeable_OngoingVerification
func (*VerifierClient) UpdateStatus ¶
func (verifier *VerifierClient) UpdateStatus(repo models.Repo, pull models.PullRequest, state models.CommitStatus, description string) *Client_UpdateStatus_OngoingVerification
type VerifierClientProxy ¶
type VerifierClientProxy struct {
// contains filtered or unexported fields
}
func (*VerifierClientProxy) CreateComment ¶
func (verifier *VerifierClientProxy) CreateComment(repo models.Repo, pullNum int, comment string) *ClientProxy_CreateComment_OngoingVerification
func (*VerifierClientProxy) GetModifiedFiles ¶
func (verifier *VerifierClientProxy) GetModifiedFiles(repo models.Repo, pull models.PullRequest) *ClientProxy_GetModifiedFiles_OngoingVerification
func (*VerifierClientProxy) MergePull ¶ added in v0.4.14
func (verifier *VerifierClientProxy) MergePull(pull models.PullRequest) *ClientProxy_MergePull_OngoingVerification
func (*VerifierClientProxy) PullIsApproved ¶
func (verifier *VerifierClientProxy) PullIsApproved(repo models.Repo, pull models.PullRequest) *ClientProxy_PullIsApproved_OngoingVerification
func (*VerifierClientProxy) PullIsMergeable ¶ added in v0.4.13
func (verifier *VerifierClientProxy) PullIsMergeable(repo models.Repo, pull models.PullRequest) *ClientProxy_PullIsMergeable_OngoingVerification
func (*VerifierClientProxy) UpdateStatus ¶
func (verifier *VerifierClientProxy) UpdateStatus(repo models.Repo, pull models.PullRequest, state models.CommitStatus, description string) *ClientProxy_UpdateStatus_OngoingVerification
Click to show internal directories.
Click to hide internal directories.