Skip to content

Commit b218eb9

Browse files
authored
Merge pull request #480 from brendandburns/gen
Regenerate with the latest fixes.
2 parents 6565f66 + 6682421 commit b218eb9

Some content is hidden

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

41 files changed

+262
-1940
lines changed

settings

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# limitations under the License.
1616

1717
# kubernetes-client/gen commit to use for code generation.
18-
export GEN_COMMIT=9563227
18+
export GEN_COMMIT=d71ff1efd
1919

2020
# GitHub username/organization to clone kubernetes repo from.
2121
export USERNAME=kubernetes
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
bdcf1952555a5e98fdf6075d6918f175f317131200637d31ff85f458395c298b
1+
a6d0fabfdd86c6c33711f6f16aa08bd65e2e647b84c1a2ac2f5f1212de15b5d5

src/gen/api/admissionregistrationV1Api.ts

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,6 @@ export class AdmissionregistrationV1Api {
269269
/**
270270
* delete collection of MutatingWebhookConfiguration
271271
* @param pretty If \'true\', then the output is pretty printed.
272-
* @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.
273272
* @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.
274273
* @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
275274
* @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything.
@@ -280,10 +279,9 @@ export class AdmissionregistrationV1Api {
280279
* @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \'Orphan\' - orphan the dependents; \'Background\' - allow the garbage collector to delete the dependents in the background; \'Foreground\' - a cascading policy that deletes all dependents in the foreground.
281280
* @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it\'s 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
282281
* @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
283-
* @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
284282
* @param body
285283
*/
286-
public async deleteCollectionMutatingWebhookConfiguration (pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, timeoutSeconds?: number, watch?: boolean, body?: V1DeleteOptions, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: V1Status; }> {
284+
public async deleteCollectionMutatingWebhookConfiguration (pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, timeoutSeconds?: number, body?: V1DeleteOptions, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: V1Status; }> {
287285
const localVarPath = this.basePath + '/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations';
288286
let localVarQueryParameters: any = {};
289287
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
@@ -300,10 +298,6 @@ export class AdmissionregistrationV1Api {
300298
localVarQueryParameters['pretty'] = ObjectSerializer.serialize(pretty, "string");
301299
}
302300

303-
if (allowWatchBookmarks !== undefined) {
304-
localVarQueryParameters['allowWatchBookmarks'] = ObjectSerializer.serialize(allowWatchBookmarks, "boolean");
305-
}
306-
307301
if (_continue !== undefined) {
308302
localVarQueryParameters['continue'] = ObjectSerializer.serialize(_continue, "string");
309303
}
@@ -344,10 +338,6 @@ export class AdmissionregistrationV1Api {
344338
localVarQueryParameters['timeoutSeconds'] = ObjectSerializer.serialize(timeoutSeconds, "number");
345339
}
346340

347-
if (watch !== undefined) {
348-
localVarQueryParameters['watch'] = ObjectSerializer.serialize(watch, "boolean");
349-
}
350-
351341
(<any>Object).assign(localVarHeaderParams, options.headers);
352342

353343
let localVarUseFormData = false;
@@ -400,7 +390,6 @@ export class AdmissionregistrationV1Api {
400390
/**
401391
* delete collection of ValidatingWebhookConfiguration
402392
* @param pretty If \&#39;true\&#39;, then the output is pretty printed.
403-
* @param allowWatchBookmarks allowWatchBookmarks requests watch events with type \&quot;BOOKMARK\&quot;. Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server\&#39;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.
404393
* @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 \&quot;next key\&quot;. 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.
405394
* @param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
406395
* @param fieldSelector A selector to restrict the list of returned objects by their fields. Defaults to everything.
@@ -411,10 +400,9 @@ export class AdmissionregistrationV1Api {
411400
* @param propagationPolicy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: \&#39;Orphan\&#39; - orphan the dependents; \&#39;Background\&#39; - allow the garbage collector to delete the dependents in the background; \&#39;Foreground\&#39; - a cascading policy that deletes all dependents in the foreground.
412401
* @param resourceVersion When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it\&#39;s 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.
413402
* @param timeoutSeconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
414-
* @param watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
415403
* @param body
416404
*/
417-
public async deleteCollectionValidatingWebhookConfiguration (pretty?: string, allowWatchBookmarks?: boolean, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, timeoutSeconds?: number, watch?: boolean, body?: V1DeleteOptions, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: V1Status; }> {
405+
public async deleteCollectionValidatingWebhookConfiguration (pretty?: string, _continue?: string, dryRun?: string, fieldSelector?: string, gracePeriodSeconds?: number, labelSelector?: string, limit?: number, orphanDependents?: boolean, propagationPolicy?: string, resourceVersion?: string, timeoutSeconds?: number, body?: V1DeleteOptions, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: V1Status; }> {
418406
const localVarPath = this.basePath + '/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations';
419407
let localVarQueryParameters: any = {};
420408
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
@@ -431,10 +419,6 @@ export class AdmissionregistrationV1Api {
431419
localVarQueryParameters['pretty'] = ObjectSerializer.serialize(pretty, "string");
432420
}
433421

434-
if (allowWatchBookmarks !== undefined) {
435-
localVarQueryParameters['allowWatchBookmarks'] = ObjectSerializer.serialize(allowWatchBookmarks, "boolean");
436-
}
437-
438422
if (_continue !== undefined) {
439423
localVarQueryParameters['continue'] = ObjectSerializer.serialize(_continue, "string");
440424
}
@@ -475,10 +459,6 @@ export class AdmissionregistrationV1Api {
475459
localVarQueryParameters['timeoutSeconds'] = ObjectSerializer.serialize(timeoutSeconds, "number");
476460
}
477461

478-
if (watch !== undefined) {
479-
localVarQueryParameters['watch'] = ObjectSerializer.serialize(watch, "boolean");
480-
}
481-
482462
(<any>Object).assign(localVarHeaderParams, options.headers);
483463

484464
let localVarUseFormData = false;

0 commit comments

Comments
 (0)