Package io.kubernetes.client.proto
Interface V1alpha1Admissionregistration.ExternalAdmissionHookOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
V1alpha1Admissionregistration.ExternalAdmissionHook,V1alpha1Admissionregistration.ExternalAdmissionHook.Builder
- Enclosing class:
- V1alpha1Admissionregistration
public static interface V1alpha1Admissionregistration.ExternalAdmissionHookOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionClientConfig defines how to communicate with the hook.ClientConfig defines how to communicate with the hook.FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail.com.google.protobuf.ByteStringFailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail.getName()The name of the external admission webhook.com.google.protobuf.ByteStringThe name of the external admission webhook.getRules(int index) Rules describes what operations on what resources/subresources the webhook cares about.intRules describes what operations on what resources/subresources the webhook cares about.Rules describes what operations on what resources/subresources the webhook cares about.getRulesOrBuilder(int index) Rules describes what operations on what resources/subresources the webhook cares about.Rules describes what operations on what resources/subresources the webhook cares about.booleanClientConfig defines how to communicate with the hook.booleanFailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail.booleanhasName()The name of the external admission webhook.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasName
boolean hasName()The name of the external admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required.
optional string name = 1; -
getName
String getName()The name of the external admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required.
optional string name = 1; -
getNameBytes
com.google.protobuf.ByteString getNameBytes()The name of the external admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required.
optional string name = 1; -
hasClientConfig
boolean hasClientConfig()ClientConfig defines how to communicate with the hook. Required
optional .k8s.io.api.admissionregistration.v1alpha1.AdmissionHookClientConfig clientConfig = 2; -
getClientConfig
V1alpha1Admissionregistration.AdmissionHookClientConfig getClientConfig()ClientConfig defines how to communicate with the hook. Required
optional .k8s.io.api.admissionregistration.v1alpha1.AdmissionHookClientConfig clientConfig = 2; -
getClientConfigOrBuilder
V1alpha1Admissionregistration.AdmissionHookClientConfigOrBuilder getClientConfigOrBuilder()ClientConfig defines how to communicate with the hook. Required
optional .k8s.io.api.admissionregistration.v1alpha1.AdmissionHookClientConfig clientConfig = 2; -
getRulesList
List<V1alpha1Admissionregistration.RuleWithOperations> getRulesList()Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule.
repeated .k8s.io.api.admissionregistration.v1alpha1.RuleWithOperations rules = 3; -
getRules
Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule.
repeated .k8s.io.api.admissionregistration.v1alpha1.RuleWithOperations rules = 3; -
getRulesCount
int getRulesCount()Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule.
repeated .k8s.io.api.admissionregistration.v1alpha1.RuleWithOperations rules = 3; -
getRulesOrBuilderList
List<? extends V1alpha1Admissionregistration.RuleWithOperationsOrBuilder> getRulesOrBuilderList()Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule.
repeated .k8s.io.api.admissionregistration.v1alpha1.RuleWithOperations rules = 3; -
getRulesOrBuilder
Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule.
repeated .k8s.io.api.admissionregistration.v1alpha1.RuleWithOperations rules = 3; -
hasFailurePolicy
boolean hasFailurePolicy()FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore. +optional
optional string failurePolicy = 4; -
getFailurePolicy
String getFailurePolicy()FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore. +optional
optional string failurePolicy = 4; -
getFailurePolicyBytes
com.google.protobuf.ByteString getFailurePolicyBytes()FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore. +optional
optional string failurePolicy = 4;
-