// GetService provides a mock function with given fields: name
GetService provides a mock function with given fields: name
// GetService provides a mock function with given fields : name
func (_m *Balancer) GetService(name string) (*types.Service, error) {
	ret := _m.Called(name)
	var r0 *types.Service
	if rf, ok := ret.Get(0).(func(string) *types.Service); ok {
		r0 = rf(name)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*types.Service)
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(string) error); ok {
		r1 = rf(name)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func ( _m * Balancer ) GetService ( name string ) ( * types . Service , error ) { ret := _m . Called ( name ) var r0 * types . Service if rf , ok := ret . Get ( 0 ) . ( func ( string ) * types . Service ) ; ok { r0 = rf ( name ) } else { if ret . Get ( 0 ) != nil { r0 = ret . Get ( 0 ) . ( * types . Service ) } } var r1 error if rf , ok := ret . Get ( 1 ) . ( func ( string ) error ) ; ok { r1 = rf ( name ) } else { r1 = ret . Error ( 1 ) } return r0 , r1 }
GetService provides a mock function with given fields: name
GetService provides a mock function with given fields : name