final case class MutatingWebhook(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, reinvocationPolicy: Option[String] = None, rules: Option[Seq[RuleWithOperations]] = None, objectSelector: Option[LabelSelector] = None) extends Product with Serializable
MutatingWebhook describes an admission webhook and the resources and operations it applies to.
- Source
- MutatingWebhook.scala
- Alphabetic
- By Inheritance
- MutatingWebhook
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new MutatingWebhook(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, reinvocationPolicy: Option[String] = None, rules: Option[Seq[RuleWithOperations]] = None, objectSelector: Option[LabelSelector] = 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
- def addAdmissionReviewVersions(newValues: String*): MutatingWebhook
Appends new values to admissionReviewVersions
- def addRules(newValues: RuleWithOperations*): MutatingWebhook
Appends new values to rules
- val admissionReviewVersions: Seq[String]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val clientConfig: WebhookClientConfig
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val failurePolicy: Option[String]
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def mapAdmissionReviewVersions(f: (Seq[String]) => Seq[String]): MutatingWebhook
transforms admissionReviewVersions to result of function
- def mapClientConfig(f: (WebhookClientConfig) => WebhookClientConfig): MutatingWebhook
transforms clientConfig to result of function
- def mapFailurePolicy(f: (String) => String): MutatingWebhook
if failurePolicy has a value, transforms to the result of function
- def mapMatchPolicy(f: (String) => String): MutatingWebhook
if matchPolicy has a value, transforms to the result of function
- def mapName(f: (String) => String): MutatingWebhook
transforms name to result of function
- def mapNamespaceSelector(f: (LabelSelector) => LabelSelector): MutatingWebhook
if namespaceSelector has a value, transforms to the result of function
- def mapObjectSelector(f: (LabelSelector) => LabelSelector): MutatingWebhook
if objectSelector has a value, transforms to the result of function
- def mapReinvocationPolicy(f: (String) => String): MutatingWebhook
if reinvocationPolicy has a value, transforms to the result of function
- def mapRules(f: (Seq[RuleWithOperations]) => Seq[RuleWithOperations]): MutatingWebhook
if rules has a value, transforms to the result of function
- def mapSideEffects(f: (String) => String): MutatingWebhook
transforms sideEffects to result of function
- def mapTimeoutSeconds(f: (Int) => Int): MutatingWebhook
if timeoutSeconds has a value, transforms to the result of function
- val matchPolicy: Option[String]
- val name: String
- val namespaceSelector: Option[LabelSelector]
- 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 objectSelector: Option[LabelSelector]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val reinvocationPolicy: Option[String]
- val rules: Option[Seq[RuleWithOperations]]
- val sideEffects: String
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val timeoutSeconds: Option[Int]
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withAdmissionReviewVersions(value: Seq[String]): MutatingWebhook
Returns a new data with admissionReviewVersions set to new value
- def withClientConfig(value: WebhookClientConfig): MutatingWebhook
Returns a new data with clientConfig set to new value
- def withFailurePolicy(value: String): MutatingWebhook
Returns a new data with failurePolicy set to new value
- def withMatchPolicy(value: String): MutatingWebhook
Returns a new data with matchPolicy set to new value
- def withName(value: String): MutatingWebhook
Returns a new data with name set to new value
- def withNamespaceSelector(value: LabelSelector): MutatingWebhook
Returns a new data with namespaceSelector set to new value
- def withObjectSelector(value: LabelSelector): MutatingWebhook
Returns a new data with objectSelector set to new value
- def withReinvocationPolicy(value: String): MutatingWebhook
Returns a new data with reinvocationPolicy set to new value
- def withRules(value: Seq[RuleWithOperations]): MutatingWebhook
Returns a new data with rules set to new value
- def withSideEffects(value: String): MutatingWebhook
Returns a new data with sideEffects set to new value
- def withTimeoutSeconds(value: Int): MutatingWebhook
Returns a new data with timeoutSeconds set to new value