mock_notifier

package
v0.9.1-rc1 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_notifier is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClonable

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

MockClonable is a mock of Clonable interface.

func NewMockClonable

func NewMockClonable[T any](ctrl *gomock.Controller) *MockClonable[T]

NewMockClonable creates a new mock instance.

func (*MockClonable[T]) Clone

func (m *MockClonable[T]) Clone() T

Clone mocks base method.

func (*MockClonable[T]) EXPECT

func (m *MockClonable[T]) EXPECT() *MockClonableMockRecorder[T]

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

type MockClonableMockRecorder

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

MockClonableMockRecorder is the mock recorder for MockClonable.

func (*MockClonableMockRecorder[T]) Clone

func (mr *MockClonableMockRecorder[T]) Clone() *gomock.Call

Clone indicates an expected call of Clone.

type MockFinder

type MockFinder[T notifier.Clonable[T]] struct {
	// contains filtered or unexported fields
}

MockFinder is a mock of Finder interface.

func NewMockFinder

func NewMockFinder[T notifier.Clonable[T]](ctrl *gomock.Controller) *MockFinder[T]

NewMockFinder creates a new mock instance.

func (*MockFinder[T]) EXPECT

func (m *MockFinder[T]) EXPECT() *MockFinderMockRecorder[T]

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

func (*MockFinder[T]) Find

func (m *MockFinder[T]) Find(ctx context.Context) ([]T, error)

Find mocks base method.

type MockFinderMockRecorder

type MockFinderMockRecorder[T notifier.Clonable[T]] struct {
	// contains filtered or unexported fields
}

MockFinderMockRecorder is the mock recorder for MockFinder.

func (*MockFinderMockRecorder[T]) Find

func (mr *MockFinderMockRecorder[T]) Find(ctx interface{}) *gomock.Call

Find indicates an expected call of Find.

type MockUpdateNotifier

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

MockUpdateNotifier is a mock of UpdateNotifier interface.

func NewMockUpdateNotifier

func NewMockUpdateNotifier[T any](ctrl *gomock.Controller) *MockUpdateNotifier[T]

NewMockUpdateNotifier creates a new mock instance.

func (*MockUpdateNotifier[T]) EXPECT

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

func (*MockUpdateNotifier[T]) NotifyC

func (m *MockUpdateNotifier[T]) NotifyC(ctx context.Context) <-chan []T

NotifyC mocks base method.

func (*MockUpdateNotifier[T]) Refresh

func (m *MockUpdateNotifier[T]) Refresh(ctx context.Context)

Refresh mocks base method.

type MockUpdateNotifierMockRecorder

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

MockUpdateNotifierMockRecorder is the mock recorder for MockUpdateNotifier.

func (*MockUpdateNotifierMockRecorder[T]) NotifyC

func (mr *MockUpdateNotifierMockRecorder[T]) NotifyC(ctx interface{}) *gomock.Call

NotifyC indicates an expected call of NotifyC.

func (*MockUpdateNotifierMockRecorder[T]) Refresh

func (mr *MockUpdateNotifierMockRecorder[T]) Refresh(ctx interface{}) *gomock.Call

Refresh indicates an expected call of Refresh.

Jump to

Keyboard shortcuts

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