Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockAbortCommandAPI
- type MockAbortCommandAPIMockRecorder
- type MockAddBranchCommandAPI
- type MockAddBranchCommandAPIMockRecorder
- type MockBranchCommandAPI
- type MockBranchCommandAPIMockRecorder
- type MockCommitCommandAPI
- type MockCommitCommandAPIMockRecorder
- type MockCommitsCommandAPI
- type MockCommitsCommandAPIMockRecorder
- type MockDiffCommandAPI
- type MockDiffCommandAPIMockRecorder
- type MockShowCommitCommandAPI
- type MockShowCommitCommandAPIMockRecorder
- type MockTrackBranchCommandAPI
- func (m *MockTrackBranchCommandAPI) Close() error
- func (m *MockTrackBranchCommandAPI) EXPECT() *MockTrackBranchCommandAPIMockRecorder
- func (m *MockTrackBranchCommandAPI) HasActiveBranch(arg0 string) (bool, error)
- func (m *MockTrackBranchCommandAPI) TrackBranch(arg0 string, arg1 []string, arg2 int) error
- type MockTrackBranchCommandAPIMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAbortCommandAPI ¶
type MockAbortCommandAPI struct {
// contains filtered or unexported fields
}
MockAbortCommandAPI is a mock of AbortCommandAPI interface
func NewMockAbortCommandAPI ¶
func NewMockAbortCommandAPI(ctrl *gomock.Controller) *MockAbortCommandAPI
NewMockAbortCommandAPI creates a new mock instance
func (*MockAbortCommandAPI) AbortBranch ¶
func (m *MockAbortCommandAPI) AbortBranch(arg0 string) error
AbortBranch mocks base method
func (*MockAbortCommandAPI) Close ¶
func (m *MockAbortCommandAPI) Close() error
Close mocks base method
func (*MockAbortCommandAPI) EXPECT ¶
func (m *MockAbortCommandAPI) EXPECT() *MockAbortCommandAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockAbortCommandAPI) HasActiveBranch ¶
func (m *MockAbortCommandAPI) HasActiveBranch(arg0 string) (bool, error)
HasActiveBranch mocks base method
type MockAbortCommandAPIMockRecorder ¶
type MockAbortCommandAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockAbortCommandAPIMockRecorder is the mock recorder for MockAbortCommandAPI
func (*MockAbortCommandAPIMockRecorder) AbortBranch ¶
func (mr *MockAbortCommandAPIMockRecorder) AbortBranch(arg0 interface{}) *gomock.Call
AbortBranch indicates an expected call of AbortBranch
func (*MockAbortCommandAPIMockRecorder) Close ¶
func (mr *MockAbortCommandAPIMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockAbortCommandAPIMockRecorder) HasActiveBranch ¶
func (mr *MockAbortCommandAPIMockRecorder) HasActiveBranch(arg0 interface{}) *gomock.Call
HasActiveBranch indicates an expected call of HasActiveBranch
type MockAddBranchCommandAPI ¶
type MockAddBranchCommandAPI struct {
// contains filtered or unexported fields
}
MockAddBranchCommandAPI is a mock of AddBranchCommandAPI interface
func NewMockAddBranchCommandAPI ¶
func NewMockAddBranchCommandAPI(ctrl *gomock.Controller) *MockAddBranchCommandAPI
NewMockAddBranchCommandAPI creates a new mock instance
func (*MockAddBranchCommandAPI) AddBranch ¶
func (m *MockAddBranchCommandAPI) AddBranch(arg0 string) error
AddBranch mocks base method
func (*MockAddBranchCommandAPI) Close ¶
func (m *MockAddBranchCommandAPI) Close() error
Close mocks base method
func (*MockAddBranchCommandAPI) EXPECT ¶
func (m *MockAddBranchCommandAPI) EXPECT() *MockAddBranchCommandAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockAddBranchCommandAPIMockRecorder ¶
type MockAddBranchCommandAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockAddBranchCommandAPIMockRecorder is the mock recorder for MockAddBranchCommandAPI
func (*MockAddBranchCommandAPIMockRecorder) AddBranch ¶
func (mr *MockAddBranchCommandAPIMockRecorder) AddBranch(arg0 interface{}) *gomock.Call
AddBranch indicates an expected call of AddBranch
func (*MockAddBranchCommandAPIMockRecorder) Close ¶
func (mr *MockAddBranchCommandAPIMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
type MockBranchCommandAPI ¶
type MockBranchCommandAPI struct {
// contains filtered or unexported fields
}
MockBranchCommandAPI is a mock of BranchCommandAPI interface
func NewMockBranchCommandAPI ¶
func NewMockBranchCommandAPI(ctrl *gomock.Controller) *MockBranchCommandAPI
NewMockBranchCommandAPI creates a new mock instance
func (*MockBranchCommandAPI) Close ¶
func (m *MockBranchCommandAPI) Close() error
Close mocks base method
func (*MockBranchCommandAPI) EXPECT ¶
func (m *MockBranchCommandAPI) EXPECT() *MockBranchCommandAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockBranchCommandAPI) HasActiveBranch ¶
func (m *MockBranchCommandAPI) HasActiveBranch(arg0 string) (bool, error)
HasActiveBranch mocks base method
type MockBranchCommandAPIMockRecorder ¶
type MockBranchCommandAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockBranchCommandAPIMockRecorder is the mock recorder for MockBranchCommandAPI
func (*MockBranchCommandAPIMockRecorder) Close ¶
func (mr *MockBranchCommandAPIMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockBranchCommandAPIMockRecorder) HasActiveBranch ¶
func (mr *MockBranchCommandAPIMockRecorder) HasActiveBranch(arg0 interface{}) *gomock.Call
HasActiveBranch indicates an expected call of HasActiveBranch
type MockCommitCommandAPI ¶
type MockCommitCommandAPI struct {
// contains filtered or unexported fields
}
MockCommitCommandAPI is a mock of CommitCommandAPI interface
func NewMockCommitCommandAPI ¶
func NewMockCommitCommandAPI(ctrl *gomock.Controller) *MockCommitCommandAPI
NewMockCommitCommandAPI creates a new mock instance
func (*MockCommitCommandAPI) Close ¶
func (m *MockCommitCommandAPI) Close() error
Close mocks base method
func (*MockCommitCommandAPI) CommitBranch ¶
func (m *MockCommitCommandAPI) CommitBranch(arg0 string) (int, error)
CommitBranch mocks base method
func (*MockCommitCommandAPI) EXPECT ¶
func (m *MockCommitCommandAPI) EXPECT() *MockCommitCommandAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockCommitCommandAPIMockRecorder ¶
type MockCommitCommandAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockCommitCommandAPIMockRecorder is the mock recorder for MockCommitCommandAPI
func (*MockCommitCommandAPIMockRecorder) Close ¶
func (mr *MockCommitCommandAPIMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockCommitCommandAPIMockRecorder) CommitBranch ¶
func (mr *MockCommitCommandAPIMockRecorder) CommitBranch(arg0 interface{}) *gomock.Call
CommitBranch indicates an expected call of CommitBranch
type MockCommitsCommandAPI ¶
type MockCommitsCommandAPI struct {
// contains filtered or unexported fields
}
MockCommitsCommandAPI is a mock of CommitsCommandAPI interface
func NewMockCommitsCommandAPI ¶
func NewMockCommitsCommandAPI(ctrl *gomock.Controller) *MockCommitsCommandAPI
NewMockCommitsCommandAPI creates a new mock instance
func (*MockCommitsCommandAPI) Close ¶
func (m *MockCommitsCommandAPI) Close() error
Close mocks base method
func (*MockCommitsCommandAPI) EXPECT ¶
func (m *MockCommitsCommandAPI) EXPECT() *MockCommitsCommandAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockCommitsCommandAPI) ListCommits ¶
func (m *MockCommitsCommandAPI) ListCommits() ([]model.GenerationCommit, error)
ListCommits mocks base method
type MockCommitsCommandAPIMockRecorder ¶
type MockCommitsCommandAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockCommitsCommandAPIMockRecorder is the mock recorder for MockCommitsCommandAPI
func (*MockCommitsCommandAPIMockRecorder) Close ¶
func (mr *MockCommitsCommandAPIMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockCommitsCommandAPIMockRecorder) ListCommits ¶
func (mr *MockCommitsCommandAPIMockRecorder) ListCommits() *gomock.Call
ListCommits indicates an expected call of ListCommits
type MockDiffCommandAPI ¶
type MockDiffCommandAPI struct {
// contains filtered or unexported fields
}
MockDiffCommandAPI is a mock of DiffCommandAPI interface
func NewMockDiffCommandAPI ¶
func NewMockDiffCommandAPI(ctrl *gomock.Controller) *MockDiffCommandAPI
NewMockDiffCommandAPI creates a new mock instance
func (*MockDiffCommandAPI) BranchInfo ¶
func (m *MockDiffCommandAPI) BranchInfo(arg0 string, arg1 bool, arg2 func(time.Time) string) (map[string]model.Generation, error)
BranchInfo mocks base method
func (*MockDiffCommandAPI) Close ¶
func (m *MockDiffCommandAPI) Close() error
Close mocks base method
func (*MockDiffCommandAPI) EXPECT ¶
func (m *MockDiffCommandAPI) EXPECT() *MockDiffCommandAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockDiffCommandAPIMockRecorder ¶
type MockDiffCommandAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockDiffCommandAPIMockRecorder is the mock recorder for MockDiffCommandAPI
func (*MockDiffCommandAPIMockRecorder) BranchInfo ¶
func (mr *MockDiffCommandAPIMockRecorder) BranchInfo(arg0, arg1, arg2 interface{}) *gomock.Call
BranchInfo indicates an expected call of BranchInfo
func (*MockDiffCommandAPIMockRecorder) Close ¶
func (mr *MockDiffCommandAPIMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
type MockShowCommitCommandAPI ¶
type MockShowCommitCommandAPI struct {
// contains filtered or unexported fields
}
MockShowCommitCommandAPI is a mock of ShowCommitCommandAPI interface
func NewMockShowCommitCommandAPI ¶
func NewMockShowCommitCommandAPI(ctrl *gomock.Controller) *MockShowCommitCommandAPI
NewMockShowCommitCommandAPI creates a new mock instance
func (*MockShowCommitCommandAPI) Close ¶
func (m *MockShowCommitCommandAPI) Close() error
Close mocks base method
func (*MockShowCommitCommandAPI) EXPECT ¶
func (m *MockShowCommitCommandAPI) EXPECT() *MockShowCommitCommandAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockShowCommitCommandAPI) ShowCommit ¶
func (m *MockShowCommitCommandAPI) ShowCommit(arg0 int) (model.GenerationCommit, error)
ShowCommit mocks base method
type MockShowCommitCommandAPIMockRecorder ¶
type MockShowCommitCommandAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockShowCommitCommandAPIMockRecorder is the mock recorder for MockShowCommitCommandAPI
func (*MockShowCommitCommandAPIMockRecorder) Close ¶
func (mr *MockShowCommitCommandAPIMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockShowCommitCommandAPIMockRecorder) ShowCommit ¶
func (mr *MockShowCommitCommandAPIMockRecorder) ShowCommit(arg0 interface{}) *gomock.Call
ShowCommit indicates an expected call of ShowCommit
type MockTrackBranchCommandAPI ¶
type MockTrackBranchCommandAPI struct {
// contains filtered or unexported fields
}
MockTrackBranchCommandAPI is a mock of TrackBranchCommandAPI interface
func NewMockTrackBranchCommandAPI ¶
func NewMockTrackBranchCommandAPI(ctrl *gomock.Controller) *MockTrackBranchCommandAPI
NewMockTrackBranchCommandAPI creates a new mock instance
func (*MockTrackBranchCommandAPI) Close ¶
func (m *MockTrackBranchCommandAPI) Close() error
Close mocks base method
func (*MockTrackBranchCommandAPI) EXPECT ¶
func (m *MockTrackBranchCommandAPI) EXPECT() *MockTrackBranchCommandAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockTrackBranchCommandAPI) HasActiveBranch ¶
func (m *MockTrackBranchCommandAPI) HasActiveBranch(arg0 string) (bool, error)
HasActiveBranch mocks base method
func (*MockTrackBranchCommandAPI) TrackBranch ¶
func (m *MockTrackBranchCommandAPI) TrackBranch(arg0 string, arg1 []string, arg2 int) error
TrackBranch mocks base method
type MockTrackBranchCommandAPIMockRecorder ¶
type MockTrackBranchCommandAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockTrackBranchCommandAPIMockRecorder is the mock recorder for MockTrackBranchCommandAPI
func (*MockTrackBranchCommandAPIMockRecorder) Close ¶
func (mr *MockTrackBranchCommandAPIMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockTrackBranchCommandAPIMockRecorder) HasActiveBranch ¶
func (mr *MockTrackBranchCommandAPIMockRecorder) HasActiveBranch(arg0 interface{}) *gomock.Call
HasActiveBranch indicates an expected call of HasActiveBranch
func (*MockTrackBranchCommandAPIMockRecorder) TrackBranch ¶
func (mr *MockTrackBranchCommandAPIMockRecorder) TrackBranch(arg0, arg1, arg2 interface{}) *gomock.Call
TrackBranch indicates an expected call of TrackBranch