Package io.kubernetes.client.proto
Interface V1alpha1Imagepolicy.ImageReviewStatusOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
V1alpha1Imagepolicy.ImageReviewStatus,V1alpha1Imagepolicy.ImageReviewStatus.Builder
- Enclosing class:
- V1alpha1Imagepolicy
public static interface V1alpha1Imagepolicy.ImageReviewStatusOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanAuditAnnotations will be added to the attributes object of the admission controller request using 'AddAnnotation'.booleanAllowed indicates that all images were allowed to be run.Deprecated.intAuditAnnotations will be added to the attributes object of the admission controller request using 'AddAnnotation'.AuditAnnotations will be added to the attributes object of the admission controller request using 'AddAnnotation'.getAuditAnnotationsOrDefault(String key, String defaultValue) AuditAnnotations will be added to the attributes object of the admission controller request using 'AddAnnotation'.AuditAnnotations will be added to the attributes object of the admission controller request using 'AddAnnotation'.Reason should be empty unless Allowed is false in which case it may contain a short description of what is wrong.com.google.protobuf.ByteStringReason should be empty unless Allowed is false in which case it may contain a short description of what is wrong.booleanAllowed indicates that all images were allowed to be run.booleanReason should be empty unless Allowed is false in which case it may contain a short description of what is wrong.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
-
hasAllowed
boolean hasAllowed()Allowed indicates that all images were allowed to be run.
optional bool allowed = 1; -
getAllowed
boolean getAllowed()Allowed indicates that all images were allowed to be run.
optional bool allowed = 1; -
hasReason
boolean hasReason()Reason should be empty unless Allowed is false in which case it may contain a short description of what is wrong. Kubernetes may truncate excessively long errors when displaying to the user. +optional
optional string reason = 2; -
getReason
String getReason()Reason should be empty unless Allowed is false in which case it may contain a short description of what is wrong. Kubernetes may truncate excessively long errors when displaying to the user. +optional
optional string reason = 2; -
getReasonBytes
com.google.protobuf.ByteString getReasonBytes()Reason should be empty unless Allowed is false in which case it may contain a short description of what is wrong. Kubernetes may truncate excessively long errors when displaying to the user. +optional
optional string reason = 2; -
getAuditAnnotationsCount
int getAuditAnnotationsCount()AuditAnnotations will be added to the attributes object of the admission controller request using 'AddAnnotation'. The keys should be prefix-less (i.e., the admission controller will add an appropriate prefix). +optional
map<string, string> auditAnnotations = 3; -
containsAuditAnnotations
AuditAnnotations will be added to the attributes object of the admission controller request using 'AddAnnotation'. The keys should be prefix-less (i.e., the admission controller will add an appropriate prefix). +optional
map<string, string> auditAnnotations = 3; -
getAuditAnnotations
Deprecated.UsegetAuditAnnotationsMap()instead. -
getAuditAnnotationsMap
AuditAnnotations will be added to the attributes object of the admission controller request using 'AddAnnotation'. The keys should be prefix-less (i.e., the admission controller will add an appropriate prefix). +optional
map<string, string> auditAnnotations = 3; -
getAuditAnnotationsOrDefault
AuditAnnotations will be added to the attributes object of the admission controller request using 'AddAnnotation'. The keys should be prefix-less (i.e., the admission controller will add an appropriate prefix). +optional
map<string, string> auditAnnotations = 3; -
getAuditAnnotationsOrThrow
AuditAnnotations will be added to the attributes object of the admission controller request using 'AddAnnotation'. The keys should be prefix-less (i.e., the admission controller will add an appropriate prefix). +optional
map<string, string> auditAnnotations = 3;
-