Documentation ¶
Index ¶
- type NacosClientMock
- func (n *NacosClientMock) DeregisterInstance(param vo.DeregisterInstanceParam) (bool, error)
- func (n *NacosClientMock) GetAllServicesInfo(param vo.GetAllServiceInfoParam) (model.ServiceList, error)
- func (n *NacosClientMock) GetService(param vo.GetServiceParam) (model.Service, error)
- func (n *NacosClientMock) RegisterInstance(param vo.RegisterInstanceParam) (bool, error)
- func (n *NacosClientMock) SelectAllInstances(param vo.SelectAllInstancesParam) ([]model.Instance, error)
- func (n *NacosClientMock) SelectInstances(param vo.SelectInstancesParam) ([]model.Instance, error)
- func (n *NacosClientMock) SelectOneHealthyInstance(param vo.SelectOneHealthInstanceParam) (*model.Instance, error)
- func (n *NacosClientMock) Subscribe(param *vo.SubscribeParam) error
- func (n *NacosClientMock) Unsubscribe(param *vo.SubscribeParam) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NacosClientMock ¶
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
Click to show internal directories.
Click to hide internal directories.