Package io.fabric8.kubernetes.api.model
Class PodSpec
java.lang.Object
io.fabric8.kubernetes.api.model.PodSpec
- All Implemented Interfaces:
KubernetesResource,Serializable
@Generated("org.jsonschema2pojo") public class PodSpec extends Object implements KubernetesResource
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description PodSpec()No args constructor for use in serializationPodSpec(Long activeDeadlineSeconds, Affinity affinity, Boolean automountServiceAccountToken, List<Container> containers, PodDNSConfig dnsConfig, String dnsPolicy, Boolean enableServiceLinks, List<EphemeralContainer> ephemeralContainers, List<HostAlias> hostAliases, Boolean hostIPC, Boolean hostNetwork, Boolean hostPID, String hostname, List<LocalObjectReference> imagePullSecrets, List<Container> initContainers, String nodeName, Map<String,String> nodeSelector, Map<String,Quantity> overhead, String preemptionPolicy, Integer priority, String priorityClassName, List<PodReadinessGate> readinessGates, String restartPolicy, String runtimeClassName, String schedulerName, PodSecurityContext securityContext, String serviceAccount, String serviceAccountName, Boolean shareProcessNamespace, String subdomain, Long terminationGracePeriodSeconds, List<Toleration> tolerations, List<TopologySpreadConstraint> topologySpreadConstraints, List<Volume> volumes) -
Method Summary
-
Constructor Details
-
PodSpec
public PodSpec()No args constructor for use in serialization -
PodSpec
public PodSpec(Long activeDeadlineSeconds, Affinity affinity, Boolean automountServiceAccountToken, List<Container> containers, PodDNSConfig dnsConfig, String dnsPolicy, Boolean enableServiceLinks, List<EphemeralContainer> ephemeralContainers, List<HostAlias> hostAliases, Boolean hostIPC, Boolean hostNetwork, Boolean hostPID, String hostname, List<LocalObjectReference> imagePullSecrets, List<Container> initContainers, String nodeName, Map<String,String> nodeSelector, Map<String,Quantity> overhead, String preemptionPolicy, Integer priority, String priorityClassName, List<PodReadinessGate> readinessGates, String restartPolicy, String runtimeClassName, String schedulerName, PodSecurityContext securityContext, String serviceAccount, String serviceAccountName, Boolean shareProcessNamespace, String subdomain, Long terminationGracePeriodSeconds, List<Toleration> tolerations, List<TopologySpreadConstraint> topologySpreadConstraints, List<Volume> volumes)- Parameters:
dnsPolicy-nodeName-terminationGracePeriodSeconds-dnsConfig-hostNetwork-readinessGates-serviceAccountName-imagePullSecrets-priorityClassName-hostAliases-securityContext-preemptionPolicy-nodeSelector-hostname-runtimeClassName-tolerations-automountServiceAccountToken-schedulerName-activeDeadlineSeconds-enableServiceLinks-overhead-hostIPC-topologySpreadConstraints-volumes-ephemeralContainers-serviceAccount-priority-restartPolicy-shareProcessNamespace-subdomain-containers-initContainers-affinity-hostPID-
-
-
Method Details
-
getActiveDeadlineSeconds
- Returns:
- The activeDeadlineSeconds
-
setActiveDeadlineSeconds
- Parameters:
activeDeadlineSeconds- The activeDeadlineSeconds
-
getAffinity
- Returns:
- The affinity
-
setAffinity
- Parameters:
affinity- The affinity
-
getAutomountServiceAccountToken
- Returns:
- The automountServiceAccountToken
-
setAutomountServiceAccountToken
- Parameters:
automountServiceAccountToken- The automountServiceAccountToken
-
getContainers
- Returns:
- The containers
-
setContainers
- Parameters:
containers- The containers
-
getDnsConfig
- Returns:
- The dnsConfig
-
setDnsConfig
- Parameters:
dnsConfig- The dnsConfig
-
getDnsPolicy
- Returns:
- The dnsPolicy
-
setDnsPolicy
- Parameters:
dnsPolicy- The dnsPolicy
-
getEnableServiceLinks
- Returns:
- The enableServiceLinks
-
setEnableServiceLinks
- Parameters:
enableServiceLinks- The enableServiceLinks
-
getEphemeralContainers
- Returns:
- The ephemeralContainers
-
setEphemeralContainers
- Parameters:
ephemeralContainers- The ephemeralContainers
-
getHostAliases
- Returns:
- The hostAliases
-
setHostAliases
- Parameters:
hostAliases- The hostAliases
-
getHostIPC
- Returns:
- The hostIPC
-
setHostIPC
- Parameters:
hostIPC- The hostIPC
-
getHostNetwork
- Returns:
- The hostNetwork
-
setHostNetwork
- Parameters:
hostNetwork- The hostNetwork
-
getHostPID
- Returns:
- The hostPID
-
setHostPID
- Parameters:
hostPID- The hostPID
-
getHostname
- Returns:
- The hostname
-
setHostname
- Parameters:
hostname- The hostname
-
getImagePullSecrets
- Returns:
- The imagePullSecrets
-
setImagePullSecrets
- Parameters:
imagePullSecrets- The imagePullSecrets
-
getInitContainers
- Returns:
- The initContainers
-
setInitContainers
- Parameters:
initContainers- The initContainers
-
getNodeName
- Returns:
- The nodeName
-
setNodeName
- Parameters:
nodeName- The nodeName
-
getNodeSelector
- Returns:
- The nodeSelector
-
setNodeSelector
- Parameters:
nodeSelector- The nodeSelector
-
getOverhead
- Returns:
- The overhead
-
setOverhead
- Parameters:
overhead- The overhead
-
getPreemptionPolicy
- Returns:
- The preemptionPolicy
-
setPreemptionPolicy
- Parameters:
preemptionPolicy- The preemptionPolicy
-
getPriority
- Returns:
- The priority
-
setPriority
- Parameters:
priority- The priority
-
getPriorityClassName
- Returns:
- The priorityClassName
-
setPriorityClassName
- Parameters:
priorityClassName- The priorityClassName
-
getReadinessGates
- Returns:
- The readinessGates
-
setReadinessGates
- Parameters:
readinessGates- The readinessGates
-
getRestartPolicy
- Returns:
- The restartPolicy
-
setRestartPolicy
- Parameters:
restartPolicy- The restartPolicy
-
getRuntimeClassName
- Returns:
- The runtimeClassName
-
setRuntimeClassName
- Parameters:
runtimeClassName- The runtimeClassName
-
getSchedulerName
- Returns:
- The schedulerName
-
setSchedulerName
- Parameters:
schedulerName- The schedulerName
-
getSecurityContext
- Returns:
- The securityContext
-
setSecurityContext
- Parameters:
securityContext- The securityContext
-
getServiceAccount
- Returns:
- The serviceAccount
-
setServiceAccount
- Parameters:
serviceAccount- The serviceAccount
-
getServiceAccountName
- Returns:
- The serviceAccountName
-
setServiceAccountName
- Parameters:
serviceAccountName- The serviceAccountName
-
getShareProcessNamespace
- Returns:
- The shareProcessNamespace
-
setShareProcessNamespace
- Parameters:
shareProcessNamespace- The shareProcessNamespace
-
getSubdomain
- Returns:
- The subdomain
-
setSubdomain
- Parameters:
subdomain- The subdomain
-
getTerminationGracePeriodSeconds
- Returns:
- The terminationGracePeriodSeconds
-
setTerminationGracePeriodSeconds
- Parameters:
terminationGracePeriodSeconds- The terminationGracePeriodSeconds
-
getTolerations
- Returns:
- The tolerations
-
setTolerations
- Parameters:
tolerations- The tolerations
-
getTopologySpreadConstraints
- Returns:
- The topologySpreadConstraints
-
setTopologySpreadConstraints
- Parameters:
topologySpreadConstraints- The topologySpreadConstraints
-
getVolumes
- Returns:
- The volumes
-
setVolumes
- Parameters:
volumes- The volumes
-
getAdditionalProperties
-
setAdditionalProperty
-