public class V1beta1Webhook extends Object
Constructor and Description |
---|
V1beta1Webhook() |
Modifier and Type | Method and Description |
---|---|
V1beta1Webhook |
addRulesItem(V1beta1RuleWithOperations rulesItem) |
V1beta1Webhook |
clientConfig(AdmissionregistrationV1beta1WebhookClientConfig clientConfig) |
boolean |
equals(Object o) |
V1beta1Webhook |
failurePolicy(String failurePolicy) |
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.
|
int |
hashCode() |
V1beta1Webhook |
name(String name) |
V1beta1Webhook |
namespaceSelector(V1LabelSelector namespaceSelector) |
V1beta1Webhook |
rules(List<V1beta1RuleWithOperations> rules) |
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) |
V1beta1Webhook |
sideEffects(String sideEffects) |
String |
toString() |
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)
Copyright © 2019. All rights reserved.