Packages

final case class PodSpec(containers: Seq[Container], schedulingGates: Option[Seq[PodSchedulingGate]] = None, 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[Long] = None, dnsConfig: Option[PodDNSConfig] = None, priorityClassName: Option[String] = None, serviceAccountName: Option[String] = None, restartPolicy: Option[String] = None, resourceClaims: Option[Seq[PodResourceClaim]] = None, hostUsers: Option[Boolean] = None, runtimeClassName: Option[String] = None, readinessGates: Option[Seq[PodReadinessGate]] = None, activeDeadlineSeconds: Option[Long] = None, hostNetwork: Option[Boolean] = None, securityContext: Option[PodSecurityContext] = None) extends Product with Serializable

PodSpec is a description of a pod.

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

Instance Constructors

  1. new PodSpec(containers: Seq[Container], schedulingGates: Option[Seq[PodSchedulingGate]] = None, 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[Long] = None, dnsConfig: Option[PodDNSConfig] = None, priorityClassName: Option[String] = None, serviceAccountName: Option[String] = None, restartPolicy: Option[String] = None, resourceClaims: Option[Seq[PodResourceClaim]] = None, hostUsers: Option[Boolean] = None, runtimeClassName: Option[String] = None, readinessGates: Option[Seq[PodReadinessGate]] = None, activeDeadlineSeconds: Option[Long] = 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[Long]
  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 addResourceClaims(newValues: PodResourceClaim*): PodSpec

    Appends new values to resourceClaims

  14. def addSchedulingGates(newValues: PodSchedulingGate*): PodSpec

    Appends new values to schedulingGates

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

    Appends new values to tolerations

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

    Appends new values to topologySpreadConstraints

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

    Appends new values to volumes

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

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

  39. def mapAffinity(f: (Affinity) ⇒ Affinity): PodSpec

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

  40. def mapAutomountServiceAccountToken(f: (Boolean) ⇒ Boolean): PodSpec

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

  41. def mapContainers(f: (Seq[Container]) ⇒ Seq[Container]): PodSpec

    transforms containers to result of function

  42. def mapDnsConfig(f: (PodDNSConfig) ⇒ PodDNSConfig): PodSpec

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

  43. def mapDnsPolicy(f: (String) ⇒ String): PodSpec

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

  44. def mapEnableServiceLinks(f: (Boolean) ⇒ Boolean): PodSpec

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

  45. def mapEphemeralContainers(f: (Seq[EphemeralContainer]) ⇒ Seq[EphemeralContainer]): PodSpec

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

  46. def mapHostAliases(f: (Seq[HostAlias]) ⇒ Seq[HostAlias]): PodSpec

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

  47. def mapHostIPC(f: (Boolean) ⇒ Boolean): PodSpec

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

  48. def mapHostNetwork(f: (Boolean) ⇒ Boolean): PodSpec

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

  49. def mapHostPID(f: (Boolean) ⇒ Boolean): PodSpec

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

  50. def mapHostUsers(f: (Boolean) ⇒ Boolean): PodSpec

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

  51. def mapHostname(f: (String) ⇒ String): PodSpec

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

  52. def mapImagePullSecrets(f: (Seq[LocalObjectReference]) ⇒ Seq[LocalObjectReference]): PodSpec

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

  53. def mapInitContainers(f: (Seq[Container]) ⇒ Seq[Container]): PodSpec

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

  54. def mapNodeName(f: (String) ⇒ String): PodSpec

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

  55. def mapNodeSelector(f: (Map[String, String]) ⇒ Map[String, String]): PodSpec

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

  56. def mapOs(f: (PodOS) ⇒ PodOS): PodSpec

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

  57. def mapOverhead(f: (Map[String, Quantity]) ⇒ Map[String, Quantity]): PodSpec

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

  58. def mapPreemptionPolicy(f: (String) ⇒ String): PodSpec

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

  59. def mapPriority(f: (Int) ⇒ Int): PodSpec

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

  60. def mapPriorityClassName(f: (String) ⇒ String): PodSpec

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

  61. def mapReadinessGates(f: (Seq[PodReadinessGate]) ⇒ Seq[PodReadinessGate]): PodSpec

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

  62. def mapResourceClaims(f: (Seq[PodResourceClaim]) ⇒ Seq[PodResourceClaim]): PodSpec

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

  63. def mapRestartPolicy(f: (String) ⇒ String): PodSpec

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

  64. def mapRuntimeClassName(f: (String) ⇒ String): PodSpec

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

  65. def mapSchedulerName(f: (String) ⇒ String): PodSpec

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

  66. def mapSchedulingGates(f: (Seq[PodSchedulingGate]) ⇒ Seq[PodSchedulingGate]): PodSpec

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

  67. def mapSecurityContext(f: (PodSecurityContext) ⇒ PodSecurityContext): PodSpec

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

  68. def mapServiceAccount(f: (String) ⇒ String): PodSpec

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

  69. def mapServiceAccountName(f: (String) ⇒ String): PodSpec

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

  70. def mapSetHostnameAsFQDN(f: (Boolean) ⇒ Boolean): PodSpec

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

  71. def mapShareProcessNamespace(f: (Boolean) ⇒ Boolean): PodSpec

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

  72. def mapSubdomain(f: (String) ⇒ String): PodSpec

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

  73. def mapTerminationGracePeriodSeconds(f: (Long) ⇒ Long): PodSpec

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

  74. def mapTolerations(f: (Seq[Toleration]) ⇒ Seq[Toleration]): PodSpec

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

  75. def mapTopologySpreadConstraints(f: (Seq[TopologySpreadConstraint]) ⇒ Seq[TopologySpreadConstraint]): PodSpec

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

  76. def mapVolumes(f: (Seq[Volume]) ⇒ Seq[Volume]): PodSpec

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

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

    Returns a new data with activeDeadlineSeconds set to new value

  108. def withAffinity(value: Affinity): PodSpec

    Returns a new data with affinity set to new value

  109. def withAutomountServiceAccountToken(value: Boolean): PodSpec

    Returns a new data with automountServiceAccountToken set to new value

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

    Returns a new data with containers set to new value

  111. def withDnsConfig(value: PodDNSConfig): PodSpec

    Returns a new data with dnsConfig set to new value

  112. def withDnsPolicy(value: String): PodSpec

    Returns a new data with dnsPolicy set to new value

  113. def withEnableServiceLinks(value: Boolean): PodSpec

    Returns a new data with enableServiceLinks set to new value

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

    Returns a new data with ephemeralContainers set to new value

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

    Returns a new data with hostAliases set to new value

  116. def withHostIPC(value: Boolean): PodSpec

    Returns a new data with hostIPC set to new value

  117. def withHostNetwork(value: Boolean): PodSpec

    Returns a new data with hostNetwork set to new value

  118. def withHostPID(value: Boolean): PodSpec

    Returns a new data with hostPID set to new value

  119. def withHostUsers(value: Boolean): PodSpec

    Returns a new data with hostUsers set to new value

  120. def withHostname(value: String): PodSpec

    Returns a new data with hostname set to new value

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

    Returns a new data with imagePullSecrets set to new value

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

    Returns a new data with initContainers set to new value

  123. def withNodeName(value: String): PodSpec

    Returns a new data with nodeName set to new value

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

    Returns a new data with nodeSelector set to new value

  125. def withOs(value: PodOS): PodSpec

    Returns a new data with os set to new value

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

    Returns a new data with overhead set to new value

  127. def withPreemptionPolicy(value: String): PodSpec

    Returns a new data with preemptionPolicy set to new value

  128. def withPriority(value: Int): PodSpec

    Returns a new data with priority set to new value

  129. def withPriorityClassName(value: String): PodSpec

    Returns a new data with priorityClassName set to new value

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

    Returns a new data with readinessGates set to new value

  131. def withResourceClaims(value: Seq[PodResourceClaim]): PodSpec

    Returns a new data with resourceClaims set to new value

  132. def withRestartPolicy(value: String): PodSpec

    Returns a new data with restartPolicy set to new value

  133. def withRuntimeClassName(value: String): PodSpec

    Returns a new data with runtimeClassName set to new value

  134. def withSchedulerName(value: String): PodSpec

    Returns a new data with schedulerName set to new value

  135. def withSchedulingGates(value: Seq[PodSchedulingGate]): PodSpec

    Returns a new data with schedulingGates set to new value

  136. def withSecurityContext(value: PodSecurityContext): PodSpec

    Returns a new data with securityContext set to new value

  137. def withServiceAccount(value: String): PodSpec

    Returns a new data with serviceAccount set to new value

  138. def withServiceAccountName(value: String): PodSpec

    Returns a new data with serviceAccountName set to new value

  139. def withSetHostnameAsFQDN(value: Boolean): PodSpec

    Returns a new data with setHostnameAsFQDN set to new value

  140. def withShareProcessNamespace(value: Boolean): PodSpec

    Returns a new data with shareProcessNamespace set to new value

  141. def withSubdomain(value: String): PodSpec

    Returns a new data with subdomain set to new value

  142. def withTerminationGracePeriodSeconds(value: Long): PodSpec

    Returns a new data with terminationGracePeriodSeconds set to new value

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

    Returns a new data with tolerations set to new value

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

    Returns a new data with topologySpreadConstraints set to new value

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

    Returns a new data with volumes set to new value

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped