Documentation
¶
Overview ¶
Package objectmanagerpubsubmock is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockObjectPubSub ¶
type MockObjectPubSub struct {
// contains filtered or unexported fields
}
MockObjectPubSub is a mock of ObjectPubSub interface.
func NewMockObjectPubSub ¶
func NewMockObjectPubSub(ctrl *gomock.Controller) *MockObjectPubSub
NewMockObjectPubSub creates a new mock instance.
func (*MockObjectPubSub) EXPECT ¶
func (m *MockObjectPubSub) EXPECT() *MockObjectPubSubMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockObjectPubSub) Publish ¶
func (m *MockObjectPubSub) Publish(arg0 *object.Object)
Publish mocks base method.
func (*MockObjectPubSub) Subscribe ¶
func (m *MockObjectPubSub) Subscribe(arg0 ...objectmanager.ObjectFilter) objectmanager.ObjectSubscription
Subscribe mocks base method.
type MockObjectPubSubMockRecorder ¶
type MockObjectPubSubMockRecorder struct {
// contains filtered or unexported fields
}
MockObjectPubSubMockRecorder is the mock recorder for MockObjectPubSub.
func (*MockObjectPubSubMockRecorder) Publish ¶
func (mr *MockObjectPubSubMockRecorder) Publish(arg0 interface{}) *gomock.Call
Publish indicates an expected call of Publish.
func (*MockObjectPubSubMockRecorder) Subscribe ¶
func (mr *MockObjectPubSubMockRecorder) Subscribe(arg0 ...interface{}) *gomock.Call
Subscribe indicates an expected call of Subscribe.
type MockObjectSubscription ¶
type MockObjectSubscription struct {
// contains filtered or unexported fields
}
MockObjectSubscription is a mock of ObjectSubscription interface.
func NewMockObjectSubscription ¶
func NewMockObjectSubscription(ctrl *gomock.Controller) *MockObjectSubscription
NewMockObjectSubscription creates a new mock instance.
func (*MockObjectSubscription) Channel ¶ added in v0.15.0
func (m *MockObjectSubscription) Channel() <-chan *object.Object
Channel mocks base method.
func (*MockObjectSubscription) Close ¶ added in v0.17.0
func (m *MockObjectSubscription) Close()
Close mocks base method.
func (*MockObjectSubscription) EXPECT ¶
func (m *MockObjectSubscription) EXPECT() *MockObjectSubscriptionMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockObjectSubscriptionMockRecorder ¶
type MockObjectSubscriptionMockRecorder struct {
// contains filtered or unexported fields
}
MockObjectSubscriptionMockRecorder is the mock recorder for MockObjectSubscription.
func (*MockObjectSubscriptionMockRecorder) Channel ¶ added in v0.15.0
func (mr *MockObjectSubscriptionMockRecorder) Channel() *gomock.Call
Channel indicates an expected call of Channel.
func (*MockObjectSubscriptionMockRecorder) Close ¶ added in v0.17.0
func (mr *MockObjectSubscriptionMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockObjectSubscriptionMockRecorder) Read ¶ added in v0.17.0
func (mr *MockObjectSubscriptionMockRecorder) Read() *gomock.Call
Read indicates an expected call of Read.