gen v1.13.4 (#254)

This commit is contained in:
Boshi Lian
2019-03-08 16:54:55 -08:00
committed by Kubernetes Prow Robot
parent 7f6043a075
commit f6b58d535a
10 changed files with 1166 additions and 420 deletions

View File

@@ -1,3 +1,3 @@
export KUBERNETES_BRANCH=v1.13.0
export KUBERNETES_BRANCH=v1.13.4
export CLIENT_VERSION=0.0.1
export PACKAGE_NAME=k8s

View File

@@ -2404,6 +2404,78 @@ namespace k8s
Action onClosed = null,
CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// watch changes to an object of kind AuditSink. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.
/// </summary>
/// <param name="name">
/// name of the AuditSink
/// </param>
/// <param name="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>
/// <param name="fieldSelector">
/// A selector to restrict the list of returned objects by their fields. Defaults to everything.
/// </param>
/// <param name="includeUninitialized">
/// If true, partially initialized resources are included in the response.
/// </param>
/// <param name="labelSelector">
/// A selector to restrict the list of returned objects by their labels. Defaults to everything.
/// </param>
/// <param name="limit">
/// limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.
///
/// The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
/// </param>
/// <param name="pretty">
/// If 'true', then the output is pretty printed.
/// </param>
/// <param name="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.
/// </param>
/// <param name="timeoutSeconds">
/// Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
/// </param>
/// <param name="watch">
/// Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
/// </param>
/// <param name="customHeaders">
/// The headers that will be added to request.
/// </param>
/// <param name="onEvent">
/// The action to invoke when the server sends a new event.
/// </param>
/// <param name="onError">
/// The action to invoke when an error occurs.
/// </param>
/// <param name="onClosed">
/// The action to invoke when the server closes the connection.
/// </param>
/// <param name="cancellationToken">
/// A <see cref="CancellationToken"/> which can be used to cancel the asynchronous operation.
/// </param>
/// <returns>
/// A <see cref="Task"/> which represents the asynchronous operation, and returns a new watcher.
/// </returns>
Task<Watcher<V1alpha1AuditSink>> WatchAuditSinkAsync(
string name,
string @continue = null,
string fieldSelector = null,
bool? includeUninitialized = 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, V1alpha1AuditSink> onEvent = null,
Action<Exception> onError = null,
Action onClosed = null,
CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// watch changes to an object of kind HorizontalPodAutoscaler. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.
/// </summary>
@@ -4644,6 +4716,78 @@ namespace k8s
Action onClosed = null,
CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// watch changes to an object of kind VolumeAttachment. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.
/// </summary>
/// <param name="name">
/// name of the VolumeAttachment
/// </param>
/// <param name="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>
/// <param name="fieldSelector">
/// A selector to restrict the list of returned objects by their fields. Defaults to everything.
/// </param>
/// <param name="includeUninitialized">
/// If true, partially initialized resources are included in the response.
/// </param>
/// <param name="labelSelector">
/// A selector to restrict the list of returned objects by their labels. Defaults to everything.
/// </param>
/// <param name="limit">
/// limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.
///
/// The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.
/// </param>
/// <param name="pretty">
/// If 'true', then the output is pretty printed.
/// </param>
/// <param name="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.
/// </param>
/// <param name="timeoutSeconds">
/// Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
/// </param>
/// <param name="watch">
/// Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.
/// </param>
/// <param name="customHeaders">
/// The headers that will be added to request.
/// </param>
/// <param name="onEvent">
/// The action to invoke when the server sends a new event.
/// </param>
/// <param name="onError">
/// The action to invoke when an error occurs.
/// </param>
/// <param name="onClosed">
/// The action to invoke when the server closes the connection.
/// </param>
/// <param name="cancellationToken">
/// A <see cref="CancellationToken"/> which can be used to cancel the asynchronous operation.
/// </param>
/// <returns>
/// A <see cref="Task"/> which represents the asynchronous operation, and returns a new watcher.
/// </returns>
Task<Watcher<V1VolumeAttachment>> WatchVolumeAttachmentAsync(
string name,
string @continue = null,
string fieldSelector = null,
bool? includeUninitialized = 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, V1VolumeAttachment> onEvent = null,
Action<Exception> onError = null,
Action onClosed = null,
CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// watch changes to an object of kind VolumeAttachment. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.
/// </summary>

View File

@@ -35187,6 +35187,10 @@ namespace k8s
/// The custom resource's plural name. For TPRs this would be lowercase
/// plural kind.
/// </param>
/// <param name='fieldSelector'>
/// A selector to restrict the list of returned objects by their
/// fields. Defaults to everything.
/// </param>
/// <param name='labelSelector'>
/// A selector to restrict the list of returned objects by their
/// labels. Defaults to everything.
@@ -35200,6 +35204,10 @@ namespace k8s
/// no guarantee; - if set to non zero, then the result is at least as
/// fresh as given rv.
/// </param>
/// <param name='timeoutSeconds'>
/// Timeout for the list/watch call. This limits the duration of the
/// call, regardless of any activity or inactivity.
/// </param>
/// <param name='watch'>
/// Watch for changes to the described resources and return them as a
/// stream of add, update, and remove notifications.
@@ -35213,7 +35221,7 @@ namespace k8s
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
Task<HttpOperationResponse<object>> ListNamespacedCustomObjectWithHttpMessagesAsync(string group, string version, string namespaceParameter, string plural, string labelSelector = default(string), string resourceVersion = default(string), bool? watch = default(bool?), string pretty = default(string), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
Task<HttpOperationResponse<object>> ListNamespacedCustomObjectWithHttpMessagesAsync(string group, string version, string namespaceParameter, string plural, string fieldSelector = default(string), string labelSelector = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Creates a cluster scoped Custom object
@@ -35255,6 +35263,10 @@ namespace k8s
/// The custom resource's plural name. For TPRs this would be lowercase
/// plural kind.
/// </param>
/// <param name='fieldSelector'>
/// A selector to restrict the list of returned objects by their
/// fields. Defaults to everything.
/// </param>
/// <param name='labelSelector'>
/// A selector to restrict the list of returned objects by their
/// labels. Defaults to everything.
@@ -35268,6 +35280,10 @@ namespace k8s
/// no guarantee; - if set to non zero, then the result is at least as
/// fresh as given rv.
/// </param>
/// <param name='timeoutSeconds'>
/// Timeout for the list/watch call. This limits the duration of the
/// call, regardless of any activity or inactivity.
/// </param>
/// <param name='watch'>
/// Watch for changes to the described resources and return them as a
/// stream of add, update, and remove notifications.
@@ -35281,7 +35297,7 @@ namespace k8s
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
Task<HttpOperationResponse<object>> ListClusterCustomObjectWithHttpMessagesAsync(string group, string version, string plural, string labelSelector = default(string), string resourceVersion = default(string), bool? watch = default(bool?), string pretty = default(string), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
Task<HttpOperationResponse<object>> ListClusterCustomObjectWithHttpMessagesAsync(string group, string version, string plural, string fieldSelector = default(string), string labelSelector = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// replace status of the cluster scoped specified custom object

View File

@@ -735,6 +735,28 @@ namespace k8s
return WatchObjectAsync<V1beta2StatefulSet>(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken);
}
/// <inheritdoc>
public Task<Watcher<V1alpha1AuditSink>> WatchAuditSinkAsync(
string name,
string @continue = null,
string fieldSelector = null,
bool? includeUninitialized = 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, V1alpha1AuditSink> onEvent = null,
Action<Exception> onError = null,
Action onClosed = null,
CancellationToken cancellationToken = default(CancellationToken))
{
string path = $"apis/auditregistration.k8s.io/v1alpha1/watch/auditsinks/{name}";
return WatchObjectAsync<V1alpha1AuditSink>(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken);
}
/// <inheritdoc>
public Task<Watcher<V1HorizontalPodAutoscaler>> WatchNamespacedHorizontalPodAutoscalerAsync(
string name,
@@ -1415,6 +1437,28 @@ namespace k8s
return WatchObjectAsync<V1StorageClass>(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken);
}
/// <inheritdoc>
public Task<Watcher<V1VolumeAttachment>> WatchVolumeAttachmentAsync(
string name,
string @continue = null,
string fieldSelector = null,
bool? includeUninitialized = 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, V1VolumeAttachment> onEvent = null,
Action<Exception> onError = null,
Action onClosed = null,
CancellationToken cancellationToken = default(CancellationToken))
{
string path = $"apis/storage.k8s.io/v1/watch/volumeattachments/{name}";
return WatchObjectAsync<V1VolumeAttachment>(path: path, @continue: @continue, fieldSelector: fieldSelector, includeUninitialized: includeUninitialized, labelSelector: labelSelector, limit: limit, pretty: pretty, timeoutSeconds: timeoutSeconds, resourceVersion: resourceVersion, customHeaders: customHeaders, onEvent: onEvent, onError: onError, onClosed: onClosed, cancellationToken: cancellationToken);
}
/// <inheritdoc>
public Task<Watcher<V1alpha1VolumeAttachment>> WatchVolumeAttachmentAsync(
string name,

View File

@@ -168752,6 +168752,10 @@ namespace k8s
/// The custom resource's plural name. For TPRs this would be lowercase plural
/// kind.
/// </param>
/// <param name='fieldSelector'>
/// A selector to restrict the list of returned objects by their fields.
/// Defaults to everything.
/// </param>
/// <param name='labelSelector'>
/// A selector to restrict the list of returned objects by their labels.
/// Defaults to everything.
@@ -168764,6 +168768,10 @@ namespace k8s
/// 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.
/// </param>
/// <param name='timeoutSeconds'>
/// Timeout for the list/watch call. This limits the duration of the call,
/// regardless of any activity or inactivity.
/// </param>
/// <param name='watch'>
/// Watch for changes to the described resources and return them as a stream of
/// add, update, and remove notifications.
@@ -168792,7 +168800,7 @@ namespace k8s
/// <return>
/// A response object containing the response body and response headers.
/// </return>
public async Task<HttpOperationResponse<object>> ListNamespacedCustomObjectWithHttpMessagesAsync(string group, string version, string namespaceParameter, string plural, string labelSelector = default(string), string resourceVersion = default(string), bool? watch = default(bool?), string pretty = default(string), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
public async Task<HttpOperationResponse<object>> ListNamespacedCustomObjectWithHttpMessagesAsync(string group, string version, string namespaceParameter, string plural, string fieldSelector = default(string), string labelSelector = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
{
if (group == null)
{
@@ -168817,8 +168825,10 @@ namespace k8s
{
_invocationId = ServiceClientTracing.NextInvocationId.ToString();
Dictionary<string, object> tracingParameters = new Dictionary<string, object>();
tracingParameters.Add("fieldSelector", fieldSelector);
tracingParameters.Add("labelSelector", labelSelector);
tracingParameters.Add("resourceVersion", resourceVersion);
tracingParameters.Add("timeoutSeconds", timeoutSeconds);
tracingParameters.Add("watch", watch);
tracingParameters.Add("pretty", pretty);
tracingParameters.Add("group", group);
@@ -168836,6 +168846,10 @@ namespace k8s
_url = _url.Replace("{namespace}", System.Uri.EscapeDataString(namespaceParameter));
_url = _url.Replace("{plural}", System.Uri.EscapeDataString(plural));
List<string> _queryParameters = new List<string>();
if (fieldSelector != null)
{
_queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector)));
}
if (labelSelector != null)
{
_queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector)));
@@ -168844,6 +168858,10 @@ namespace k8s
{
_queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion)));
}
if (timeoutSeconds != null)
{
_queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"'))));
}
if (watch != null)
{
_queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"'))));
@@ -169149,6 +169167,10 @@ namespace k8s
/// The custom resource's plural name. For TPRs this would be lowercase plural
/// kind.
/// </param>
/// <param name='fieldSelector'>
/// A selector to restrict the list of returned objects by their fields.
/// Defaults to everything.
/// </param>
/// <param name='labelSelector'>
/// A selector to restrict the list of returned objects by their labels.
/// Defaults to everything.
@@ -169161,6 +169183,10 @@ namespace k8s
/// 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.
/// </param>
/// <param name='timeoutSeconds'>
/// Timeout for the list/watch call. This limits the duration of the call,
/// regardless of any activity or inactivity.
/// </param>
/// <param name='watch'>
/// Watch for changes to the described resources and return them as a stream of
/// add, update, and remove notifications.
@@ -169189,7 +169215,7 @@ namespace k8s
/// <return>
/// A response object containing the response body and response headers.
/// </return>
public async Task<HttpOperationResponse<object>> ListClusterCustomObjectWithHttpMessagesAsync(string group, string version, string plural, string labelSelector = default(string), string resourceVersion = default(string), bool? watch = default(bool?), string pretty = default(string), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
public async Task<HttpOperationResponse<object>> ListClusterCustomObjectWithHttpMessagesAsync(string group, string version, string plural, string fieldSelector = default(string), string labelSelector = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
{
if (group == null)
{
@@ -169210,8 +169236,10 @@ namespace k8s
{
_invocationId = ServiceClientTracing.NextInvocationId.ToString();
Dictionary<string, object> tracingParameters = new Dictionary<string, object>();
tracingParameters.Add("fieldSelector", fieldSelector);
tracingParameters.Add("labelSelector", labelSelector);
tracingParameters.Add("resourceVersion", resourceVersion);
tracingParameters.Add("timeoutSeconds", timeoutSeconds);
tracingParameters.Add("watch", watch);
tracingParameters.Add("pretty", pretty);
tracingParameters.Add("group", group);
@@ -169227,6 +169255,10 @@ namespace k8s
_url = _url.Replace("{version}", System.Uri.EscapeDataString(version));
_url = _url.Replace("{plural}", System.Uri.EscapeDataString(plural));
List<string> _queryParameters = new List<string>();
if (fieldSelector != null)
{
_queryParameters.Add(string.Format("fieldSelector={0}", System.Uri.EscapeDataString(fieldSelector)));
}
if (labelSelector != null)
{
_queryParameters.Add(string.Format("labelSelector={0}", System.Uri.EscapeDataString(labelSelector)));
@@ -169235,6 +169267,10 @@ namespace k8s
{
_queryParameters.Add(string.Format("resourceVersion={0}", System.Uri.EscapeDataString(resourceVersion)));
}
if (timeoutSeconds != null)
{
_queryParameters.Add(string.Format("timeoutSeconds={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(timeoutSeconds, SerializationSettings).Trim('"'))));
}
if (watch != null)
{
_queryParameters.Add(string.Format("watch={0}", System.Uri.EscapeDataString(SafeJsonConvert.SerializeObject(watch, SerializationSettings).Trim('"'))));

View File

@@ -72058,6 +72058,10 @@ namespace k8s
/// The custom resource's plural name. For TPRs this would be lowercase plural
/// kind.
/// </param>
/// <param name='fieldSelector'>
/// A selector to restrict the list of returned objects by their fields.
/// Defaults to everything.
/// </param>
/// <param name='labelSelector'>
/// A selector to restrict the list of returned objects by their labels.
/// Defaults to everything.
@@ -72070,6 +72074,10 @@ namespace k8s
/// 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.
/// </param>
/// <param name='timeoutSeconds'>
/// Timeout for the list/watch call. This limits the duration of the call,
/// regardless of any activity or inactivity.
/// </param>
/// <param name='watch'>
/// Watch for changes to the described resources and return them as a stream of
/// add, update, and remove notifications.
@@ -72077,9 +72085,9 @@ namespace k8s
/// <param name='pretty'>
/// If 'true', then the output is pretty printed.
/// </param>
public static object ListNamespacedCustomObject(this IKubernetes operations, string group, string version, string namespaceParameter, string plural, string labelSelector = default(string), string resourceVersion = default(string), bool? watch = default(bool?), string pretty = default(string))
public static object ListNamespacedCustomObject(this IKubernetes operations, string group, string version, string namespaceParameter, string plural, string fieldSelector = default(string), string labelSelector = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string))
{
return operations.ListNamespacedCustomObjectAsync(group, version, namespaceParameter, plural, labelSelector, resourceVersion, watch, pretty).GetAwaiter().GetResult();
return operations.ListNamespacedCustomObjectAsync(group, version, namespaceParameter, plural, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult();
}
/// <summary>
@@ -72101,6 +72109,10 @@ namespace k8s
/// The custom resource's plural name. For TPRs this would be lowercase plural
/// kind.
/// </param>
/// <param name='fieldSelector'>
/// A selector to restrict the list of returned objects by their fields.
/// Defaults to everything.
/// </param>
/// <param name='labelSelector'>
/// A selector to restrict the list of returned objects by their labels.
/// Defaults to everything.
@@ -72113,6 +72125,10 @@ namespace k8s
/// 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.
/// </param>
/// <param name='timeoutSeconds'>
/// Timeout for the list/watch call. This limits the duration of the call,
/// regardless of any activity or inactivity.
/// </param>
/// <param name='watch'>
/// Watch for changes to the described resources and return them as a stream of
/// add, update, and remove notifications.
@@ -72123,9 +72139,9 @@ namespace k8s
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
public static async Task<object> ListNamespacedCustomObjectAsync(this IKubernetes operations, string group, string version, string namespaceParameter, string plural, string labelSelector = default(string), string resourceVersion = default(string), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken))
public static async Task<object> ListNamespacedCustomObjectAsync(this IKubernetes operations, string group, string version, string namespaceParameter, string plural, string fieldSelector = default(string), string labelSelector = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken))
{
using (var _result = await operations.ListNamespacedCustomObjectWithHttpMessagesAsync(group, version, namespaceParameter, plural, labelSelector, resourceVersion, watch, pretty, null, cancellationToken).ConfigureAwait(false))
using (var _result = await operations.ListNamespacedCustomObjectWithHttpMessagesAsync(group, version, namespaceParameter, plural, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false))
{
return _result.Body;
}
@@ -72207,6 +72223,10 @@ namespace k8s
/// The custom resource's plural name. For TPRs this would be lowercase plural
/// kind.
/// </param>
/// <param name='fieldSelector'>
/// A selector to restrict the list of returned objects by their fields.
/// Defaults to everything.
/// </param>
/// <param name='labelSelector'>
/// A selector to restrict the list of returned objects by their labels.
/// Defaults to everything.
@@ -72219,6 +72239,10 @@ namespace k8s
/// 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.
/// </param>
/// <param name='timeoutSeconds'>
/// Timeout for the list/watch call. This limits the duration of the call,
/// regardless of any activity or inactivity.
/// </param>
/// <param name='watch'>
/// Watch for changes to the described resources and return them as a stream of
/// add, update, and remove notifications.
@@ -72226,9 +72250,9 @@ namespace k8s
/// <param name='pretty'>
/// If 'true', then the output is pretty printed.
/// </param>
public static object ListClusterCustomObject(this IKubernetes operations, string group, string version, string plural, string labelSelector = default(string), string resourceVersion = default(string), bool? watch = default(bool?), string pretty = default(string))
public static object ListClusterCustomObject(this IKubernetes operations, string group, string version, string plural, string fieldSelector = default(string), string labelSelector = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string))
{
return operations.ListClusterCustomObjectAsync(group, version, plural, labelSelector, resourceVersion, watch, pretty).GetAwaiter().GetResult();
return operations.ListClusterCustomObjectAsync(group, version, plural, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, pretty).GetAwaiter().GetResult();
}
/// <summary>
@@ -72247,6 +72271,10 @@ namespace k8s
/// The custom resource's plural name. For TPRs this would be lowercase plural
/// kind.
/// </param>
/// <param name='fieldSelector'>
/// A selector to restrict the list of returned objects by their fields.
/// Defaults to everything.
/// </param>
/// <param name='labelSelector'>
/// A selector to restrict the list of returned objects by their labels.
/// Defaults to everything.
@@ -72259,6 +72287,10 @@ namespace k8s
/// 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.
/// </param>
/// <param name='timeoutSeconds'>
/// Timeout for the list/watch call. This limits the duration of the call,
/// regardless of any activity or inactivity.
/// </param>
/// <param name='watch'>
/// Watch for changes to the described resources and return them as a stream of
/// add, update, and remove notifications.
@@ -72269,9 +72301,9 @@ namespace k8s
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
public static async Task<object> ListClusterCustomObjectAsync(this IKubernetes operations, string group, string version, string plural, string labelSelector = default(string), string resourceVersion = default(string), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken))
public static async Task<object> ListClusterCustomObjectAsync(this IKubernetes operations, string group, string version, string plural, string fieldSelector = default(string), string labelSelector = default(string), string resourceVersion = default(string), int? timeoutSeconds = default(int?), bool? watch = default(bool?), string pretty = default(string), CancellationToken cancellationToken = default(CancellationToken))
{
using (var _result = await operations.ListClusterCustomObjectWithHttpMessagesAsync(group, version, plural, labelSelector, resourceVersion, watch, pretty, null, cancellationToken).ConfigureAwait(false))
using (var _result = await operations.ListClusterCustomObjectWithHttpMessagesAsync(group, version, plural, fieldSelector, labelSelector, resourceVersion, timeoutSeconds, watch, pretty, null, cancellationToken).ConfigureAwait(false))
{
return _result.Body;
}

View File

@@ -217,6 +217,20 @@ namespace k8s.Models
public const string KubeGroup = "apps";
}
public partial class V1alpha1AuditSink : IKubernetesObject
{
public const string KubeApiVersion = "v1alpha1";
public const string KubeKind = "AuditSink";
public const string KubeGroup = "auditregistration.k8s.io";
}
public partial class V1alpha1AuditSinkList : IKubernetesObject
{
public const string KubeApiVersion = "v1alpha1";
public const string KubeKind = "AuditSinkList";
public const string KubeGroup = "auditregistration.k8s.io";
}
public partial class V1TokenReview : IKubernetesObject
{
public const string KubeApiVersion = "v1";
@@ -966,6 +980,20 @@ namespace k8s.Models
public const string KubeGroup = "storage.k8s.io";
}
public partial class V1VolumeAttachment : IKubernetesObject
{
public const string KubeApiVersion = "v1";
public const string KubeKind = "VolumeAttachment";
public const string KubeGroup = "storage.k8s.io";
}
public partial class V1VolumeAttachmentList : IKubernetesObject
{
public const string KubeApiVersion = "v1";
public const string KubeKind = "VolumeAttachmentList";
public const string KubeGroup = "storage.k8s.io";
}
public partial class V1alpha1VolumeAttachment : IKubernetesObject
{
public const string KubeApiVersion = "v1alpha1";

View File

@@ -52,7 +52,8 @@ namespace k8s.Models
/// DNS policy explicitly to 'ClusterFirstWithHostNet'.</param>
/// <param name="enableServiceLinks">EnableServiceLinks indicates
/// whether information about services should be injected into pod's
/// environment variables, matching the syntax of Docker links.</param>
/// environment variables, matching the syntax of Docker links.
/// Optional: Defaults to true.</param>
/// <param name="hostAliases">HostAliases is an optional list of hosts
/// and IPs that will be injected into the pod's hosts file if
/// specified. This is only valid for non-hostNetwork pods.</param>
@@ -256,7 +257,7 @@ namespace k8s.Models
/// <summary>
/// Gets or sets enableServiceLinks indicates whether information about
/// services should be injected into pod's environment variables,
/// matching the syntax of Docker links.
/// matching the syntax of Docker links. Optional: Defaults to true.
/// </summary>
[JsonProperty(PropertyName = "enableServiceLinks")]
public bool? EnableServiceLinks { get; set; }

File diff suppressed because it is too large Load Diff

View File

@@ -2,7 +2,7 @@
"swagger": "2.0",
"info": {
"title": "Kubernetes",
"version": "v1.13.0"
"version": "v1.13.4"
},
"paths": {
"/api/": {
@@ -86769,7 +86769,7 @@
"type": "string"
},
"enableServiceLinks": {
"description": "EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links.",
"description": "EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. Optional: Defaults to true.",
"type": "boolean"
},
"hostAliases": {