public static interface V1beta1Admission.AdmissionRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
getDryRun()
DryRun indicates that modifications will definitely not be persisted for this request.
|
Meta.GroupVersionKind |
getKind()
Kind is the fully-qualified type of object being submitted (for example, v1.Pod or autoscaling.v1.Scale)
|
Meta.GroupVersionKindOrBuilder |
getKindOrBuilder()
Kind is the fully-qualified type of object being submitted (for example, v1.Pod or autoscaling.v1.Scale)
|
String |
getName()
Name is the name of the object as presented in the request.
|
com.google.protobuf.ByteString |
getNameBytes()
Name is the name of the object as presented in the request.
|
String |
getNamespace()
Namespace is the namespace associated with the request (if any).
|
com.google.protobuf.ByteString |
getNamespaceBytes()
Namespace is the namespace associated with the request (if any).
|
Runtime.RawExtension |
getObject()
Object is the object from the incoming request.
|
Runtime.RawExtensionOrBuilder |
getObjectOrBuilder()
Object is the object from the incoming request.
|
Runtime.RawExtension |
getOldObject()
OldObject is the existing object.
|
Runtime.RawExtensionOrBuilder |
getOldObjectOrBuilder()
OldObject is the existing object.
|
String |
getOperation()
Operation is the operation being performed.
|
com.google.protobuf.ByteString |
getOperationBytes()
Operation is the operation being performed.
|
Runtime.RawExtension |
getOptions()
Options is the operation option structure of the operation being performed.
|
Runtime.RawExtensionOrBuilder |
getOptionsOrBuilder()
Options is the operation option structure of the operation being performed.
|
Meta.GroupVersionKind |
getRequestKind()
RequestKind is the fully-qualified type of the original API request (for example, v1.Pod or autoscaling.v1.Scale).
|
Meta.GroupVersionKindOrBuilder |
getRequestKindOrBuilder()
RequestKind is the fully-qualified type of the original API request (for example, v1.Pod or autoscaling.v1.Scale).
|
Meta.GroupVersionResource |
getRequestResource()
RequestResource is the fully-qualified resource of the original API request (for example, v1.pods).
|
Meta.GroupVersionResourceOrBuilder |
getRequestResourceOrBuilder()
RequestResource is the fully-qualified resource of the original API request (for example, v1.pods).
|
String |
getRequestSubResource()
RequestSubResource is the name of the subresource of the original API request, if any (for example, "status" or "scale")
If this is specified and differs from the value in "subResource", an equivalent match and conversion was performed.
|
com.google.protobuf.ByteString |
getRequestSubResourceBytes()
RequestSubResource is the name of the subresource of the original API request, if any (for example, "status" or "scale")
If this is specified and differs from the value in "subResource", an equivalent match and conversion was performed.
|
Meta.GroupVersionResource |
getResource()
Resource is the fully-qualified resource being requested (for example, v1.pods)
|
Meta.GroupVersionResourceOrBuilder |
getResourceOrBuilder()
Resource is the fully-qualified resource being requested (for example, v1.pods)
|
String |
getSubResource()
SubResource is the subresource being requested, if any (for example, "status" or "scale")
+optional
|
com.google.protobuf.ByteString |
getSubResourceBytes()
SubResource is the subresource being requested, if any (for example, "status" or "scale")
+optional
|
String |
getUid()
UID is an identifier for the individual request/response.
|
com.google.protobuf.ByteString |
getUidBytes()
UID is an identifier for the individual request/response.
|
V1Authentication.UserInfo |
getUserInfo()
UserInfo is information about the requesting user
|
V1Authentication.UserInfoOrBuilder |
getUserInfoOrBuilder()
UserInfo is information about the requesting user
|
boolean |
hasDryRun()
DryRun indicates that modifications will definitely not be persisted for this request.
|
boolean |
hasKind()
Kind is the fully-qualified type of object being submitted (for example, v1.Pod or autoscaling.v1.Scale)
|
boolean |
hasName()
Name is the name of the object as presented in the request.
|
boolean |
hasNamespace()
Namespace is the namespace associated with the request (if any).
|
boolean |
hasObject()
Object is the object from the incoming request.
|
boolean |
hasOldObject()
OldObject is the existing object.
|
boolean |
hasOperation()
Operation is the operation being performed.
|
boolean |
hasOptions()
Options is the operation option structure of the operation being performed.
|
boolean |
hasRequestKind()
RequestKind is the fully-qualified type of the original API request (for example, v1.Pod or autoscaling.v1.Scale).
|
boolean |
hasRequestResource()
RequestResource is the fully-qualified resource of the original API request (for example, v1.pods).
|
boolean |
hasRequestSubResource()
RequestSubResource is the name of the subresource of the original API request, if any (for example, "status" or "scale")
If this is specified and differs from the value in "subResource", an equivalent match and conversion was performed.
|
boolean |
hasResource()
Resource is the fully-qualified resource being requested (for example, v1.pods)
|
boolean |
hasSubResource()
SubResource is the subresource being requested, if any (for example, "status" or "scale")
+optional
|
boolean |
hasUid()
UID is an identifier for the individual request/response.
|
boolean |
hasUserInfo()
UserInfo is information about the requesting user
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasUid()
UID is an identifier for the individual request/response. It allows us to distinguish instances of requests which are otherwise identical (parallel requests, requests when earlier requests did not modify etc) The UID is meant to track the round trip (request/response) between the KAS and the WebHook, not the user request. It is suitable for correlating log entries between the webhook and apiserver, for either auditing or debugging.
optional string uid = 1;String getUid()
UID is an identifier for the individual request/response. It allows us to distinguish instances of requests which are otherwise identical (parallel requests, requests when earlier requests did not modify etc) The UID is meant to track the round trip (request/response) between the KAS and the WebHook, not the user request. It is suitable for correlating log entries between the webhook and apiserver, for either auditing or debugging.
optional string uid = 1;com.google.protobuf.ByteString getUidBytes()
UID is an identifier for the individual request/response. It allows us to distinguish instances of requests which are otherwise identical (parallel requests, requests when earlier requests did not modify etc) The UID is meant to track the round trip (request/response) between the KAS and the WebHook, not the user request. It is suitable for correlating log entries between the webhook and apiserver, for either auditing or debugging.
optional string uid = 1;boolean hasKind()
Kind is the fully-qualified type of object being submitted (for example, v1.Pod or autoscaling.v1.Scale)
optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind kind = 2;Meta.GroupVersionKind getKind()
Kind is the fully-qualified type of object being submitted (for example, v1.Pod or autoscaling.v1.Scale)
optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind kind = 2;Meta.GroupVersionKindOrBuilder getKindOrBuilder()
Kind is the fully-qualified type of object being submitted (for example, v1.Pod or autoscaling.v1.Scale)
optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind kind = 2;boolean hasResource()
Resource is the fully-qualified resource being requested (for example, v1.pods)
optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource resource = 3;
Meta.GroupVersionResource getResource()
Resource is the fully-qualified resource being requested (for example, v1.pods)
optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource resource = 3;
Meta.GroupVersionResourceOrBuilder getResourceOrBuilder()
Resource is the fully-qualified resource being requested (for example, v1.pods)
optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource resource = 3;
boolean hasSubResource()
SubResource is the subresource being requested, if any (for example, "status" or "scale") +optional
optional string subResource = 4;String getSubResource()
SubResource is the subresource being requested, if any (for example, "status" or "scale") +optional
optional string subResource = 4;com.google.protobuf.ByteString getSubResourceBytes()
SubResource is the subresource being requested, if any (for example, "status" or "scale") +optional
optional string subResource = 4;boolean hasRequestKind()
RequestKind is the fully-qualified type of the original API request (for example, v1.Pod or autoscaling.v1.Scale).
If this is specified and differs from the value in "kind", an equivalent match and conversion was performed.
For example, if deployments can be modified via apps/v1 and apps/v1beta1, and a webhook registered a rule of
`apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]` and `matchPolicy: Equivalent`,
an API request to apps/v1beta1 deployments would be converted and sent to the webhook
with `kind: {group:"apps", version:"v1", kind:"Deployment"}` (matching the rule the webhook registered for),
and `requestKind: {group:"apps", version:"v1beta1", kind:"Deployment"}` (indicating the kind of the original API request).
See documentation for the "matchPolicy" field in the webhook configuration type for more details.
+optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind requestKind = 13;
Meta.GroupVersionKind getRequestKind()
RequestKind is the fully-qualified type of the original API request (for example, v1.Pod or autoscaling.v1.Scale).
If this is specified and differs from the value in "kind", an equivalent match and conversion was performed.
For example, if deployments can be modified via apps/v1 and apps/v1beta1, and a webhook registered a rule of
`apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]` and `matchPolicy: Equivalent`,
an API request to apps/v1beta1 deployments would be converted and sent to the webhook
with `kind: {group:"apps", version:"v1", kind:"Deployment"}` (matching the rule the webhook registered for),
and `requestKind: {group:"apps", version:"v1beta1", kind:"Deployment"}` (indicating the kind of the original API request).
See documentation for the "matchPolicy" field in the webhook configuration type for more details.
+optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind requestKind = 13;
Meta.GroupVersionKindOrBuilder getRequestKindOrBuilder()
RequestKind is the fully-qualified type of the original API request (for example, v1.Pod or autoscaling.v1.Scale).
If this is specified and differs from the value in "kind", an equivalent match and conversion was performed.
For example, if deployments can be modified via apps/v1 and apps/v1beta1, and a webhook registered a rule of
`apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]` and `matchPolicy: Equivalent`,
an API request to apps/v1beta1 deployments would be converted and sent to the webhook
with `kind: {group:"apps", version:"v1", kind:"Deployment"}` (matching the rule the webhook registered for),
and `requestKind: {group:"apps", version:"v1beta1", kind:"Deployment"}` (indicating the kind of the original API request).
See documentation for the "matchPolicy" field in the webhook configuration type for more details.
+optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind requestKind = 13;
boolean hasRequestResource()
RequestResource is the fully-qualified resource of the original API request (for example, v1.pods).
If this is specified and differs from the value in "resource", an equivalent match and conversion was performed.
For example, if deployments can be modified via apps/v1 and apps/v1beta1, and a webhook registered a rule of
`apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]` and `matchPolicy: Equivalent`,
an API request to apps/v1beta1 deployments would be converted and sent to the webhook
with `resource: {group:"apps", version:"v1", resource:"deployments"}` (matching the resource the webhook registered for),
and `requestResource: {group:"apps", version:"v1beta1", resource:"deployments"}` (indicating the resource of the original API request).
See documentation for the "matchPolicy" field in the webhook configuration type.
+optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource requestResource = 14;
Meta.GroupVersionResource getRequestResource()
RequestResource is the fully-qualified resource of the original API request (for example, v1.pods).
If this is specified and differs from the value in "resource", an equivalent match and conversion was performed.
For example, if deployments can be modified via apps/v1 and apps/v1beta1, and a webhook registered a rule of
`apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]` and `matchPolicy: Equivalent`,
an API request to apps/v1beta1 deployments would be converted and sent to the webhook
with `resource: {group:"apps", version:"v1", resource:"deployments"}` (matching the resource the webhook registered for),
and `requestResource: {group:"apps", version:"v1beta1", resource:"deployments"}` (indicating the resource of the original API request).
See documentation for the "matchPolicy" field in the webhook configuration type.
+optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource requestResource = 14;
Meta.GroupVersionResourceOrBuilder getRequestResourceOrBuilder()
RequestResource is the fully-qualified resource of the original API request (for example, v1.pods).
If this is specified and differs from the value in "resource", an equivalent match and conversion was performed.
For example, if deployments can be modified via apps/v1 and apps/v1beta1, and a webhook registered a rule of
`apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]` and `matchPolicy: Equivalent`,
an API request to apps/v1beta1 deployments would be converted and sent to the webhook
with `resource: {group:"apps", version:"v1", resource:"deployments"}` (matching the resource the webhook registered for),
and `requestResource: {group:"apps", version:"v1beta1", resource:"deployments"}` (indicating the resource of the original API request).
See documentation for the "matchPolicy" field in the webhook configuration type.
+optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource requestResource = 14;
boolean hasRequestSubResource()
RequestSubResource is the name of the subresource of the original API request, if any (for example, "status" or "scale") If this is specified and differs from the value in "subResource", an equivalent match and conversion was performed. See documentation for the "matchPolicy" field in the webhook configuration type. +optional
optional string requestSubResource = 15;String getRequestSubResource()
RequestSubResource is the name of the subresource of the original API request, if any (for example, "status" or "scale") If this is specified and differs from the value in "subResource", an equivalent match and conversion was performed. See documentation for the "matchPolicy" field in the webhook configuration type. +optional
optional string requestSubResource = 15;com.google.protobuf.ByteString getRequestSubResourceBytes()
RequestSubResource is the name of the subresource of the original API request, if any (for example, "status" or "scale") If this is specified and differs from the value in "subResource", an equivalent match and conversion was performed. See documentation for the "matchPolicy" field in the webhook configuration type. +optional
optional string requestSubResource = 15;boolean hasName()
Name is the name of the object as presented in the request. On a CREATE operation, the client may omit name and rely on the server to generate the name. If that is the case, this field will contain an empty string. +optional
optional string name = 5;String getName()
Name is the name of the object as presented in the request. On a CREATE operation, the client may omit name and rely on the server to generate the name. If that is the case, this field will contain an empty string. +optional
optional string name = 5;com.google.protobuf.ByteString getNameBytes()
Name is the name of the object as presented in the request. On a CREATE operation, the client may omit name and rely on the server to generate the name. If that is the case, this field will contain an empty string. +optional
optional string name = 5;boolean hasNamespace()
Namespace is the namespace associated with the request (if any). +optional
optional string namespace = 6;String getNamespace()
Namespace is the namespace associated with the request (if any). +optional
optional string namespace = 6;com.google.protobuf.ByteString getNamespaceBytes()
Namespace is the namespace associated with the request (if any). +optional
optional string namespace = 6;boolean hasOperation()
Operation is the operation being performed. This may be different than the operation requested. e.g. a patch can result in either a CREATE or UPDATE Operation.
optional string operation = 7;String getOperation()
Operation is the operation being performed. This may be different than the operation requested. e.g. a patch can result in either a CREATE or UPDATE Operation.
optional string operation = 7;com.google.protobuf.ByteString getOperationBytes()
Operation is the operation being performed. This may be different than the operation requested. e.g. a patch can result in either a CREATE or UPDATE Operation.
optional string operation = 7;boolean hasUserInfo()
UserInfo is information about the requesting user
optional .k8s.io.api.authentication.v1.UserInfo userInfo = 8;V1Authentication.UserInfo getUserInfo()
UserInfo is information about the requesting user
optional .k8s.io.api.authentication.v1.UserInfo userInfo = 8;V1Authentication.UserInfoOrBuilder getUserInfoOrBuilder()
UserInfo is information about the requesting user
optional .k8s.io.api.authentication.v1.UserInfo userInfo = 8;boolean hasObject()
Object is the object from the incoming request. +optional
optional .k8s.io.apimachinery.pkg.runtime.RawExtension object = 9;Runtime.RawExtension getObject()
Object is the object from the incoming request. +optional
optional .k8s.io.apimachinery.pkg.runtime.RawExtension object = 9;Runtime.RawExtensionOrBuilder getObjectOrBuilder()
Object is the object from the incoming request. +optional
optional .k8s.io.apimachinery.pkg.runtime.RawExtension object = 9;boolean hasOldObject()
OldObject is the existing object. Only populated for DELETE and UPDATE requests. +optional
optional .k8s.io.apimachinery.pkg.runtime.RawExtension oldObject = 10;Runtime.RawExtension getOldObject()
OldObject is the existing object. Only populated for DELETE and UPDATE requests. +optional
optional .k8s.io.apimachinery.pkg.runtime.RawExtension oldObject = 10;Runtime.RawExtensionOrBuilder getOldObjectOrBuilder()
OldObject is the existing object. Only populated for DELETE and UPDATE requests. +optional
optional .k8s.io.apimachinery.pkg.runtime.RawExtension oldObject = 10;boolean hasDryRun()
DryRun indicates that modifications will definitely not be persisted for this request. Defaults to false. +optional
optional bool dryRun = 11;boolean getDryRun()
DryRun indicates that modifications will definitely not be persisted for this request. Defaults to false. +optional
optional bool dryRun = 11;boolean hasOptions()
Options is the operation option structure of the operation being performed. e.g. `meta.k8s.io/v1.DeleteOptions` or `meta.k8s.io/v1.CreateOptions`. This may be different than the options the caller provided. e.g. for a patch request the performed Operation might be a CREATE, in which case the Options will a `meta.k8s.io/v1.CreateOptions` even though the caller provided `meta.k8s.io/v1.PatchOptions`. +optional
optional .k8s.io.apimachinery.pkg.runtime.RawExtension options = 12;Runtime.RawExtension getOptions()
Options is the operation option structure of the operation being performed. e.g. `meta.k8s.io/v1.DeleteOptions` or `meta.k8s.io/v1.CreateOptions`. This may be different than the options the caller provided. e.g. for a patch request the performed Operation might be a CREATE, in which case the Options will a `meta.k8s.io/v1.CreateOptions` even though the caller provided `meta.k8s.io/v1.PatchOptions`. +optional
optional .k8s.io.apimachinery.pkg.runtime.RawExtension options = 12;Runtime.RawExtensionOrBuilder getOptionsOrBuilder()
Options is the operation option structure of the operation being performed. e.g. `meta.k8s.io/v1.DeleteOptions` or `meta.k8s.io/v1.CreateOptions`. This may be different than the options the caller provided. e.g. for a patch request the performed Operation might be a CREATE, in which case the Options will a `meta.k8s.io/v1.CreateOptions` even though the caller provided `meta.k8s.io/v1.PatchOptions`. +optional
optional .k8s.io.apimachinery.pkg.runtime.RawExtension options = 12;Copyright © 2023. All rights reserved.