Skip to content

Commit

Permalink
Merge pull request #727 from brendandburns/revk8s
Browse files Browse the repository at this point in the history
Update code generation to Kubernetes 1.22.2, Rev package to 0.16.0
  • Loading branch information
k8s-ci-robot committed Nov 7, 2021
2 parents 8c5d2e2 + 63d864c commit ab5fc88
Show file tree
Hide file tree
Showing 726 changed files with 57,630 additions and 121,402 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
@@ -1,6 +1,6 @@
{
"name": "@kubernetes/client-node",
"version": "0.15.1",
"version": "0.16.0",
"description": "NodeJS client for kubernetes",
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions settings
Expand Up @@ -21,7 +21,7 @@ export GEN_COMMIT=a3aef4d
export USERNAME=kubernetes

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

# client version for packaging and releasing. It can
# be different than SPEC_VERSION.
Expand All @@ -30,4 +30,4 @@ export CLIENT_VERSION="0.8-SNAPSHOT"
# Name of the release package
export PACKAGE_NAME="@kubernetes/node-client"

export OPENAPI_GENERATOR_COMMIT=v4.2.3
export OPENAPI_GENERATOR_COMMIT=v5.2.1
4 changes: 2 additions & 2 deletions src/cp_test.ts
@@ -1,6 +1,6 @@
import { anything, anyFunction, instance, mock, verify, when } from 'ts-mockito';
import * as querystring from 'querystring';
import * as WebSocket from 'isomorphic-ws';
import WebSocket = require('isomorphic-ws');

import { CallAwaiter } from '../test';
import { KubeConfig } from './config';
Expand Down Expand Up @@ -44,7 +44,7 @@ describe('Cp', () => {
it('should run extract tar command to a url', async () => {
const kc = new KubeConfig();
const fakeWebSocketInterface: WebSocketInterface = mock(WebSocketHandler);
const fakeWebSocket: WebSocket = mock(WebSocket);
const fakeWebSocket: WebSocket = mock(WebSocket) as WebSocket;
const callAwaiter: CallAwaiter = new CallAwaiter();
const exec = new Exec(kc, instance(fakeWebSocketInterface));
const cp = new Cp(kc, exec);
Expand Down
4 changes: 2 additions & 2 deletions src/gen/.openapi-generator/COMMIT
@@ -1,2 +1,2 @@
Requested Commit: v4.2.3
Actual Commit: 26ace1337d42638e2f3c3727d3438666a6886b31
Requested Commit: v5.2.1
Actual Commit: 8403e59aa03d0099b7c6872b9b884a3d83d05b9a
2 changes: 1 addition & 1 deletion src/gen/.openapi-generator/VERSION
@@ -1 +1 @@
4.2.3
5.2.1
7 changes: 4 additions & 3 deletions src/gen/api/admissionregistrationApi.ts
Expand Up @@ -2,16 +2,17 @@
* Kubernetes
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1.21.1
* The version of the OpenAPI document: v1.22.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/

import localVarRequest = require('request');
import http = require('http');

import localVarRequest from 'request';
import http from 'http';

/* tslint:disable:no-unused-locals */
import { V1APIGroup } from '../model/v1APIGroup';
Expand Down
11 changes: 6 additions & 5 deletions src/gen/api/admissionregistrationV1Api.ts
Expand Up @@ -2,16 +2,17 @@
* Kubernetes
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1.21.1
* The version of the OpenAPI document: v1.22.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/

import localVarRequest = require('request');
import http = require('http');

import localVarRequest from 'request';
import http from 'http';

/* tslint:disable:no-unused-locals */
import { V1APIResourceList } from '../model/v1APIResourceList';
Expand Down Expand Up @@ -781,7 +782,7 @@ export class AdmissionregistrationV1Api {
/**
* list or watch objects of kind MutatingWebhookConfiguration
* @param pretty If \'true\', then the output is pretty printed.
* @param allowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.
* @param allowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.
* @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
* @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything.
* @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything.
Expand Down Expand Up @@ -895,7 +896,7 @@ export class AdmissionregistrationV1Api {
/**
* list or watch objects of kind ValidatingWebhookConfiguration
* @param pretty If \'true\', then the output is pretty printed.
* @param allowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.
* @param allowWatchBookmarks allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\'s discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.
* @param _continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
* @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything.
* @param labelSelector A selector to restrict the list of returned objects by their labels. Defaults to everything.
Expand Down

0 comments on commit ab5fc88

Please sign in to comment.