func (m *MockConsulAgent) Services() (map[string]*api.AgentService, error) {
	ret := m.ctrl.Call(m, "Services")
	ret0, _ := ret[0].(map[string]*api.AgentService)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}
Services mocks base method
package mock_register
import (
	gomock "github.com/golang/mock/gomock"
	api "github.com/hashicorp/consul/api"
	register "github.com/sorintlab/stolon/cmd/stolonctl/cmd/register"
	reflect "reflect"
)
type MockServiceDiscovery struct {
	ctrl     *gomock.Controller
	recorder *MockServiceDiscoveryMockRecorder
}
type MockServiceDiscoveryMockRecorder struct {
	mock *MockServiceDiscovery
}
func NewMockServiceDiscovery(ctrl *gomock.Controller) *MockServiceDiscovery {
	mock := &MockServiceDiscovery{ctrl: ctrl}
	mock.recorder = &MockServiceDiscoveryMockRecorder{mock}
	return mock
}
func (m *MockServiceDiscovery) EXPECT() *MockServiceDiscoveryMockRecorder {
	return m.recorder
}
func (m *MockServiceDiscovery) Register(info *register.ServiceInfo) error {
	ret := m.ctrl.Call(m, "Register", info)
	ret0, _ := ret[0].(error)
	return ret0
}
func (mr *MockServiceDiscoveryMockRecorder) Register(info interface{}) *gomock.Call {
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Register", reflect.TypeOf((*MockServiceDiscovery)(nil).Register), info)
}
func (m *MockServiceDiscovery) Services(name string) (register.ServiceInfos, error) {
	ret := m.ctrl.Call(m, "Services", name)
	ret0, _ := ret[0].(register.ServiceInfos)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}
func (mr *MockServiceDiscoveryMockRecorder) Services(name interface{}) *gomock.Call {
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Services", reflect.TypeOf((*MockServiceDiscovery)(nil).Services), name)
}
func (m *MockServiceDiscovery) DeRegister(info *register.ServiceInfo) error {
	ret := m.ctrl.Call(m, "DeRegister", info)
	ret0, _ := ret[0].(error)
	return ret0
}
func (mr *MockServiceDiscoveryMockRecorder) DeRegister(info interface{}) *gomock.Call {
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeRegister", reflect.TypeOf((*MockServiceDiscovery)(nil).DeRegister), info)
}
type MockConsulAgent struct {
	ctrl     *gomock.Controller
	recorder *MockConsulAgentMockRecorder
}
type MockConsulAgentMockRecorder struct {
	mock *MockConsulAgent
}
func NewMockConsulAgent(ctrl *gomock.Controller) *MockConsulAgent {
	mock := &MockConsulAgent{ctrl: ctrl}
	mock.recorder = &MockConsulAgentMockRecorder{mock}
	return mock
}
func (m *MockConsulAgent) EXPECT() *MockConsulAgentMockRecorder {
	return m.recorder
}
func (m *MockConsulAgent) ServiceRegister(service *api.AgentServiceRegistration) error {
	ret := m.ctrl.Call(m, "ServiceRegister", service)
	ret0, _ := ret[0].(error)
	return ret0
}
func (mr *MockConsulAgentMockRecorder) ServiceRegister(service interface{}) *gomock.Call {
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ServiceRegister", reflect.TypeOf((*MockConsulAgent)(nil).ServiceRegister), service)
}
func (m *MockConsulAgent) ServiceDeregister(serviceID string) error {
	ret := m.ctrl.Call(m, "ServiceDeregister", serviceID)
	ret0, _ := ret[0].(error)
	return ret0
}
func (mr *MockConsulAgentMockRecorder) ServiceDeregister(serviceID interface{}) *gomock.Call {
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ServiceDeregister", reflect.TypeOf((*MockConsulAgent)(nil).ServiceDeregister), serviceID)
}