PodSpec

io.k8s.api.core.v1.PodSpec
See thePodSpec companion object
final case class PodSpec(containers: Seq[Container], schedulingGates: Option[Seq[PodSchedulingGate]], priority: Option[Int], hostIPC: Option[Boolean], serviceAccount: Option[String], schedulerName: Option[String], hostname: Option[String], imagePullSecrets: Option[Seq[LocalObjectReference]], affinity: Option[Affinity], os: Option[PodOS], nodeName: Option[String], ephemeralContainers: Option[Seq[EphemeralContainer]], initContainers: Option[Seq[Container]], shareProcessNamespace: Option[Boolean], setHostnameAsFQDN: Option[Boolean], enableServiceLinks: Option[Boolean], preemptionPolicy: Option[String], dnsPolicy: Option[String], volumes: Option[Seq[Volume]], hostAliases: Option[Seq[HostAlias]], subdomain: Option[String], topologySpreadConstraints: Option[Seq[TopologySpreadConstraint]], overhead: Option[Map[String, Quantity]], tolerations: Option[Seq[Toleration]], automountServiceAccountToken: Option[Boolean], nodeSelector: Option[Map[String, String]], hostPID: Option[Boolean], terminationGracePeriodSeconds: Option[Long], dnsConfig: Option[PodDNSConfig], priorityClassName: Option[String], serviceAccountName: Option[String], restartPolicy: Option[String], resourceClaims: Option[Seq[PodResourceClaim]], hostUsers: Option[Boolean], runtimeClassName: Option[String], readinessGates: Option[Seq[PodReadinessGate]], activeDeadlineSeconds: Option[Long], hostNetwork: Option[Boolean], securityContext: Option[PodSecurityContext])

PodSpec is a description of a pod.

Attributes

Companion
object
Source
PodSpec.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def addContainers(newValues: Container*): PodSpec

Appends new values to containers

Appends new values to containers

Attributes

Source
PodSpec.scala

Appends new values to ephemeralContainers

Appends new values to ephemeralContainers

Attributes

Source
PodSpec.scala
def addHostAliases(newValues: HostAlias*): PodSpec

Appends new values to hostAliases

Appends new values to hostAliases

Attributes

Source
PodSpec.scala

Appends new values to imagePullSecrets

Appends new values to imagePullSecrets

Attributes

Source
PodSpec.scala
def addInitContainers(newValues: Container*): PodSpec

Appends new values to initContainers

Appends new values to initContainers

Attributes

Source
PodSpec.scala
def addNodeSelector(newValues: (String, String)*): PodSpec

Adds new values to nodeSelector

Adds new values to nodeSelector

Attributes

Source
PodSpec.scala
def addOverhead(newValues: (String, Quantity)*): PodSpec

Adds new values to overhead

Adds new values to overhead

Attributes

Source
PodSpec.scala

Appends new values to readinessGates

Appends new values to readinessGates

Attributes

Source
PodSpec.scala

Appends new values to resourceClaims

Appends new values to resourceClaims

Attributes

Source
PodSpec.scala

Appends new values to schedulingGates

Appends new values to schedulingGates

Attributes

Source
PodSpec.scala
def addTolerations(newValues: Toleration*): PodSpec

Appends new values to tolerations

Appends new values to tolerations

Attributes

Source
PodSpec.scala

Appends new values to topologySpreadConstraints

Appends new values to topologySpreadConstraints

Attributes

Source
PodSpec.scala
def addVolumes(newValues: Volume*): PodSpec

Appends new values to volumes

Appends new values to volumes

Attributes

Source
PodSpec.scala
def mapActiveDeadlineSeconds(f: Long => Long): PodSpec

if activeDeadlineSeconds has a value, transforms to the result of function

if activeDeadlineSeconds has a value, transforms to the result of function

Attributes

Source
PodSpec.scala

if affinity has a value, transforms to the result of function

if affinity has a value, transforms to the result of function

Attributes

Source
PodSpec.scala
def mapAutomountServiceAccountToken(f: Boolean => Boolean): PodSpec

if automountServiceAccountToken has a value, transforms to the result of function

if automountServiceAccountToken has a value, transforms to the result of function

Attributes

Source
PodSpec.scala
def mapContainers(f: Seq[Container] => Seq[Container]): PodSpec

