Packages

case class PriorityClass(description: Optional[String] = Optional.Absent, globalDefault: Optional[Boolean] = Optional.Absent, metadata: Optional[ObjectMeta] = Optional.Absent, preemptionPolicy: Optional[String] = Optional.Absent, value: Int) extends Product with Serializable

PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.

description

description is an arbitrary string that usually provides guidelines on when this priority class should be used.

globalDefault

globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as globalDefault. However, if more than one PriorityClasses exists with their globalDefault field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.

preemptionPolicy

PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate.

value

The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PriorityClass
  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 PriorityClass(description: Optional[String] = Optional.Absent, globalDefault: Optional[Boolean] = Optional.Absent, metadata: Optional[ObjectMeta] = Optional.Absent, preemptionPolicy: Optional[String] = Optional.Absent, value: Int)

    description

    description is an arbitrary string that usually provides guidelines on when this priority class should be used.

    globalDefault

    globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as globalDefault. However, if more than one PriorityClasses exists with their globalDefault field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.

    preemptionPolicy

    PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate.

    value

    The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  6. val description: Optional[String]
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  9. def getDescription: IO[K8sFailure, String]

    description is an arbitrary string that usually provides guidelines on when this priority class should be used.

    description is an arbitrary string that usually provides guidelines on when this priority class should be used.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  10. def getGlobalDefault: IO[K8sFailure, Boolean]

    globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class.

    globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as globalDefault. However, if more than one PriorityClasses exists with their globalDefault field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  11. def getMetadata: IO[K8sFailure, ObjectMeta]

    Gets metadata.

    Gets metadata.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  12. def getPreemptionPolicy: IO[K8sFailure, String]

    PreemptionPolicy is the Policy for preempting pods with lower priority.

    PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is beta-level, gated by the NonPreemptingPriority feature-gate.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  13. def getValue: IO[K8sFailure, Int]

    The value of this priority class.

    The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.

    This effect always succeeds, it is safe to use the field value directly.

  14. val globalDefault: Optional[Boolean]
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. val metadata: Optional[ObjectMeta]
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. val preemptionPolicy: Optional[String]
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. val value: Int
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

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