| 1234567891011121314151617181920212223242526 |
- 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<EnvironmentVO> getListByAppId(Integer appId);
- EnvironmentVO deploy(Integer id) throws ServiceException;
- Map<String,String> getLog(Integer id, String podName) throws ServiceException;
- EnvironmentVO restart(Integer id, String podName) throws ServiceException;
- void checkDeployStatus();
- }
|