Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions client-java-contrib/admissionreview/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
<artifactId>gson</artifactId>
</dependency>
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
<groupId>jakarta.annotation</groupId>
<artifactId>jakarta.annotation-api</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
/** AdmissionRequest describes the admission.Attributes for the admission request. */
@ApiModel(
description = "AdmissionRequest describes the admission.Attributes for the admission request.")
@javax.annotation.Generated(
@jakarta.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
date = "2021-07-01T14:30:02.888Z[Etc/UTC]")
public class AdmissionRequest {
Expand Down Expand Up @@ -112,7 +112,7 @@ public AdmissionRequest dryRun(Boolean dryRun) {
*
* @return dryRun
*/
@javax.annotation.Nullable
@jakarta.annotation.Nullable
@ApiModelProperty(
value =
"DryRun indicates that modifications will definitely not be persisted for this request. Defaults to false.")
Expand Down Expand Up @@ -157,7 +157,7 @@ public AdmissionRequest name(String name) {
*
* @return name
*/
@javax.annotation.Nullable
@jakarta.annotation.Nullable
@ApiModelProperty(
value =
"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.")
Expand All @@ -180,7 +180,7 @@ public AdmissionRequest namespace(String namespace) {
*
* @return namespace
*/
@javax.annotation.Nullable
@jakarta.annotation.Nullable
@ApiModelProperty(value = "Namespace is the namespace associated with the request (if any).")
public String getNamespace() {
return namespace;
Expand All @@ -201,7 +201,7 @@ public AdmissionRequest _object(Map<String, Object> _object) {
*
* @return _object
*/
@javax.annotation.Nullable
@jakarta.annotation.Nullable
@ApiModelProperty(value = "")
public Map<String, Object> getObject() {
return _object;
Expand All @@ -222,7 +222,7 @@ public AdmissionRequest oldObject(Map<String, Object> oldObject) {
*
* @return oldObject
*/
@javax.annotation.Nullable
@jakarta.annotation.Nullable
@ApiModelProperty(value = "")
public Map<String, Object> getOldObject() {
return oldObject;
Expand Down Expand Up @@ -267,7 +267,7 @@ public AdmissionRequest options(Map<String, Object> options) {
*
* @return options
*/
@javax.annotation.Nullable
@jakarta.annotation.Nullable
@ApiModelProperty(value = "")
public Map<String, Object> getOptions() {
return options;
Expand All @@ -288,7 +288,7 @@ public AdmissionRequest requestKind(GroupVersionKind requestKind) {
*
* @return requestKind
*/
@javax.annotation.Nullable
@jakarta.annotation.Nullable
@ApiModelProperty(value = "")
public GroupVersionKind getRequestKind() {
return requestKind;
Expand All @@ -309,7 +309,7 @@ public AdmissionRequest requestResource(GroupVersionResource requestResource) {
*
* @return requestResource
*/
@javax.annotation.Nullable
@jakarta.annotation.Nullable
@ApiModelProperty(value = "")
public GroupVersionResource getRequestResource() {
return requestResource;
Expand All @@ -333,7 +333,7 @@ public AdmissionRequest requestSubResource(String requestSubResource) {
*
* @return requestSubResource
*/
@javax.annotation.Nullable
@jakarta.annotation.Nullable
@ApiModelProperty(
value =
"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.")
Expand Down Expand Up @@ -377,7 +377,7 @@ public AdmissionRequest subResource(String subResource) {
*
* @return subResource
*/
@javax.annotation.Nullable
@jakarta.annotation.Nullable
@ApiModelProperty(
value =
"SubResource is the subresource being requested, if any (for example, \"status\" or \"scale\")")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

/** AdmissionResponse describes an admission response. */
@ApiModel(description = "AdmissionResponse describes an admission response.")
@javax.annotation.Generated(
@jakarta.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
date = "2021-07-01T14:30:02.888Z[Etc/UTC]")
public class AdmissionResponse {
Expand Down Expand Up @@ -108,7 +108,7 @@ public AdmissionResponse putAuditAnnotationsItem(String key, String auditAnnotat
*
* @return auditAnnotations
*/
@javax.annotation.Nullable
@jakarta.annotation.Nullable
@ApiModelProperty(
value =
"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.")
Expand All @@ -131,7 +131,7 @@ public AdmissionResponse patch(byte[] patch) {
*
* @return patch
*/
@javax.annotation.Nullable
@jakarta.annotation.Nullable
@ApiModelProperty(
value = "The patch body. Currently we only support \"JSONPatch\" which implements RFC 6902.")
public byte[] getPatch() {
Expand All @@ -153,7 +153,7 @@ public AdmissionResponse patchType(String patchType) {
*
* @return patchType
*/
@javax.annotation.Nullable
@jakarta.annotation.Nullable
@ApiModelProperty(value = "The type of Patch. Currently we only allow \"JSONPatch\".")
public String getPatchType() {
return patchType;
Expand All @@ -174,7 +174,7 @@ public AdmissionResponse status(Status status) {
*
* @return status
*/
@javax.annotation.Nullable
@jakarta.annotation.Nullable
@ApiModelProperty(value = "")
public Status getStatus() {
return status;
Expand Down Expand Up @@ -230,7 +230,7 @@ public AdmissionResponse addWarningsItem(String warningsItem) {
*
* @return warnings
*/
@javax.annotation.Nullable
@jakarta.annotation.Nullable
@ApiModelProperty(
value =
"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.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

/** AdmissionReview describes an admission review request/response. */
@ApiModel(description = "AdmissionReview describes an admission review request/response.")
@javax.annotation.Generated(
@jakarta.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
date = "2021-07-01T14:30:02.888Z[Etc/UTC]")
public class AdmissionReview {
Expand Down Expand Up @@ -57,7 +57,7 @@ public AdmissionReview apiVersion(String apiVersion) {
*
* @return apiVersion
*/
@javax.annotation.Nullable
@jakarta.annotation.Nullable
@ApiModelProperty(
value =
"APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources")
Expand All @@ -83,7 +83,7 @@ public AdmissionReview kind(String kind) {
*
* @return kind
*/
@javax.annotation.Nullable
@jakarta.annotation.Nullable
@ApiModelProperty(
value =
"Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds")
Expand All @@ -106,7 +106,7 @@ public AdmissionReview request(AdmissionRequest request) {
*
* @return request
*/
@javax.annotation.Nullable
@jakarta.annotation.Nullable
@ApiModelProperty(value = "")
public AdmissionRequest getRequest() {
return request;
Expand All @@ -127,7 +127,7 @@ public AdmissionReview response(AdmissionResponse response) {
*
* @return response
*/
@javax.annotation.Nullable
@jakarta.annotation.Nullable
@ApiModelProperty(value = "")
public AdmissionResponse getResponse() {
return response;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
@ApiModel(
description =
"GroupVersionKind unambiguously identifies a kind. It doesn't anonymously include GroupVersion to avoid automatic coersion. It doesn't use a GroupVersion to avoid custom marshalling")
@javax.annotation.Generated(
@jakarta.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
date = "2021-07-01T14:30:02.888Z[Etc/UTC]")
public class GroupVersionKind {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
@ApiModel(
description =
"GroupVersionResource unambiguously identifies a resource. It doesn't anonymously include GroupVersion to avoid automatic coersion. It doesn't use a GroupVersion to avoid custom marshalling")
@javax.annotation.Generated(
@jakarta.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
date = "2021-07-01T14:30:02.888Z[Etc/UTC]")
public class GroupVersionResource {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
@ApiModel(
description =
"ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.")
@javax.annotation.Generated(
@jakarta.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
date = "2021-07-01T14:30:02.888Z[Etc/UTC]")
public class ListMeta {
Expand Down Expand Up @@ -65,7 +65,7 @@ public ListMeta _continue(String _continue) {
*
* @return _continue
*/
@javax.annotation.Nullable
@jakarta.annotation.Nullable
@ApiModelProperty(
value =
"continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response, unless you have received this token from an error message.")
Expand Down Expand Up @@ -95,7 +95,7 @@ public ListMeta remainingItemCount(Long remainingItemCount) {
*
* @return remainingItemCount
*/
@javax.annotation.Nullable
@jakarta.annotation.Nullable
@ApiModelProperty(
value =
"remainingItemCount is the number of subsequent items in the list which are not included in this list response. If the list request contained label or field selectors, then the number of remaining items is unknown and the field will be left unset and omitted during serialization. If the list is complete (either because it is not chunking or because this is the last chunk), then there are no more remaining items and this field will be left unset and omitted during serialization. Servers older than v1.15 do not set this field. The intended use of the remainingItemCount is *estimating* the size of a collection. Clients should not rely on the remainingItemCount to be set or to be exact.")
Expand All @@ -121,7 +121,7 @@ public ListMeta resourceVersion(String resourceVersion) {
*
* @return resourceVersion
*/
@javax.annotation.Nullable
@jakarta.annotation.Nullable
@ApiModelProperty(
value =
"String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency")
Expand All @@ -146,7 +146,7 @@ public ListMeta selfLink(String selfLink) {
*
* @return selfLink
*/
@javax.annotation.Nullable
@jakarta.annotation.Nullable
@ApiModelProperty(
value =
"selfLink is a URL representing this object. Populated by the system. Read-only. DEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

/** Status is a return value for calls that don&#39;t return other objects. */
@ApiModel(description = "Status is a return value for calls that don't return other objects.")
@javax.annotation.Generated(
@jakarta.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
date = "2021-07-01T14:30:02.888Z[Etc/UTC]")
public class Status {
Expand Down Expand Up @@ -77,7 +77,7 @@ public Status apiVersion(String apiVersion) {
*
* @return apiVersion
*/
@javax.annotation.Nullable
@jakarta.annotation.Nullable
@ApiModelProperty(
value =
"APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources")
Expand All @@ -100,7 +100,7 @@ public Status code(Integer code) {
*
* @return code
*/
@javax.annotation.Nullable
@jakarta.annotation.Nullable
@ApiModelProperty(value = "Suggested HTTP return code for this status, 0 if not set.")
public Integer getCode() {
return code;
Expand All @@ -121,7 +121,7 @@ public Status details(StatusDetails details) {
*
* @return details
*/
@javax.annotation.Nullable
@jakarta.annotation.Nullable
@ApiModelProperty(value = "")
public StatusDetails getDetails() {
return details;
Expand All @@ -145,7 +145,7 @@ public Status kind(String kind) {
*
* @return kind
*/
@javax.annotation.Nullable
@jakarta.annotation.Nullable
@ApiModelProperty(
value =
"Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds")
Expand All @@ -168,7 +168,7 @@ public Status message(String message) {
*
* @return message
*/
@javax.annotation.Nullable
@jakarta.annotation.Nullable
@ApiModelProperty(value = "A human-readable description of the status of this operation.")
public String getMessage() {
return message;
Expand All @@ -189,7 +189,7 @@ public Status metadata(ListMeta metadata) {
*
* @return metadata
*/
@javax.annotation.Nullable
@jakarta.annotation.Nullable
@ApiModelProperty(value = "")
public ListMeta getMetadata() {
return metadata;
Expand All @@ -212,7 +212,7 @@ public Status reason(String reason) {
*
* @return reason
*/
@javax.annotation.Nullable
@jakarta.annotation.Nullable
@ApiModelProperty(
value =
"A machine-readable description of why this operation is in the \"Failure\" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it.")
Expand All @@ -236,7 +236,7 @@ public Status status(String status) {
*
* @return status
*/
@javax.annotation.Nullable
@jakarta.annotation.Nullable
@ApiModelProperty(
value =
"Status of the operation. One of: \"Success\" or \"Failure\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
@ApiModel(
description =
"StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.")
@javax.annotation.Generated(
@jakarta.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
date = "2021-07-01T14:30:02.888Z[Etc/UTC]")
public class StatusCause {
Expand Down Expand Up @@ -59,7 +59,7 @@ public StatusCause field(String field) {
*
* @return field
*/
@javax.annotation.Nullable
@jakarta.annotation.Nullable
@ApiModelProperty(
value =
"The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional. Examples: \"name\" - the field \"name\" on the current resource \"items[0].name\" - the field \"name\" on the first array entry in \"items\"")
Expand All @@ -83,7 +83,7 @@ public StatusCause message(String message) {
*
* @return message
*/
@javax.annotation.Nullable
@jakarta.annotation.Nullable
@ApiModelProperty(
value =
"A human-readable description of the cause of the error. This field may be presented as-is to a reader.")
Expand All @@ -107,7 +107,7 @@ public StatusCause reason(String reason) {
*
* @return reason
*/
@javax.annotation.Nullable
@jakarta.annotation.Nullable
@ApiModelProperty(
value =
"A machine-readable description of the cause of the error. If this value is empty there is no information available.")
Expand Down
Loading
Loading