transforms containers to result of function

transforms containers to result of function

Attributes

Source
PodSpec.scala

if dnsConfig has a value, transforms to the result of function

if dnsConfig has a value, transforms to the result of function

Attributes

Source
PodSpec.scala
def mapDnsPolicy(f: String => String): PodSpec

if dnsPolicy has a value, transforms to the result of function

if dnsPolicy has a value, transforms to the result of function

Attributes

Source
PodSpec.scala

if ephemeralContainers has a value, transforms to the result of function

if ephemeralContainers has a value, transforms to the result of function

Attributes

Source
PodSpec.scala
def mapHostAliases(f: Seq[HostAlias] => Seq[HostAlias]): PodSpec

if hostAliases has a value, transforms to the result of function

if hostAliases has a value, transforms to the result of function

Attributes

Source
PodSpec.scala
def mapHostIPC(f: Boolean => Boolean): PodSpec

if hostIPC has a value, transforms to the result of function

if hostIPC has a value, transforms to the result of function

Attributes

Source
PodSpec.scala
def mapHostNetwork(f: Boolean => Boolean): PodSpec

if hostNetwork has a value, transforms to the result of function

if hostNetwork has a value, transforms to the result of function

Attributes

Source
PodSpec.scala
def mapHostPID(f: Boolean => Boolean): PodSpec

if hostPID has a value, transforms to the result of function

if hostPID has a value, transforms to the result of function

Attributes

Source
PodSpec.scala
def mapHostUsers(f: Boolean => Boolean): PodSpec

if hostUsers has a value, transforms to the result of function

if hostUsers has a value, transforms to the result of function

Attributes

Source
PodSpec.scala
def mapHostname(f: String => String): PodSpec

if hostname has a value, transforms to the result of function

if hostname has a value, transforms to the result of function

Attributes

Source
PodSpec.scala

if imagePullSecrets has a value, transforms to the result of function

if imagePullSecrets has a value, transforms to the result of function

Attributes

Source
PodSpec.scala

if initContainers has a value, transforms to the result of function

if initContainers has a value, transforms to the result of function

Attributes

Source
PodSpec.scala
def mapNodeName(f: String => String): PodSpec

if nodeName has a value, transforms to the result of function

if nodeName has a value, transforms to the result of function

Attributes

Source
PodSpec.scala
def mapNodeSelector(f: Map[String, String] => Map[String, String]): PodSpec

if nodeSelector has a value, transforms to the result of function

if nodeSelector has a value, transforms to the result of function

Attributes

Source
PodSpec.scala
def mapOs(f: PodOS => PodOS): PodSpec

if os has a value, transforms to the result of function

if os has a value, transforms to the result of function

Attributes

Source
PodSpec.scala
def mapOverhead(f: Map[String, Quantity] => Map[String, Quantity]): PodSpec

if overhead has a value, transforms to the result of function

if overhead has a value, transforms to the result of function

Attributes

Source
PodSpec.scala
def mapPreemptionPolicy(f: String => String): PodSpec

if preemptionPolicy has a value, transforms to the result of function

if preemptionPolicy has a value, transforms to the result of function

Attributes

Source
PodSpec.scala
def mapPriority(f: Int => Int): PodSpec

if priority has a value, transforms to the result of function

if priority has a value, transforms to the result of function

Attributes

Source
PodSpec.scala
def mapPriorityClassName(f: String => String): PodSpec

if priorityClassName has a value, transforms to the result of function

if priorityClassName has a value, transforms to the result of function

Attributes

Source
PodSpec.scala

if readinessGates has a value, transforms to the result of function

if readinessGates has a value, transforms to the result of function

Attributes

Source
PodSpec.scala

if resourceClaims has a value, transforms to the result of function

if resourceClaims has a value, transforms to the result of function

Attributes

Source
PodSpec.scala
def mapRestartPolicy(f: String => String): PodSpec

if restartPolicy has a value, transforms to the result of function

if restartPolicy has a value, transforms to the result of function

Attributes

Source
PodSpec.scala
def mapRuntimeClassName(f: String => String): PodSpec

if runtimeClassName has a value, transforms to the result of function

if runtimeClassName has a value, transforms to the result of function

Attributes

Source
PodSpec.scala
def mapSchedulerName(f: String => String): PodSpec

