mock_model

package
v0.0.0-...-97c84cb Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_model is a generated GoMock package.

Package mock_model is a generated GoMock package.

Index

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

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

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

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

Content indicates an expected call of Content.

func (*MockFileWithContentMockRecorder) Hash

Hash indicates an expected call of Hash.

func (*MockFileWithContentMockRecorder) Path

Path indicates an expected call of Path.

func (*MockFileWithContentMockRecorder) Size

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockHashedFile) Hash

func (m *MockHashedFile) Hash() string

Hash mocks base method.

func (*MockHashedFile) Path

func (m *MockHashedFile) Path() string

Path mocks base method.

type MockHashedFileMockRecorder

type MockHashedFileMockRecorder struct {
	// contains filtered or unexported fields
}

MockHashedFileMockRecorder is the mock recorder for MockHashedFile.

func (*MockHashedFileMockRecorder) Hash

Hash indicates an expected call of Hash.

func (*MockHashedFileMockRecorder) Path

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockIdentifiableHashedFile) Hash

Hash mocks base method.

func (*MockIdentifiableHashedFile) Path

Path mocks base method.

type MockIdentifiableHashedFileMockRecorder

type MockIdentifiableHashedFileMockRecorder struct {
	// contains filtered or unexported fields
}

MockIdentifiableHashedFileMockRecorder is the mock recorder for MockIdentifiableHashedFile.

func (*MockIdentifiableHashedFileMockRecorder) ChangeId

ChangeId indicates an expected call of ChangeId.

func (*MockIdentifiableHashedFileMockRecorder) Hash

Hash indicates an expected call of Hash.

func (*MockIdentifiableHashedFileMockRecorder) Path

Path indicates an expected call of Path.

Jump to

Keyboard shortcuts

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