final case class DeploymentSpec(template: PodTemplateSpec, selector: LabelSelector, minReadySeconds: Option[Int] = None, progressDeadlineSeconds: Option[Int] = None, replicas: Option[Int] = None, revisionHistoryLimit: Option[Int] = None, paused: Option[Boolean] = None, strategy: Option[DeploymentStrategy] = None) extends Product with Serializable
DeploymentSpec is the specification of the desired behavior of the Deployment.
- Source
- DeploymentSpec.scala
- Alphabetic
- By Inheritance
- DeploymentSpec
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new DeploymentSpec(template: PodTemplateSpec, selector: LabelSelector, minReadySeconds: Option[Int] = None, progressDeadlineSeconds: Option[Int] = None, replicas: Option[Int] = None, revisionHistoryLimit: Option[Int] = None, paused: Option[Boolean] = None, strategy: Option[DeploymentStrategy] = 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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
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[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
mapMinReadySeconds(f: (Int) ⇒ Int): DeploymentSpec
if minReadySeconds has a value, transforms to the result of function
-
def
mapPaused(f: (Boolean) ⇒ Boolean): DeploymentSpec
if paused has a value, transforms to the result of function
-
def
mapProgressDeadlineSeconds(f: (Int) ⇒ Int): DeploymentSpec
if progressDeadlineSeconds has a value, transforms to the result of function
-
def
mapReplicas(f: (Int) ⇒ Int): DeploymentSpec
if replicas has a value, transforms to the result of function
-
def
mapRevisionHistoryLimit(f: (Int) ⇒ Int): DeploymentSpec
if revisionHistoryLimit has a value, transforms to the result of function
-
def
mapSelector(f: (LabelSelector) ⇒ LabelSelector): DeploymentSpec
transforms selector to result of function
-
def
mapStrategy(f: (DeploymentStrategy) ⇒ DeploymentStrategy): DeploymentSpec
if strategy has a value, transforms to the result of function
-
def
mapTemplate(f: (PodTemplateSpec) ⇒ PodTemplateSpec): DeploymentSpec
transforms template to result of function
- val minReadySeconds: Option[Int]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val paused: Option[Boolean]
- val progressDeadlineSeconds: Option[Int]
- val replicas: Option[Int]
- val revisionHistoryLimit: Option[Int]
- val selector: LabelSelector
- val strategy: Option[DeploymentStrategy]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val template: PodTemplateSpec
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
withMinReadySeconds(value: Int): DeploymentSpec
Returns a new data with minReadySeconds set to new value
-
def
withPaused(value: Boolean): DeploymentSpec
Returns a new data with paused set to new value
-
def
withProgressDeadlineSeconds(value: Int): DeploymentSpec
Returns a new data with progressDeadlineSeconds set to new value
-
def
withReplicas(value: Int): DeploymentSpec
Returns a new data with replicas set to new value
-
def
withRevisionHistoryLimit(value: Int): DeploymentSpec
Returns a new data with revisionHistoryLimit set to new value
-
def
withSelector(value: LabelSelector): DeploymentSpec
Returns a new data with selector set to new value
-
def
withStrategy(value: DeploymentStrategy): DeploymentSpec
Returns a new data with strategy set to new value
-
def
withTemplate(value: PodTemplateSpec): DeploymentSpec
Returns a new data with template set to new value