mocks

package
v2.35.0 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

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 FieldIteratorStub

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

func NewFieldIteratorStub

func NewFieldIteratorStub(data [][]byte) *FieldIteratorStub

func (*FieldIteratorStub) HasNext

func (f *FieldIteratorStub) HasNext() bool

func (*FieldIteratorStub) Next

func (f *FieldIteratorStub) Next() []byte

type MockFieldIterator

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

MockFieldIterator is a mock of FieldIterator interface.

func NewMockFieldIterator

func NewMockFieldIterator(ctrl *gomock.Controller) *MockFieldIterator

NewMockFieldIterator creates a new mock instance.

func (*MockFieldIterator) EXPECT

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

func (*MockFieldIterator) HasNext

func (m *MockFieldIterator) HasNext() bool

HasNext mocks base method.

func (*MockFieldIterator) Next

func (m *MockFieldIterator) Next() []byte

Next mocks base method.

type MockFieldIteratorMockRecorder

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

MockFieldIteratorMockRecorder is the mock recorder for MockFieldIterator.

func (*MockFieldIteratorMockRecorder) HasNext

func (mr *MockFieldIteratorMockRecorder) HasNext() *gomock.Call

HasNext indicates an expected call of HasNext.

func (*MockFieldIteratorMockRecorder) Next

Next indicates an expected call of Next.

type MockLookupSet

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

MockLookupSet is a mock of LookupSet interface.

func NewMockLookupSet

func NewMockLookupSet(ctrl *gomock.Controller) *MockLookupSet

NewMockLookupSet creates a new mock instance.

func (*MockLookupSet) EXPECT

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

func (*MockLookupSet) LookupBytes

func (m *MockLookupSet) LookupBytes(arg0 schema.FieldIndex, arg1 []byte) (int, error)

LookupBytes mocks base method.

func (*MockLookupSet) LookupCode

func (m *MockLookupSet) LookupCode(arg0, arg1 int) (string, error)

LookupCode mocks base method.

type MockLookupSetMockRecorder

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

MockLookupSetMockRecorder is the mock recorder for MockLookupSet.

func (*MockLookupSetMockRecorder) LookupBytes

func (mr *MockLookupSetMockRecorder) LookupBytes(arg0, arg1 any) *gomock.Call

LookupBytes indicates an expected call of LookupBytes.

func (*MockLookupSetMockRecorder) LookupCode

func (mr *MockLookupSetMockRecorder) LookupCode(arg0, arg1 any) *gomock.Call

LookupCode indicates an expected call of LookupCode.

type MockSamples

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

MockSamples is a mock of Samples interface.

func NewMockSamples

func NewMockSamples(ctrl *gomock.Controller) *MockSamples

NewMockSamples creates a new mock instance.

func (*MockSamples) Add

func (m *MockSamples) Add(s sample.Sample) error

Add mocks base method.

func (*MockSamples) Clear

func (m *MockSamples) Clear()

Clear mocks base method.

func (*MockSamples) EXPECT

func (m *MockSamples) EXPECT() *MockSamplesMockRecorder

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

func (*MockSamples) Len

func (m *MockSamples) Len() int

Len mocks base method.

func (*MockSamples) Range

func (m *MockSamples) Range(cb func(*sample.Sample))

Range mocks base method.

type MockSamplesMockRecorder

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

MockSamplesMockRecorder is the mock recorder for MockSamples.

func (*MockSamplesMockRecorder) Add

func (mr *MockSamplesMockRecorder) Add(s any) *gomock.Call

Add indicates an expected call of Add.

func (*MockSamplesMockRecorder) Clear

func (mr *MockSamplesMockRecorder) Clear() *gomock.Call

Clear indicates an expected call of Clear.

func (*MockSamplesMockRecorder) Len

func (mr *MockSamplesMockRecorder) Len() *gomock.Call

Len indicates an expected call of Len.

func (*MockSamplesMockRecorder) Range

func (mr *MockSamplesMockRecorder) Range(cb any) *gomock.Call

Range indicates an expected call of Range.

type MockSamplesView

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

MockSamplesView is a mock of SamplesView interface.

func NewMockSamplesView

func NewMockSamplesView(ctrl *gomock.Controller) *MockSamplesView

NewMockSamplesView creates a new mock instance.

func (*MockSamplesView) EXPECT

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

func (*MockSamplesView) Range

func (m *MockSamplesView) Range(cb func(*sample.Sample))

Range mocks base method.

type MockSamplesViewMockRecorder

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

MockSamplesViewMockRecorder is the mock recorder for MockSamplesView.

func (*MockSamplesViewMockRecorder) Range

func (mr *MockSamplesViewMockRecorder) Range(cb any) *gomock.Call

Range indicates an expected call of Range.

Jump to

Keyboard shortcuts

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