public static interface V1beta1Admission.AdmissionResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsAuditAnnotations(String key)
AuditAnnotations is an unstructured key value map set by remote admission controller (e.g.
|
boolean |
getAllowed()
Allowed indicates whether or not the admission request was permitted.
|
Map<String,String> |
getAuditAnnotations()
Deprecated.
|
int |
getAuditAnnotationsCount()
AuditAnnotations is an unstructured key value map set by remote admission controller (e.g.
|
Map<String,String> |
getAuditAnnotationsMap()
AuditAnnotations is an unstructured key value map set by remote admission controller (e.g.
|
String |
getAuditAnnotationsOrDefault(String key,
String defaultValue)
AuditAnnotations is an unstructured key value map set by remote admission controller (e.g.
|
String |
getAuditAnnotationsOrThrow(String key)
AuditAnnotations is an unstructured key value map set by remote admission controller (e.g.
|
com.google.protobuf.ByteString |
getPatch()
The patch body.
|
String |
getPatchType()
The type of Patch.
|
com.google.protobuf.ByteString |
getPatchTypeBytes()
The type of Patch.
|
Meta.Status |
getStatus()
Result contains extra details into why an admission request was denied.
|
Meta.StatusOrBuilder |
getStatusOrBuilder()
Result contains extra details into why an admission request was denied.
|
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.
|
String |
getWarnings(int index)
warnings is a list of warning messages to return to the requesting API client.
|
com.google.protobuf.ByteString |
getWarningsBytes(int index)
warnings is a list of warning messages to return to the requesting API client.
|
int |
getWarningsCount()
warnings is a list of warning messages to return to the requesting API client.
|
List<String> |
getWarningsList()
warnings is a list of warning messages to return to the requesting API client.
|
boolean |
hasAllowed()
Allowed indicates whether or not the admission request was permitted.
|
boolean |
hasPatch()
The patch body.
|
boolean |
hasPatchType()
The type of Patch.
|
boolean |
hasStatus()
Result contains extra details into why an admission request was denied.
|
boolean |
hasUid()
UID is an identifier for the individual request/response.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasUid()
UID is an identifier for the individual request/response. This should be copied over from the corresponding AdmissionRequest.
optional string uid = 1;String getUid()
UID is an identifier for the individual request/response. This should be copied over from the corresponding AdmissionRequest.
optional string uid = 1;com.google.protobuf.ByteString getUidBytes()
UID is an identifier for the individual request/response. This should be copied over from the corresponding AdmissionRequest.
optional string uid = 1;boolean hasAllowed()
Allowed indicates whether or not the admission request was permitted.
optional bool allowed = 2;boolean getAllowed()
Allowed indicates whether or not the admission request was permitted.
optional bool allowed = 2;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;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;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;boolean hasPatch()
The patch body. Currently we only support "JSONPatch" which implements RFC 6902. +optional
optional bytes patch = 4;com.google.protobuf.ByteString getPatch()
The patch body. Currently we only support "JSONPatch" which implements RFC 6902. +optional
optional bytes patch = 4;boolean hasPatchType()
The type of Patch. Currently we only allow "JSONPatch". +optional
optional string patchType = 5;String getPatchType()
The type of Patch. Currently we only allow "JSONPatch". +optional
optional string patchType = 5;com.google.protobuf.ByteString getPatchTypeBytes()
The type of Patch. Currently we only allow "JSONPatch". +optional
optional string patchType = 5;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;boolean containsAuditAnnotations(String key)
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;@Deprecated Map<String,String> getAuditAnnotations()
getAuditAnnotationsMap() instead.Map<String,String> 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;String getAuditAnnotationsOrDefault(String key, String defaultValue)
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;String getAuditAnnotationsOrThrow(String key)
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;List<String> 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;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;String getWarnings(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;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;Copyright © 2023. All rights reserved.