public class AgentTemplate extends Object implements hudson.model.Describable<AgentTemplate>
Modifier and Type | Class and Description |
---|---|
static class |
AgentTemplate.DescriptorImpl |
Constructor and Description |
---|
AgentTemplate(String vmCredentialsId,
String vm,
boolean createNewVMConfig,
String configName,
String baseImage,
int numCPUs,
boolean useNetBoost,
boolean useLegacyIO,
boolean useGpuPassthrough,
int numExecutors,
String remoteFS,
hudson.model.Node.Mode mode,
String labelString,
String namePrefix,
hudson.slaves.RetentionStrategy<?> retentionStrategy,
OrkaVerificationStrategy verificationStrategy,
List<? extends hudson.slaves.NodeProperty<?>> nodeProperties,
String jvmOptions,
String scheduler,
String memory,
boolean overwriteTag,
String tag,
Boolean tagRequired)
Deprecated.
|
AgentTemplate(String vmCredentialsId,
String deploymentOption,
String namePrefix,
String image,
int cpu,
String memory,
String namespace,
boolean useNetBoost,
boolean useLegacyIO,
boolean useGpuPassthrough,
String scheduler,
String tag,
Boolean tagRequired,
String config,
String legacyConfigScheduler,
String legacyConfigTag,
boolean legacyConfigTagRequired,
int numExecutors,
hudson.model.Node.Mode mode,
String remoteFS,
String labelString,
hudson.slaves.RetentionStrategy<?> retentionStrategy,
List<? extends hudson.slaves.NodeProperty<?>> nodeProperties,
String jvmOptions) |
@Deprecated public AgentTemplate(String vmCredentialsId, String vm, boolean createNewVMConfig, String configName, String baseImage, int numCPUs, boolean useNetBoost, boolean useLegacyIO, boolean useGpuPassthrough, int numExecutors, String remoteFS, hudson.model.Node.Mode mode, String labelString, String namePrefix, hudson.slaves.RetentionStrategy<?> retentionStrategy, OrkaVerificationStrategy verificationStrategy, List<? extends hudson.slaves.NodeProperty<?>> nodeProperties, String jvmOptions, String scheduler, String memory, boolean overwriteTag, String tag, Boolean tagRequired)
@DataBoundConstructor public AgentTemplate(String vmCredentialsId, String deploymentOption, String namePrefix, String image, int cpu, String memory, String namespace, boolean useNetBoost, boolean useLegacyIO, boolean useGpuPassthrough, String scheduler, String tag, Boolean tagRequired, String config, String legacyConfigScheduler, String legacyConfigTag, boolean legacyConfigTagRequired, int numExecutors, hudson.model.Node.Mode mode, String remoteFS, String labelString, hudson.slaves.RetentionStrategy<?> retentionStrategy, List<? extends hudson.slaves.NodeProperty<?>> nodeProperties, String jvmOptions)
public String getOrkaCredentialsId()
public String getOrkaEndpoint()
public String getVmCredentialsId()
public String getConfig()
public String getImage()
public Integer getCpu()
public String getMemory()
public boolean isUseNetBoost()
public boolean isUseLegacyIO()
public boolean isUseGpuPassthrough()
public String getScheduler()
public String getTag()
public Boolean getTagRequired()
public String getLabelString()
public Set<hudson.model.labels.LabelAtom> getLabelSet()
public String getNamePrefix()
public int getNumExecutors()
public hudson.model.Node.Mode getMode()
public String getRemoteFS()
public String getJvmOptions()
public String getDeploymentOption()
public String getLegacyConfigScheduler()
public String getLegacyConfigTag()
public Boolean getLegacyConfigTagRequired()
public hudson.slaves.RetentionStrategy<?> getRetentionStrategy()
public hudson.util.DescribableList<hudson.slaves.NodeProperty<?>,hudson.slaves.NodePropertyDescriptor> getNodeProperties()
public hudson.model.Descriptor<AgentTemplate> getDescriptor()
getDescriptor
in interface hudson.model.Describable<AgentTemplate>
public OrkaProvisionedAgent provision() throws IOException, hudson.model.Descriptor.FormException
IOException
hudson.model.Descriptor.FormException
protected Object readResolve()
Copyright © 2016–2024. All rights reserved.