final case class ValidatingWebhook(name: String, sideEffects: String, clientConfig: WebhookClientConfig, admissionReviewVersions: Seq[String], timeoutSeconds: Option[Int] = None, matchPolicy: Option[String] = None, namespaceSelector: Option[LabelSelector] = None, failurePolicy: Option[String] = None, rules: Option[Seq[RuleWithOperations]] = None, objectSelector: Option[LabelSelector] = None) extends Product with Serializable

ValidatingWebhook describes an admission webhook and the resources and operations it applies to.

Source
ValidatingWebhook.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ValidatingWebhook
  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 ValidatingWebhook(name: String, sideEffects: String, clientConfig: WebhookClientConfig, admissionReviewVersions: Seq[String], timeoutSeconds: Option[Int] = None, matchPolicy: Option[String] = None, namespaceSelector: Option[LabelSelector] = None, failurePolicy: Option[String] = None, rules: Option[Seq[RuleWithOperations]] = None, objectSelector: Option[LabelSelector] = 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 addAdmissionReviewVersions(newValues: String*): ValidatingWebhook

    Appends new values to admissionReviewVersions

  5. def addRules(newValues: RuleWithOperations*): ValidatingWebhook

    Appends new values to rules

  6. val admissionReviewVersions: Seq[String]
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. val clientConfig: WebhookClientConfig
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. val failurePolicy: Option[String]
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def mapAdmissionReviewVersions(f: (Seq[String]) => Seq[String]): ValidatingWebhook

    transforms admissionReviewVersions to result of function

  16. def mapClientConfig(f: (WebhookClientConfig) => WebhookClientConfig): ValidatingWebhook

    transforms clientConfig to result of function

  17. def mapFailurePolicy(f: (String) => String): ValidatingWebhook

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

  18. def mapMatchPolicy(f: (String) => String): ValidatingWebhook

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

  19. def mapName(f: (String) => String): ValidatingWebhook

    transforms name to result of function

  20. def mapNamespaceSelector(f: (LabelSelector) => LabelSelector): ValidatingWebhook

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

  21. def mapObjectSelector(f: (LabelSelector) => LabelSelector): ValidatingWebhook

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

  22. def mapRules(f: (Seq[RuleWithOperations]) => Seq[RuleWithOperations]): ValidatingWebhook

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

  23. def mapSideEffects(f: (String) => String): ValidatingWebhook

    transforms sideEffects to result of function

  24. def mapTimeoutSeconds(f: (Int) => Int): ValidatingWebhook

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

  25. val matchPolicy: Option[String]
  26. val name: String
  27. val namespaceSelector: Option[LabelSelector]
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. val objectSelector: Option[LabelSelector]
  32. def productElementNames: Iterator[String]
    Definition Classes
    Product
  33. val rules: Option[Seq[RuleWithOperations]]
  34. val sideEffects: String
  35. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  36. val timeoutSeconds: Option[Int]
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  40. def withAdmissionReviewVersions(value: Seq[String]): ValidatingWebhook

    Returns a new data with admissionReviewVersions set to new value

  41. def withClientConfig(value: WebhookClientConfig): ValidatingWebhook

    Returns a new data with clientConfig set to new value

  42. def withFailurePolicy(value: String): ValidatingWebhook

    Returns a new data with failurePolicy set to new value

  43. def withMatchPolicy(value: String): ValidatingWebhook

    Returns a new data with matchPolicy set to new value

  44. def withName(value: String): ValidatingWebhook

    Returns a new data with name set to new value

  45. def withNamespaceSelector(value: LabelSelector): ValidatingWebhook

    Returns a new data with namespaceSelector set to new value

  46. def withObjectSelector(value: LabelSelector): ValidatingWebhook

    Returns a new data with objectSelector set to new value

  47. def withRules(value: Seq[RuleWithOperations]): ValidatingWebhook

    Returns a new data with rules set to new value

  48. def withSideEffects(value: String): ValidatingWebhook

    Returns a new data with sideEffects set to new value

  49. def withTimeoutSeconds(value: Int): ValidatingWebhook

    Returns a new data with timeoutSeconds set to new value

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped