mock

package
v0.16.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 12, 2021 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

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

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

EXPECT returns an object that allows the caller to indicate expected use

func (*MockIEventPublisher) Publish

func (m *MockIEventPublisher) Publish(subject string, event pkg.Event) error

Publish mocks base method

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL