Skip to content
Closed
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
Jump to file
Failed to load files.
Loading
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.16.0
export KUBERNETES_BRANCH=v1.17.0
export CLIENT_VERSION=0.0.1
export PACKAGE_NAME=k8s
2 changes: 2 additions & 0 deletions src/KubernetesClient/generated/.openapi-generator/COMMIT
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Requested Commit: v3.3.4
Actual Commit: 2353d71d4b02be6dbabe25aac1a9e56eb3b812a2
2 changes: 0 additions & 2 deletions src/KubernetesClient/generated/.swagger-codegen/COMMIT

This file was deleted.

386 changes: 218 additions & 168 deletions src/KubernetesClient/generated/IKubernetes.Watch.cs

Large diffs are not rendered by default.

5,196 changes: 3,134 additions & 2,062 deletions src/KubernetesClient/generated/IKubernetes.cs

Large diffs are not rendered by default.

74 changes: 70 additions & 4 deletions src/KubernetesClient/generated/Kubernetes.Watch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1054,7 +1054,7 @@ public Task<Watcher<V1beta1Lease>> WatchNamespacedLeaseAsync(
}

/// <inheritdoc>
public Task<Watcher<V1alpha1EndpointSlice>> WatchNamespacedEndpointSliceAsync(
public Task<Watcher<V1beta1EndpointSlice>> WatchNamespacedEndpointSliceAsync(
string name,
string @namespace,
bool? allowWatchBookmarks = null,
Expand All @@ -1067,13 +1067,13 @@ public Task<Watcher<V1alpha1EndpointSlice>> WatchNamespacedEndpointSliceAsync(
int? timeoutSeconds = null,
bool? watch = null,
Dictionary<string, List<string>> customHeaders = null,
Action<WatchEventType, V1alpha1EndpointSlice> onEvent = null,
Action<WatchEventType, V1beta1EndpointSlice> 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);
string path = $"apis/discovery.k8s.io/v1beta1/watch/namespaces/{@namespace}/endpointslices/{name}";
return WatchObjectAsync<V1beta1EndpointSlice>(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>
Expand Down Expand Up @@ -1236,6 +1236,50 @@ public Task<Watcher<Extensionsv1beta1PodSecurityPolicy>> WatchPodSecurityPolicyA
return WatchObjectAsync<Extensionsv1beta1PodSecurityPolicy>(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<V1alpha1FlowSchema>> WatchFlowSchemaAsync(
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, V1alpha1FlowSchema> onEvent = null,
Action<Exception> onError = null,
Action onClosed = null,
CancellationToken cancellationToken = default(CancellationToken))
{
string path = $"apis/flowcontrol.apiserver.k8s.io/v1alpha1/watch/flowschemas/{name}";
return WatchObjectAsync<V1alpha1FlowSchema>(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<V1alpha1PriorityLevelConfiguration>> WatchPriorityLevelConfigurationAsync(
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, V1alpha1PriorityLevelConfiguration> onEvent = null,
Action<Exception> onError = null,
Action onClosed = null,
CancellationToken cancellationToken = default(CancellationToken))
{
string path = $"apis/flowcontrol.apiserver.k8s.io/v1alpha1/watch/prioritylevelconfigurations/{name}";
return WatchObjectAsync<V1alpha1PriorityLevelConfiguration>(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<V1NetworkPolicy>> WatchNamespacedNetworkPolicyAsync(
string name,
Expand Down Expand Up @@ -1730,6 +1774,28 @@ public Task<Watcher<V1alpha1PodPreset>> WatchNamespacedPodPresetAsync(
return WatchObjectAsync<V1alpha1PodPreset>(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<V1CSINode>> WatchCSINodeAsync(
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, V1CSINode> onEvent = null,
Action<Exception> onError = null,
Action onClosed = null,
CancellationToken cancellationToken = default(CancellationToken))
{
string path = $"apis/storage.k8s.io/v1/watch/csinodes/{name}";
return WatchObjectAsync<V1CSINode>(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<V1StorageClass>> WatchStorageClassAsync(
string name,
Expand Down
Loading