public class OrkaClient extends Object
Constructor and Description |
---|
OrkaClient(String endpoint,
String token,
int httpClientTimeout,
Proxy proxy,
boolean ignoreSSLErrors) |
Modifier and Type | Method and Description |
---|---|
ConfigurationResponse |
createConfiguration(String vmName,
String image,
int cpu,
boolean netBoost,
boolean gpuPassthrough,
String scheduler,
String memory,
String tag,
Boolean tagRequired) |
DeletionResponse |
deleteVM(String vmName,
String namespace) |
DeploymentResponse |
deployVM(String vmConfig,
String namespace,
String namePrefix,
String image,
Integer cpu,
String memory,
String node,
String scheduler,
String tag,
Boolean tagRequired,
Boolean netBoost,
Boolean legacyIO,
Boolean gpuPassThrough,
String portMappingsString) |
HealthCheckResponse |
getHealthCheck() |
ImageResponse |
getImages() |
NodeResponse |
getNodes(String namespace) |
VMConfigResponse |
getVMConfigs() |
public OrkaClient(String endpoint, String token, int httpClientTimeout, Proxy proxy, boolean ignoreSSLErrors) throws IOException
IOException
public VMConfigResponse getVMConfigs() throws IOException
IOException
public NodeResponse getNodes(String namespace) throws IOException
IOException
public ImageResponse getImages() throws IOException
IOException
public ConfigurationResponse createConfiguration(String vmName, String image, int cpu, boolean netBoost, boolean gpuPassthrough, String scheduler, String memory, String tag, Boolean tagRequired) throws IOException
IOException
public DeploymentResponse deployVM(String vmConfig, String namespace, String namePrefix, String image, Integer cpu, String memory, String node, String scheduler, String tag, Boolean tagRequired, Boolean netBoost, Boolean legacyIO, Boolean gpuPassThrough, String portMappingsString) throws IOException
IOException
public DeletionResponse deleteVM(String vmName, String namespace) throws IOException
IOException
public HealthCheckResponse getHealthCheck() throws IOException
IOException
Copyright © 2016–2024. All rights reserved.