Skip to content

Commit 8ab95b6

Browse files
tg123k8s-ci-robot
authored andcommitted
gen v1.16.0 (#312)
* gen v1.16.0 * update version.json
1 parent d9bca19 commit 8ab95b6

File tree

303 files changed

+69962
-39927
lines changed

Some content is hidden

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

303 files changed

+69962
-39927
lines changed

csharp.settings

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
export KUBERNETES_BRANCH=v1.15.0
1+
export KUBERNETES_BRANCH=v1.16.0
22
export CLIENT_VERSION=0.0.1
33
export PACKAGE_NAME=k8s

src/KubernetesClient/generated/IKubernetes.Watch.cs

Lines changed: 797 additions & 497 deletions
Large diffs are not rendered by default.

src/KubernetesClient/generated/IKubernetes.cs

Lines changed: 4497 additions & 2596 deletions
Large diffs are not rendered by default.

src/KubernetesClient/generated/Kubernetes.Watch.cs

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,50 @@ public Task<Watcher<V1PersistentVolume>> WatchPersistentVolumeAsync(
350350
return WatchObjectAsync<V1PersistentVolume>(path: path, @continue: @continue, fieldSelector: fieldSelector, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken);
351351
}
352352

353+
/// <inheritdoc>
354+
public Task<Watcher<V1MutatingWebhookConfiguration>> WatchMutatingWebhookConfigurationAsync(
355+
string name,
356+
bool? allowWatchBookmarks = null,
357+
string @continue = null,
358+
string fieldSelector = null,
359+
string labelSelector = null,
360+
int? limit = null,
361+
bool? pretty = null,
362+
string resourceVersion = null,
363+
int? timeoutSeconds = null,
364+
bool? watch = null,
365+
Dictionary<string, List<string>> customHeaders = null,
366+
Action<WatchEventType, V1MutatingWebhookConfiguration> onEvent = null,
367+
Action<Exception> onError = null,
368+
Action onClosed = null,
369+
CancellationToken cancellationToken = default(CancellationToken))
370+
{
371+
string path = $"apis/admissionregistration.k8s.io/v1/watch/mutatingwebhookconfigurations/{name}";
372+
return WatchObjectAsync<V1MutatingWebhookConfiguration>(path: path, @continue: @continue, fieldSelector: fieldSelector, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken);
373+
}
374+
375+
/// <inheritdoc>
376+
public Task<Watcher<V1ValidatingWebhookConfiguration>> WatchValidatingWebhookConfigurationAsync(
377+
string name,
378+
bool? allowWatchBookmarks = null,
379+
string @continue = null,
380+
string fieldSelector = null,
381+
string labelSelector = null,
382+
int? limit = null,
383+
bool? pretty = null,
384+
string resourceVersion = null,
385+
int? timeoutSeconds = null,
386+
bool? watch = null,
387+
Dictionary<string, List<string>> customHeaders = null,
388+
Action<WatchEventType, V1ValidatingWebhookConfiguration> onEvent = null,
389+
Action<Exception> onError = null,
390+
Action onClosed = null,
391+
CancellationToken cancellationToken = default(CancellationToken))
392+
{
393+
string path = $"apis/admissionregistration.k8s.io/v1/watch/validatingwebhookconfigurations/{name}";
394+
return WatchObjectAsync<V1ValidatingWebhookConfiguration>(path: path, @continue: @continue, fieldSelector: fieldSelector, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken);
395+
}
396+
353397
/// <inheritdoc>
354398
public Task<Watcher<V1beta1MutatingWebhookConfiguration>> WatchMutatingWebhookConfigurationAsync(
355399
string name,
@@ -394,6 +438,28 @@ public Task<Watcher<V1beta1ValidatingWebhookConfiguration>> WatchValidatingWebho
394438
return WatchObjectAsync<V1beta1ValidatingWebhookConfiguration>(path: path, @continue: @continue, fieldSelector: fieldSelector, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken);
395439
}
396440

441+
/// <inheritdoc>
442+
public Task<Watcher<V1CustomResourceDefinition>> WatchCustomResourceDefinitionAsync(
443+
string name,
444+
bool? allowWatchBookmarks = null,
445+
string @continue = null,
446+
string fieldSelector = null,
447+
string labelSelector = null,
448+
int? limit = null,
449+
bool? pretty = null,
450+
string resourceVersion = null,
451+
int? timeoutSeconds = null,
452+
bool? watch = null,
453+
Dictionary<string, List<string>> customHeaders = null,
454+
Action<WatchEventType, V1CustomResourceDefinition> onEvent = null,
455+
Action<Exception> onError = null,
456+
Action onClosed = null,
457+
CancellationToken cancellationToken = default(CancellationToken))
458+
{
459+
string path = $"apis/apiextensions.k8s.io/v1/watch/customresourcedefinitions/{name}";
460+
return WatchObjectAsync<V1CustomResourceDefinition>(path: path, @continue: @continue, fieldSelector: fieldSelector, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken);
461+
}
462+
397463
/// <inheritdoc>
398464
public Task<Watcher<V1beta1CustomResourceDefinition>> WatchCustomResourceDefinitionAsync(
399465
string name,
@@ -941,6 +1007,29 @@ public Task<Watcher<V1beta1Lease>> WatchNamespacedLeaseAsync(
9411007
return WatchObjectAsync<V1beta1Lease>(path: path, @continue: @continue, fieldSelector: fieldSelector, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken);
9421008
}
9431009

1010+
/// <inheritdoc>
1011+
public Task<Watcher<V1alpha1EndpointSlice>> WatchNamespacedEndpointSliceAsync(
1012+
string name,
1013+
string @namespace,
1014+
bool? allowWatchBookmarks = null,
1015+
string @continue = null,
1016+
string fieldSelector = null,
1017+
string labelSelector = null,
1018+
int? limit = null,
1019+
bool? pretty = null,
1020+
string resourceVersion = null,
1021+
int? timeoutSeconds = null,
1022+
bool? watch = null,
1023+
Dictionary<string, List<string>> customHeaders = null,
1024+
Action<WatchEventType, V1alpha1EndpointSlice> onEvent = null,
1025+
Action<Exception> onError = null,
1026+
Action onClosed = null,
1027+
CancellationToken cancellationToken = default(CancellationToken))
1028+
{
1029+
string path = $"apis/discovery.k8s.io/v1alpha1/watch/namespaces/{@namespace}/endpointslices/{name}";
1030+
return WatchObjectAsync<V1alpha1EndpointSlice>(path: path, @continue: @continue, fieldSelector: fieldSelector, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken);
1031+
}
1032+
9441033
/// <inheritdoc>
9451034
public Task<Watcher<V1beta1Event>> WatchNamespacedEventAsync(
9461035
string name,

0 commit comments

Comments
 (0)