Documentation
¶
Overview ¶
Package predicate is a generated GoMock package.
Index ¶
- type MockPredicate
- func (m *MockPredicate) Create(arg0 event.CreateEvent) bool
- func (m *MockPredicate) Delete(arg0 event.DeleteEvent) bool
- func (m *MockPredicate) EXPECT() *MockPredicateMockRecorder
- func (m *MockPredicate) Generic(arg0 event.GenericEvent) bool
- func (m *MockPredicate) Update(arg0 event.UpdateEvent) bool
- type MockPredicateMockRecorder
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 ¶
func (m *MockPredicate) EXPECT() *MockPredicateMockRecorder
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 any) *gomock.Call
Create indicates an expected call of Create.
func (*MockPredicateMockRecorder) Delete ¶
func (mr *MockPredicateMockRecorder) Delete(arg0 any) *gomock.Call
Delete indicates an expected call of Delete.
Click to show internal directories.
Click to hide internal directories.