@RestController @Feature(cls=DOCKER) @RequestMapping(value="/docker") public class DockerInfoController extends BaseServerController
NODE_ID, nodeService| Constructor and Description |
|---|
DockerInfoController(DockerInfoService dockerInfoService,
DockerSwarmInfoService dockerSwarmInfoService) |
| Modifier and Type | Method and Description |
|---|---|
String |
apiVersions() |
String |
del(String id) |
String |
edit(String id,
String host) |
String |
info(String id) |
cn.jiangzeyin.common.JsonMessage<String> |
leaveForce(String id)
强制退出集群
|
String |
list() |
checkCron, getNode, getUser, getUserByThreadLocal, getUserModel, removeAll, removeEmpty, resetInfo, resetInfo, tryGetNodecheckPathSafe, pathSafeclearResources, createMultipart, getCookieValue, getHeader, getHeaders, getIp, getMultiRequest, getObject, getParameter, getParameter, getParameterInt, getParameterInt, getParameterLong, getParameterLong, getParameters, getParametersMap, getRefererParameter, getUnescapeParameter, getUnescapeParameter, getUnescapeParameters, getXssParameter, getXssParameter, getXssParameters, hasFilegetApplication, getAttribute, getClientIP, getHeaderMapValues, getRequest, getRequestAttributes, getResponse, getSession, getSessionAttribute, getSessionAttributeObj, removeSessionAttribute, setAttribute, setSessionAttribute, tryGetRequestAttributespublic DockerInfoController(DockerInfoService dockerInfoService, DockerSwarmInfoService dockerSwarmInfoService)
@GetMapping(value="api-versions",
produces="application/json")
@Feature(method=LIST)
public String apiVersions()
throws Exception
Exception@PostMapping(value="list",
produces="application/json")
@Feature(method=LIST)
public String list()
@PostMapping(value="edit",
produces="application/json")
@Feature(method=EDIT)
public String edit(String id,
String host)
throws Exception
Exception@GetMapping(value="del",
produces="application/json")
@Feature(method=DEL)
public String del(@ValidatorItem
String id)
throws Exception
Exception@GetMapping(value="info",
produces="application/json")
@Feature(method=LIST)
public String info(@ValidatorItem
String id)
throws Exception
ExceptionCopyright © 2017–2022. All rights reserved.