package cn.seecoder.paas.service; import cn.seecoder.paas.service.model.vo.EnvironmentVO; import cn.seecoder.paas.util.ServiceException; import java.util.List; import java.util.Map; public interface EnvironmentService { EnvironmentVO createOrUpdate(EnvironmentVO environmentVO) throws ServiceException; void delete(Integer id); EnvironmentVO get(Integer id, boolean fetchAll) throws ServiceException; List getListByAppId(Integer appId); EnvironmentVO deploy(Integer id) throws ServiceException; Map getLog(Integer id, String podName) throws ServiceException; EnvironmentVO restart(Integer id, String podName) throws ServiceException; void checkDeployStatus(); }