mock_inspector

package
v0.10.3-0...-54aaeda Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockSealOperator

type MockSealOperator struct {
	mock.Mock
}

MockSealOperator is an autogenerated mock type for the SealOperator type

func NewMockSealOperator

func NewMockSealOperator(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockSealOperator

NewMockSealOperator creates a new instance of MockSealOperator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MockSealOperator) Channel

func (_m *MockSealOperator) Channel() types.PChannelInfo

Channel provides a mock function with given fields:

func (*MockSealOperator) EXPECT

func (*MockSealOperator) IsNoWaitSeal

func (_m *MockSealOperator) IsNoWaitSeal() bool

IsNoWaitSeal provides a mock function with given fields:

func (*MockSealOperator) MustSealSegments

func (_m *MockSealOperator) MustSealSegments(ctx context.Context, infos ...stats.SegmentBelongs)

MustSealSegments provides a mock function with given fields: ctx, infos

func (*MockSealOperator) TryToSealSegments

func (_m *MockSealOperator) TryToSealSegments(ctx context.Context, infos ...stats.SegmentBelongs)

TryToSealSegments provides a mock function with given fields: ctx, infos

func (*MockSealOperator) TryToSealWaitedSegment

func (_m *MockSealOperator) TryToSealWaitedSegment(ctx context.Context)

TryToSealWaitedSegment provides a mock function with given fields: ctx

type MockSealOperator_Channel_Call

type MockSealOperator_Channel_Call struct {
	*mock.Call
}

MockSealOperator_Channel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Channel'

func (*MockSealOperator_Channel_Call) Return

func (*MockSealOperator_Channel_Call) Run

func (*MockSealOperator_Channel_Call) RunAndReturn

type MockSealOperator_Expecter

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

func (*MockSealOperator_Expecter) Channel

Channel is a helper method to define mock.On call

func (*MockSealOperator_Expecter) IsNoWaitSeal

IsNoWaitSeal is a helper method to define mock.On call

func (*MockSealOperator_Expecter) MustSealSegments

func (_e *MockSealOperator_Expecter) MustSealSegments(ctx interface{}, infos ...interface{}) *MockSealOperator_MustSealSegments_Call

MustSealSegments is a helper method to define mock.On call

  • ctx context.Context
  • infos ...stats.SegmentBelongs

func (*MockSealOperator_Expecter) TryToSealSegments

func (_e *MockSealOperator_Expecter) TryToSealSegments(ctx interface{}, infos ...interface{}) *MockSealOperator_TryToSealSegments_Call

TryToSealSegments is a helper method to define mock.On call

  • ctx context.Context
  • infos ...stats.SegmentBelongs

func (*MockSealOperator_Expecter) TryToSealWaitedSegment

func (_e *MockSealOperator_Expecter) TryToSealWaitedSegment(ctx interface{}) *MockSealOperator_TryToSealWaitedSegment_Call

TryToSealWaitedSegment is a helper method to define mock.On call

  • ctx context.Context

type MockSealOperator_IsNoWaitSeal_Call

type MockSealOperator_IsNoWaitSeal_Call struct {
	*mock.Call
}

MockSealOperator_IsNoWaitSeal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsNoWaitSeal'

func (*MockSealOperator_IsNoWaitSeal_Call) Return

func (*MockSealOperator_IsNoWaitSeal_Call) Run

func (*MockSealOperator_IsNoWaitSeal_Call) RunAndReturn

type MockSealOperator_MustSealSegments_Call

type MockSealOperator_MustSealSegments_Call struct {
	*mock.Call
}

MockSealOperator_MustSealSegments_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MustSealSegments'

func (*MockSealOperator_MustSealSegments_Call) Return

func (*MockSealOperator_MustSealSegments_Call) Run

func (*MockSealOperator_MustSealSegments_Call) RunAndReturn

type MockSealOperator_TryToSealSegments_Call

type MockSealOperator_TryToSealSegments_Call struct {
	*mock.Call
}

MockSealOperator_TryToSealSegments_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TryToSealSegments'

func (*MockSealOperator_TryToSealSegments_Call) Return

func (*MockSealOperator_TryToSealSegments_Call) Run

func (*MockSealOperator_TryToSealSegments_Call) RunAndReturn

type MockSealOperator_TryToSealWaitedSegment_Call

type MockSealOperator_TryToSealWaitedSegment_Call struct {
	*mock.Call
}

MockSealOperator_TryToSealWaitedSegment_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TryToSealWaitedSegment'

func (*MockSealOperator_TryToSealWaitedSegment_Call) Return

func (*MockSealOperator_TryToSealWaitedSegment_Call) Run

func (*MockSealOperator_TryToSealWaitedSegment_Call) RunAndReturn

Jump to

Keyboard shortcuts

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