Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockEventOctopusClient
- func (m *MockEventOctopusClient) Diagnostics() []core.DiagnosticResult
- func (m *MockEventOctopusClient) EXPECT() *MockEventOctopusClientMockRecorder
- func (m *MockEventOctopusClient) EventPublisher(clientID string) (pkg.IEventPublisher, error)
- func (m *MockEventOctopusClient) Subscribe(service, subject string, callbacks map[string]pkg.EventHandlerCallback) error
- type MockEventOctopusClientMockRecorder
- type MockIEventPublisher
- type MockIEventPublisherMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockEventOctopusClient ¶
type MockEventOctopusClient struct {
// contains filtered or unexported fields
}
MockEventOctopusClient is a mock of EventOctopusClient interface
func NewMockEventOctopusClient ¶
func NewMockEventOctopusClient(ctrl *gomock.Controller) *MockEventOctopusClient
NewMockEventOctopusClient creates a new mock instance
func (*MockEventOctopusClient) Diagnostics ¶
func (m *MockEventOctopusClient) Diagnostics() []core.DiagnosticResult
Diagnostics mocks base method
func (*MockEventOctopusClient) EXPECT ¶
func (m *MockEventOctopusClient) EXPECT() *MockEventOctopusClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockEventOctopusClient) EventPublisher ¶
func (m *MockEventOctopusClient) EventPublisher(clientID string) (pkg.IEventPublisher, error)
EventPublisher mocks base method
func (*MockEventOctopusClient) Subscribe ¶
func (m *MockEventOctopusClient) Subscribe(service, subject string, callbacks map[string]pkg.EventHandlerCallback) error
Subscribe mocks base method
type MockEventOctopusClientMockRecorder ¶
type MockEventOctopusClientMockRecorder struct {
// contains filtered or unexported fields
}
MockEventOctopusClientMockRecorder is the mock recorder for MockEventOctopusClient
func (*MockEventOctopusClientMockRecorder) Diagnostics ¶
func (mr *MockEventOctopusClientMockRecorder) Diagnostics() *gomock.Call
Diagnostics indicates an expected call of Diagnostics
func (*MockEventOctopusClientMockRecorder) EventPublisher ¶
func (mr *MockEventOctopusClientMockRecorder) EventPublisher(clientID interface{}) *gomock.Call
EventPublisher indicates an expected call of EventPublisher
func (*MockEventOctopusClientMockRecorder) Subscribe ¶
func (mr *MockEventOctopusClientMockRecorder) Subscribe(service, subject, callbacks interface{}) *gomock.Call
Subscribe indicates an expected call of Subscribe
type MockIEventPublisher ¶
type MockIEventPublisher struct {
// contains filtered or unexported fields
}
MockIEventPublisher is a mock of IEventPublisher interface
func NewMockIEventPublisher ¶
func NewMockIEventPublisher(ctrl *gomock.Controller) *MockIEventPublisher
NewMockIEventPublisher creates a new mock instance
func (*MockIEventPublisher) EXPECT ¶
func (m *MockIEventPublisher) EXPECT() *MockIEventPublisherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockIEventPublisherMockRecorder ¶
type MockIEventPublisherMockRecorder struct {
// contains filtered or unexported fields
}
MockIEventPublisherMockRecorder is the mock recorder for MockIEventPublisher
func (*MockIEventPublisherMockRecorder) Publish ¶
func (mr *MockIEventPublisherMockRecorder) Publish(subject, event interface{}) *gomock.Call
Publish indicates an expected call of Publish