mock_api

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 License: Apache-2.0, BSD-3-Clause, MIT Imports: 6 Imported by: 0

Documentation

Overview

Package mock_api is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockConsumerAPI

type MockConsumerAPI struct {
	// contains filtered or unexported fields
}

MockConsumerAPI is a mock of ConsumerAPI interface.

func NewMockConsumerAPI

func NewMockConsumerAPI(ctrl *gomock.Controller) *MockConsumerAPI

NewMockConsumerAPI creates a new mock instance.

func (*MockConsumerAPI) Destroy

func (m *MockConsumerAPI) Destroy()

Destroy mocks base method.

func (*MockConsumerAPI) EXPECT

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

func (*MockConsumerAPI) GetAllInstances

GetAllInstances mocks base method.

func (*MockConsumerAPI) GetInstances

GetInstances mocks base method.

func (*MockConsumerAPI) GetOneInstance

GetOneInstance mocks base method.

func (*MockConsumerAPI) GetRouteRule

GetRouteRule mocks base method.

func (*MockConsumerAPI) GetServices

GetServices mocks base method.

func (*MockConsumerAPI) InitCalleeService

func (m *MockConsumerAPI) InitCalleeService(arg0 *api.InitCalleeServiceRequest) error

InitCalleeService mocks base method.

func (*MockConsumerAPI) SDKContext

func (m *MockConsumerAPI) SDKContext() api.SDKContext

SDKContext mocks base method.

func (*MockConsumerAPI) UpdateServiceCallResult

func (m *MockConsumerAPI) UpdateServiceCallResult(arg0 *api.ServiceCallResult) error

UpdateServiceCallResult mocks base method.

func (*MockConsumerAPI) WatchAllInstances

WatchAllInstances mocks base method.

func (*MockConsumerAPI) WatchAllServices

WatchAllServices mocks base method.

func (*MockConsumerAPI) WatchService

WatchService mocks base method.

type MockConsumerAPIMockRecorder

type MockConsumerAPIMockRecorder struct {
	// contains filtered or unexported fields
}

MockConsumerAPIMockRecorder is the mock recorder for MockConsumerAPI.

func (*MockConsumerAPIMockRecorder) Destroy

func (mr *MockConsumerAPIMockRecorder) Destroy() *gomock.Call

Destroy indicates an expected call of Destroy.

func (*MockConsumerAPIMockRecorder) GetAllInstances

func (mr *MockConsumerAPIMockRecorder) GetAllInstances(arg0 interface{}) *gomock.Call

GetAllInstances indicates an expected call of GetAllInstances.

func (*MockConsumerAPIMockRecorder) GetInstances

func (mr *MockConsumerAPIMockRecorder) GetInstances(arg0 interface{}) *gomock.Call

GetInstances indicates an expected call of GetInstances.

func (*MockConsumerAPIMockRecorder) GetOneInstance

func (mr *MockConsumerAPIMockRecorder) GetOneInstance(arg0 interface{}) *gomock.Call

GetOneInstance indicates an expected call of GetOneInstance.

func (*MockConsumerAPIMockRecorder) GetRouteRule

func (mr *MockConsumerAPIMockRecorder) GetRouteRule(arg0 interface{}) *gomock.Call

GetRouteRule indicates an expected call of GetRouteRule.

func (*MockConsumerAPIMockRecorder) GetServices

func (mr *MockConsumerAPIMockRecorder) GetServices(arg0 interface{}) *gomock.Call

GetServices indicates an expected call of GetServices.

func (*MockConsumerAPIMockRecorder) InitCalleeService

func (mr *MockConsumerAPIMockRecorder) InitCalleeService(arg0 interface{}) *gomock.Call

InitCalleeService indicates an expected call of InitCalleeService.

func (*MockConsumerAPIMockRecorder) SDKContext

func (mr *MockConsumerAPIMockRecorder) SDKContext() *gomock.Call

SDKContext indicates an expected call of SDKContext.

func (*MockConsumerAPIMockRecorder) UpdateServiceCallResult

func (mr *MockConsumerAPIMockRecorder) UpdateServiceCallResult(arg0 interface{}) *gomock.Call

UpdateServiceCallResult indicates an expected call of UpdateServiceCallResult.

func (*MockConsumerAPIMockRecorder) WatchAllInstances

func (mr *MockConsumerAPIMockRecorder) WatchAllInstances(arg0 interface{}) *gomock.Call

WatchAllInstances indicates an expected call of WatchAllInstances.

func (*MockConsumerAPIMockRecorder) WatchAllServices

func (mr *MockConsumerAPIMockRecorder) WatchAllServices(arg0 interface{}) *gomock.Call

WatchAllServices indicates an expected call of WatchAllServices.

func (*MockConsumerAPIMockRecorder) WatchService

func (mr *MockConsumerAPIMockRecorder) WatchService(arg0 interface{}) *gomock.Call

WatchService indicates an expected call of WatchService.

type MockProviderAPI

type MockProviderAPI struct {
	// contains filtered or unexported fields
}

