mock

package
v2.4.1 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2024 License: MIT 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 MockINamingClient

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

MockINamingClient is a mock of INamingClient interface.

func NewMockINamingClient

func NewMockINamingClient(ctrl *gomock.Controller) *MockINamingClient

NewMockINamingClient creates a new mock instance.

func (*MockINamingClient) CloseClient

func (m *MockINamingClient) CloseClient()

CloseClient mocks base method.

func (*MockINamingClient) DeregisterInstance

func (m *MockINamingClient) DeregisterInstance(param vo.DeregisterInstanceParam) (bool, error)

DeregisterInstance mocks base method.

func (*MockINamingClient) EXPECT

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

func (*MockINamingClient) GetAllServicesInfo

func (m *MockINamingClient) GetAllServicesInfo(param vo.GetAllServiceInfoParam) (model.ServiceList, error)

GetAllServicesInfo mocks base method.

func (*MockINamingClient) GetService

func (m *MockINamingClient) GetService(param vo.GetServiceParam) (model.Service, error)

GetService mocks base method.

func (*MockINamingClient) RegisterInstance

func (m *MockINamingClient) RegisterInstance(param vo.RegisterInstanceParam) (bool, error)

RegisterInstance mocks base method.

func (*MockINamingClient) SelectAllInstances

func (m *MockINamingClient) SelectAllInstances(param vo.SelectAllInstancesParam) ([]model.Instance, error)

SelectAllInstances mocks base method.

func (*MockINamingClient) SelectInstances

func (m *MockINamingClient) SelectInstances(param vo.SelectInstancesParam) ([]model.Instance, error)

SelectInstances mocks base method.

func (*MockINamingClient) SelectOneHealthyInstance

func (m *MockINamingClient) SelectOneHealthyInstance(param vo.SelectOneHealthInstanceParam) (*model.Instance, error)

SelectOneHealthyInstance mocks base method.

func (*MockINamingClient) Subscribe

func (m *MockINamingClient) Subscribe(param *vo.SubscribeParam) error

Subscribe mocks base method.

func (*MockINamingClient) Unsubscribe

func (m *MockINamingClient) Unsubscribe(param *vo.SubscribeParam) error

Unsubscribe mocks base method.

func (*MockINamingClient) UpdateInstance

func (m *MockINamingClient) UpdateInstance(param vo.UpdateInstanceParam) (bool, error)

UpdateInstance mocks base method.

type MockINamingClientMockRecorder

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

MockINamingClientMockRecorder is the mock recorder for MockINamingClient.

func (*MockINamingClientMockRecorder) CloseClient

func (mr *MockINamingClientMockRecorder) CloseClient() *gomock.Call

CloseClient indicates an expected call of CloseClient.

func (*MockINamingClientMockRecorder) DeregisterInstance

func (mr *MockINamingClientMockRecorder) DeregisterInstance(param interface{}) *gomock.Call

DeregisterInstance indicates an expected call of DeregisterInstance.

func (*MockINamingClientMockRecorder) GetAllServicesInfo

func (mr *MockINamingClientMockRecorder) GetAllServicesInfo(param interface{}) *gomock.Call

GetAllServicesInfo indicates an expected call of GetAllServicesInfo.

func (*MockINamingClientMockRecorder) GetService

func (mr *MockINamingClientMockRecorder) GetService(param interface{}) *gomock.Call

GetService indicates an expected call of GetService.

func (*MockINamingClientMockRecorder) RegisterInstance

func (mr *MockINamingClientMockRecorder) RegisterInstance(param interface{}) *gomock.Call

RegisterInstance indicates an expected call of RegisterInstance.

func (*MockINamingClientMockRecorder) SelectAllInstances

func (mr *MockINamingClientMockRecorder) SelectAllInstances(param interface{}) *gomock.Call

SelectAllInstances indicates an expected call of SelectAllInstances.

func (*MockINamingClientMockRecorder) SelectInstances

func (mr *MockINamingClientMockRecorder) SelectInstances(param interface{}) *gomock.Call

SelectInstances indicates an expected call of SelectInstances.

func (*MockINamingClientMockRecorder) SelectOneHealthyInstance

func (mr *MockINamingClientMockRecorder) SelectOneHealthyInstance(param interface{}) *gomock.Call

SelectOneHealthyInstance indicates an expected call of SelectOneHealthyInstance.

func (*MockINamingClientMockRecorder) Subscribe

func (mr *MockINamingClientMockRecorder) Subscribe(param interface{}) *gomock.Call

Subscribe indicates an expected call of Subscribe.

func (*MockINamingClientMockRecorder) Unsubscribe

func (mr *MockINamingClientMockRecorder) Unsubscribe(param interface{}) *gomock.Call

Unsubscribe indicates an expected call of Unsubscribe.

func (*MockINamingClientMockRecorder) UpdateInstance

func (mr *MockINamingClientMockRecorder) UpdateInstance(param interface{}) *gomock.Call

UpdateInstance indicates an expected call of UpdateInstance.

Jump to

Keyboard shortcuts

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