Documentation
      ¶
    
    
  
    
  
    Overview ¶
Package mock_pubsub is a generated GoMock package.
Index ¶
- type MockPublishResult
 - type MockPublishResultMockRecorder
 - type MockPubsubClient
 - type MockPubsubClientMockRecorder
 - type MockTopic
 - func (m *MockTopic) EXPECT() *MockTopicMockRecorder
 - func (m *MockTopic) Exists(arg0 context.Context) (bool, error)
 - func (m *MockTopic) ID() string
 - func (m *MockTopic) Publish(arg0 context.Context, arg1 ifaces_pubsub.Message) ifaces_pubsub.PublishResult
 - func (m *MockTopic) String() string
 - func (m *MockTopic) Subscriptions(arg0 context.Context) ifaces_pubsub.SubscriptionIterator
 
- type MockTopicIterator
 - type MockTopicIteratorMockRecorder
 - type MockTopicMockRecorder
 - func (mr *MockTopicMockRecorder) Exists(arg0 interface{}) *gomock.Call
 - func (mr *MockTopicMockRecorder) ID() *gomock.Call
 - func (mr *MockTopicMockRecorder) Publish(arg0, arg1 interface{}) *gomock.Call
 - func (mr *MockTopicMockRecorder) String() *gomock.Call
 - func (mr *MockTopicMockRecorder) Subscriptions(arg0 interface{}) *gomock.Call
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPublishResult ¶
type MockPublishResult struct {
	// contains filtered or unexported fields
}
    MockPublishResult is a mock of PublishResult interface.
func NewMockPublishResult ¶
func NewMockPublishResult(ctrl *gomock.Controller) *MockPublishResult
NewMockPublishResult creates a new mock instance.
func (*MockPublishResult) EXPECT ¶
func (m *MockPublishResult) EXPECT() *MockPublishResultMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockPublishResultMockRecorder ¶
type MockPublishResultMockRecorder struct {
	// contains filtered or unexported fields
}
    MockPublishResultMockRecorder is the mock recorder for MockPublishResult.
func (*MockPublishResultMockRecorder) Get ¶
func (mr *MockPublishResultMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get.
type MockPubsubClient ¶
type MockPubsubClient struct {
	// contains filtered or unexported fields
}
    MockPubsubClient is a mock of PubsubClient interface.
func NewMockPubsubClient ¶
func NewMockPubsubClient(ctrl *gomock.Controller) *MockPubsubClient
NewMockPubsubClient creates a new mock instance.
func (*MockPubsubClient) EXPECT ¶
func (m *MockPubsubClient) EXPECT() *MockPubsubClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPubsubClient) Topic ¶
func (m *MockPubsubClient) Topic(arg0 string) ifaces_pubsub.Topic
Topic mocks base method.
func (*MockPubsubClient) Topics ¶
func (m *MockPubsubClient) Topics(arg0 context.Context) ifaces_pubsub.TopicIterator
Topics mocks base method.
type MockPubsubClientMockRecorder ¶
type MockPubsubClientMockRecorder struct {
	// contains filtered or unexported fields
}
    MockPubsubClientMockRecorder is the mock recorder for MockPubsubClient.
func (*MockPubsubClientMockRecorder) Topic ¶
func (mr *MockPubsubClientMockRecorder) Topic(arg0 interface{}) *gomock.Call
Topic indicates an expected call of Topic.
func (*MockPubsubClientMockRecorder) Topics ¶
func (mr *MockPubsubClientMockRecorder) Topics(arg0 interface{}) *gomock.Call
Topics indicates an expected call of Topics.
type MockTopic ¶
type MockTopic struct {
	// contains filtered or unexported fields
}
    MockTopic is a mock of Topic interface.
func NewMockTopic ¶
func NewMockTopic(ctrl *gomock.Controller) *MockTopic
NewMockTopic creates a new mock instance.
func (*MockTopic) EXPECT ¶
func (m *MockTopic) EXPECT() *MockTopicMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTopic) Publish ¶
func (m *MockTopic) Publish(arg0 context.Context, arg1 ifaces_pubsub.Message) ifaces_pubsub.PublishResult
Publish mocks base method.
func (*MockTopic) Subscriptions ¶
func (m *MockTopic) Subscriptions(arg0 context.Context) ifaces_pubsub.SubscriptionIterator
Subscriptions mocks base method.
type MockTopicIterator ¶
type MockTopicIterator struct {
	// contains filtered or unexported fields
}
    MockTopicIterator is a mock of TopicIterator interface.
func NewMockTopicIterator ¶
func NewMockTopicIterator(ctrl *gomock.Controller) *MockTopicIterator
NewMockTopicIterator creates a new mock instance.
func (*MockTopicIterator) EXPECT ¶
func (m *MockTopicIterator) EXPECT() *MockTopicIteratorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTopicIterator) Next ¶
func (m *MockTopicIterator) Next() (ifaces_pubsub.Topic, error)
Next mocks base method.
type MockTopicIteratorMockRecorder ¶
type MockTopicIteratorMockRecorder struct {
	// contains filtered or unexported fields
}
    MockTopicIteratorMockRecorder is the mock recorder for MockTopicIterator.
func (*MockTopicIteratorMockRecorder) Next ¶
func (mr *MockTopicIteratorMockRecorder) Next() *gomock.Call
Next indicates an expected call of Next.
type MockTopicMockRecorder ¶
type MockTopicMockRecorder struct {
	// contains filtered or unexported fields
}
    MockTopicMockRecorder is the mock recorder for MockTopic.
func (*MockTopicMockRecorder) Exists ¶
func (mr *MockTopicMockRecorder) Exists(arg0 interface{}) *gomock.Call
Exists indicates an expected call of Exists.
func (*MockTopicMockRecorder) ID ¶
func (mr *MockTopicMockRecorder) ID() *gomock.Call
ID indicates an expected call of ID.
func (*MockTopicMockRecorder) Publish ¶
func (mr *MockTopicMockRecorder) Publish(arg0, arg1 interface{}) *gomock.Call
Publish indicates an expected call of Publish.
func (*MockTopicMockRecorder) String ¶
func (mr *MockTopicMockRecorder) String() *gomock.Call
String indicates an expected call of String.
func (*MockTopicMockRecorder) Subscriptions ¶
func (mr *MockTopicMockRecorder) Subscriptions(arg0 interface{}) *gomock.Call
Subscriptions indicates an expected call of Subscriptions.