Package io.kubernetes.client.proto
Interface V1Admission.AdmissionRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
V1Admission.AdmissionRequest,V1Admission.AdmissionRequest.Builder
- Enclosing class:
- V1Admission
public static interface V1Admission.AdmissionRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanDryRun indicates that modifications will definitely not be persisted for this request.getKind()Kind is the fully-qualified type of object being submitted (for example, v1.Pod or autoscaling.v1.Scale)Kind is the fully-qualified type of object being submitted (for example, v1.Pod or autoscaling.v1.Scale)getName()Name is the name of the object as presented in the request.com.google.protobuf.ByteStringName is the name of the object as presented in the request.Namespace is the namespace associated with the request (if any).com.google.protobuf.ByteStringNamespace is the namespace associated with the request (if any).Object is the object from the incoming request.Object is the object from the incoming request.OldObject is the existing object.OldObject is the existing object.Operation is the operation being performed.com.google.protobuf.ByteStringOperation is the operation being performed.Options is the operation option structure of the operation being performed.Options is the operation option structure of the operation being performed.RequestKind is the fully-qualified type of the original API request (for example, v1.Pod or autoscaling.v1.Scale).RequestKind is the fully-qualified type of the original API request (for example, v1.Pod or autoscaling.v1.Scale).RequestResource is the fully-qualified resource of the original API request (for example, v1.pods).RequestResource is the fully-qualified resource of the original API request (for example, v1.pods).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.ByteStringRequestSubResource 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.Resource is the fully-qualified resource being requested (for example, v1.pods)Resource is the fully-qualified resource being requested (for example, v1.pods)SubResource is the subresource being requested, if any (for example, "status" or "scale") +optionalcom.google.protobuf.ByteStringSubResource is the subresource being requested, if any (for example, "status" or "scale") +optionalgetUid()UID is an identifier for the individual request/response.com.google.protobuf.ByteStringUID is an identifier for the individual request/response.UserInfo is information about the requesting userUserInfo is information about the requesting userbooleanDryRun indicates that modifications will definitely not be persisted for this request.booleanhasKind()Kind is the fully-qualified type of object being submitted (for example, v1.Pod or autoscaling.v1.Scale)booleanhasName()Name is the name of the object as presented in the request.booleanNamespace is the namespace associated with the request (if any).booleanObject is the object from the incoming request.booleanOldObject is the existing object.booleanOperation is the operation being performed.booleanOptions is the operation option structure of the operation being performed.booleanRequestKind is the fully-qualified type of the original API request (for example, v1.Pod or autoscaling.v1.Scale).booleanRequestResource is the fully-qualified resource of the original API request (for example, v1.pods).booleanRequestSubResource 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.booleanResource is the fully-qualified resource being requested (for example, v1.pods)booleanSubResource is the subresource being requested, if any (for example, "status" or "scale") +optionalbooleanhasUid()UID is an identifier for the individual request/response.booleanUserInfo is information about the requesting userMethods 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
-
hasUid
boolean 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; -
getUid
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; -
getUidBytes
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; -
hasKind
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; -
getKind
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; -
getKindOrBuilder
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; -
hasResource
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; -
getResource
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; -
getResourceOrBuilder
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; -
hasSubResource
boolean hasSubResource()SubResource is the subresource being requested, if any (for example, "status" or "scale") +optional
optional string subResource = 4; -
getSubResource
String getSubResource()SubResource is the subresource being requested, if any (for example, "status" or "scale") +optional
optional string subResource = 4; -
getSubResourceBytes
com.google.protobuf.ByteString getSubResourceBytes()SubResource is the subresource being requested, if any (for example, "status" or "scale") +optional
optional string subResource = 4; -
hasRequestKind
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. +optionaloptional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind requestKind = 13; -
getRequestKind
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. +optionaloptional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind requestKind = 13; -
getRequestKindOrBuilder
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. +optionaloptional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind requestKind = 13; -
hasRequestResource
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. +optionaloptional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource requestResource = 14; -
getRequestResource
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. +optionaloptional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource requestResource = 14; -
getRequestResourceOrBuilder
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. +optionaloptional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionResource requestResource = 14; -
hasRequestSubResource
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; -
getRequestSubResource
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; -
getRequestSubResourceBytes
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; -
hasName
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; -
getName
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; -
getNameBytes
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; -
hasNamespace
boolean hasNamespace()Namespace is the namespace associated with the request (if any). +optional
optional string namespace = 6; -
getNamespace
String getNamespace()Namespace is the namespace associated with the request (if any). +optional
optional string namespace = 6; -
getNamespaceBytes
com.google.protobuf.ByteString getNamespaceBytes()Namespace is the namespace associated with the request (if any). +optional
optional string namespace = 6; -
hasOperation
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; -
getOperation
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; -
getOperationBytes
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; -
hasUserInfo
boolean hasUserInfo()UserInfo is information about the requesting user
optional .k8s.io.api.authentication.v1.UserInfo userInfo = 8; -
getUserInfo
V1Authentication.UserInfo getUserInfo()UserInfo is information about the requesting user
optional .k8s.io.api.authentication.v1.UserInfo userInfo = 8; -
getUserInfoOrBuilder
V1Authentication.UserInfoOrBuilder getUserInfoOrBuilder()UserInfo is information about the requesting user
optional .k8s.io.api.authentication.v1.UserInfo userInfo = 8; -
hasObject
boolean hasObject()Object is the object from the incoming request. +optional
optional .k8s.io.apimachinery.pkg.runtime.RawExtension object = 9; -
getObject
Runtime.RawExtension getObject()Object is the object from the incoming request. +optional
optional .k8s.io.apimachinery.pkg.runtime.RawExtension object = 9; -
getObjectOrBuilder
Runtime.RawExtensionOrBuilder getObjectOrBuilder()Object is the object from the incoming request. +optional
optional .k8s.io.apimachinery.pkg.runtime.RawExtension object = 9; -
hasOldObject
boolean hasOldObject()OldObject is the existing object. Only populated for DELETE and UPDATE requests. +optional
optional .k8s.io.apimachinery.pkg.runtime.RawExtension oldObject = 10; -
getOldObject
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; -
getOldObjectOrBuilder
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; -
hasDryRun
boolean hasDryRun()DryRun indicates that modifications will definitely not be persisted for this request. Defaults to false. +optional
optional bool dryRun = 11; -
getDryRun
boolean getDryRun()DryRun indicates that modifications will definitely not be persisted for this request. Defaults to false. +optional
optional bool dryRun = 11; -
hasOptions
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; -
getOptions
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; -
getOptionsOrBuilder
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;
-