Versions in this module Expand all Collapse all v0 v0.7.1 Aug 16, 2018 v0.5.1 May 31, 2018 Changes in this version + type DiscoveryMock struct + func (m *DiscoveryMock) AutoSync() + func (m *DiscoveryMock) Close() error + func (m *DiscoveryMock) FindMicroServiceInstances(consumerID, appID, microServiceName, version, env string) ([]*registry.MicroServiceInstance, error) + func (m *DiscoveryMock) GetAllApplications() ([]string, error) + func (m *DiscoveryMock) GetAllMicroServices() ([]*registry.MicroService, error) + func (m *DiscoveryMock) GetMicroService(microServiceID string) (*registry.MicroService, error) + func (m *DiscoveryMock) GetMicroServiceID(appID, microServiceName, version, env string) (string, error) + func (m *DiscoveryMock) GetMicroServiceInstances(consumerID, providerID string) ([]*registry.MicroServiceInstance, error) + func (m *DiscoveryMock) WatchMicroService(selfMicroServiceID string, ...) + type RegistratorMock struct + func (m *RegistratorMock) AddDependencies(request *registry.MicroServiceDependency) error + func (m *RegistratorMock) AddSchemas(microServiceID, schemaName, schemaInfo string) error + func (m *RegistratorMock) Close() error + func (m *RegistratorMock) Heartbeat(microServiceID, microServiceInstanceID string) (bool, error) + func (m *RegistratorMock) RegisterService(microservice *registry.MicroService) (string, error) + func (m *RegistratorMock) RegisterServiceAndInstance(microService *registry.MicroService, instance *registry.MicroServiceInstance) (string, string, error) + func (m *RegistratorMock) RegisterServiceInstance(sid string, instance *registry.MicroServiceInstance) (string, error) + func (m *RegistratorMock) UnRegisterMicroServiceInstance(microServiceID, microServiceInstanceID string) error + func (m *RegistratorMock) UpdateMicroServiceInstanceProperties(microServiceID, microServiceInstanceID string, properties map[string]string) error + func (m *RegistratorMock) UpdateMicroServiceInstanceStatus(microServiceID, microServiceInstanceID, status string) error + func (m *RegistratorMock) UpdateMicroServiceProperties(microServiceID string, properties map[string]string) error