Package io.kubernetes.client.proto
Interface V1Admission.AdmissionResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
V1Admission.AdmissionResponse,V1Admission.AdmissionResponse.Builder
- Enclosing class:
- V1Admission
public static interface V1Admission.AdmissionResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanAuditAnnotations is an unstructured key value map set by remote admission controller (e.g.booleanAllowed indicates whether or not the admission request was permitted.Deprecated.intAuditAnnotations is an unstructured key value map set by remote admission controller (e.g.AuditAnnotations is an unstructured key value map set by remote admission controller (e.g.getAuditAnnotationsOrDefault(String key, String defaultValue) AuditAnnotations is an unstructured key value map set by remote admission controller (e.g.AuditAnnotations is an unstructured key value map set by remote admission controller (e.g.com.google.protobuf.ByteStringgetPatch()The patch body.The type of Patch.com.google.protobuf.ByteStringThe type of Patch.Result contains extra details into why an admission request was denied.Result contains extra details into why an admission request was denied.getUid()UID is an identifier for the individual request/response.com.google.protobuf.ByteStringUID is an identifier for the individual request/response.getWarnings(int index) warnings is a list of warning messages to return to the requesting API client.com.google.protobuf.ByteStringgetWarningsBytes(int index) warnings is a list of warning messages to return to the requesting API client.intwarnings is a list of warning messages to return to the requesting API client.warnings is a list of warning messages to return to the requesting API client.booleanAllowed indicates whether or not the admission request was permitted.booleanhasPatch()The patch body.booleanThe type of Patch.booleanResult contains extra details into why an admission request was denied.booleanhasUid()UID is an identifier for the individual request/response.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
-
hasUid
boolean hasUid()UID is an identifier for the individual request/response. This must be copied over from the corresponding AdmissionRequest.
optional string uid = 1; -
getUid
String getUid()UID is an identifier for the individual request/response. This must be copied over from the corresponding AdmissionRequest.
optional string uid = 1; -
getUidBytes
com.google.protobuf.ByteString getUidBytes()UID is an identifier for the individual request/response. This must be copied over from the corresponding AdmissionRequest.
optional string uid = 1; -
hasAllowed
boolean hasAllowed()Allowed indicates whether or not the admission request was permitted.
optional bool allowed = 2; -
getAllowed
boolean getAllowed()Allowed indicates whether or not the admission request was permitted.
optional bool allowed = 2; -
hasStatus
boolean hasStatus()Result contains extra details into why an admission request was denied. This field IS NOT consulted in any way if "Allowed" is "true". +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Status status = 3; -
getStatus
Meta.Status getStatus()Result contains extra details into why an admission request was denied. This field IS NOT consulted in any way if "Allowed" is "true". +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Status status = 3; -
getStatusOrBuilder
Meta.StatusOrBuilder getStatusOrBuilder()Result contains extra details into why an admission request was denied. This field IS NOT consulted in any way if "Allowed" is "true". +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Status status = 3; -
hasPatch
boolean hasPatch()The patch body. Currently we only support "JSONPatch" which implements RFC 6902. +optional
optional bytes patch = 4; -
getPatch
com.google.protobuf.ByteString getPatch()The patch body. Currently we only support "JSONPatch" which implements RFC 6902. +optional
optional bytes patch = 4; -
hasPatchType
boolean hasPatchType()The type of Patch. Currently we only allow "JSONPatch". +optional
optional string patchType = 5; -
getPatchType
String getPatchType()The type of Patch. Currently we only allow "JSONPatch". +optional
optional string patchType = 5; -
getPatchTypeBytes
com.google.protobuf.ByteString getPatchTypeBytes()The type of Patch. Currently we only allow "JSONPatch". +optional
optional string patchType = 5; -
getAuditAnnotationsCount
int getAuditAnnotationsCount()AuditAnnotations is an unstructured key value map set by remote admission controller (e.g. error=image-blacklisted). MutatingAdmissionWebhook and ValidatingAdmissionWebhook admission controller will prefix the keys with admission webhook name (e.g. imagepolicy.example.com/error=image-blacklisted). AuditAnnotations will be provided by the admission webhook to add additional context to the audit log for this request. +optional
map<string, string> auditAnnotations = 6; -
containsAuditAnnotations
AuditAnnotations is an unstructured key value map set by remote admission controller (e.g. error=image-blacklisted). MutatingAdmissionWebhook and ValidatingAdmissionWebhook admission controller will prefix the keys with admission webhook name (e.g. imagepolicy.example.com/error=image-blacklisted). AuditAnnotations will be provided by the admission webhook to add additional context to the audit log for this request. +optional
map<string, string> auditAnnotations = 6; -
getAuditAnnotations
Deprecated.UsegetAuditAnnotationsMap()instead. -
getAuditAnnotationsMap
AuditAnnotations is an unstructured key value map set by remote admission controller (e.g. error=image-blacklisted). MutatingAdmissionWebhook and ValidatingAdmissionWebhook admission controller will prefix the keys with admission webhook name (e.g. imagepolicy.example.com/error=image-blacklisted). AuditAnnotations will be provided by the admission webhook to add additional context to the audit log for this request. +optional
map<string, string> auditAnnotations = 6; -
getAuditAnnotationsOrDefault
AuditAnnotations is an unstructured key value map set by remote admission controller (e.g. error=image-blacklisted). MutatingAdmissionWebhook and ValidatingAdmissionWebhook admission controller will prefix the keys with admission webhook name (e.g. imagepolicy.example.com/error=image-blacklisted). AuditAnnotations will be provided by the admission webhook to add additional context to the audit log for this request. +optional
map<string, string> auditAnnotations = 6; -
getAuditAnnotationsOrThrow
AuditAnnotations is an unstructured key value map set by remote admission controller (e.g. error=image-blacklisted). MutatingAdmissionWebhook and ValidatingAdmissionWebhook admission controller will prefix the keys with admission webhook name (e.g. imagepolicy.example.com/error=image-blacklisted). AuditAnnotations will be provided by the admission webhook to add additional context to the audit log for this request. +optional
map<string, string> auditAnnotations = 6; -
getWarningsList
warnings is a list of warning messages to return to the requesting API client. Warning messages describe a problem the client making the API request should correct or be aware of. Limit warnings to 120 characters if possible. Warnings over 256 characters and large numbers of warnings may be truncated. +optional
repeated string warnings = 7; -
getWarningsCount
int getWarningsCount()warnings is a list of warning messages to return to the requesting API client. Warning messages describe a problem the client making the API request should correct or be aware of. Limit warnings to 120 characters if possible. Warnings over 256 characters and large numbers of warnings may be truncated. +optional
repeated string warnings = 7; -
getWarnings
warnings is a list of warning messages to return to the requesting API client. Warning messages describe a problem the client making the API request should correct or be aware of. Limit warnings to 120 characters if possible. Warnings over 256 characters and large numbers of warnings may be truncated. +optional
repeated string warnings = 7; -
getWarningsBytes
com.google.protobuf.ByteString getWarningsBytes(int index) warnings is a list of warning messages to return to the requesting API client. Warning messages describe a problem the client making the API request should correct or be aware of. Limit warnings to 120 characters if possible. Warnings over 256 characters and large numbers of warnings may be truncated. +optional
repeated string warnings = 7;
-