MockProviderAPI is a mock of ProviderAPI interface.

func NewMockProviderAPI

func NewMockProviderAPI(ctrl *gomock.Controller) *MockProviderAPI

NewMockProviderAPI creates a new mock instance.

func (*MockProviderAPI) Deregister

func (m *MockProviderAPI) Deregister(arg0 *api.InstanceDeRegisterRequest) error

Deregister mocks base method.

func (*MockProviderAPI) Destroy

func (m *MockProviderAPI) Destroy()

Destroy mocks base method.

func (*MockProviderAPI) EXPECT

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

func (*MockProviderAPI) Heartbeat

func (m *MockProviderAPI) Heartbeat(arg0 *api.InstanceHeartbeatRequest) error

Heartbeat mocks base method.

func (*MockProviderAPI) Register

Register mocks base method.

func (*MockProviderAPI) RegisterInstance

RegisterInstance mocks base method.

func (*MockProviderAPI) SDKContext

func (m *MockProviderAPI) SDKContext() api.SDKContext

SDKContext mocks base method.

type MockProviderAPIMockRecorder

type MockProviderAPIMockRecorder struct {
	// contains filtered or unexported fields
}

MockProviderAPIMockRecorder is the mock recorder for MockProviderAPI.

func (*MockProviderAPIMockRecorder) Deregister

func (mr *MockProviderAPIMockRecorder) Deregister(arg0 interface{}) *gomock.Call

Deregister indicates an expected call of Deregister.

func (*MockProviderAPIMockRecorder) Destroy

func (mr *MockProviderAPIMockRecorder) Destroy() *gomock.Call

Destroy indicates an expected call of Destroy.

func (*MockProviderAPIMockRecorder) Heartbeat

func (mr *MockProviderAPIMockRecorder) Heartbeat(arg0 interface{}) *gomock.Call

Heartbeat indicates an expected call of Heartbeat.

func (*MockProviderAPIMockRecorder) Register

func (mr *MockProviderAPIMockRecorder) Register(arg0 interface{}) *gomock.Call

Register indicates an expected call of Register.

func (*MockProviderAPIMockRecorder) RegisterInstance

func (mr *MockProviderAPIMockRecorder) RegisterInstance(arg0 interface{}) *gomock.Call

RegisterInstance indicates an expected call of RegisterInstance.

func (*MockProviderAPIMockRecorder) SDKContext

func (mr *MockProviderAPIMockRecorder) SDKContext() *gomock.Call

SDKContext indicates an expected call of SDKContext.

type MockSDKContext

type MockSDKContext struct {
	// contains filtered or unexported fields
}

MockSDKContext is a mock of SDKContext interface.

func NewMockSDKContext

func NewMockSDKContext(ctrl *gomock.Controller) *MockSDKContext

NewMockSDKContext creates a new mock instance.

func (*MockSDKContext) Destroy

func (m *MockSDKContext) Destroy()

Destroy mocks base method.

func (*MockSDKContext) EXPECT

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

func (*MockSDKContext) GetConfig

func (m *MockSDKContext) GetConfig() config.Configuration

GetConfig mocks base method.

func (*MockSDKContext) GetEngine

func (m *MockSDKContext) GetEngine() model.Engine

GetEngine mocks base method.

func (*MockSDKContext) GetPlugins

func (m *MockSDKContext) GetPlugins() plugin.Manager

GetPlugins mocks base method.

func (*MockSDKContext) GetValueContext

func (m *MockSDKContext) GetValueContext() model.ValueContext

GetValueContext mocks base method.

func (*MockSDKContext) IsDestroyed

func (m *MockSDKContext) IsDestroyed() bool

IsDestroyed mocks base method.

type MockSDKContextMockRecorder

type MockSDKContextMockRecorder struct {
	// contains filtered or unexported fields
}

MockSDKContextMockRecorder is the mock recorder for MockSDKContext.

func (*MockSDKContextMockRecorder) Destroy

func (mr *MockSDKContextMockRecorder) Destroy() *gomock.Call

Destroy indicates an expected call of Destroy.

func (*MockSDKContextMockRecorder) GetConfig

func (mr *MockSDKContextMockRecorder) GetConfig() *gomock.Call

GetConfig indicates an expected call of GetConfig.

func (*MockSDKContextMockRecorder) GetEngine

func (mr *MockSDKContextMockRecorder) GetEngine() *gomock.Call

GetEngine indicates an expected call of GetEngine.

func (*MockSDKContextMockRecorder) GetPlugins

func (mr *MockSDKContextMockRecorder) GetPlugins() *gomock.Call

GetPlugins indicates an expected call of GetPlugins.

func (*MockSDKContextMockRecorder) GetValueContext

func (mr *MockSDKContextMockRecorder) GetValueContext() *gomock.Call

GetValueContext indicates an expected call of GetValueContext.

func (*MockSDKContextMockRecorder) IsDestroyed

func (mr *MockSDKContextMockRecorder) IsDestroyed() *gomock.Call

IsDestroyed indicates an expected call of IsDestroyed.

Jump to

Keyboard shortcuts

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