final case class ValidatingWebhook(name: String, sideEffects: String, clientConfig: WebhookClientConfig, admissionReviewVersions: Seq[String], timeoutSeconds: Option[Int] = None, matchConditions: Option[Seq[MatchCondition]] = 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
- Alphabetic
- By Inheritance
- ValidatingWebhook
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ValidatingWebhook(name: String, sideEffects: String, clientConfig: WebhookClientConfig, admissionReviewVersions: Seq[String], timeoutSeconds: Option[Int] = None, matchConditions: Option[Seq[MatchCondition]] = None, matchPolicy: Option[String] = None, namespaceSelector: Option[LabelSelector] = None, failurePolicy: 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*): ValidatingWebhook
Appends new values to admissionReviewVersions
-
def
addMatchConditions(newValues: MatchCondition*): ValidatingWebhook
Appends new values to matchConditions
-
def
addRules(newValues: RuleWithOperations*): ValidatingWebhook
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( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val failurePolicy: Option[String]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
mapAdmissionReviewVersions(f: (Seq[String]) ⇒ Seq[String]): ValidatingWebhook
transforms admissionReviewVersions to result of function
-
def
mapClientConfig(f: (WebhookClientConfig) ⇒ WebhookClientConfig): ValidatingWebhook
transforms clientConfig to result of function
-
def
mapFailurePolicy(f: (String) ⇒ String): ValidatingWebhook
if failurePolicy has a value, transforms to the result of function
-
def
mapMatchConditions(f: (Seq[MatchCondition]) ⇒ Seq[MatchCondition]): ValidatingWebhook
if matchConditions has a value, transforms to the result of function
-
def
mapMatchPolicy(f: (String) ⇒ String): ValidatingWebhook
if matchPolicy has a value, transforms to the result of function
-
def
mapName(f: (String) ⇒ String): ValidatingWebhook
transforms name to result of function
-
def
mapNamespaceSelector(f: (LabelSelector) ⇒ LabelSelector): ValidatingWebhook
if namespaceSelector has a value, transforms to the result of function
-
def
mapObjectSelector(f: (LabelSelector) ⇒ LabelSelector): ValidatingWebhook
if objectSelector has a value, transforms to the result of function
-
def
mapRules(f: (Seq[RuleWithOperations]) ⇒ Seq[RuleWithOperations]): ValidatingWebhook
if rules has a value, transforms to the result of function
-
def
mapSideEffects(f: (String) ⇒ String): ValidatingWebhook
transforms sideEffects to result of function
-
def
mapTimeoutSeconds(f: (Int) ⇒ Int): ValidatingWebhook
if timeoutSeconds has a value, transforms to the result of function
- val matchConditions: Option[Seq[MatchCondition]]
- 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() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val objectSelector: Option[LabelSelector]
- 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(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
withAdmissionReviewVersions(value: Seq[String]): ValidatingWebhook
Returns a new data with admissionReviewVersions set to new value
-
def
withClientConfig(value: WebhookClientConfig): ValidatingWebhook
Returns a new data with clientConfig set to new value
-
def
withFailurePolicy(value: String): ValidatingWebhook
Returns a new data with failurePolicy set to new value
-
def
withMatchConditions(value: Seq[MatchCondition]): ValidatingWebhook
Returns a new data with matchConditions set to new value
-
def
withMatchPolicy(value: String): ValidatingWebhook
Returns a new data with matchPolicy set to new value
-
def
withName(value: String): ValidatingWebhook
Returns a new data with name set to new value
-
def
withNamespaceSelector(value: LabelSelector): ValidatingWebhook
Returns a new data with namespaceSelector set to new value
-
def
withObjectSelector(value: LabelSelector): ValidatingWebhook
Returns a new data with objectSelector set to new value
-
def
withRules(value: Seq[RuleWithOperations]): ValidatingWebhook
Returns a new data with rules set to new value
-
def
withSideEffects(value: String): ValidatingWebhook
Returns a new data with sideEffects set to new value
-
def
withTimeoutSeconds(value: Int): ValidatingWebhook
Returns a new data with timeoutSeconds set to new value