Class ContainerTemplate
java.lang.Object
hudson.model.AbstractDescribableImpl<ContainerTemplate>
org.csanchez.jenkins.plugins.kubernetes.ContainerTemplate
- All Implemented Interfaces:
Describable<ContainerTemplate>
,Serializable
public class ContainerTemplate
extends AbstractDescribableImpl<ContainerTemplate>
implements Serializable
- See Also:
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
ConstructorDescriptionContainerTemplate
(String image) Deprecated.ContainerTemplate
(String name, String image) ContainerTemplate
(String name, String image, String command, String args) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getArgs()
getImage()
getName()
getPorts()
getShell()
int
hashCode()
boolean
boolean
boolean
void
setAlwaysPullImage
(boolean alwaysPullImage) void
void
setCommand
(String command) void
setEnvVars
(List<TemplateEnvVar> envVars) void
void
setLivenessProbe
(ContainerLivenessProbe livenessProbe) void
void
setPorts
(List<PortMapping> ports) void
setPrivileged
(boolean privileged) void
setResourceLimitCpu
(String resourceLimitCpu) void
setResourceLimitEphemeralStorage
(String resourceLimitEphemeralStorage) void
setResourceLimitMemory
(String resourceLimitMemory) void
setResourceRequestCpu
(String resourceRequestCpu) void
setResourceRequestEphemeralStorage
(String resourceRequestEphemeralStorage) void
setResourceRequestMemory
(String resourceRequestMemory) void
setRunAsGroup
(String runAsGroup) void
setRunAsUser
(String runAsUser) void
void
setTtyEnabled
(boolean ttyEnabled) void
setWorkingDir
(String workingDir) toString()
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Field Details
-
DEFAULT_WORKING_DIR
- See Also:
-
-
Constructor Details
-
ContainerTemplate
Deprecated. -
ContainerTemplate
-
ContainerTemplate
-
ContainerTemplate
-
-
Method Details
-
setName
-
getName
-
setImage
-
getImage
-
setCommand
-
getCommand
-
setArgs
-
getArgs
-
setTtyEnabled
@DataBoundSetter public void setTtyEnabled(boolean ttyEnabled) -
isTtyEnabled
public boolean isTtyEnabled() -
getDisplayName
-
setWorkingDir
-
getWorkingDir
-
setPrivileged
@DataBoundSetter public void setPrivileged(boolean privileged) -
isPrivileged
public boolean isPrivileged() -
setRunAsUser
-
getRunAsUser
-
getRunAsUserAsLong
-
setRunAsGroup
-
getRunAsGroup
-
getRunAsGroupAsLong
-
setAlwaysPullImage
@DataBoundSetter public void setAlwaysPullImage(boolean alwaysPullImage) -
isAlwaysPullImage
public boolean isAlwaysPullImage() -
getEnvVars
-
setEnvVars
-
getLivenessProbe
-
setLivenessProbe
-
getPorts
-
setPorts
-
getResourceRequestMemory
-
setResourceRequestMemory
-
getResourceLimitMemory
-
setResourceLimitMemory
-
getResourceRequestCpu
-
setResourceRequestCpu
-
getResourceLimitCpu
-
setResourceLimitCpu
-
getResourceRequestEphemeralStorage
-
setResourceRequestEphemeralStorage
@DataBoundSetter public void setResourceRequestEphemeralStorage(String resourceRequestEphemeralStorage) -
getResourceLimitEphemeralStorage
-
setResourceLimitEphemeralStorage
-
getShell
-
setShell
-
getAsArgs
-
toString
-
equals
-
hashCode
public int hashCode()
-