Skip to content

Commit

Permalink
Merge pull request kubernetes-client#657 from brendandburns/api
Browse files Browse the repository at this point in the history
Regenerate for Kubernetes 1.21.1
  • Loading branch information
k8s-ci-robot authored May 17, 2021
2 parents e71924d + f5426ba commit 681af09
Show file tree
Hide file tree
Showing 729 changed files with 33,766 additions and 29,047 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kubernetes/client-node",
"version": "0.14.4",
"version": "0.15.0",
"description": "NodeJS client for kubernetes",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion settings
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export GEN_COMMIT=d71ff1efd
export USERNAME=kubernetes

# Kubernetes branch/tag to get the OpenAPI spec from.
export KUBERNETES_BRANCH="v1.20.2"
export KUBERNETES_BRANCH="v1.21.1"

# client version for packaging and releasing. It can
# be different than SPEC_VERSION.
Expand Down
2 changes: 1 addition & 1 deletion src/gen/.openapi-generator/swagger.json.sha256
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7f1cd348e1e897377abbe5e7b1e551058eabc77203af5ec8433628526fe49b0f
adb1b7dd32c0e1b141799b2df9daeaeb53befcd945946a0cfbc0919de61c3a85
2 changes: 1 addition & 1 deletion src/gen/api/admissionregistrationApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Kubernetes
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1.20.2
* The version of the OpenAPI document: v1.21.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
26 changes: 3 additions & 23 deletions src/gen/api/admissionregistrationV1Api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Kubernetes
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1.20.2
* The version of the OpenAPI document: v1.21.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -1206,10 +1206,8 @@ export class AdmissionregistrationV1Api {
* read the specified MutatingWebhookConfiguration
* @param name name of the MutatingWebhookConfiguration
* @param pretty If \'true\', then the output is pretty printed.
* @param exact Should the export be exact. Exact export maintains cluster-specific fields like \'Namespace\'. Deprecated. Planned for removal in 1.18.
* @param _export Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.
*/
public async readMutatingWebhookConfiguration (name: string, pretty?: string, exact?: boolean, _export?: boolean, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: V1MutatingWebhookConfiguration; }> {
public async readMutatingWebhookConfiguration (name: string, pretty?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: V1MutatingWebhookConfiguration; }> {
const localVarPath = this.basePath + '/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/{name}'
.replace('{' + 'name' + '}', encodeURIComponent(String(name)));
let localVarQueryParameters: any = {};
Expand All @@ -1232,14 +1230,6 @@ export class AdmissionregistrationV1Api {
localVarQueryParameters['pretty'] = ObjectSerializer.serialize(pretty, "string");
}

if (exact !== undefined) {
localVarQueryParameters['exact'] = ObjectSerializer.serialize(exact, "boolean");
}

if (_export !== undefined) {
localVarQueryParameters['export'] = ObjectSerializer.serialize(_export, "boolean");
}

(<any>Object).assign(localVarHeaderParams, options.headers);

let localVarUseFormData = false;
Expand Down Expand Up @@ -1292,10 +1282,8 @@ export class AdmissionregistrationV1Api {
* read the specified ValidatingWebhookConfiguration
* @param name name of the ValidatingWebhookConfiguration
* @param pretty If \&#39;true\&#39;, then the output is pretty printed.
* @param exact Should the export be exact. Exact export maintains cluster-specific fields like \&#39;Namespace\&#39;. Deprecated. Planned for removal in 1.18.
* @param _export Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.
*/
public async readValidatingWebhookConfiguration (name: string, pretty?: string, exact?: boolean, _export?: boolean, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: V1ValidatingWebhookConfiguration; }> {
public async readValidatingWebhookConfiguration (name: string, pretty?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: V1ValidatingWebhookConfiguration; }> {
const localVarPath = this.basePath + '/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/{name}'
.replace('{' + 'name' + '}', encodeURIComponent(String(name)));
let localVarQueryParameters: any = {};
Expand All @@ -1318,14 +1306,6 @@ export class AdmissionregistrationV1Api {
localVarQueryParameters['pretty'] = ObjectSerializer.serialize(pretty, "string");
}

if (exact !== undefined) {
localVarQueryParameters['exact'] = ObjectSerializer.serialize(exact, "boolean");
}

if (_export !== undefined) {
localVarQueryParameters['export'] = ObjectSerializer.serialize(_export, "boolean");
}

(<any>Object).assign(localVarHeaderParams, options.headers);

let localVarUseFormData = false;
Expand Down
26 changes: 3 additions & 23 deletions src/gen/api/admissionregistrationV1beta1Api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Kubernetes
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1.20.2
* The version of the OpenAPI document: v1.21.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -1206,10 +1206,8 @@ export class AdmissionregistrationV1beta1Api {
* read the specified MutatingWebhookConfiguration
* @param name name of the MutatingWebhookConfiguration
* @param pretty If \&#39;true\&#39;, then the output is pretty printed.
* @param exact Should the export be exact. Exact export maintains cluster-specific fields like \&#39;Namespace\&#39;. Deprecated. Planned for removal in 1.18.
* @param _export Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.
*/
public async readMutatingWebhookConfiguration (name: string, pretty?: string, exact?: boolean, _export?: boolean, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: V1beta1MutatingWebhookConfiguration; }> {
public async readMutatingWebhookConfiguration (name: string, pretty?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: V1beta1MutatingWebhookConfiguration; }> {
const localVarPath = this.basePath + '/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations/{name}'
.replace('{' + 'name' + '}', encodeURIComponent(String(name)));
let localVarQueryParameters: any = {};
Expand All @@ -1232,14 +1230,6 @@ export class AdmissionregistrationV1beta1Api {
localVarQueryParameters['pretty'] = ObjectSerializer.serialize(pretty, "string");
}

if (exact !== undefined) {
localVarQueryParameters['exact'] = ObjectSerializer.serialize(exact, "boolean");
}

if (_export !== undefined) {
localVarQueryParameters['export'] = ObjectSerializer.serialize(_export, "boolean");
}

(<any>Object).assign(localVarHeaderParams, options.headers);

let localVarUseFormData = false;
Expand Down Expand Up @@ -1292,10 +1282,8 @@ export class AdmissionregistrationV1beta1Api {
* read the specified ValidatingWebhookConfiguration
* @param name name of the ValidatingWebhookConfiguration
* @param pretty If \&#39;true\&#39;, then the output is pretty printed.
* @param exact Should the export be exact. Exact export maintains cluster-specific fields like \&#39;Namespace\&#39;. Deprecated. Planned for removal in 1.18.
* @param _export Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.
*/
public async readValidatingWebhookConfiguration (name: string, pretty?: string, exact?: boolean, _export?: boolean, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: V1beta1ValidatingWebhookConfiguration; }> {
public async readValidatingWebhookConfiguration (name: string, pretty?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: V1beta1ValidatingWebhookConfiguration; }> {
const localVarPath = this.basePath + '/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations/{name}'
.replace('{' + 'name' + '}', encodeURIComponent(String(name)));
let localVarQueryParameters: any = {};
Expand All @@ -1318,14 +1306,6 @@ export class AdmissionregistrationV1beta1Api {
localVarQueryParameters['pretty'] = ObjectSerializer.serialize(pretty, "string");
}

if (exact !== undefined) {
localVarQueryParameters['exact'] = ObjectSerializer.serialize(exact, "boolean");
}

if (_export !== undefined) {
localVarQueryParameters['export'] = ObjectSerializer.serialize(_export, "boolean");
}

(<any>Object).assign(localVarHeaderParams, options.headers);

let localVarUseFormData = false;
Expand Down
2 changes: 1 addition & 1 deletion src/gen/api/apiextensionsApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Kubernetes
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1.20.2
* The version of the OpenAPI document: v1.21.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
14 changes: 2 additions & 12 deletions src/gen/api/apiextensionsV1Api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Kubernetes
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1.20.2
* The version of the OpenAPI document: v1.21.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -780,10 +780,8 @@ export class ApiextensionsV1Api {
* read the specified CustomResourceDefinition
* @param name name of the CustomResourceDefinition
* @param pretty If \&#39;true\&#39;, then the output is pretty printed.
* @param exact Should the export be exact. Exact export maintains cluster-specific fields like \&#39;Namespace\&#39;. Deprecated. Planned for removal in 1.18.
* @param _export Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.
*/
public async readCustomResourceDefinition (name: string, pretty?: string, exact?: boolean, _export?: boolean, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: V1CustomResourceDefinition; }> {
public async readCustomResourceDefinition (name: string, pretty?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: V1CustomResourceDefinition; }> {
const localVarPath = this.basePath + '/apis/apiextensions.k8s.io/v1/customresourcedefinitions/{name}'
.replace('{' + 'name' + '}', encodeURIComponent(String(name)));
let localVarQueryParameters: any = {};
Expand All @@ -806,14 +804,6 @@ export class ApiextensionsV1Api {
localVarQueryParameters['pretty'] = ObjectSerializer.serialize(pretty, "string");
}

if (exact !== undefined) {
localVarQueryParameters['exact'] = ObjectSerializer.serialize(exact, "boolean");
}

if (_export !== undefined) {
localVarQueryParameters['export'] = ObjectSerializer.serialize(_export, "boolean");
}

(<any>Object).assign(localVarHeaderParams, options.headers);

let localVarUseFormData = false;
Expand Down
14 changes: 2 additions & 12 deletions src/gen/api/apiextensionsV1beta1Api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Kubernetes
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1.20.2
* The version of the OpenAPI document: v1.21.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -780,10 +780,8 @@ export class ApiextensionsV1beta1Api {
* read the specified CustomResourceDefinition
* @param name name of the CustomResourceDefinition
* @param pretty If \&#39;true\&#39;, then the output is pretty printed.
* @param exact Should the export be exact. Exact export maintains cluster-specific fields like \&#39;Namespace\&#39;. Deprecated. Planned for removal in 1.18.
* @param _export Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.
*/
public async readCustomResourceDefinition (name: string, pretty?: string, exact?: boolean, _export?: boolean, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: V1beta1CustomResourceDefinition; }> {
public async readCustomResourceDefinition (name: string, pretty?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: V1beta1CustomResourceDefinition; }> {
const localVarPath = this.basePath + '/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}'
.replace('{' + 'name' + '}', encodeURIComponent(String(name)));
let localVarQueryParameters: any = {};
Expand All @@ -806,14 +804,6 @@ export class ApiextensionsV1beta1Api {
localVarQueryParameters['pretty'] = ObjectSerializer.serialize(pretty, "string");
}

if (exact !== undefined) {
localVarQueryParameters['exact'] = ObjectSerializer.serialize(exact, "boolean");
}

if (_export !== undefined) {
localVarQueryParameters['export'] = ObjectSerializer.serialize(_export, "boolean");
}

(<any>Object).assign(localVarHeaderParams, options.headers);

let localVarUseFormData = false;
Expand Down
2 changes: 1 addition & 1 deletion src/gen/api/apiregistrationApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Kubernetes
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1.20.2
* The version of the OpenAPI document: v1.21.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
14 changes: 2 additions & 12 deletions src/gen/api/apiregistrationV1Api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Kubernetes
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1.20.2
* The version of the OpenAPI document: v1.21.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -780,10 +780,8 @@ export class ApiregistrationV1Api {
* read the specified APIService
* @param name name of the APIService
* @param pretty If \&#39;true\&#39;, then the output is pretty printed.
* @param exact Should the export be exact. Exact export maintains cluster-specific fields like \&#39;Namespace\&#39;. Deprecated. Planned for removal in 1.18.
* @param _export Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.
*/
public async readAPIService (name: string, pretty?: string, exact?: boolean, _export?: boolean, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: V1APIService; }> {
public async readAPIService (name: string, pretty?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: V1APIService; }> {
const localVarPath = this.basePath + '/apis/apiregistration.k8s.io/v1/apiservices/{name}'
.replace('{' + 'name' + '}', encodeURIComponent(String(name)));
let localVarQueryParameters: any = {};
Expand All @@ -806,14 +804,6 @@ export class ApiregistrationV1Api {
localVarQueryParameters['pretty'] = ObjectSerializer.serialize(pretty, "string");
}

if (exact !== undefined) {
localVarQueryParameters['exact'] = ObjectSerializer.serialize(exact, "boolean");
}

if (_export !== undefined) {
localVarQueryParameters['export'] = ObjectSerializer.serialize(_export, "boolean");
}

(<any>Object).assign(localVarHeaderParams, options.headers);

let localVarUseFormData = false;
Expand Down
14 changes: 2 additions & 12 deletions src/gen/api/apiregistrationV1beta1Api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Kubernetes
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1.20.2
* The version of the OpenAPI document: v1.21.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -780,10 +780,8 @@ export class ApiregistrationV1beta1Api {
* read the specified APIService
* @param name name of the APIService
* @param pretty If \&#39;true\&#39;, then the output is pretty printed.
* @param exact Should the export be exact. Exact export maintains cluster-specific fields like \&#39;Namespace\&#39;. Deprecated. Planned for removal in 1.18.
* @param _export Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.
*/
public async readAPIService (name: string, pretty?: string, exact?: boolean, _export?: boolean, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: V1beta1APIService; }> {
public async readAPIService (name: string, pretty?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: V1beta1APIService; }> {
const localVarPath = this.basePath + '/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}'
.replace('{' + 'name' + '}', encodeURIComponent(String(name)));
let localVarQueryParameters: any = {};
Expand All @@ -806,14 +804,6 @@ export class ApiregistrationV1beta1Api {
localVarQueryParameters['pretty'] = ObjectSerializer.serialize(pretty, "string");
}

if (exact !== undefined) {
localVarQueryParameters['exact'] = ObjectSerializer.serialize(exact, "boolean");
}

if (_export !== undefined) {
localVarQueryParameters['export'] = ObjectSerializer.serialize(_export, "boolean");
}

(<any>Object).assign(localVarHeaderParams, options.headers);

let localVarUseFormData = false;
Expand Down
Loading

0 comments on commit 681af09

Please sign in to comment.