predicate

package
v1.46.2 Latest Latest
Warning

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

Go to latest
Published: May 16, 2022 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 3 Imported by: 0

Documentation

Overview

Package predicate is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockPredicate

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

MockPredicate is a mock of Predicate interface.

func NewMockPredicate

func NewMockPredicate(ctrl *gomock.Controller) *MockPredicate

NewMockPredicate creates a new mock instance.

func (*MockPredicate) Create

func (m *MockPredicate) Create(arg0 event.CreateEvent) bool

Create mocks base method.

func (*MockPredicate) Delete

func (m *MockPredicate) Delete(arg0 event.DeleteEvent) bool

Delete mocks base method.

func (*MockPredicate) EXPECT

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

func (*MockPredicate) Generic

func (m *MockPredicate) Generic(arg0 event.GenericEvent) bool

Generic mocks base method.

func (*MockPredicate) Update

func (m *MockPredicate) Update(arg0 event.UpdateEvent) bool

Update mocks base method.

type MockPredicateMockRecorder

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

MockPredicateMockRecorder is the mock recorder for MockPredicate.

func (*MockPredicateMockRecorder) Create

func (mr *MockPredicateMockRecorder) Create(arg0 interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockPredicateMockRecorder) Delete

func (mr *MockPredicateMockRecorder) Delete(arg0 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockPredicateMockRecorder) Generic

func (mr *MockPredicateMockRecorder) Generic(arg0 interface{}) *gomock.Call

Generic indicates an expected call of Generic.

func (*MockPredicateMockRecorder) Update

func (mr *MockPredicateMockRecorder) Update(arg0 interface{}) *gomock.Call

Update indicates an expected call of Update.

Jump to

Keyboard shortcuts

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