code: func (_m *Cluster) ReallocResource(ctx context.Context, IDs []string, cpu float64, mem int64) (chan *types.ReallocResourceMessage, error) {
  	ret := _m.Called(ctx, IDs, cpu, mem)
  
  	var r0 chan *types.ReallocResourceMessage
  	if rf, ok := ret.Get(0).(func(context.Context, []string, float64, int64) chan *types.ReallocResourceMessage); ok {
  		r0 = rf(ctx, IDs, cpu, mem)
  	} else {
  		if ret.Get(0) != nil {
  			r0 = ret.Get(0).(chan *types.ReallocResourceMessage)
  		}
  	}
  
  	var r1 error
  	if rf, ok := ret.Get(1).(func(context.Context, []string, float64, int64) error); ok {
  		r1 = rf(ctx, IDs, cpu, mem)
  	} else {
  		r1 = ret.Error(1)
  	}
  
  	return r0, r1
  }
docs: // ReallocResource provides a mock function with given fields: ctx, IDs, cpu, mem