if schedulerName has a value, transforms to the result of function

if schedulerName has a value, transforms to the result of function

Attributes

Source
PodSpec.scala

if schedulingGates has a value, transforms to the result of function

if schedulingGates has a value, transforms to the result of function

Attributes

Source
PodSpec.scala

if securityContext has a value, transforms to the result of function

if securityContext has a value, transforms to the result of function

Attributes

Source
PodSpec.scala
def mapServiceAccount(f: String => String): PodSpec

if serviceAccount has a value, transforms to the result of function

if serviceAccount has a value, transforms to the result of function

Attributes

Source
PodSpec.scala
def mapServiceAccountName(f: String => String): PodSpec

if serviceAccountName has a value, transforms to the result of function

if serviceAccountName has a value, transforms to the result of function

Attributes

Source
PodSpec.scala
def mapSetHostnameAsFQDN(f: Boolean => Boolean): PodSpec

if setHostnameAsFQDN has a value, transforms to the result of function

if setHostnameAsFQDN has a value, transforms to the result of function

Attributes

Source
PodSpec.scala
def mapShareProcessNamespace(f: Boolean => Boolean): PodSpec

if shareProcessNamespace has a value, transforms to the result of function

if shareProcessNamespace has a value, transforms to the result of function

Attributes

Source
PodSpec.scala
def mapSubdomain(f: String => String): PodSpec

if subdomain has a value, transforms to the result of function

if subdomain has a value, transforms to the result of function

Attributes

Source
PodSpec.scala

if terminationGracePeriodSeconds has a value, transforms to the result of function

if terminationGracePeriodSeconds has a value, transforms to the result of function

Attributes

Source
PodSpec.scala

if tolerations has a value, transforms to the result of function

if tolerations has a value, transforms to the result of function

Attributes

Source
PodSpec.scala

if topologySpreadConstraints has a value, transforms to the result of function

if topologySpreadConstraints has a value, transforms to the result of function

Attributes

Source
PodSpec.scala
def mapVolumes(f: Seq[Volume] => Seq[Volume]): PodSpec

if volumes has a value, transforms to the result of function

if volumes has a value, transforms to the result of function

Attributes

Source
PodSpec.scala

Returns a new data with activeDeadlineSeconds set to new value

Returns a new data with activeDeadlineSeconds set to new value

Attributes

Source
PodSpec.scala

Returns a new data with affinity set to new value

Returns a new data with affinity set to new value

Attributes

Source
PodSpec.scala

Returns a new data with automountServiceAccountToken set to new value

Returns a new data with automountServiceAccountToken set to new value

Attributes

Source
PodSpec.scala
def withContainers(value: Seq[Container]): PodSpec

Returns a new data with containers set to new value

Returns a new data with containers set to new value

Attributes

Source
PodSpec.scala

Returns a new data with dnsConfig set to new value

Returns a new data with dnsConfig set to new value

Attributes

Source
PodSpec.scala
def withDnsPolicy(value: String): PodSpec

Returns a new data with dnsPolicy set to new value

Returns a new data with dnsPolicy set to new value

Attributes

Source
PodSpec.scala

Returns a new data with ephemeralContainers set to new value

Returns a new data with ephemeralContainers set to new value

Attributes

Source
PodSpec.scala
def withHostAliases(value: Seq[HostAlias]): PodSpec

Returns a new data with hostAliases set to new value

Returns a new data with hostAliases set to new value

Attributes

Source
PodSpec.scala
def withHostIPC(value: Boolean): PodSpec

Returns a new data with hostIPC set to new value

Returns a new data with hostIPC set to new value

Attributes

Source
PodSpec.scala
def withHostNetwork(value: Boolean): PodSpec

Returns a new data with hostNetwork set to new value

Returns a new data with hostNetwork set to new value

Attributes

Source
PodSpec.scala
def withHostPID(value: Boolean): PodSpec

Returns a new data with hostPID set to new value

Returns a new data with hostPID set to new value

Attributes

Source
PodSpec.scala
def withHostUsers(value: Boolean): PodSpec

Returns a new data with hostUsers set to new value

Returns a new data with hostUsers set to new value

Attributes

Source
PodSpec.scala
def withHostname(value: String): PodSpec

Returns a new data with hostname set to new value

Returns a new data with hostname set to new value

