public class BootStrapResource extends Object
Constructor and Description |
---|
BootStrapResource() |
Modifier and Type | Method and Description |
---|---|
BSResponse |
bootStrap(SshHostInfo sshInfo,
javax.ws.rs.core.UriInfo uriInfo)
Run bootstrap on a list of hosts.
|
List<BSHostStatus> |
getBootStrapHosts(SshHostInfo info,
javax.ws.rs.core.UriInfo uriInfo)
Gets a list of bootstrapped hosts.
|
List<BSHostStatus> |
getBootStrapHosts(javax.ws.rs.core.UriInfo uriInfo)
Gets a list of bootstrapped hosts.
|
BootStrapStatus |
getBootStrapStatus(long requestId,
javax.ws.rs.core.UriInfo info)
Current BootStrap Information thats running.
|
static void |
init(BootStrapImpl instance) |
@Inject public static void init(BootStrapImpl instance)
public BSResponse bootStrap(SshHostInfo sshInfo, @Context javax.ws.rs.core.UriInfo uriInfo)
Exception
public BootStrapStatus getBootStrapStatus(long requestId, @Context javax.ws.rs.core.UriInfo info)
Exception
public List<BSHostStatus> getBootStrapHosts(@Context javax.ws.rs.core.UriInfo uriInfo)
uriInfo
- the host info, with no SSL key informationpublic List<BSHostStatus> getBootStrapHosts(SshHostInfo info, @Context javax.ws.rs.core.UriInfo uriInfo)
info
- the host info, with no SSL key information requiredCopyright © 2022 Apache Software Foundation. All rights reserved.