Skip to content

Commit 681af09

Browse files
authored
Merge pull request #657 from brendandburns/api
Regenerate for Kubernetes 1.21.1
2 parents e71924d + f5426ba commit 681af09

File tree

729 files changed

+33766
-29047
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

729 files changed

+33766
-29047
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@kubernetes/client-node",
3-
"version": "0.14.4",
3+
"version": "0.15.0",
44
"description": "NodeJS client for kubernetes",
55
"repository": {
66
"type": "git",

settings

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export GEN_COMMIT=d71ff1efd
2121
export USERNAME=kubernetes
2222

2323
# Kubernetes branch/tag to get the OpenAPI spec from.
24-
export KUBERNETES_BRANCH="v1.20.2"
24+
export KUBERNETES_BRANCH="v1.21.1"
2525

2626
# client version for packaging and releasing. It can
2727
# be different than SPEC_VERSION.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7f1cd348e1e897377abbe5e7b1e551058eabc77203af5ec8433628526fe49b0f
1+
adb1b7dd32c0e1b141799b2df9daeaeb53befcd945946a0cfbc0919de61c3a85

src/gen/api/admissionregistrationApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Kubernetes
33
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
44
*
5-
* The version of the OpenAPI document: v1.20.2
5+
* The version of the OpenAPI document: v1.21.1
66
*
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

src/gen/api/admissionregistrationV1Api.ts

Lines changed: 3 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Kubernetes
33
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
44
*
5-
* The version of the OpenAPI document: v1.20.2
5+
* The version of the OpenAPI document: v1.21.1
66
*
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1206,10 +1206,8 @@ export class AdmissionregistrationV1Api {
12061206
* read the specified MutatingWebhookConfiguration
12071207
* @param name name of the MutatingWebhookConfiguration
12081208
* @param pretty If \'true\', then the output is pretty printed.
1209-
* @param exact Should the export be exact. Exact export maintains cluster-specific fields like \'Namespace\'. Deprecated. Planned for removal in 1.18.
1210-
* @param _export Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.
12111209
*/
1212-
public async readMutatingWebhookConfiguration (name: string, pretty?: string, exact?: boolean, _export?: boolean, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: V1MutatingWebhookConfiguration; }> {
1210+
public async readMutatingWebhookConfiguration (name: string, pretty?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: V1MutatingWebhookConfiguration; }> {
12131211
const localVarPath = this.basePath + '/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/{name}'
12141212
.replace('{' + 'name' + '}', encodeURIComponent(String(name)));
12151213
let localVarQueryParameters: any = {};
@@ -1232,14 +1230,6 @@ export class AdmissionregistrationV1Api {
12321230
localVarQueryParameters['pretty'] = ObjectSerializer.serialize(pretty, "string");
12331231
}
12341232

1235-
if (exact !== undefined) {
1236-
localVarQueryParameters['exact'] = ObjectSerializer.serialize(exact, "boolean");
1237-
}
1238-
1239-
if (_export !== undefined) {
1240-
localVarQueryParameters['export'] = ObjectSerializer.serialize(_export, "boolean");
1241-
}
1242-
12431233
(<any>Object).assign(localVarHeaderParams, options.headers);
12441234

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

1321-
if (exact !== undefined) {
1322-
localVarQueryParameters['exact'] = ObjectSerializer.serialize(exact, "boolean");
1323-
}
1324-
1325-
if (_export !== undefined) {
1326-
localVarQueryParameters['export'] = ObjectSerializer.serialize(_export, "boolean");
1327-
}
1328-
13291309
(<any>Object).assign(localVarHeaderParams, options.headers);
13301310

13311311
let localVarUseFormData = false;

src/gen/api/admissionregistrationV1beta1Api.ts

Lines changed: 3 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Kubernetes
33
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
44
*
5-
* The version of the OpenAPI document: v1.20.2
5+
* The version of the OpenAPI document: v1.21.1
66
*
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1206,10 +1206,8 @@ export class AdmissionregistrationV1beta1Api {
12061206
* read the specified MutatingWebhookConfiguration
12071207
* @param name name of the MutatingWebhookConfiguration
12081208
* @param pretty If \&#39;true\&#39;, then the output is pretty printed.
1209-
* @param exact Should the export be exact. Exact export maintains cluster-specific fields like \&#39;Namespace\&#39;. Deprecated. Planned for removal in 1.18.
1210-
* @param _export Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.
12111209
*/
1212-
public async readMutatingWebhookConfiguration (name: string, pretty?: string, exact?: boolean, _export?: boolean, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: V1beta1MutatingWebhookConfiguration; }> {
1210+
public async readMutatingWebhookConfiguration (name: string, pretty?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: V1beta1MutatingWebhookConfiguration; }> {
12131211
const localVarPath = this.basePath + '/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations/{name}'
12141212
.replace('{' + 'name' + '}', encodeURIComponent(String(name)));
12151213
let localVarQueryParameters: any = {};
@@ -1232,14 +1230,6 @@ export class AdmissionregistrationV1beta1Api {
12321230
localVarQueryParameters['pretty'] = ObjectSerializer.serialize(pretty, "string");
12331231
}
12341232

1235-
if (exact !== undefined) {
1236-
localVarQueryParameters['exact'] = ObjectSerializer.serialize(exact, "boolean");
1237-
}
1238-
1239-
if (_export !== undefined) {
1240-
localVarQueryParameters['export'] = ObjectSerializer.serialize(_export, "boolean");
1241-
}
1242-
12431233
(<any>Object).assign(localVarHeaderParams, options.headers);
12441234

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

1321-
if (exact !== undefined) {
1322-
localVarQueryParameters['exact'] = ObjectSerializer.serialize(exact, "boolean");
1323-
}
1324-
1325-
if (_export !== undefined) {
1326-
localVarQueryParameters['export'] = ObjectSerializer.serialize(_export, "boolean");
1327-
}
1328-
13291309
(<any>Object).assign(localVarHeaderParams, options.headers);
13301310

13311311
let localVarUseFormData = false;

src/gen/api/apiextensionsApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Kubernetes
33
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
44
*
5-
* The version of the OpenAPI document: v1.20.2
5+
* The version of the OpenAPI document: v1.21.1
66
*
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

src/gen/api/apiextensionsV1Api.ts

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Kubernetes
33
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
44
*
5-
* The version of the OpenAPI document: v1.20.2
5+
* The version of the OpenAPI document: v1.21.1
66
*
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -780,10 +780,8 @@ export class ApiextensionsV1Api {
780780
* read the specified CustomResourceDefinition
781781
* @param name name of the CustomResourceDefinition
782782
* @param pretty If \&#39;true\&#39;, then the output is pretty printed.
783-
* @param exact Should the export be exact. Exact export maintains cluster-specific fields like \&#39;Namespace\&#39;. Deprecated. Planned for removal in 1.18.
784-
* @param _export Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.
785783
*/
786-
public async readCustomResourceDefinition (name: string, pretty?: string, exact?: boolean, _export?: boolean, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: V1CustomResourceDefinition; }> {
784+
public async readCustomResourceDefinition (name: string, pretty?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: V1CustomResourceDefinition; }> {
787785
const localVarPath = this.basePath + '/apis/apiextensions.k8s.io/v1/customresourcedefinitions/{name}'
788786
.replace('{' + 'name' + '}', encodeURIComponent(String(name)));
789787
let localVarQueryParameters: any = {};
@@ -806,14 +804,6 @@ export class ApiextensionsV1Api {
806804
localVarQueryParameters['pretty'] = ObjectSerializer.serialize(pretty, "string");
807805
}
808806

809-
if (exact !== undefined) {
810-
localVarQueryParameters['exact'] = ObjectSerializer.serialize(exact, "boolean");
811-
}
812-
813-
if (_export !== undefined) {
814-
localVarQueryParameters['export'] = ObjectSerializer.serialize(_export, "boolean");
815-
}
816-
817807
(<any>Object).assign(localVarHeaderParams, options.headers);
818808

819809
let localVarUseFormData = false;

src/gen/api/apiextensionsV1beta1Api.ts

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Kubernetes
33
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
44
*
5-
* The version of the OpenAPI document: v1.20.2
5+
* The version of the OpenAPI document: v1.21.1
66
*
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -780,10 +780,8 @@ export class ApiextensionsV1beta1Api {
780780
* read the specified CustomResourceDefinition
781781
* @param name name of the CustomResourceDefinition
782782
* @param pretty If \&#39;true\&#39;, then the output is pretty printed.
783-
* @param exact Should the export be exact. Exact export maintains cluster-specific fields like \&#39;Namespace\&#39;. Deprecated. Planned for removal in 1.18.
784-
* @param _export Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.
785783
*/
786-
public async readCustomResourceDefinition (name: string, pretty?: string, exact?: boolean, _export?: boolean, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: V1beta1CustomResourceDefinition; }> {
784+
public async readCustomResourceDefinition (name: string, pretty?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: V1beta1CustomResourceDefinition; }> {
787785
const localVarPath = this.basePath + '/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}'
788786
.replace('{' + 'name' + '}', encodeURIComponent(String(name)));
789787
let localVarQueryParameters: any = {};
@@ -806,14 +804,6 @@ export class ApiextensionsV1beta1Api {
806804
localVarQueryParameters['pretty'] = ObjectSerializer.serialize(pretty, "string");
807805
}
808806

809-
if (exact !== undefined) {
810-
localVarQueryParameters['exact'] = ObjectSerializer.serialize(exact, "boolean");
811-
}
812-
813-
if (_export !== undefined) {
814-
localVarQueryParameters['export'] = ObjectSerializer.serialize(_export, "boolean");
815-
}
816-
817807
(<any>Object).assign(localVarHeaderParams, options.headers);
818808

819809
let localVarUseFormData = false;

src/gen/api/apiregistrationApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Kubernetes
33
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
44
*
5-
* The version of the OpenAPI document: v1.20.2
5+
* The version of the OpenAPI document: v1.21.1
66
*
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

src/gen/api/apiregistrationV1Api.ts

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Kubernetes
33
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
44
*
5-
* The version of the OpenAPI document: v1.20.2
5+
* The version of the OpenAPI document: v1.21.1
66
*
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -780,10 +780,8 @@ export class ApiregistrationV1Api {
780780
* read the specified APIService
781781
* @param name name of the APIService
782782
* @param pretty If \&#39;true\&#39;, then the output is pretty printed.
783-
* @param exact Should the export be exact. Exact export maintains cluster-specific fields like \&#39;Namespace\&#39;. Deprecated. Planned for removal in 1.18.
784-
* @param _export Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.
785783
*/
786-
public async readAPIService (name: string, pretty?: string, exact?: boolean, _export?: boolean, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: V1APIService; }> {
784+
public async readAPIService (name: string, pretty?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: V1APIService; }> {
787785
const localVarPath = this.basePath + '/apis/apiregistration.k8s.io/v1/apiservices/{name}'
788786
.replace('{' + 'name' + '}', encodeURIComponent(String(name)));
789787
let localVarQueryParameters: any = {};
@@ -806,14 +804,6 @@ export class ApiregistrationV1Api {
806804
localVarQueryParameters['pretty'] = ObjectSerializer.serialize(pretty, "string");
807805
}
808806

809-
if (exact !== undefined) {
810-
localVarQueryParameters['exact'] = ObjectSerializer.serialize(exact, "boolean");
811-
}
812-
813-
if (_export !== undefined) {
814-
localVarQueryParameters['export'] = ObjectSerializer.serialize(_export, "boolean");
815-
}
816-
817807
(<any>Object).assign(localVarHeaderParams, options.headers);
818808

819809
let localVarUseFormData = false;

src/gen/api/apiregistrationV1beta1Api.ts

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Kubernetes
33
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
44
*
5-
* The version of the OpenAPI document: v1.20.2
5+
* The version of the OpenAPI document: v1.21.1
66
*
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -780,10 +780,8 @@ export class ApiregistrationV1beta1Api {
780780
* read the specified APIService
781781
* @param name name of the APIService
782782
* @param pretty If \&#39;true\&#39;, then the output is pretty printed.
783-
* @param exact Should the export be exact. Exact export maintains cluster-specific fields like \&#39;Namespace\&#39;. Deprecated. Planned for removal in 1.18.
784-
* @param _export Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.
785783
*/
786-
public async readAPIService (name: string, pretty?: string, exact?: boolean, _export?: boolean, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: V1beta1APIService; }> {
784+
public async readAPIService (name: string, pretty?: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: V1beta1APIService; }> {
787785
const localVarPath = this.basePath + '/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}'
788786
.replace('{' + 'name' + '}', encodeURIComponent(String(name)));
789787
let localVarQueryParameters: any = {};
@@ -806,14 +804,6 @@ export class ApiregistrationV1beta1Api {
806804
localVarQueryParameters['pretty'] = ObjectSerializer.serialize(pretty, "string");
807805
}
808806

809-
if (exact !== undefined) {
810-
localVarQueryParameters['exact'] = ObjectSerializer.serialize(exact, "boolean");
811-
}
812-
813-
if (_export !== undefined) {
814-
localVarQueryParameters['export'] = ObjectSerializer.serialize(_export, "boolean");
815-
}
816-
817807
(<any>Object).assign(localVarHeaderParams, options.headers);
818808

819809
let localVarUseFormData = false;

0 commit comments

Comments
 (0)