mocks

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: MIT Imports: 3 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 MockpostStatesGetter

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

MockpostStatesGetter is a mock of postStatesGetter interface.

func NewMockpostStatesGetter

func NewMockpostStatesGetter(ctrl *gomock.Controller) *MockpostStatesGetter

NewMockpostStatesGetter creates a new mock instance.

func (*MockpostStatesGetter) EXPECT

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

func (*MockpostStatesGetter) Get

Get mocks base method.

type MockpostStatesGetterGetCall

type MockpostStatesGetterGetCall struct {
	*gomock.Call
}

MockpostStatesGetterGetCall wrap *gomock.Call

func (*MockpostStatesGetterGetCall) Do

Do rewrite *gomock.Call.Do

func (*MockpostStatesGetterGetCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockpostStatesGetterGetCall) Return

Return rewrite *gomock.Call.Return

type MockpostStatesGetterMockRecorder

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

MockpostStatesGetterMockRecorder is the mock recorder for MockpostStatesGetter.

func (*MockpostStatesGetterMockRecorder) Get

Get indicates an expected call of Get.

type Mocksubscription

type Mocksubscription[T any] struct {
	// contains filtered or unexported fields
}

Mocksubscription is a mock of subscription interface.

func NewMocksubscription

func NewMocksubscription[T any](ctrl *gomock.Controller) *Mocksubscription[T]

NewMocksubscription creates a new mock instance.

func (*Mocksubscription[T]) Close

func (m *Mocksubscription[T]) Close()

Close mocks base method.

func (*Mocksubscription[T]) EXPECT

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

func (*Mocksubscription[T]) Full

func (m *Mocksubscription[T]) Full() <-chan struct{}

Full mocks base method.

func (*Mocksubscription[T]) Out

func (m *Mocksubscription[T]) Out() <-chan T

Out mocks base method.

type MocksubscriptionCloseCall

type MocksubscriptionCloseCall[T any] struct {
	*gomock.Call
}

MocksubscriptionCloseCall wrap *gomock.Call

func (*MocksubscriptionCloseCall[T]) Do

Do rewrite *gomock.Call.Do

func (*MocksubscriptionCloseCall[T]) DoAndReturn

func (c *MocksubscriptionCloseCall[T]) DoAndReturn(f func()) *MocksubscriptionCloseCall[T]

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MocksubscriptionCloseCall[T]) Return

Return rewrite *gomock.Call.Return

type MocksubscriptionFullCall

type MocksubscriptionFullCall[T any] struct {
	*gomock.Call
}

MocksubscriptionFullCall wrap *gomock.Call

func (*MocksubscriptionFullCall[T]) Do

func (c *MocksubscriptionFullCall[T]) Do(f func() <-chan struct{}) *MocksubscriptionFullCall[T]

Do rewrite *gomock.Call.Do

func (*MocksubscriptionFullCall[T]) DoAndReturn

func (c *MocksubscriptionFullCall[T]) DoAndReturn(f func() <-chan struct{}) *MocksubscriptionFullCall[T]

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MocksubscriptionFullCall[T]) Return

func (c *MocksubscriptionFullCall[T]) Return(arg0 <-chan struct{}) *MocksubscriptionFullCall[T]

Return rewrite *gomock.Call.Return

type MocksubscriptionMockRecorder

type MocksubscriptionMockRecorder[T any] struct {
	// contains filtered or unexported fields
}

MocksubscriptionMockRecorder is the mock recorder for Mocksubscription.

func (*MocksubscriptionMockRecorder[T]) Close

Close indicates an expected call of Close.

func (*MocksubscriptionMockRecorder[T]) Full

Full indicates an expected call of Full.

func (*MocksubscriptionMockRecorder[T]) Out

Out indicates an expected call of Out.

type MocksubscriptionOutCall

type MocksubscriptionOutCall[T any] struct {
	*gomock.Call
}

MocksubscriptionOutCall wrap *gomock.Call

func (*MocksubscriptionOutCall[T]) Do

func (c *MocksubscriptionOutCall[T]) Do(f func() <-chan T) *MocksubscriptionOutCall[T]

Do rewrite *gomock.Call.Do

func (*MocksubscriptionOutCall[T]) DoAndReturn

func (c *MocksubscriptionOutCall[T]) DoAndReturn(f func() <-chan T) *MocksubscriptionOutCall[T]

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MocksubscriptionOutCall[T]) Return

func (c *MocksubscriptionOutCall[T]) Return(arg0 <-chan T) *MocksubscriptionOutCall[T]

Return rewrite *gomock.Call.Return

Jump to

Keyboard shortcuts

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