Packages

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

PodSpec is a description of a pod.

Source
PodSpec.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PodSpec
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val activeDeadlineSeconds: Option[Int]
  5. def addContainers(newValues: Container*): PodSpec

    Appends new values to containers

  6. def addEphemeralContainers(newValues: EphemeralContainer*): PodSpec

    Appends new values to ephemeralContainers

  7. def addHostAliases(newValues: HostAlias*): PodSpec

    Appends new values to hostAliases

  8. def addImagePullSecrets(newValues: LocalObjectReference*): PodSpec

    Appends new values to imagePullSecrets

  9. def addInitContainers(newValues: Container*): PodSpec

    Appends new values to initContainers

  10. def addNodeSelector(newValues: (String, String)*): PodSpec

    Adds new values to nodeSelector

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

    Adds new values to overhead

  12. def addReadinessGates(newValues: PodReadinessGate*): PodSpec

    Appends new values to readinessGates

  13. def addTolerations(newValues: Toleration*): PodSpec

    Appends new values to tolerations

  14. def addTopologySpreadConstraints(newValues: TopologySpreadConstraint*): PodSpec

    Appends new values to topologySpreadConstraints

  15. def addVolumes(newValues: Volume*): PodSpec

    Appends new values to volumes

  16. val affinity: Option[Affinity]
  17. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  18. val automountServiceAccountToken: Option[Boolean]
  19. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  20. val containers: Seq[Container]
  21. val dnsConfig: Option[PodDNSConfig]
  22. val dnsPolicy: Option[String]
  23. val enableServiceLinks: Option[Boolean]
  24. val ephemeralContainers: Option[Seq[EphemeralContainer]]
  25. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  27. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  28. val hostAliases: Option[Seq[HostAlias]]
  29. val hostIPC: Option[Boolean]
  30. val hostNetwork: Option[Boolean]
  31. val hostPID: Option[Boolean]
  32. val hostUsers: Option[Boolean]
  33. val hostname: Option[String]
  34. val imagePullSecrets: Option[Seq[LocalObjectReference]]
  35. val initContainers: Option[Seq[Container]]
  36. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  37. def mapActiveDeadlineSeconds(f: (Int) => Int): PodSpec

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

  38. def mapAffinity(f: (Affinity) => Affinity): PodSpec

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

  39. def mapAutomountServiceAccountToken(f: (Boolean) => Boolean): PodSpec

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

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

    transforms containers to result of function

  41. def mapDnsConfig(f: (PodDNSConfig) => PodDNSConfig): PodSpec

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

  42. def mapDnsPolicy(f: (String) => String): PodSpec

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

  43. def mapEnableServiceLinks(f: (Boolean) => Boolean): PodSpec

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

  44. def mapEphemeralContainers(f: (Seq[EphemeralContainer]) => Seq[EphemeralContainer]): PodSpec

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

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

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

  46. def mapHostIPC(f: (Boolean) => Boolean): PodSpec

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

  47. def mapHostNetwork(f: (Boolean) => Boolean): PodSpec

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

  48. def mapHostPID(f: (Boolean) => Boolean): PodSpec

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

  49. def mapHostUsers(f: (Boolean) => Boolean): PodSpec

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

  50. def mapHostname(f: (String) => String): PodSpec

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

  51. def mapImagePullSecrets(f: (Seq[LocalObjectReference]) => Seq[LocalObjectReference]): PodSpec

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

  52. def mapInitContainers(f: (Seq[Container]) => Seq[Container]): PodSpec

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

  53. def mapNodeName(f: (String) => String): PodSpec

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

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

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

  55. def mapOs(f: (PodOS) => PodOS): PodSpec

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

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

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

  57. def mapPreemptionPolicy(f: (String) => String): PodSpec

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

  58. def mapPriority(f: (Int) => Int): PodSpec

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

  59. def mapPriorityClassName(f: (String) => String): PodSpec

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

  60. def mapReadinessGates(f: (Seq[PodReadinessGate]) => Seq[PodReadinessGate]): PodSpec

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

  61. def mapRestartPolicy(f: (String) => String): PodSpec

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

  62. def mapRuntimeClassName(f: (String) => String): PodSpec

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

  63. def mapSchedulerName(f: (String) => String): PodSpec

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

  64. def mapSecurityContext(f: (PodSecurityContext) => PodSecurityContext): PodSpec

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

  65. def mapServiceAccount(f: (String) => String): PodSpec

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

  66. def mapServiceAccountName(f: (String) => String): PodSpec

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

  67. def mapSetHostnameAsFQDN(f: (Boolean) => Boolean): PodSpec

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

  68. def mapShareProcessNamespace(f: (Boolean) => Boolean): PodSpec

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

  69. def mapSubdomain(f: (String) => String): PodSpec

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

  70. def mapTerminationGracePeriodSeconds(f: (Int) => Int): PodSpec

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

  71. def mapTolerations(f: (Seq[Toleration]) => Seq[Toleration]): PodSpec

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

  72. def mapTopologySpreadConstraints(f: (Seq[TopologySpreadConstraint]) => Seq[TopologySpreadConstraint]): PodSpec

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

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

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

  74. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  75. val nodeName: Option[String]
  76. val nodeSelector: Option[Map[String, String]]
  77. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  78. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  79. val os: Option[PodOS]
  80. val overhead: Option[Map[String, Quantity]]
  81. val preemptionPolicy: Option[String]
  82. val priority: Option[Int]
  83. val priorityClassName: Option[String]
  84. def productElementNames: Iterator[String]
    Definition Classes
    Product
  85. val readinessGates: Option[Seq[PodReadinessGate]]
  86. val restartPolicy: Option[String]
  87. val runtimeClassName: Option[String]
  88. val schedulerName: Option[String]
  89. val securityContext: Option[PodSecurityContext]
  90. val serviceAccount: Option[String]
  91. val serviceAccountName: Option[String]
  92. val setHostnameAsFQDN: Option[Boolean]
  93. val shareProcessNamespace: Option[Boolean]
  94. val subdomain: Option[String]
  95. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  96. val terminationGracePeriodSeconds: Option[Int]
  97. val tolerations: Option[Seq[Toleration]]
  98. val topologySpreadConstraints: Option[Seq[TopologySpreadConstraint]]
  99. val volumes: Option[Seq[Volume]]
  100. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  101. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  102. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  103. def withActiveDeadlineSeconds(value: Int): PodSpec

    Returns a new data with activeDeadlineSeconds set to new value

  104. def withAffinity(value: Affinity): PodSpec

    Returns a new data with affinity set to new value

  105. def withAutomountServiceAccountToken(value: Boolean): PodSpec

    Returns a new data with automountServiceAccountToken set to new value

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

    Returns a new data with containers set to new value

  107. def withDnsConfig(value: PodDNSConfig): PodSpec

    Returns a new data with dnsConfig set to new value

  108. def withDnsPolicy(value: String): PodSpec

    Returns a new data with dnsPolicy set to new value

  109. def withEnableServiceLinks(value: Boolean): PodSpec

    Returns a new data with enableServiceLinks set to new value

  110. def withEphemeralContainers(value: Seq[EphemeralContainer]): PodSpec

    Returns a new data with ephemeralContainers set to new value

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

    Returns a new data with hostAliases set to new value

  112. def withHostIPC(value: Boolean): PodSpec

    Returns a new data with hostIPC set to new value

  113. def withHostNetwork(value: Boolean): PodSpec

    Returns a new data with hostNetwork set to new value

  114. def withHostPID(value: Boolean): PodSpec

    Returns a new data with hostPID set to new value

  115. def withHostUsers(value: Boolean): PodSpec

    Returns a new data with hostUsers set to new value

  116. def withHostname(value: String): PodSpec

    Returns a new data with hostname set to new value

  117. def withImagePullSecrets(value: Seq[LocalObjectReference]): PodSpec

    Returns a new data with imagePullSecrets set to new value

  118. def withInitContainers(value: Seq[Container]): PodSpec

    Returns a new data with initContainers set to new value

  119. def withNodeName(value: String): PodSpec

    Returns a new data with nodeName set to new value

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

    Returns a new data with nodeSelector set to new value

  121. def withOs(value: PodOS): PodSpec

    Returns a new data with os set to new value

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

    Returns a new data with overhead set to new value

  123. def withPreemptionPolicy(value: String): PodSpec

    Returns a new data with preemptionPolicy set to new value

  124. def withPriority(value: Int): PodSpec

    Returns a new data with priority set to new value

  125. def withPriorityClassName(value: String): PodSpec

    Returns a new data with priorityClassName set to new value

  126. def withReadinessGates(value: Seq[PodReadinessGate]): PodSpec

    Returns a new data with readinessGates set to new value

  127. def withRestartPolicy(value: String): PodSpec

    Returns a new data with restartPolicy set to new value

  128. def withRuntimeClassName(value: String): PodSpec

    Returns a new data with runtimeClassName set to new value

  129. def withSchedulerName(value: String): PodSpec

    Returns a new data with schedulerName set to new value

  130. def withSecurityContext(value: PodSecurityContext): PodSpec

    Returns a new data with securityContext set to new value

  131. def withServiceAccount(value: String): PodSpec

    Returns a new data with serviceAccount set to new value

  132. def withServiceAccountName(value: String): PodSpec

    Returns a new data with serviceAccountName set to new value

  133. def withSetHostnameAsFQDN(value: Boolean): PodSpec

    Returns a new data with setHostnameAsFQDN set to new value

  134. def withShareProcessNamespace(value: Boolean): PodSpec

    Returns a new data with shareProcessNamespace set to new value

  135. def withSubdomain(value: String): PodSpec

    Returns a new data with subdomain set to new value

  136. def withTerminationGracePeriodSeconds(value: Int): PodSpec

    Returns a new data with terminationGracePeriodSeconds set to new value

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

    Returns a new data with tolerations set to new value

  138. def withTopologySpreadConstraints(value: Seq[TopologySpreadConstraint]): PodSpec

    Returns a new data with topologySpreadConstraints set to new value

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

    Returns a new data with volumes set to new value

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped