Documentation ¶
Overview ¶
Package mock_model is a generated GoMock package.
Package mock_model is a generated GoMock package.
Index ¶
- type MockChangeCommitter
- type MockChangeCommitterMockRecorder
- type MockChangeIdHolder
- type MockChangeIdHolderMockRecorder
- type MockFileWithContent
- type MockFileWithContentMockRecorder
- type MockHashedFile
- type MockHashedFileMockRecorder
- type MockIdentifiableHashedFile
- type MockIdentifiableHashedFileMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockChangeCommitter ¶
type MockChangeCommitter struct {
// contains filtered or unexported fields
}
MockChangeCommitter is a mock of ChangeCommitter interface.
func NewMockChangeCommitter ¶
func NewMockChangeCommitter(ctrl *gomock.Controller) *MockChangeCommitter
NewMockChangeCommitter creates a new mock instance.
func (*MockChangeCommitter) CommitAdd ¶
func (m *MockChangeCommitter) CommitAdd(arg0 string, arg1 model.HashedFile) error
CommitAdd mocks base method.
func (*MockChangeCommitter) CommitDelete ¶
func (m *MockChangeCommitter) CommitDelete(arg0 string, arg1 model.HashedFile) error
CommitDelete mocks base method.
func (*MockChangeCommitter) EXPECT ¶
func (m *MockChangeCommitter) EXPECT() *MockChangeCommitterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockChangeCommitterMockRecorder ¶
type MockChangeCommitterMockRecorder struct {
// contains filtered or unexported fields
}
MockChangeCommitterMockRecorder is the mock recorder for MockChangeCommitter.
func (*MockChangeCommitterMockRecorder) CommitAdd ¶
func (mr *MockChangeCommitterMockRecorder) CommitAdd(arg0, arg1 interface{}) *gomock.Call
CommitAdd indicates an expected call of CommitAdd.
func (*MockChangeCommitterMockRecorder) CommitDelete ¶
func (mr *MockChangeCommitterMockRecorder) CommitDelete(arg0, arg1 interface{}) *gomock.Call
CommitDelete indicates an expected call of CommitDelete.
type MockChangeIdHolder ¶
type MockChangeIdHolder struct {
// contains filtered or unexported fields
}
MockChangeIdHolder is a mock of ChangeIdHolder interface.
func NewMockChangeIdHolder ¶
func NewMockChangeIdHolder(ctrl *gomock.Controller) *MockChangeIdHolder
NewMockChangeIdHolder creates a new mock instance.
func (*MockChangeIdHolder) ChangeId ¶
func (m *MockChangeIdHolder) ChangeId() string
ChangeId mocks base method.
func (*MockChangeIdHolder) EXPECT ¶
func (m *MockChangeIdHolder) EXPECT() *MockChangeIdHolderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockChangeIdHolderMockRecorder ¶
type MockChangeIdHolderMockRecorder struct {
// contains filtered or unexported fields
}
MockChangeIdHolderMockRecorder is the mock recorder for MockChangeIdHolder.
func (*MockChangeIdHolderMockRecorder) ChangeId ¶
func (mr *MockChangeIdHolderMockRecorder) ChangeId() *gomock.Call
ChangeId indicates an expected call of ChangeId.
type MockFileWithContent ¶
type MockFileWithContent struct {
// contains filtered or unexported fields
}
MockFileWithContent is a mock of FileWithContent interface.
func NewMockFileWithContent ¶
func NewMockFileWithContent(ctrl *gomock.Controller) *MockFileWithContent
NewMockFileWithContent creates a new mock instance.
func (*MockFileWithContent) Content ¶
func (m *MockFileWithContent) Content() (io.ReadCloser, error)
Content mocks base method.
func (*MockFileWithContent) EXPECT ¶
func (m *MockFileWithContent) EXPECT() *MockFileWithContentMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFileWithContent) Hash ¶
func (m *MockFileWithContent) Hash() string
Hash mocks base method.
func (*MockFileWithContent) Path ¶
func (m *MockFileWithContent) Path() string
Path mocks base method.
func (*MockFileWithContent) Size ¶
func (m *MockFileWithContent) Size() (int64, error)
Size mocks base method.
type MockFileWithContentMockRecorder ¶
type MockFileWithContentMockRecorder struct {
// contains filtered or unexported fields
}
MockFileWithContentMockRecorder is the mock recorder for MockFileWithContent.
func (*MockFileWithContentMockRecorder) Content ¶
func (mr *MockFileWithContentMockRecorder) Content() *gomock.Call
Content indicates an expected call of Content.
func (*MockFileWithContentMockRecorder) Hash ¶
func (mr *MockFileWithContentMockRecorder) Hash() *gomock.Call
Hash indicates an expected call of Hash.
func (*MockFileWithContentMockRecorder) Path ¶
func (mr *MockFileWithContentMockRecorder) Path() *gomock.Call
Path indicates an expected call of Path.
func (*MockFileWithContentMockRecorder) Size ¶
func (mr *MockFileWithContentMockRecorder) Size() *gomock.Call
Size indicates an expected call of Size.
type MockHashedFile ¶
type MockHashedFile struct {
// contains filtered or unexported fields
}
MockHashedFile is a mock of HashedFile interface.
func NewMockHashedFile ¶
func NewMockHashedFile(ctrl *gomock.Controller) *MockHashedFile
NewMockHashedFile creates a new mock instance.
func (*MockHashedFile) EXPECT ¶
func (m *MockHashedFile) EXPECT() *MockHashedFileMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockHashedFileMockRecorder ¶
type MockHashedFileMockRecorder struct {
// contains filtered or unexported fields
}
MockHashedFileMockRecorder is the mock recorder for MockHashedFile.
func (*MockHashedFileMockRecorder) Hash ¶
func (mr *MockHashedFileMockRecorder) Hash() *gomock.Call
Hash indicates an expected call of Hash.
func (*MockHashedFileMockRecorder) Path ¶
func (mr *MockHashedFileMockRecorder) Path() *gomock.Call
Path indicates an expected call of Path.
type MockIdentifiableHashedFile ¶
type MockIdentifiableHashedFile struct {
// contains filtered or unexported fields
}
MockIdentifiableHashedFile is a mock of IdentifiableHashedFile interface.
func NewMockIdentifiableHashedFile ¶
func NewMockIdentifiableHashedFile(ctrl *gomock.Controller) *MockIdentifiableHashedFile
NewMockIdentifiableHashedFile creates a new mock instance.
func (*MockIdentifiableHashedFile) ChangeId ¶
func (m *MockIdentifiableHashedFile) ChangeId() string
ChangeId mocks base method.
func (*MockIdentifiableHashedFile) EXPECT ¶
func (m *MockIdentifiableHashedFile) EXPECT() *MockIdentifiableHashedFileMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIdentifiableHashedFile) Hash ¶
func (m *MockIdentifiableHashedFile) Hash() string
Hash mocks base method.
func (*MockIdentifiableHashedFile) Path ¶
func (m *MockIdentifiableHashedFile) Path() string
Path mocks base method.
type MockIdentifiableHashedFileMockRecorder ¶
type MockIdentifiableHashedFileMockRecorder struct {
// contains filtered or unexported fields
}
MockIdentifiableHashedFileMockRecorder is the mock recorder for MockIdentifiableHashedFile.
func (*MockIdentifiableHashedFileMockRecorder) ChangeId ¶
func (mr *MockIdentifiableHashedFileMockRecorder) ChangeId() *gomock.Call
ChangeId indicates an expected call of ChangeId.
func (*MockIdentifiableHashedFileMockRecorder) Hash ¶
func (mr *MockIdentifiableHashedFileMockRecorder) Hash() *gomock.Call
Hash indicates an expected call of Hash.
func (*MockIdentifiableHashedFileMockRecorder) Path ¶
func (mr *MockIdentifiableHashedFileMockRecorder) Path() *gomock.Call
Path indicates an expected call of Path.