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