mock_ldiff

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_ldiff is a generated GoMock package.

Index

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) EXPECT

func (m *MockDiff) EXPECT() *MockDiffMockRecorder

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

func (*MockDiff) Element

func (m *MockDiff) Element(arg0 string) (ldiff.Element, error)

Element mocks base method.

func (*MockDiff) Elements

func (m *MockDiff) Elements() []ldiff.Element

Elements mocks base method.

func (*MockDiff) Hash

func (m *MockDiff) Hash() string

Hash mocks base method.

func (*MockDiff) Ids

func (m *MockDiff) Ids() []string

Ids mocks base method.

func (*MockDiff) Len

func (m *MockDiff) Len() int

Len mocks base method.

func (*MockDiff) Ranges

func (m *MockDiff) Ranges(arg0 context.Context, arg1 []ldiff.Range, arg2 []ldiff.RangeResult) ([]ldiff.RangeResult, error)

Ranges mocks base method.

func (*MockDiff) RemoveId

func (m *MockDiff) RemoveId(arg0 string) error

RemoveId mocks base method.

func (*MockDiff) Set

func (m *MockDiff) Set(arg0 ...ldiff.Element)

Set mocks base method.

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) 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.

func (*MockDiffMockRecorder) RemoveId

func (mr *MockDiffMockRecorder) RemoveId(arg0 any) *gomock.Call

RemoveId indicates an expected call of RemoveId.

func (*MockDiffMockRecorder) Set

func (mr *MockDiffMockRecorder) Set(arg0 ...any) *gomock.Call

Set indicates an expected call of Set.

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.

func (*MockRemoteMockRecorder) Ranges

func (mr *MockRemoteMockRecorder) Ranges(arg0, arg1, arg2 any) *gomock.Call

Ranges indicates an expected call of Ranges.

Jump to

Keyboard shortcuts

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