Documentation ¶
Overview ¶
Package mock_ldiff is a generated GoMock package.
Index ¶
- type MockDiff
- func (m *MockDiff) Diff(arg0 context.Context, arg1 ldiff.Remote) ([]string, []string, []string, error)
- func (m *MockDiff) DiffType() spacesyncproto.DiffType
- func (m *MockDiff) EXPECT() *MockDiffMockRecorder
- func (m *MockDiff) Element(arg0 string) (ldiff.Element, error)
- func (m *MockDiff) Elements() []ldiff.Element
- func (m *MockDiff) Hash() string
- func (m *MockDiff) Ids() []string
- func (m *MockDiff) Len() int
- func (m *MockDiff) Ranges(arg0 context.Context, arg1 []ldiff.Range, arg2 []ldiff.RangeResult) ([]ldiff.RangeResult, error)
- func (m *MockDiff) RemoveId(arg0 string) error
- func (m *MockDiff) Set(arg0 ...ldiff.Element)
- type MockDiffContainer
- func (m *MockDiffContainer) DiffTypeCheck(arg0 context.Context, arg1 ldiff.RemoteTypeChecker) (bool, ldiff.Diff, error)
- func (m *MockDiffContainer) EXPECT() *MockDiffContainerMockRecorder
- func (m *MockDiffContainer) InitialDiff() ldiff.Diff
- func (m *MockDiffContainer) PrecalculatedDiff() ldiff.Diff
- func (m *MockDiffContainer) RemoveId(arg0 string) error
- func (m *MockDiffContainer) Set(arg0 ...ldiff.Element)
- type MockDiffContainerMockRecorder
- func (mr *MockDiffContainerMockRecorder) DiffTypeCheck(arg0, arg1 any) *gomock.Call
- func (mr *MockDiffContainerMockRecorder) InitialDiff() *gomock.Call
- func (mr *MockDiffContainerMockRecorder) PrecalculatedDiff() *gomock.Call
- func (mr *MockDiffContainerMockRecorder) RemoveId(arg0 any) *gomock.Call
- func (mr *MockDiffContainerMockRecorder) Set(arg0 ...any) *gomock.Call
- type MockDiffMockRecorder
- func (mr *MockDiffMockRecorder) Diff(arg0, arg1 any) *gomock.Call
- func (mr *MockDiffMockRecorder) DiffType() *gomock.Call
- func (mr *MockDiffMockRecorder) Element(arg0 any) *gomock.Call
- func (mr *MockDiffMockRecorder) Elements() *gomock.Call
- func (mr *MockDiffMockRecorder) Hash() *gomock.Call
- func (mr *MockDiffMockRecorder) Ids() *gomock.Call
- func (mr *MockDiffMockRecorder) Len() *gomock.Call
- func (mr *MockDiffMockRecorder) Ranges(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockDiffMockRecorder) RemoveId(arg0 any) *gomock.Call
- func (mr *MockDiffMockRecorder) Set(arg0 ...any) *gomock.Call
- type MockRemote
- type MockRemoteMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDiff ¶
type MockDiff struct {
// contains filtered or unexported fields
}
MockDiff is a mock of Diff interface.
func NewMockDiff ¶
func NewMockDiff(ctrl *gomock.Controller) *MockDiff
NewMockDiff creates a new mock instance.
func (*MockDiff) Diff ¶
func (m *MockDiff) Diff(arg0 context.Context, arg1 ldiff.Remote) ([]string, []string, []string, error)
Diff mocks base method.
func (*MockDiff) DiffType ¶ added in v0.3.11
func (m *MockDiff) DiffType() spacesyncproto.DiffType
DiffType mocks base method.
func (*MockDiff) EXPECT ¶
func (m *MockDiff) EXPECT() *MockDiffMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDiff) Ranges ¶
func (m *MockDiff) Ranges(arg0 context.Context, arg1 []ldiff.Range, arg2 []ldiff.RangeResult) ([]ldiff.RangeResult, error)
Ranges mocks base method.
type MockDiffContainer ¶ added in v0.3.11
type MockDiffContainer struct {
// contains filtered or unexported fields
}
MockDiffContainer is a mock of DiffContainer interface.
func NewMockDiffContainer ¶ added in v0.3.11
func NewMockDiffContainer(ctrl *gomock.Controller) *MockDiffContainer
NewMockDiffContainer creates a new mock instance.
func (*MockDiffContainer) DiffTypeCheck ¶ added in v0.3.11
func (m *MockDiffContainer) DiffTypeCheck(arg0 context.Context, arg1 ldiff.RemoteTypeChecker) (bool, ldiff.Diff, error)
DiffTypeCheck mocks base method.
func (*MockDiffContainer) EXPECT ¶ added in v0.3.11
func (m *MockDiffContainer) EXPECT() *MockDiffContainerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDiffContainer) InitialDiff ¶ added in v0.3.11
func (m *MockDiffContainer) InitialDiff() ldiff.Diff
InitialDiff mocks base method.
func (*MockDiffContainer) PrecalculatedDiff ¶ added in v0.3.11
func (m *MockDiffContainer) PrecalculatedDiff() ldiff.Diff
PrecalculatedDiff mocks base method.
func (*MockDiffContainer) RemoveId ¶ added in v0.3.11
func (m *MockDiffContainer) RemoveId(arg0 string) error
RemoveId mocks base method.
func (*MockDiffContainer) Set ¶ added in v0.3.11
func (m *MockDiffContainer) Set(arg0 ...ldiff.Element)
Set mocks base method.
type MockDiffContainerMockRecorder ¶ added in v0.3.11
type MockDiffContainerMockRecorder struct {
// contains filtered or unexported fields
}
MockDiffContainerMockRecorder is the mock recorder for MockDiffContainer.
func (*MockDiffContainerMockRecorder) DiffTypeCheck ¶ added in v0.3.11
func (mr *MockDiffContainerMockRecorder) DiffTypeCheck(arg0, arg1 any) *gomock.Call
DiffTypeCheck indicates an expected call of DiffTypeCheck.
func (*MockDiffContainerMockRecorder) InitialDiff ¶ added in v0.3.11
func (mr *MockDiffContainerMockRecorder) InitialDiff() *gomock.Call
InitialDiff indicates an expected call of InitialDiff.
func (*MockDiffContainerMockRecorder) PrecalculatedDiff ¶ added in v0.3.11
func (mr *MockDiffContainerMockRecorder) PrecalculatedDiff() *gomock.Call
PrecalculatedDiff indicates an expected call of PrecalculatedDiff.
type MockDiffMockRecorder ¶
type MockDiffMockRecorder struct {
// contains filtered or unexported fields
}
MockDiffMockRecorder is the mock recorder for MockDiff.
func (*MockDiffMockRecorder) Diff ¶
func (mr *MockDiffMockRecorder) Diff(arg0, arg1 any) *gomock.Call
Diff indicates an expected call of Diff.
func (*MockDiffMockRecorder) DiffType ¶ added in v0.3.11
func (mr *MockDiffMockRecorder) DiffType() *gomock.Call
DiffType indicates an expected call of DiffType.
func (*MockDiffMockRecorder) Element ¶
func (mr *MockDiffMockRecorder) Element(arg0 any) *gomock.Call
Element indicates an expected call of Element.
func (*MockDiffMockRecorder) Elements ¶
func (mr *MockDiffMockRecorder) Elements() *gomock.Call
Elements indicates an expected call of Elements.
func (*MockDiffMockRecorder) Hash ¶
func (mr *MockDiffMockRecorder) Hash() *gomock.Call
Hash indicates an expected call of Hash.
func (*MockDiffMockRecorder) Ids ¶
func (mr *MockDiffMockRecorder) Ids() *gomock.Call
Ids indicates an expected call of Ids.
func (*MockDiffMockRecorder) Len ¶
func (mr *MockDiffMockRecorder) Len() *gomock.Call
Len indicates an expected call of Len.
func (*MockDiffMockRecorder) Ranges ¶
func (mr *MockDiffMockRecorder) Ranges(arg0, arg1, arg2 any) *gomock.Call
Ranges indicates an expected call of Ranges.
type MockRemote ¶
type MockRemote struct {
// contains filtered or unexported fields
}
MockRemote is a mock of Remote interface.
func NewMockRemote ¶
func NewMockRemote(ctrl *gomock.Controller) *MockRemote
NewMockRemote creates a new mock instance.
func (*MockRemote) EXPECT ¶
func (m *MockRemote) EXPECT() *MockRemoteMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRemote) Ranges ¶
func (m *MockRemote) Ranges(arg0 context.Context, arg1 []ldiff.Range, arg2 []ldiff.RangeResult) ([]ldiff.RangeResult, error)
Ranges mocks base method.
type MockRemoteMockRecorder ¶
type MockRemoteMockRecorder struct {
// contains filtered or unexported fields
}
MockRemoteMockRecorder is the mock recorder for MockRemote.