Package io.fabric8.kubernetes.api.model
Class Container
java.lang.Object
io.fabric8.kubernetes.api.model.Container
- All Implemented Interfaces:
KubernetesResource
,Serializable
@Generated("org.jsonschema2pojo") public class Container extends Object implements KubernetesResource
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description Container()
No args constructor for use in serializationContainer(List<String> args, List<String> command, List<EnvVar> env, List<EnvFromSource> envFrom, String image, String imagePullPolicy, Lifecycle lifecycle, Probe livenessProbe, String name, List<ContainerPort> ports, Probe readinessProbe, ResourceRequirements resources, SecurityContext securityContext, Probe startupProbe, Boolean stdin, Boolean stdinOnce, String terminationMessagePath, String terminationMessagePolicy, Boolean tty, List<VolumeDevice> volumeDevices, List<VolumeMount> volumeMounts, String workingDir)
-
Method Summary
-
Constructor Details
-
Container
public Container()No args constructor for use in serialization -
Container
public Container(List<String> args, List<String> command, List<EnvVar> env, List<EnvFromSource> envFrom, String image, String imagePullPolicy, Lifecycle lifecycle, Probe livenessProbe, String name, List<ContainerPort> ports, Probe readinessProbe, ResourceRequirements resources, SecurityContext securityContext, Probe startupProbe, Boolean stdin, Boolean stdinOnce, String terminationMessagePath, String terminationMessagePolicy, Boolean tty, List<VolumeDevice> volumeDevices, List<VolumeMount> volumeMounts, String workingDir)- Parameters:
volumeDevices
-image
-imagePullPolicy
-livenessProbe
-stdin
-terminationMessagePolicy
-terminationMessagePath
-workingDir
-resources
-securityContext
-startupProbe
-env
-ports
-command
-volumeMounts
-args
-lifecycle
-name
-tty
-readinessProbe
-stdinOnce
-envFrom
-
-
-
Method Details
-
getArgs
- Returns:
- The args
-
setArgs
- Parameters:
args
- The args
-
getCommand
- Returns:
- The command
-
setCommand
- Parameters:
command
- The command
-
getEnv
- Returns:
- The env
-
setEnv
- Parameters:
env
- The env
-
getEnvFrom
- Returns:
- The envFrom
-
setEnvFrom
- Parameters:
envFrom
- The envFrom
-
getImage
- Returns:
- The image
-
setImage
- Parameters:
image
- The image
-
getImagePullPolicy
- Returns:
- The imagePullPolicy
-
setImagePullPolicy
- Parameters:
imagePullPolicy
- The imagePullPolicy
-
getLifecycle
- Returns:
- The lifecycle
-
setLifecycle
- Parameters:
lifecycle
- The lifecycle
-
getLivenessProbe
- Returns:
- The livenessProbe
-
setLivenessProbe
- Parameters:
livenessProbe
- The livenessProbe
-
getName
- Returns:
- The name
-
setName
- Parameters:
name
- The name
-
getPorts
- Returns:
- The ports
-
setPorts
- Parameters:
ports
- The ports
-
getReadinessProbe
- Returns:
- The readinessProbe
-
setReadinessProbe
- Parameters:
readinessProbe
- The readinessProbe
-
getResources
- Returns:
- The resources
-
setResources
- Parameters:
resources
- The resources
-
getSecurityContext
- Returns:
- The securityContext
-
setSecurityContext
- Parameters:
securityContext
- The securityContext
-
getStartupProbe
- Returns:
- The startupProbe
-
setStartupProbe
- Parameters:
startupProbe
- The startupProbe
-
getStdin
- Returns:
- The stdin
-
setStdin
- Parameters:
stdin
- The stdin
-
getStdinOnce
- Returns:
- The stdinOnce
-
setStdinOnce
- Parameters:
stdinOnce
- The stdinOnce
-
getTerminationMessagePath
- Returns:
- The terminationMessagePath
-
setTerminationMessagePath
- Parameters:
terminationMessagePath
- The terminationMessagePath
-
getTerminationMessagePolicy
- Returns:
- The terminationMessagePolicy
-
setTerminationMessagePolicy
- Parameters:
terminationMessagePolicy
- The terminationMessagePolicy
-
getTty
- Returns:
- The tty
-
setTty
- Parameters:
tty
- The tty
-
getVolumeDevices
- Returns:
- The volumeDevices
-
setVolumeDevices
- Parameters:
volumeDevices
- The volumeDevices
-
getVolumeMounts
- Returns:
- The volumeMounts
-
setVolumeMounts
- Parameters:
volumeMounts
- The volumeMounts
-
getWorkingDir
- Returns:
- The workingDir
-
setWorkingDir
- Parameters:
workingDir
- The workingDir
-
getAdditionalProperties
-
setAdditionalProperty
-