Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockRepoClient
- func (m *MockRepoClient) EXPECT() *MockRepoClientMockRecorder
- func (m *MockRepoClient) GetBranch(arg0 context.Context, arg1, arg2 string) (ghclient.BranchInfo, error)
- func (m *MockRepoClient) GetBranches(arg0 context.Context, arg1 string) ([]ghclient.BranchInfo, error)
- func (m *MockRepoClient) GetCommitMessage(arg0 context.Context, arg1, arg2 string) (string, error)
- func (m *MockRepoClient) GetDirectoryContents(arg0 context.Context, arg1, arg2, arg3 string) (map[string]ghclient.FileContents, error)
- func (m *MockRepoClient) GetFileContents(arg0 context.Context, arg1, arg2, arg3 string) ([]byte, error)
- func (m *MockRepoClient) GetPRStatus(arg0 context.Context, arg1 string, arg2 uint) (string, error)
- func (m *MockRepoClient) GetRepoArchive(arg0 context.Context, arg1, arg2 string) (string, error)
- func (m *MockRepoClient) GetTags(arg0 context.Context, arg1 string) ([]ghclient.BranchInfo, error)
- func (m *MockRepoClient) SetStatus(arg0 context.Context, arg1, arg2 string, arg3 *ghclient.CommitStatus) error
- type MockRepoClientMockRecorder
- func (mr *MockRepoClientMockRecorder) GetBranch(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockRepoClientMockRecorder) GetBranches(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRepoClientMockRecorder) GetCommitMessage(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockRepoClientMockRecorder) GetDirectoryContents(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockRepoClientMockRecorder) GetFileContents(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockRepoClientMockRecorder) GetPRStatus(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockRepoClientMockRecorder) GetRepoArchive(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockRepoClientMockRecorder) GetTags(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRepoClientMockRecorder) SetStatus(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- type MockSlackAPIClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRepoClient ¶
type MockRepoClient struct {
// contains filtered or unexported fields
}
MockRepoClient is a mock of RepoClient interface
func NewMockRepoClient ¶
func NewMockRepoClient(ctrl *gomock.Controller) *MockRepoClient
NewMockRepoClient creates a new mock instance
func (*MockRepoClient) EXPECT ¶
func (m *MockRepoClient) EXPECT() *MockRepoClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRepoClient) GetBranch ¶
func (m *MockRepoClient) GetBranch(arg0 context.Context, arg1, arg2 string) (ghclient.BranchInfo, error)
GetBranch mocks base method
func (*MockRepoClient) GetBranches ¶
func (m *MockRepoClient) GetBranches(arg0 context.Context, arg1 string) ([]ghclient.BranchInfo, error)
GetBranches mocks base method
func (*MockRepoClient) GetCommitMessage ¶
GetCommitMessage mocks base method
func (*MockRepoClient) GetDirectoryContents ¶
func (m *MockRepoClient) GetDirectoryContents(arg0 context.Context, arg1, arg2, arg3 string) (map[string]ghclient.FileContents, error)
GetDirectoryContents mocks base method
func (*MockRepoClient) GetFileContents ¶
func (m *MockRepoClient) GetFileContents(arg0 context.Context, arg1, arg2, arg3 string) ([]byte, error)
GetFileContents mocks base method
func (*MockRepoClient) GetPRStatus ¶
GetPRStatus mocks base method
func (*MockRepoClient) GetRepoArchive ¶ added in v0.7.6
GetRepoArchive mocks base method
func (*MockRepoClient) GetTags ¶
func (m *MockRepoClient) GetTags(arg0 context.Context, arg1 string) ([]ghclient.BranchInfo, error)
GetTags mocks base method
func (*MockRepoClient) SetStatus ¶
func (m *MockRepoClient) SetStatus(arg0 context.Context, arg1, arg2 string, arg3 *ghclient.CommitStatus) error
SetStatus mocks base method
type MockRepoClientMockRecorder ¶
type MockRepoClientMockRecorder struct {
// contains filtered or unexported fields
}
MockRepoClientMockRecorder is the mock recorder for MockRepoClient
func (*MockRepoClientMockRecorder) GetBranch ¶
func (mr *MockRepoClientMockRecorder) GetBranch(arg0, arg1, arg2 interface{}) *gomock.Call
GetBranch indicates an expected call of GetBranch
func (*MockRepoClientMockRecorder) GetBranches ¶
func (mr *MockRepoClientMockRecorder) GetBranches(arg0, arg1 interface{}) *gomock.Call
GetBranches indicates an expected call of GetBranches
func (*MockRepoClientMockRecorder) GetCommitMessage ¶
func (mr *MockRepoClientMockRecorder) GetCommitMessage(arg0, arg1, arg2 interface{}) *gomock.Call
GetCommitMessage indicates an expected call of GetCommitMessage
func (*MockRepoClientMockRecorder) GetDirectoryContents ¶
func (mr *MockRepoClientMockRecorder) GetDirectoryContents(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GetDirectoryContents indicates an expected call of GetDirectoryContents
func (*MockRepoClientMockRecorder) GetFileContents ¶
func (mr *MockRepoClientMockRecorder) GetFileContents(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GetFileContents indicates an expected call of GetFileContents
func (*MockRepoClientMockRecorder) GetPRStatus ¶
func (mr *MockRepoClientMockRecorder) GetPRStatus(arg0, arg1, arg2 interface{}) *gomock.Call
GetPRStatus indicates an expected call of GetPRStatus
func (*MockRepoClientMockRecorder) GetRepoArchive ¶ added in v0.7.6
func (mr *MockRepoClientMockRecorder) GetRepoArchive(arg0, arg1, arg2 interface{}) *gomock.Call
GetRepoArchive indicates an expected call of GetRepoArchive
func (*MockRepoClientMockRecorder) GetTags ¶
func (mr *MockRepoClientMockRecorder) GetTags(arg0, arg1 interface{}) *gomock.Call
GetTags indicates an expected call of GetTags
func (*MockRepoClientMockRecorder) SetStatus ¶
func (mr *MockRepoClientMockRecorder) SetStatus(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
SetStatus indicates an expected call of SetStatus
type MockSlackAPIClient ¶
type MockSlackAPIClient struct {
// contains filtered or unexported fields
}
Mock of SlackAPIClient interface
func NewMockSlackAPIClient ¶
func NewMockSlackAPIClient(ctrl *gomock.Controller) *MockSlackAPIClient
func (*MockSlackAPIClient) EXPECT ¶
func (_m *MockSlackAPIClient) EXPECT() *_MockSlackAPIClientRecorder
func (*MockSlackAPIClient) PostMessage ¶
func (_m *MockSlackAPIClient) PostMessage(_param0 string, _param1 string, _param2 slack.PostMessageParameters) (string, string, error)