mock

package
v2.0.0-...-9b255b6 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NacosClientMock

type NacosClientMock struct {
	mock.Mock
}

func (*NacosClientMock) DeregisterInstance

func (n *NacosClientMock) DeregisterInstance(param vo.DeregisterInstanceParam) (bool, error)

func (*NacosClientMock) GetAllServicesInfo

func (n *NacosClientMock) GetAllServicesInfo(param vo.GetAllServiceInfoParam) (model.ServiceList, error)

func (*NacosClientMock) GetService

func (n *NacosClientMock) GetService(param vo.GetServiceParam) (model.Service, error)

func (*NacosClientMock) RegisterInstance

func (n *NacosClientMock) RegisterInstance(param vo.RegisterInstanceParam) (bool, error)

func (*NacosClientMock) SelectAllInstances

func (n *NacosClientMock) SelectAllInstances(param vo.SelectAllInstancesParam) ([]model.Instance, error)

func (*NacosClientMock) SelectInstances

func (n *NacosClientMock) SelectInstances(param vo.SelectInstancesParam) ([]model.Instance, error)

func (*NacosClientMock) SelectOneHealthyInstance

func (n *NacosClientMock) SelectOneHealthyInstance(param vo.SelectOneHealthInstanceParam) (*model.Instance, error)

func (*NacosClientMock) Subscribe

func (n *NacosClientMock) Subscribe(param *vo.SubscribeParam) error

func (*NacosClientMock) Unsubscribe

func (n *NacosClientMock) Unsubscribe(param *vo.SubscribeParam) error

Jump to

Keyboard shortcuts

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