mock

package
v0.0.0-...-cf826ce Latest Latest
Warning

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

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

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockManager

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

MockManager is a mock of Manager interface.

func NewMockManager

func NewMockManager(ctrl *gomock.Controller) *MockManager

NewMockManager creates a new mock instance.

func (*MockManager) Close

func (m *MockManager) Close()

Close mocks base method.

func (*MockManager) CreateMatch

func (m *MockManager) CreateMatch(arg0 context.Context, arg1 *v1.Match) (bool, error)

CreateMatch mocks base method.

func (*MockManager) EXPECT

func (m *MockManager) EXPECT() *MockManagerMockRecorder

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

func (*MockManager) Requeue

func (m *MockManager) Requeue(arg0 string) error

Requeue mocks base method.

func (*MockManager) StreamMatches

func (m *MockManager) StreamMatches(arg0 context.Context, arg1 func(context.Context, *v1.Match)) error

StreamMatches mocks base method.

type MockManagerMockRecorder

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

MockManagerMockRecorder is the mock recorder for MockManager.

func (*MockManagerMockRecorder) Close

func (mr *MockManagerMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockManagerMockRecorder) CreateMatch

func (mr *MockManagerMockRecorder) CreateMatch(arg0, arg1 interface{}) *gomock.Call

CreateMatch indicates an expected call of CreateMatch.

func (*MockManagerMockRecorder) Requeue

func (mr *MockManagerMockRecorder) Requeue(arg0 interface{}) *gomock.Call

Requeue indicates an expected call of Requeue.

func (*MockManagerMockRecorder) StreamMatches

func (mr *MockManagerMockRecorder) StreamMatches(arg0, arg1 interface{}) *gomock.Call

StreamMatches indicates an expected call of StreamMatches.

Jump to

Keyboard shortcuts

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