Attributes

Source
PodSpec.scala

Returns a new data with imagePullSecrets set to new value

Returns a new data with imagePullSecrets set to new value

Attributes

Source
PodSpec.scala

Returns a new data with initContainers set to new value

Returns a new data with initContainers set to new value

Attributes

Source
PodSpec.scala
def withNodeName(value: String): PodSpec

Returns a new data with nodeName set to new value

Returns a new data with nodeName set to new value

Attributes

Source
PodSpec.scala
def withNodeSelector(value: Map[String, String]): PodSpec

Returns a new data with nodeSelector set to new value

Returns a new data with nodeSelector set to new value

Attributes

Source
PodSpec.scala
def withOs(value: PodOS): PodSpec

Returns a new data with os set to new value

Returns a new data with os set to new value

Attributes

Source
PodSpec.scala
def withOverhead(value: Map[String, Quantity]): PodSpec

Returns a new data with overhead set to new value

Returns a new data with overhead set to new value

Attributes

Source
PodSpec.scala
def withPreemptionPolicy(value: String): PodSpec

Returns a new data with preemptionPolicy set to new value

Returns a new data with preemptionPolicy set to new value

Attributes

Source
PodSpec.scala
def withPriority(value: Int): PodSpec

Returns a new data with priority set to new value

Returns a new data with priority set to new value

Attributes

Source
PodSpec.scala
def withPriorityClassName(value: String): PodSpec

Returns a new data with priorityClassName set to new value

Returns a new data with priorityClassName set to new value

Attributes

Source
PodSpec.scala

Returns a new data with readinessGates set to new value

Returns a new data with readinessGates set to new value

Attributes

Source
PodSpec.scala

Returns a new data with resourceClaims set to new value

Returns a new data with resourceClaims set to new value

Attributes

Source
PodSpec.scala
def withRestartPolicy(value: String): PodSpec

Returns a new data with restartPolicy set to new value

Returns a new data with restartPolicy set to new value

Attributes

Source
PodSpec.scala
def withRuntimeClassName(value: String): PodSpec

Returns a new data with runtimeClassName set to new value

Returns a new data with runtimeClassName set to new value

Attributes

Source
PodSpec.scala
def withSchedulerName(value: String): PodSpec

Returns a new data with schedulerName set to new value

Returns a new data with schedulerName set to new value

Attributes

Source
PodSpec.scala

Returns a new data with schedulingGates set to new value

Returns a new data with schedulingGates set to new value

Attributes

Source
PodSpec.scala

Returns a new data with securityContext set to new value

Returns a new data with securityContext set to new value

Attributes

Source
PodSpec.scala
def withServiceAccount(value: String): PodSpec

Returns a new data with serviceAccount set to new value

Returns a new data with serviceAccount set to new value

Attributes

Source
PodSpec.scala
def withServiceAccountName(value: String): PodSpec

Returns a new data with serviceAccountName set to new value

Returns a new data with serviceAccountName set to new value

Attributes

Source
PodSpec.scala
def withSetHostnameAsFQDN(value: Boolean): PodSpec

Returns a new data with setHostnameAsFQDN set to new value

Returns a new data with setHostnameAsFQDN set to new value

Attributes

Source
PodSpec.scala
def withShareProcessNamespace(value: Boolean): PodSpec

Returns a new data with shareProcessNamespace set to new value

Returns a new data with shareProcessNamespace set to new value

Attributes

Source
PodSpec.scala
def withSubdomain(value: String): PodSpec

Returns a new data with subdomain set to new value

Returns a new data with subdomain set to new value

Attributes

Source
PodSpec.scala

Returns a new data with terminationGracePeriodSeconds set to new value

Returns a new data with terminationGracePeriodSeconds set to new value

Attributes

Source
PodSpec.scala
def withTolerations(value: Seq[Toleration]): PodSpec

Returns a new data with tolerations set to new value

Returns a new data with tolerations set to new value

Attributes

Source
PodSpec.scala

Returns a new data with topologySpreadConstraints set to new value

Returns a new data with topologySpreadConstraints set to new value

Attributes

Source
PodSpec.scala
def withVolumes(value: Seq[Volume]): PodSpec

Returns a new data with volumes set to new value

Returns a new data with volumes set to new value

Attributes

Source
PodSpec.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product