mocks

package
v0.0.0-...-e653fdf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

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

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

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 any) *gomock.Call

AbortBranch indicates an expected call of AbortBranch.

func (*MockAbortCommandAPIMockRecorder) Close

Close indicates an expected call of Close.

func (*MockAbortCommandAPIMockRecorder) HasActiveBranch

func (mr *MockAbortCommandAPIMockRecorder) HasActiveBranch(arg0 any) *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

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 any) *gomock.Call

AddBranch indicates an expected call of AddBranch.

func (*MockAddBranchCommandAPIMockRecorder) Close

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

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

Close indicates an expected call of Close.

func (*MockBranchCommandAPIMockRecorder) HasActiveBranch

func (mr *MockBranchCommandAPIMockRecorder) HasActiveBranch(arg0 any) *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

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

Close indicates an expected call of Close.

func (*MockCommitCommandAPIMockRecorder) CommitBranch

func (mr *MockCommitCommandAPIMockRecorder) CommitBranch(arg0 any) *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

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

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

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 any) *gomock.Call

BranchInfo indicates an expected call of BranchInfo.

func (*MockDiffCommandAPIMockRecorder) Close

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

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

Close indicates an expected call of Close.

func (*MockShowCommitCommandAPIMockRecorder) ShowCommit

func (mr *MockShowCommitCommandAPIMockRecorder) ShowCommit(arg0 any) *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

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

Close indicates an expected call of Close.

func (*MockTrackBranchCommandAPIMockRecorder) HasActiveBranch

func (mr *MockTrackBranchCommandAPIMockRecorder) HasActiveBranch(arg0 any) *gomock.Call

HasActiveBranch indicates an expected call of HasActiveBranch.

func (*MockTrackBranchCommandAPIMockRecorder) TrackBranch

func (mr *MockTrackBranchCommandAPIMockRecorder) TrackBranch(arg0, arg1, arg2 any) *gomock.Call

TrackBranch indicates an expected call of TrackBranch.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL