Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion csharp.settings
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export KUBERNETES_BRANCH=v1.15.0
export KUBERNETES_BRANCH=v1.16.0
export CLIENT_VERSION=0.0.1
export PACKAGE_NAME=k8s
1,294 changes: 797 additions & 497 deletions src/KubernetesClient/generated/IKubernetes.Watch.cs

Large diffs are not rendered by default.

7,093 changes: 4,497 additions & 2,596 deletions src/KubernetesClient/generated/IKubernetes.cs

Large diffs are not rendered by default.

89 changes: 89 additions & 0 deletions src/KubernetesClient/generated/Kubernetes.Watch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,50 @@ public Task<Watcher<V1PersistentVolume>> WatchPersistentVolumeAsync(
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);
}

/// <inheritdoc>
public Task<Watcher<V1MutatingWebhookConfiguration>> WatchMutatingWebhookConfigurationAsync(
string name,
bool? allowWatchBookmarks = null,
string @continue = null,
string fieldSelector = null,
string labelSelector = null,
int? limit = null,
bool? pretty = null,
string resourceVersion = null,
int? timeoutSeconds = null,
bool? watch = null,
Dictionary<string, List<string>> customHeaders = null,
Action<WatchEventType, V1MutatingWebhookConfiguration> onEvent = null,
Action<Exception> onError = null,
Action onClosed = null,
CancellationToken cancellationToken = default(CancellationToken))
{
string path = $"apis/admissionregistration.k8s.io/v1/watch/mutatingwebhookconfigurations/{name}";
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);
}

/// <inheritdoc>
public Task<Watcher<V1ValidatingWebhookConfiguration>> WatchValidatingWebhookConfigurationAsync(
string name,
bool? allowWatchBookmarks = null,
string @continue = null,
string fieldSelector = null,
string labelSelector = null,
int? limit = null,
bool? pretty = null,
string resourceVersion = null,
int? timeoutSeconds = null,
bool? watch = null,
Dictionary<string, List<string>> customHeaders = null,
Action<WatchEventType, V1ValidatingWebhookConfiguration> onEvent = null,
Action<Exception> onError = null,
Action onClosed = null,
CancellationToken cancellationToken = default(CancellationToken))
{
string path = $"apis/admissionregistration.k8s.io/v1/watch/validatingwebhookconfigurations/{name}";
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);
}

/// <inheritdoc>
public Task<Watcher<V1beta1MutatingWebhookConfiguration>> WatchMutatingWebhookConfigurationAsync(
string name,
Expand Down Expand Up @@ -394,6 +438,28 @@ public Task<Watcher<V1beta1ValidatingWebhookConfiguration>> WatchValidatingWebho
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);
}

/// <inheritdoc>
public Task<Watcher<V1CustomResourceDefinition>> WatchCustomResourceDefinitionAsync(
string name,
bool? allowWatchBookmarks = null,
string @continue = null,
string fieldSelector = null,
string labelSelector = null,
int? limit = null,
bool? pretty = null,
string resourceVersion = null,
int? timeoutSeconds = null,
bool? watch = null,
Dictionary<string, List<string>> customHeaders = null,
Action<WatchEventType, V1CustomResourceDefinition> onEvent = null,
Action<Exception> onError = null,
Action onClosed = null,
CancellationToken cancellationToken = default(CancellationToken))
{
string path = $"apis/apiextensions.k8s.io/v1/watch/customresourcedefinitions/{name}";
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);
}

/// <inheritdoc>
public Task<Watcher<V1beta1CustomResourceDefinition>> WatchCustomResourceDefinitionAsync(
string name,
Expand Down Expand Up @@ -941,6 +1007,29 @@ public Task<Watcher<V1beta1Lease>> WatchNamespacedLeaseAsync(
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);
}

/// <inheritdoc>
public Task<Watcher<V1alpha1EndpointSlice>> WatchNamespacedEndpointSliceAsync(
string name,
string @namespace,
bool? allowWatchBookmarks = null,
string @continue = null,
string fieldSelector = null,
string labelSelector = null,
int? limit = null,
bool? pretty = null,
string resourceVersion = null,
int? timeoutSeconds = null,
bool? watch = null,
Dictionary<string, List<string>> customHeaders = null,
Action<WatchEventType, V1alpha1EndpointSlice> onEvent = null,
Action<Exception> onError = null,
Action onClosed = null,
CancellationToken cancellationToken = default(CancellationToken))
{
string path = $"apis/discovery.k8s.io/v1alpha1/watch/namespaces/{@namespace}/endpointslices/{name}";
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);
}

/// <inheritdoc>
public Task<Watcher<V1beta1Event>> WatchNamespacedEventAsync(
string name,
Expand Down
Loading