PodSpec

final case class PodSpec(containers: Seq[Container], 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[Int], dnsConfig: Option[PodDNSConfig], priorityClassName: Option[String], serviceAccountName: Option[String], restartPolicy: Option[String], hostUsers: Option[Boolean], runtimeClassName: Option[String], readinessGates: Option[Seq[PodReadinessGate]], activeDeadlineSeconds: Option[Int], hostNetwork: Option[Boolean], securityContext: Option[PodSecurityContext])

PodSpec is a description of a pod.

Source:
PodSpec.scala
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def addContainers(newValues: Container*): PodSpec

Appends new values to containers

Appends new values to containers

Source:
PodSpec.scala

Appends new values to ephemeralContainers

Appends new values to ephemeralContainers

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

Appends new values to hostAliases

Appends new values to hostAliases

Source:
PodSpec.scala

Appends new values to imagePullSecrets

Appends new values to imagePullSecrets

Source:
PodSpec.scala

Appends new values to initContainers

Appends new values to initContainers

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

Adds new values to nodeSelector

Adds new values to nodeSelector

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

Adds new values to overhead

Adds new values to overhead

Source:
PodSpec.scala

Appends new values to readinessGates

Appends new values to readinessGates

Source:
PodSpec.scala

Appends new values to tolerations

Appends new values to tolerations

Source:
PodSpec.scala

Appends new values to topologySpreadConstraints

Appends new values to topologySpreadConstraints

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

Appends new values to volumes

Appends new values to volumes

Source:
PodSpec.scala

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

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

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

Source:
PodSpec.scala

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

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

Source:
PodSpec.scala

transforms containers to result of function

transforms containers to result of function

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

Source:
PodSpec.scala

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

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

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

Source:
PodSpec.scala

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

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

Source:
PodSpec.scala

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

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

Source:
PodSpec.scala

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

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

Source:
PodSpec.scala

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

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

Source:
PodSpec.scala

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

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

Source:
PodSpec.scala

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

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

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

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

Source:
PodSpec.scala

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

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

Source:
PodSpec.scala

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

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

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

Source:
PodSpec.scala

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

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

Source:
PodSpec.scala

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

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

Source:
PodSpec.scala

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

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

Source:
PodSpec.scala

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

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

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

Source:
PodSpec.scala

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

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

Source:
PodSpec.scala

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

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

Source:
PodSpec.scala

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

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

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

Source:
PodSpec.scala

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

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

Source:
PodSpec.scala

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

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

Source:
PodSpec.scala

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

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

Source:
PodSpec.scala

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

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

Source:
PodSpec.scala

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

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

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

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

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

Source:
PodSpec.scala

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

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

Source:
PodSpec.scala

Returns a new data with activeDeadlineSeconds set to new value

Returns a new data with activeDeadlineSeconds set to new value

Source:
PodSpec.scala

Returns a new data with affinity set to new value

Returns a new data with affinity set to new value

Source:
PodSpec.scala

Returns a new data with automountServiceAccountToken set to new value

Returns a new data with automountServiceAccountToken set to new value

Source:
PodSpec.scala

Returns a new data with containers set to new value

Returns a new data with containers set to new value

Source:
PodSpec.scala

Returns a new data with dnsConfig set to new value

Returns a new data with dnsConfig set to new value

Source:
PodSpec.scala

Returns a new data with dnsPolicy set to new value

Returns a new data with dnsPolicy set to new value

Source:
PodSpec.scala

Returns a new data with ephemeralContainers set to new value

Returns a new data with ephemeralContainers set to new value

Source:
PodSpec.scala

Returns a new data with hostAliases set to new value

Returns a new data with hostAliases set to new value

Source:
PodSpec.scala

Returns a new data with hostIPC set to new value

Returns a new data with hostIPC set to new value

Source:
PodSpec.scala

Returns a new data with hostNetwork set to new value

Returns a new data with hostNetwork set to new value

Source:
PodSpec.scala

Returns a new data with hostPID set to new value

Returns a new data with hostPID set to new value

Source:
PodSpec.scala

Returns a new data with hostUsers set to new value

Returns a new data with hostUsers set to new value

Source:
PodSpec.scala

Returns a new data with hostname set to new value

Returns a new data with hostname set to new value

Source:
PodSpec.scala

Returns a new data with imagePullSecrets set to new value

Returns a new data with imagePullSecrets set to new value

Source:
PodSpec.scala

Returns a new data with initContainers set to new value

Returns a new data with initContainers set to new value

Source:
PodSpec.scala

Returns a new data with nodeName set to new value

Returns a new data with nodeName set to new value

Source:
PodSpec.scala

Returns a new data with nodeSelector set to new value

Returns a new data with nodeSelector set to new value

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

Source:
PodSpec.scala

Returns a new data with overhead set to new value

Returns a new data with overhead set to new value

Source:
PodSpec.scala

Returns a new data with preemptionPolicy set to new value

Returns a new data with preemptionPolicy set to new value

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

Source:
PodSpec.scala

Returns a new data with priorityClassName set to new value

Returns a new data with priorityClassName set to new value

Source:
PodSpec.scala

Returns a new data with readinessGates set to new value

Returns a new data with readinessGates set to new value

Source:
PodSpec.scala

Returns a new data with restartPolicy set to new value

Returns a new data with restartPolicy set to new value

Source:
PodSpec.scala

Returns a new data with runtimeClassName set to new value

Returns a new data with runtimeClassName set to new value

Source:
PodSpec.scala

Returns a new data with schedulerName set to new value

Returns a new data with schedulerName set to new value

Source:
PodSpec.scala

Returns a new data with securityContext set to new value

Returns a new data with securityContext set to new value

Source:
PodSpec.scala

Returns a new data with serviceAccount set to new value

Returns a new data with serviceAccount set to new value

Source:
PodSpec.scala

Returns a new data with serviceAccountName set to new value

Returns a new data with serviceAccountName set to new value

Source:
PodSpec.scala

Returns a new data with setHostnameAsFQDN set to new value

Returns a new data with setHostnameAsFQDN set to new value

Source:
PodSpec.scala

Returns a new data with shareProcessNamespace set to new value

Returns a new data with shareProcessNamespace set to new value

Source:
PodSpec.scala

Returns a new data with subdomain set to new value

Returns a new data with subdomain set to new value

Source:
PodSpec.scala

Returns a new data with terminationGracePeriodSeconds set to new value

Returns a new data with terminationGracePeriodSeconds set to new value

Source:
PodSpec.scala

Returns a new data with tolerations set to new value

Returns a new data with tolerations set to new value

Source:
PodSpec.scala

Returns a new data with topologySpreadConstraints set to new value

Returns a new data with topologySpreadConstraints set to new value

Source:
PodSpec.scala

Returns a new data with volumes set to new value

Returns a new data with volumes set to new value

Source:
PodSpec.scala

Inherited methods

Inherited from:
Product