EnvironmentService.java 735 B

1234567891011121314151617181920212223242526
  1. package cn.seecoder.paas.service;
  2. import cn.seecoder.paas.service.model.vo.EnvironmentVO;
  3. import cn.seecoder.paas.util.ServiceException;
  4. import java.util.List;
  5. import java.util.Map;
  6. public interface EnvironmentService {
  7. EnvironmentVO createOrUpdate(EnvironmentVO environmentVO) throws ServiceException;
  8. void delete(Integer id);
  9. EnvironmentVO get(Integer id, boolean fetchAll) throws ServiceException;
  10. List<EnvironmentVO> getListByAppId(Integer appId);
  11. EnvironmentVO deploy(Integer id) throws ServiceException;
  12. Map<String,String> getLog(Integer id, String podName) throws ServiceException;
  13. EnvironmentVO restart(Integer id, String podName) throws ServiceException;
  14. void checkDeployStatus();
  15. }