final case class PodSpec(containers: Seq[Container], priority: Option[Int] = None, hostIPC: Option[Boolean] = None, serviceAccount: Option[String] = None, schedulerName: Option[String] = None, hostname: Option[String] = None, imagePullSecrets: Option[Seq[LocalObjectReference]] = None, affinity: Option[Affinity] = None, os: Option[PodOS] = None, nodeName: Option[String] = None, ephemeralContainers: Option[Seq[EphemeralContainer]] = None, initContainers: Option[Seq[Container]] = None, shareProcessNamespace: Option[Boolean] = None, setHostnameAsFQDN: Option[Boolean] = None, enableServiceLinks: Option[Boolean] = None, preemptionPolicy: Option[String] = None, dnsPolicy: Option[String] = None, volumes: Option[Seq[Volume]] = None, hostAliases: Option[Seq[HostAlias]] = None, subdomain: Option[String] = None, topologySpreadConstraints: Option[Seq[TopologySpreadConstraint]] = None, overhead: Option[Map[String, Quantity]] = None, tolerations: Option[Seq[Toleration]] = None, automountServiceAccountToken: Option[Boolean] = None, nodeSelector: Option[Map[String, String]] = None, hostPID: Option[Boolean] = None, terminationGracePeriodSeconds: Option[Int] = None, dnsConfig: Option[PodDNSConfig] = None, priorityClassName: Option[String] = None, serviceAccountName: Option[String] = None, restartPolicy: Option[String] = None, hostUsers: Option[Boolean] = None, runtimeClassName: Option[String] = None, readinessGates: Option[Seq[PodReadinessGate]] = None, activeDeadlineSeconds: Option[Int] = None, hostNetwork: Option[Boolean] = None, securityContext: Option[PodSecurityContext] = None) extends Product with Serializable
- Alphabetic
- By Inheritance
- PodSpec
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new PodSpec(containers: Seq[Container], priority: Option[Int] = None, hostIPC: Option[Boolean] = None, serviceAccount: Option[String] = None, schedulerName: Option[String] = None, hostname: Option[String] = None, imagePullSecrets: Option[Seq[LocalObjectReference]] = None, affinity: Option[Affinity] = None, os: Option[PodOS] = None, nodeName: Option[String] = None, ephemeralContainers: Option[Seq[EphemeralContainer]] = None, initContainers: Option[Seq[Container]] = None, shareProcessNamespace: Option[Boolean] = None, setHostnameAsFQDN: Option[Boolean] = None, enableServiceLinks: Option[Boolean] = None, preemptionPolicy: Option[String] = None, dnsPolicy: Option[String] = None, volumes: Option[Seq[Volume]] = None, hostAliases: Option[Seq[HostAlias]] = None, subdomain: Option[String] = None, topologySpreadConstraints: Option[Seq[TopologySpreadConstraint]] = None, overhead: Option[Map[String, Quantity]] = None, tolerations: Option[Seq[Toleration]] = None, automountServiceAccountToken: Option[Boolean] = None, nodeSelector: Option[Map[String, String]] = None, hostPID: Option[Boolean] = None, terminationGracePeriodSeconds: Option[Int] = None, dnsConfig: Option[PodDNSConfig] = None, priorityClassName: Option[String] = None, serviceAccountName: Option[String] = None, restartPolicy: Option[String] = None, hostUsers: Option[Boolean] = None, runtimeClassName: Option[String] = None, readinessGates: Option[Seq[PodReadinessGate]] = None, activeDeadlineSeconds: Option[Int] = None, hostNetwork: Option[Boolean] = None, securityContext: Option[PodSecurityContext] = None)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val activeDeadlineSeconds: Option[Int]
- def addContainers(newValues: Container*): PodSpec
Appends new values to containers
- def addEphemeralContainers(newValues: EphemeralContainer*): PodSpec
Appends new values to ephemeralContainers
- def addHostAliases(newValues: HostAlias*): PodSpec
Appends new values to hostAliases
- def addImagePullSecrets(newValues: LocalObjectReference*): PodSpec
Appends new values to imagePullSecrets
- def addInitContainers(newValues: Container*): PodSpec
Appends new values to initContainers
- def addNodeSelector(newValues: (String, String)*): PodSpec
Adds new values to nodeSelector
- def addOverhead(newValues: (String, Quantity)*): PodSpec
Adds new values to overhead
- def addReadinessGates(newValues: PodReadinessGate*): PodSpec
Appends new values to readinessGates
- def addTolerations(newValues: Toleration*): PodSpec
Appends new values to tolerations
- def addTopologySpreadConstraints(newValues: TopologySpreadConstraint*): PodSpec
Appends new values to topologySpreadConstraints
- def addVolumes(newValues: Volume*): PodSpec
Appends new values to volumes
- val affinity: Option[Affinity]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val automountServiceAccountToken: Option[Boolean]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val containers: Seq[Container]
- val dnsConfig: Option[PodDNSConfig]
- val dnsPolicy: Option[String]
- val enableServiceLinks: Option[Boolean]
- val ephemeralContainers: Option[Seq[EphemeralContainer]]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val hostAliases: Option[Seq[HostAlias]]
- val hostIPC: Option[Boolean]
- val hostNetwork: Option[Boolean]
- val hostPID: Option[Boolean]
- val hostUsers: Option[Boolean]
- val hostname: Option[String]
- val imagePullSecrets: Option[Seq[LocalObjectReference]]
- val initContainers: Option[Seq[Container]]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def mapActiveDeadlineSeconds(f: (Int) => Int): PodSpec
if activeDeadlineSeconds has a value, transforms to the result of function
- def mapAffinity(f: (Affinity) => Affinity): PodSpec
if affinity has a value, transforms to the result of function
- def mapAutomountServiceAccountToken(f: (Boolean) => Boolean): PodSpec
if automountServiceAccountToken has a value, transforms to the result of function
- def mapContainers(f: (Seq[Container]) => Seq[Container]): PodSpec
transforms containers to result of function
- def mapDnsConfig(f: (PodDNSConfig) => PodDNSConfig): PodSpec
if dnsConfig has a value, transforms to the result of function
- def mapDnsPolicy(f: (String) => String): PodSpec
if dnsPolicy has a value, transforms to the result of function
- def mapEnableServiceLinks(f: (Boolean) => Boolean): PodSpec
if enableServiceLinks has a value, transforms to the result of function
- def mapEphemeralContainers(f: (Seq[EphemeralContainer]) => Seq[EphemeralContainer]): PodSpec
if ephemeralContainers has a value, transforms to the result of function
- def mapHostAliases(f: (Seq[HostAlias]) => Seq[HostAlias]): PodSpec
if hostAliases has a value, transforms to the result of function
- def mapHostIPC(f: (Boolean) => Boolean): PodSpec
if hostIPC has a value, transforms to the result of function
- def mapHostNetwork(f: (Boolean) => Boolean): PodSpec
if hostNetwork has a value, transforms to the result of function
- def mapHostPID(f: (Boolean) => Boolean): PodSpec
if hostPID has a value, transforms to the result of function
- def mapHostUsers(f: (Boolean) => Boolean): PodSpec
if hostUsers has a value, transforms to the result of function
- def mapHostname(f: (String) => String): PodSpec
if hostname has a value, transforms to the result of function
- def mapImagePullSecrets(f: (Seq[LocalObjectReference]) => Seq[LocalObjectReference]): PodSpec
if imagePullSecrets has a value, transforms to the result of function
- def mapInitContainers(f: (Seq[Container]) => Seq[Container]): PodSpec
if initContainers has a value, transforms to the result of function
- def mapNodeName(f: (String) => String): PodSpec
if nodeName has a value, transforms to the result of function
- def mapNodeSelector(f: (Map[String, String]) => Map[String, String]): PodSpec
if nodeSelector has a value, transforms to the result of function
- def mapOs(f: (PodOS) => PodOS): PodSpec
if os has a value, transforms to the result of function
- def mapOverhead(f: (Map[String, Quantity]) => Map[String, Quantity]): PodSpec
if overhead has a value, transforms to the result of function
- def mapPreemptionPolicy(f: (String) => String): PodSpec
if preemptionPolicy has a value, transforms to the result of function
- def mapPriority(f: (Int) => Int): PodSpec
if priority has a value, transforms to the result of function
- def mapPriorityClassName(f: (String) => String): PodSpec
if priorityClassName has a value, transforms to the result of function
- def mapReadinessGates(f: (Seq[PodReadinessGate]) => Seq[PodReadinessGate]): PodSpec
if readinessGates has a value, transforms to the result of function
- def mapRestartPolicy(f: (String) => String): PodSpec
if restartPolicy has a value, transforms to the result of function
- def mapRuntimeClassName(f: (String) => String): PodSpec
if runtimeClassName has a value, transforms to the result of function
- def mapSchedulerName(f: (String) => String): PodSpec
if schedulerName has a value, transforms to the result of function
- def mapSecurityContext(f: (PodSecurityContext) => PodSecurityContext): PodSpec
if securityContext has a value, transforms to the result of function
- def mapServiceAccount(f: (String) => String): PodSpec
if serviceAccount has a value, transforms to the result of function
- def mapServiceAccountName(f: (String) => String): PodSpec
if serviceAccountName has a value, transforms to the result of function
- def mapSetHostnameAsFQDN(f: (Boolean) => Boolean): PodSpec
if setHostnameAsFQDN has a value, transforms to the result of function
- def mapShareProcessNamespace(f: (Boolean) => Boolean): PodSpec
if shareProcessNamespace has a value, transforms to the result of function
- def mapSubdomain(f: (String) => String): PodSpec
if subdomain has a value, transforms to the result of function
- def mapTerminationGracePeriodSeconds(f: (Int) => Int): PodSpec
if terminationGracePeriodSeconds has a value, transforms to the result of function
- def mapTolerations(f: (Seq[Toleration]) => Seq[Toleration]): PodSpec
if tolerations has a value, transforms to the result of function
- def mapTopologySpreadConstraints(f: (Seq[TopologySpreadConstraint]) => Seq[TopologySpreadConstraint]): PodSpec
if topologySpreadConstraints has a value, transforms to the result of function
- def mapVolumes(f: (Seq[Volume]) => Seq[Volume]): PodSpec
if volumes has a value, transforms to the result of function
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val nodeName: Option[String]
- val nodeSelector: Option[Map[String, String]]
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val os: Option[PodOS]
- val overhead: Option[Map[String, Quantity]]
- val preemptionPolicy: Option[String]
- val priority: Option[Int]
- val priorityClassName: Option[String]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val readinessGates: Option[Seq[PodReadinessGate]]
- val restartPolicy: Option[String]
- val runtimeClassName: Option[String]
- val schedulerName: Option[String]
- val securityContext: Option[PodSecurityContext]
- val serviceAccount: Option[String]
- val serviceAccountName: Option[String]
- val setHostnameAsFQDN: Option[Boolean]
- val shareProcessNamespace: Option[Boolean]
- val subdomain: Option[String]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val terminationGracePeriodSeconds: Option[Int]
- val tolerations: Option[Seq[Toleration]]
- val topologySpreadConstraints: Option[Seq[TopologySpreadConstraint]]
- val volumes: Option[Seq[Volume]]
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withActiveDeadlineSeconds(value: Int): PodSpec
Returns a new data with activeDeadlineSeconds set to new value
- def withAffinity(value: Affinity): PodSpec
Returns a new data with affinity set to new value
- def withAutomountServiceAccountToken(value: Boolean): PodSpec
Returns a new data with automountServiceAccountToken set to new value
- def withContainers(value: Seq[Container]): PodSpec
Returns a new data with containers set to new value
- def withDnsConfig(value: PodDNSConfig): PodSpec
Returns a new data with dnsConfig set to new value
- def withDnsPolicy(value: String): PodSpec
Returns a new data with dnsPolicy set to new value
- def withEnableServiceLinks(value: Boolean): PodSpec
Returns a new data with enableServiceLinks set to new value
- def withEphemeralContainers(value: Seq[EphemeralContainer]): PodSpec
Returns a new data with ephemeralContainers set to new value
- def withHostAliases(value: Seq[HostAlias]): PodSpec
Returns a new data with hostAliases set to new value
- def withHostIPC(value: Boolean): PodSpec
Returns a new data with hostIPC set to new value
- def withHostNetwork(value: Boolean): PodSpec
Returns a new data with hostNetwork set to new value
- def withHostPID(value: Boolean): PodSpec
Returns a new data with hostPID set to new value
- def withHostUsers(value: Boolean): PodSpec
Returns a new data with hostUsers set to new value
- def withHostname(value: String): PodSpec
Returns a new data with hostname set to new value
- def withImagePullSecrets(value: Seq[LocalObjectReference]): PodSpec
Returns a new data with imagePullSecrets set to new value
- def withInitContainers(value: Seq[Container]): PodSpec
Returns a new data with initContainers set to new value
- def withNodeName(value: String): PodSpec
Returns a new data with nodeName set to new value
- def withNodeSelector(value: Map[String, String]): PodSpec
Returns a new data with nodeSelector set to new value
- def withOs(value: PodOS): PodSpec
Returns a new data with os set to new value
- def withOverhead(value: Map[String, Quantity]): PodSpec
Returns a new data with overhead set to new value
- def withPreemptionPolicy(value: String): PodSpec
Returns a new data with preemptionPolicy set to new value
- def withPriority(value: Int): PodSpec
Returns a new data with priority set to new value
- def withPriorityClassName(value: String): PodSpec
Returns a new data with priorityClassName set to new value
- def withReadinessGates(value: Seq[PodReadinessGate]): PodSpec
Returns a new data with readinessGates set to new value
- def withRestartPolicy(value: String): PodSpec
Returns a new data with restartPolicy set to new value
- def withRuntimeClassName(value: String): PodSpec
Returns a new data with runtimeClassName set to new value
- def withSchedulerName(value: String): PodSpec
Returns a new data with schedulerName set to new value
- def withSecurityContext(value: PodSecurityContext): PodSpec
Returns a new data with securityContext set to new value
- def withServiceAccount(value: String): PodSpec
Returns a new data with serviceAccount set to new value
- def withServiceAccountName(value: String): PodSpec
Returns a new data with serviceAccountName set to new value
- def withSetHostnameAsFQDN(value: Boolean): PodSpec
Returns a new data with setHostnameAsFQDN set to new value
- def withShareProcessNamespace(value: Boolean): PodSpec
Returns a new data with shareProcessNamespace set to new value
- def withSubdomain(value: String): PodSpec
Returns a new data with subdomain set to new value
- def withTerminationGracePeriodSeconds(value: Int): PodSpec
Returns a new data with terminationGracePeriodSeconds set to new value
- def withTolerations(value: Seq[Toleration]): PodSpec
Returns a new data with tolerations set to new value
- def withTopologySpreadConstraints(value: Seq[TopologySpreadConstraint]): PodSpec
Returns a new data with topologySpreadConstraints set to new value
- def withVolumes(value: Seq[Volume]): PodSpec
Returns a new data with volumes set to new value