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
- func (mr *MockPredicateMockRecorder) Create(arg0 interface{}) *gomock.Call
- func (mr *MockPredicateMockRecorder) Delete(arg0 interface{}) *gomock.Call
- func (mr *MockPredicateMockRecorder) Generic(arg0 interface{}) *gomock.Call
- func (mr *MockPredicateMockRecorder) Update(arg0 interface{}) *gomock.Call
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 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.
Click to show internal directories.
Click to hide internal directories.