final case class MatchResources(resourceRules: Option[Seq[NamedRuleWithOperations]] = None, matchPolicy: Option[String] = None, namespaceSelector: Option[LabelSelector] = None, objectSelector: Option[LabelSelector] = None, excludeResourceRules: Option[Seq[NamedRuleWithOperations]] = None) extends Product with Serializable

MatchResources decides whether to run the admission control policy on an object based on whether it meets the match criteria. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)

Source
MatchResources.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MatchResources
  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 MatchResources(resourceRules: Option[Seq[NamedRuleWithOperations]] = None, matchPolicy: Option[String] = None, namespaceSelector: Option[LabelSelector] = None, objectSelector: Option[LabelSelector] = None, excludeResourceRules: Option[Seq[NamedRuleWithOperations]] = 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. def addExcludeResourceRules(newValues: NamedRuleWithOperations*): MatchResources

    Appends new values to excludeResourceRules

  5. def addResourceRules(newValues: NamedRuleWithOperations*): MatchResources

    Appends new values to resourceRules

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. val excludeResourceRules: Option[Seq[NamedRuleWithOperations]]
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. def mapExcludeResourceRules(f: (Seq[NamedRuleWithOperations]) => Seq[NamedRuleWithOperations]): MatchResources

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

  13. def mapMatchPolicy(f: (String) => String): MatchResources

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

  14. def mapNamespaceSelector(f: (LabelSelector) => LabelSelector): MatchResources

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

  15. def mapObjectSelector(f: (LabelSelector) => LabelSelector): MatchResources

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

  16. def mapResourceRules(f: (Seq[NamedRuleWithOperations]) => Seq[NamedRuleWithOperations]): MatchResources

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

  17. val matchPolicy: Option[String]
  18. val namespaceSelector: Option[LabelSelector]
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  22. val objectSelector: Option[LabelSelector]
  23. def productElementNames: Iterator[String]
    Definition Classes
    Product
  24. val resourceRules: Option[Seq[NamedRuleWithOperations]]
  25. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. def withExcludeResourceRules(value: Seq[NamedRuleWithOperations]): MatchResources

    Returns a new data with excludeResourceRules set to new value

  30. def withMatchPolicy(value: String): MatchResources

    Returns a new data with matchPolicy set to new value

  31. def withNamespaceSelector(value: LabelSelector): MatchResources

    Returns a new data with namespaceSelector set to new value

  32. def withObjectSelector(value: LabelSelector): MatchResources

    Returns a new data with objectSelector set to new value

  33. def withResourceRules(value: Seq[NamedRuleWithOperations]): MatchResources

    Returns a new data with resourceRules 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

    (Since version 9)

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped