public class V1beta1Webhook extends Object
Constructor and Description |
---|
V1beta1Webhook() |
Modifier and Type | Method and Description |
---|---|
V1beta1Webhook |
addAdmissionReviewVersionsItem(String admissionReviewVersionsItem) |
V1beta1Webhook |
addRulesItem(V1beta1RuleWithOperations rulesItem) |
V1beta1Webhook |
admissionReviewVersions(List<String> admissionReviewVersions) |
V1beta1Webhook |
clientConfig(AdmissionregistrationV1beta1WebhookClientConfig clientConfig) |
boolean |
equals(Object o) |
V1beta1Webhook |
failurePolicy(String failurePolicy) |
List<String> |
getAdmissionReviewVersions()
AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects.
|
AdmissionregistrationV1beta1WebhookClientConfig |
getClientConfig()
ClientConfig defines how to communicate with the hook.
|
String |
getFailurePolicy()
FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail.
|
String |
getName()
The name of the admission webhook.
|
V1LabelSelector |
getNamespaceSelector()
NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector.
|
List<V1beta1RuleWithOperations> |
getRules()
Rules describes what operations on what resources/subresources the webhook cares about.
|
String |
getSideEffects()
SideEffects states whether this webhookk has side effects.
|
Integer |
getTimeoutSeconds()
TimeoutSeconds specifies the timeout for this webhook.
|
int |
hashCode() |
V1beta1Webhook |
name(String name) |
V1beta1Webhook |
namespaceSelector(V1LabelSelector namespaceSelector) |
V1beta1Webhook |
rules(List<V1beta1RuleWithOperations> rules) |
void |
setAdmissionReviewVersions(List<String> admissionReviewVersions) |
void |
setClientConfig(AdmissionregistrationV1beta1WebhookClientConfig clientConfig) |
void |
setFailurePolicy(String failurePolicy) |
void |
setName(String name) |
void |
setNamespaceSelector(V1LabelSelector namespaceSelector) |
void |
setRules(List<V1beta1RuleWithOperations> rules) |
void |
setSideEffects(String sideEffects) |
void |
setTimeoutSeconds(Integer timeoutSeconds) |
V1beta1Webhook |
sideEffects(String sideEffects) |
V1beta1Webhook |
timeoutSeconds(Integer timeoutSeconds) |
String |
toString() |
public V1beta1Webhook admissionReviewVersions(List<String> admissionReviewVersions)
public V1beta1Webhook addAdmissionReviewVersionsItem(String admissionReviewVersionsItem)
public List<String> getAdmissionReviewVersions()
public void setAdmissionReviewVersions(List<String> admissionReviewVersions)
public V1beta1Webhook clientConfig(AdmissionregistrationV1beta1WebhookClientConfig clientConfig)
public AdmissionregistrationV1beta1WebhookClientConfig getClientConfig()
public void setClientConfig(AdmissionregistrationV1beta1WebhookClientConfig clientConfig)
public V1beta1Webhook failurePolicy(String failurePolicy)
public String getFailurePolicy()
public void setFailurePolicy(String failurePolicy)
public V1beta1Webhook name(String name)
public String getName()
public void setName(String name)
public V1beta1Webhook namespaceSelector(V1LabelSelector namespaceSelector)
public V1LabelSelector getNamespaceSelector()
public void setNamespaceSelector(V1LabelSelector namespaceSelector)
public V1beta1Webhook rules(List<V1beta1RuleWithOperations> rules)
public V1beta1Webhook addRulesItem(V1beta1RuleWithOperations rulesItem)
public List<V1beta1RuleWithOperations> getRules()
public void setRules(List<V1beta1RuleWithOperations> rules)
public V1beta1Webhook sideEffects(String sideEffects)
public String getSideEffects()
public void setSideEffects(String sideEffects)
public V1beta1Webhook timeoutSeconds(Integer timeoutSeconds)
public Integer getTimeoutSeconds()
public void setTimeoutSeconds(Integer timeoutSeconds)
Copyright © 2019. All rights reserved.