@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-07-29T18:17:00.375Z[Etc/UTC]") public class V1PodSpec extends Object
Constructor and Description |
---|
V1PodSpec() |
Modifier and Type | Method and Description |
---|---|
V1PodSpec |
activeDeadlineSeconds(Long activeDeadlineSeconds) |
V1PodSpec |
addContainersItem(V1Container containersItem) |
V1PodSpec |
addEphemeralContainersItem(V1EphemeralContainer ephemeralContainersItem) |
V1PodSpec |
addHostAliasesItem(V1HostAlias hostAliasesItem) |
V1PodSpec |
addImagePullSecretsItem(V1LocalObjectReference imagePullSecretsItem) |
V1PodSpec |
addInitContainersItem(V1Container initContainersItem) |
V1PodSpec |
addReadinessGatesItem(V1PodReadinessGate readinessGatesItem) |
V1PodSpec |
addTolerationsItem(V1Toleration tolerationsItem) |
V1PodSpec |
addTopologySpreadConstraintsItem(V1TopologySpreadConstraint topologySpreadConstraintsItem) |
V1PodSpec |
addVolumesItem(V1Volume volumesItem) |
V1PodSpec |
affinity(V1Affinity affinity) |
V1PodSpec |
automountServiceAccountToken(Boolean automountServiceAccountToken) |
V1PodSpec |
containers(List<V1Container> containers) |
V1PodSpec |
dnsConfig(V1PodDNSConfig dnsConfig) |
V1PodSpec |
dnsPolicy(String dnsPolicy) |
V1PodSpec |
enableServiceLinks(Boolean enableServiceLinks) |
V1PodSpec |
ephemeralContainers(List<V1EphemeralContainer> ephemeralContainers) |
boolean |
equals(Object o) |
Long |
getActiveDeadlineSeconds()
Optional duration in seconds the pod may be active on the node relative to StartTime before the
system will actively try to mark it failed and kill associated containers.
|
V1Affinity |
getAffinity()
Get affinity
|
Boolean |
getAutomountServiceAccountToken()
AutomountServiceAccountToken indicates whether a service account token should be automatically
mounted.
|
List<V1Container> |
getContainers()
List of containers belonging to the pod.
|
V1PodDNSConfig |
getDnsConfig()
Get dnsConfig
|
String |
getDnsPolicy()
Set DNS policy for the pod.
|
Boolean |
getEnableServiceLinks()
EnableServiceLinks indicates whether information about services should be injected into
pod's environment variables, matching the syntax of Docker links.
|
List<V1EphemeralContainer> |
getEphemeralContainers()
List of ephemeral containers run in this pod.
|
List<V1HostAlias> |
getHostAliases()
HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts
file if specified.
|
Boolean |
getHostIPC()
Use the host's ipc namespace.
|
String |
getHostname()
Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a
system-defined value.
|
Boolean |
getHostNetwork()
Host networking requested for this pod.
|
Boolean |
getHostPID()
Use the host's pid namespace.
|
List<V1LocalObjectReference> |
getImagePullSecrets()
ImagePullSecrets is an optional list of references to secrets in the same namespace to use for
pulling any of the images used by this PodSpec.
|
List<V1Container> |
getInitContainers()
List of initialization containers belonging to the pod.
|
String |
getNodeName()
NodeName is a request to schedule this pod onto a specific node.
|
Map<String,String> |
getNodeSelector()
NodeSelector is a selector which must be true for the pod to fit on a node.
|
Map<String,Quantity> |
getOverhead()
Overhead represents the resource overhead associated with running a pod for a given
RuntimeClass.
|
String |
getPreemptionPolicy()
PreemptionPolicy is the Policy for preempting pods with lower priority.
|
Integer |
getPriority()
The priority value.
|
String |
getPriorityClassName()
If specified, indicates the pod's priority.
|
List<V1PodReadinessGate> |
getReadinessGates()
If specified, all readiness gates will be evaluated for pod readiness.
|
String |
getRestartPolicy()
Restart policy for all containers within the pod.
|
String |
getRuntimeClassName()
RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used
to run this pod.
|
String |
getSchedulerName()
If specified, the pod will be dispatched by specified scheduler.
|
V1PodSecurityContext |
getSecurityContext()
Get securityContext
|
String |
getServiceAccount()
DeprecatedServiceAccount is a depreciated alias for ServiceAccountName.
|
String |
getServiceAccountName()
ServiceAccountName is the name of the ServiceAccount to use to run this pod.
|
Boolean |
getShareProcessNamespace()
Share a single process namespace between all of the containers in a pod.
|
String |
getSubdomain()
If specified, the fully qualified Pod hostname will be
\"<hostname>.<subdomain>.<pod namespace>.svc.<cluster
domain>\".
|
Long |
getTerminationGracePeriodSeconds()
Optional duration in seconds the pod needs to terminate gracefully.
|
List<V1Toleration> |
getTolerations()
If specified, the pod's tolerations.
|
List<V1TopologySpreadConstraint> |
getTopologySpreadConstraints()
TopologySpreadConstraints describes how a group of pods ought to spread across topology
domains.
|
List<V1Volume> |
getVolumes()
List of volumes that can be mounted by containers belonging to the pod.
|
int |
hashCode() |
V1PodSpec |
hostAliases(List<V1HostAlias> hostAliases) |
V1PodSpec |
hostIPC(Boolean hostIPC) |
V1PodSpec |
hostname(String hostname) |
V1PodSpec |
hostNetwork(Boolean hostNetwork) |
V1PodSpec |
hostPID(Boolean hostPID) |
V1PodSpec |
imagePullSecrets(List<V1LocalObjectReference> imagePullSecrets) |
V1PodSpec |
initContainers(List<V1Container> initContainers) |
V1PodSpec |
nodeName(String nodeName) |
V1PodSpec |
nodeSelector(Map<String,String> nodeSelector) |
V1PodSpec |
overhead(Map<String,Quantity> overhead) |
V1PodSpec |
preemptionPolicy(String preemptionPolicy) |
V1PodSpec |
priority(Integer priority) |
V1PodSpec |
priorityClassName(String priorityClassName) |
V1PodSpec |
putNodeSelectorItem(String key,
String nodeSelectorItem) |
V1PodSpec |
putOverheadItem(String key,
Quantity overheadItem) |
V1PodSpec |
readinessGates(List<V1PodReadinessGate> readinessGates) |
V1PodSpec |
restartPolicy(String restartPolicy) |
V1PodSpec |
runtimeClassName(String runtimeClassName) |
V1PodSpec |
schedulerName(String schedulerName) |
V1PodSpec |
securityContext(V1PodSecurityContext securityContext) |
V1PodSpec |
serviceAccount(String serviceAccount) |
V1PodSpec |
serviceAccountName(String serviceAccountName) |
void |
setActiveDeadlineSeconds(Long activeDeadlineSeconds) |
void |
setAffinity(V1Affinity affinity) |
void |
setAutomountServiceAccountToken(Boolean automountServiceAccountToken) |
void |
setContainers(List<V1Container> containers) |
void |
setDnsConfig(V1PodDNSConfig dnsConfig) |
void |
setDnsPolicy(String dnsPolicy) |
void |
setEnableServiceLinks(Boolean enableServiceLinks) |
void |
setEphemeralContainers(List<V1EphemeralContainer> ephemeralContainers) |
void |
setHostAliases(List<V1HostAlias> hostAliases) |
void |
setHostIPC(Boolean hostIPC) |
void |
setHostname(String hostname) |
void |
setHostNetwork(Boolean hostNetwork) |
void |
setHostPID(Boolean hostPID) |
void |
setImagePullSecrets(List<V1LocalObjectReference> imagePullSecrets) |
void |
setInitContainers(List<V1Container> initContainers) |
void |
setNodeName(String nodeName) |
void |
setNodeSelector(Map<String,String> nodeSelector) |
void |
setOverhead(Map<String,Quantity> overhead) |
void |
setPreemptionPolicy(String preemptionPolicy) |
void |
setPriority(Integer priority) |
void |
setPriorityClassName(String priorityClassName) |
void |
setReadinessGates(List<V1PodReadinessGate> readinessGates) |
void |
setRestartPolicy(String restartPolicy) |
void |
setRuntimeClassName(String runtimeClassName) |
void |
setSchedulerName(String schedulerName) |
void |
setSecurityContext(V1PodSecurityContext securityContext) |
void |
setServiceAccount(String serviceAccount) |
void |
setServiceAccountName(String serviceAccountName) |
void |
setShareProcessNamespace(Boolean shareProcessNamespace) |
void |
setSubdomain(String subdomain) |
void |
setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds) |
void |
setTolerations(List<V1Toleration> tolerations) |
void |
setTopologySpreadConstraints(List<V1TopologySpreadConstraint> topologySpreadConstraints) |
void |
setVolumes(List<V1Volume> volumes) |
V1PodSpec |
shareProcessNamespace(Boolean shareProcessNamespace) |
V1PodSpec |
subdomain(String subdomain) |
V1PodSpec |
terminationGracePeriodSeconds(Long terminationGracePeriodSeconds) |
V1PodSpec |
tolerations(List<V1Toleration> tolerations) |
V1PodSpec |
topologySpreadConstraints(List<V1TopologySpreadConstraint> topologySpreadConstraints) |
String |
toString() |
V1PodSpec |
volumes(List<V1Volume> volumes) |
public static final String SERIALIZED_NAME_ACTIVE_DEADLINE_SECONDS
public static final String SERIALIZED_NAME_AFFINITY
public static final String SERIALIZED_NAME_AUTOMOUNT_SERVICE_ACCOUNT_TOKEN
public static final String SERIALIZED_NAME_CONTAINERS
public static final String SERIALIZED_NAME_DNS_CONFIG
public static final String SERIALIZED_NAME_DNS_POLICY
public static final String SERIALIZED_NAME_ENABLE_SERVICE_LINKS
public static final String SERIALIZED_NAME_EPHEMERAL_CONTAINERS
public static final String SERIALIZED_NAME_HOST_ALIASES
public static final String SERIALIZED_NAME_HOST_I_P_C
public static final String SERIALIZED_NAME_HOST_NETWORK
public static final String SERIALIZED_NAME_HOST_P_I_D
public static final String SERIALIZED_NAME_HOSTNAME
public static final String SERIALIZED_NAME_IMAGE_PULL_SECRETS
public static final String SERIALIZED_NAME_INIT_CONTAINERS
public static final String SERIALIZED_NAME_NODE_NAME
public static final String SERIALIZED_NAME_NODE_SELECTOR
public static final String SERIALIZED_NAME_OVERHEAD
public static final String SERIALIZED_NAME_PREEMPTION_POLICY
public static final String SERIALIZED_NAME_PRIORITY
public static final String SERIALIZED_NAME_PRIORITY_CLASS_NAME
public static final String SERIALIZED_NAME_READINESS_GATES
public static final String SERIALIZED_NAME_RESTART_POLICY
public static final String SERIALIZED_NAME_RUNTIME_CLASS_NAME
public static final String SERIALIZED_NAME_SCHEDULER_NAME
public static final String SERIALIZED_NAME_SECURITY_CONTEXT
public static final String SERIALIZED_NAME_SERVICE_ACCOUNT
public static final String SERIALIZED_NAME_SERVICE_ACCOUNT_NAME
public static final String SERIALIZED_NAME_SHARE_PROCESS_NAMESPACE
public static final String SERIALIZED_NAME_SUBDOMAIN
public static final String SERIALIZED_NAME_TERMINATION_GRACE_PERIOD_SECONDS
public static final String SERIALIZED_NAME_TOLERATIONS
public static final String SERIALIZED_NAME_TOPOLOGY_SPREAD_CONSTRAINTS
public static final String SERIALIZED_NAME_VOLUMES
@Nullable public Long getActiveDeadlineSeconds()
public void setActiveDeadlineSeconds(Long activeDeadlineSeconds)
public V1PodSpec affinity(V1Affinity affinity)
@Nullable public V1Affinity getAffinity()
public void setAffinity(V1Affinity affinity)
public V1PodSpec automountServiceAccountToken(Boolean automountServiceAccountToken)
@Nullable public Boolean getAutomountServiceAccountToken()
public void setAutomountServiceAccountToken(Boolean automountServiceAccountToken)
public V1PodSpec containers(List<V1Container> containers)
public V1PodSpec addContainersItem(V1Container containersItem)
public List<V1Container> getContainers()
public void setContainers(List<V1Container> containers)
public V1PodSpec dnsConfig(V1PodDNSConfig dnsConfig)
@Nullable public V1PodDNSConfig getDnsConfig()
public void setDnsConfig(V1PodDNSConfig dnsConfig)
@Nullable public String getDnsPolicy()
public void setDnsPolicy(String dnsPolicy)
@Nullable public Boolean getEnableServiceLinks()
public void setEnableServiceLinks(Boolean enableServiceLinks)
public V1PodSpec ephemeralContainers(List<V1EphemeralContainer> ephemeralContainers)
public V1PodSpec addEphemeralContainersItem(V1EphemeralContainer ephemeralContainersItem)
@Nullable public List<V1EphemeralContainer> getEphemeralContainers()
public void setEphemeralContainers(List<V1EphemeralContainer> ephemeralContainers)
public V1PodSpec hostAliases(List<V1HostAlias> hostAliases)
public V1PodSpec addHostAliasesItem(V1HostAlias hostAliasesItem)
@Nullable public List<V1HostAlias> getHostAliases()
public void setHostAliases(List<V1HostAlias> hostAliases)
@Nullable public Boolean getHostIPC()
public void setHostIPC(Boolean hostIPC)
@Nullable public Boolean getHostNetwork()
public void setHostNetwork(Boolean hostNetwork)
@Nullable public Boolean getHostPID()
public void setHostPID(Boolean hostPID)
@Nullable public String getHostname()
public void setHostname(String hostname)
public V1PodSpec imagePullSecrets(List<V1LocalObjectReference> imagePullSecrets)
public V1PodSpec addImagePullSecretsItem(V1LocalObjectReference imagePullSecretsItem)
@Nullable public List<V1LocalObjectReference> getImagePullSecrets()
public void setImagePullSecrets(List<V1LocalObjectReference> imagePullSecrets)
public V1PodSpec initContainers(List<V1Container> initContainers)
public V1PodSpec addInitContainersItem(V1Container initContainersItem)
@Nullable public List<V1Container> getInitContainers()
public void setInitContainers(List<V1Container> initContainers)
@Nullable public String getNodeName()
public void setNodeName(String nodeName)
@Nullable public Map<String,String> getNodeSelector()
@Nullable public Map<String,Quantity> getOverhead()
@Nullable public String getPreemptionPolicy()
public void setPreemptionPolicy(String preemptionPolicy)
@Nullable public Integer getPriority()
public void setPriority(Integer priority)
@Nullable public String getPriorityClassName()
public void setPriorityClassName(String priorityClassName)
public V1PodSpec readinessGates(List<V1PodReadinessGate> readinessGates)
public V1PodSpec addReadinessGatesItem(V1PodReadinessGate readinessGatesItem)
@Nullable public List<V1PodReadinessGate> getReadinessGates()
public void setReadinessGates(List<V1PodReadinessGate> readinessGates)
@Nullable public String getRestartPolicy()
public void setRestartPolicy(String restartPolicy)
@Nullable public String getRuntimeClassName()
public void setRuntimeClassName(String runtimeClassName)
@Nullable public String getSchedulerName()
public void setSchedulerName(String schedulerName)
public V1PodSpec securityContext(V1PodSecurityContext securityContext)
@Nullable public V1PodSecurityContext getSecurityContext()
public void setSecurityContext(V1PodSecurityContext securityContext)
@Nullable public String getServiceAccount()
public void setServiceAccount(String serviceAccount)
@Nullable public String getServiceAccountName()
public void setServiceAccountName(String serviceAccountName)
@Nullable public Boolean getShareProcessNamespace()
public void setShareProcessNamespace(Boolean shareProcessNamespace)
@Nullable public String getSubdomain()
public void setSubdomain(String subdomain)
public V1PodSpec terminationGracePeriodSeconds(Long terminationGracePeriodSeconds)
@Nullable public Long getTerminationGracePeriodSeconds()
public void setTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds)
public V1PodSpec tolerations(List<V1Toleration> tolerations)
public V1PodSpec addTolerationsItem(V1Toleration tolerationsItem)
@Nullable public List<V1Toleration> getTolerations()
public void setTolerations(List<V1Toleration> tolerations)
public V1PodSpec topologySpreadConstraints(List<V1TopologySpreadConstraint> topologySpreadConstraints)
public V1PodSpec addTopologySpreadConstraintsItem(V1TopologySpreadConstraint topologySpreadConstraintsItem)
@Nullable public List<V1TopologySpreadConstraint> getTopologySpreadConstraints()
public void setTopologySpreadConstraints(List<V1TopologySpreadConstraint> topologySpreadConstraints)
@Nullable public List<V1Volume> getVolumes()
Copyright © 2021. All rights reserved.