Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
- type MockGhClient
- func (m *MockGhClient) AddComment(ctx context.Context, n int, comment string) error
- func (m *MockGhClient) CloseIssue(ctx context.Context, n int) error
- func (m *MockGhClient) EXPECT() *MockGhClientMockRecorder
- func (m *MockGhClient) FetchTarget(ctx context.Context, n int) (*target.Target, error)
- func (m *MockGhClient) FetchTargets(ctx context.Context) (target.Targets, error)
- func (m *MockGhClient) MergePullRequest(ctx context.Context, n int) error
- func (m *MockGhClient) ResolveUsers(ctx context.Context, in []string) ([]string, error)
- func (m *MockGhClient) SetAssignees(ctx context.Context, n int, assignees []string) error
- func (m *MockGhClient) SetLabels(ctx context.Context, n int, labels []string) error
- func (m *MockGhClient) SetReviewers(ctx context.Context, n int, reviewers []string) error
- type MockGhClientMockRecorder
- func (mr *MockGhClientMockRecorder) AddComment(ctx, n, comment interface{}) *gomock.Call
- func (mr *MockGhClientMockRecorder) CloseIssue(ctx, n interface{}) *gomock.Call
- func (mr *MockGhClientMockRecorder) FetchTarget(ctx, n interface{}) *gomock.Call
- func (mr *MockGhClientMockRecorder) FetchTargets(ctx interface{}) *gomock.Call
- func (mr *MockGhClientMockRecorder) MergePullRequest(ctx, n interface{}) *gomock.Call
- func (mr *MockGhClientMockRecorder) ResolveUsers(ctx, in interface{}) *gomock.Call
- func (mr *MockGhClientMockRecorder) SetAssignees(ctx, n, assignees interface{}) *gomock.Call
- func (mr *MockGhClientMockRecorder) SetLabels(ctx, n, labels interface{}) *gomock.Call
- func (mr *MockGhClientMockRecorder) SetReviewers(ctx, n, reviewers interface{}) *gomock.Call
- type MockSlkClient
- type MockSlkClientMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockGhClient ¶
type MockGhClient struct {
// contains filtered or unexported fields
}
MockGhClient is a mock of GhClient interface.
func NewMockGhClient ¶
func NewMockGhClient(ctrl *gomock.Controller) *MockGhClient
NewMockGhClient creates a new mock instance.
func (*MockGhClient) AddComment ¶
AddComment mocks base method.
func (*MockGhClient) CloseIssue ¶
func (m *MockGhClient) CloseIssue(ctx context.Context, n int) error
CloseIssue mocks base method.
func (*MockGhClient) EXPECT ¶
func (m *MockGhClient) EXPECT() *MockGhClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockGhClient) FetchTarget ¶
FetchTarget mocks base method.
func (*MockGhClient) FetchTargets ¶
FetchTargets mocks base method.
func (*MockGhClient) MergePullRequest ¶
func (m *MockGhClient) MergePullRequest(ctx context.Context, n int) error
MergePullRequest mocks base method.
func (*MockGhClient) ResolveUsers ¶
ResolveUsers mocks base method.
func (*MockGhClient) SetAssignees ¶
SetAssignees mocks base method.
func (*MockGhClient) SetReviewers ¶
SetReviewers mocks base method.
type MockGhClientMockRecorder ¶
type MockGhClientMockRecorder struct {
// contains filtered or unexported fields
}
MockGhClientMockRecorder is the mock recorder for MockGhClient.
func (*MockGhClientMockRecorder) AddComment ¶
func (mr *MockGhClientMockRecorder) AddComment(ctx, n, comment interface{}) *gomock.Call
AddComment indicates an expected call of AddComment.
func (*MockGhClientMockRecorder) CloseIssue ¶
func (mr *MockGhClientMockRecorder) CloseIssue(ctx, n interface{}) *gomock.Call
CloseIssue indicates an expected call of CloseIssue.
func (*MockGhClientMockRecorder) FetchTarget ¶
func (mr *MockGhClientMockRecorder) FetchTarget(ctx, n interface{}) *gomock.Call
FetchTarget indicates an expected call of FetchTarget.
func (*MockGhClientMockRecorder) FetchTargets ¶
func (mr *MockGhClientMockRecorder) FetchTargets(ctx interface{}) *gomock.Call
FetchTargets indicates an expected call of FetchTargets.
func (*MockGhClientMockRecorder) MergePullRequest ¶
func (mr *MockGhClientMockRecorder) MergePullRequest(ctx, n interface{}) *gomock.Call
MergePullRequest indicates an expected call of MergePullRequest.
func (*MockGhClientMockRecorder) ResolveUsers ¶
func (mr *MockGhClientMockRecorder) ResolveUsers(ctx, in interface{}) *gomock.Call
ResolveUsers indicates an expected call of ResolveUsers.
func (*MockGhClientMockRecorder) SetAssignees ¶
func (mr *MockGhClientMockRecorder) SetAssignees(ctx, n, assignees interface{}) *gomock.Call
SetAssignees indicates an expected call of SetAssignees.
func (*MockGhClientMockRecorder) SetLabels ¶
func (mr *MockGhClientMockRecorder) SetLabels(ctx, n, labels interface{}) *gomock.Call
SetLabels indicates an expected call of SetLabels.
func (*MockGhClientMockRecorder) SetReviewers ¶
func (mr *MockGhClientMockRecorder) SetReviewers(ctx, n, reviewers interface{}) *gomock.Call
SetReviewers indicates an expected call of SetReviewers.
type MockSlkClient ¶
type MockSlkClient struct {
// contains filtered or unexported fields
}
MockSlkClient is a mock of SlkClient interface.
func NewMockSlkClient ¶
func NewMockSlkClient(ctrl *gomock.Controller) *MockSlkClient
NewMockSlkClient creates a new mock instance.
func (*MockSlkClient) EXPECT ¶
func (m *MockSlkClient) EXPECT() *MockSlkClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSlkClient) GetMentionLinkByName ¶ added in v0.6.0
GetMentionLinkByName mocks base method.
func (*MockSlkClient) PostMessage ¶
func (m_2 *MockSlkClient) PostMessage(ctx context.Context, m string) error
PostMessage mocks base method.
type MockSlkClientMockRecorder ¶
type MockSlkClientMockRecorder struct {
// contains filtered or unexported fields
}
MockSlkClientMockRecorder is the mock recorder for MockSlkClient.
func (*MockSlkClientMockRecorder) GetMentionLinkByName ¶ added in v0.6.0
func (mr *MockSlkClientMockRecorder) GetMentionLinkByName(ctx, name interface{}) *gomock.Call
GetMentionLinkByName indicates an expected call of GetMentionLinkByName.
func (*MockSlkClientMockRecorder) PostMessage ¶
func (mr *MockSlkClientMockRecorder) PostMessage(ctx, m interface{}) *gomock.Call
PostMessage indicates an expected call of PostMessage.