Skip to content

Commit 641f59a

Browse files
committed
generated API change
1 parent 7ea787c commit 641f59a

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

kubernetes/docs/CustomObjectsApi.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Method | HTTP request | Description
1818
[**get_namespaced_custom_object_scale**](CustomObjectsApi.md#get_namespaced_custom_object_scale) | **GET** /apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/scale |
1919
[**get_namespaced_custom_object_status**](CustomObjectsApi.md#get_namespaced_custom_object_status) | **GET** /apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/status |
2020
[**list_cluster_custom_object**](CustomObjectsApi.md#list_cluster_custom_object) | **GET** /apis/{group}/{version}/{plural} |
21-
[**list_custom_object_for_all_namespaces**](CustomObjectsApi.md#list_custom_object_for_all_namespaces) | **GET** /apis/{group}/{version}/{plural}#‎ |
21+
[**list_custom_object_for_all_namespaces**](CustomObjectsApi.md#list_custom_object_for_all_namespaces) | **GET** /apis/{group}/{version}/{resource_plural} |
2222
[**list_namespaced_custom_object**](CustomObjectsApi.md#list_namespaced_custom_object) | **GET** /apis/{group}/{version}/namespaces/{namespace}/{plural} |
2323
[**patch_cluster_custom_object**](CustomObjectsApi.md#patch_cluster_custom_object) | **PATCH** /apis/{group}/{version}/{plural}/{name} |
2424
[**patch_cluster_custom_object_scale**](CustomObjectsApi.md#patch_cluster_custom_object_scale) | **PATCH** /apis/{group}/{version}/{plural}/{name}/scale |
@@ -1117,7 +1117,7 @@ Name | Type | Description | Notes
11171117
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
11181118

11191119
# **list_custom_object_for_all_namespaces**
1120-
> object list_custom_object_for_all_namespaces(group, version, plural, pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, resource_version_match=resource_version_match, timeout_seconds=timeout_seconds, watch=watch)
1120+
> object list_custom_object_for_all_namespaces(group, version, resource_plural, pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, resource_version_match=resource_version_match, timeout_seconds=timeout_seconds, watch=watch)
11211121
11221122

11231123

@@ -1147,7 +1147,7 @@ with kubernetes.client.ApiClient(configuration) as api_client:
11471147
api_instance = kubernetes.client.CustomObjectsApi(api_client)
11481148
group = 'group_example' # str | The custom resource's group name
11491149
version = 'version_example' # str | The custom resource's version
1150-
plural = 'plural_example' # str | The custom resource's plural name. For TPRs this would be lowercase plural kind.
1150+
resource_plural = 'resource_plural_example' # str | The custom resource's plural name. For TPRs this would be lowercase plural kind.
11511151
pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional)
11521152
allow_watch_bookmarks = True # bool | 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. (optional)
11531153
_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.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 kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.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. (optional)
@@ -1160,7 +1160,7 @@ timeout_seconds = 56 # int | Timeout for the list/watch call. This limits the du
11601160
watch = True # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. (optional)
11611161

11621162
try:
1163-
api_response = api_instance.list_custom_object_for_all_namespaces(group, version, plural, pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, resource_version_match=resource_version_match, timeout_seconds=timeout_seconds, watch=watch)
1163+
api_response = api_instance.list_custom_object_for_all_namespaces(group, version, resource_plural, pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, resource_version_match=resource_version_match, timeout_seconds=timeout_seconds, watch=watch)
11641164
pprint(api_response)
11651165
except ApiException as e:
11661166
print("Exception when calling CustomObjectsApi->list_custom_object_for_all_namespaces: %s\n" % e)
@@ -1172,7 +1172,7 @@ Name | Type | Description | Notes
11721172
------------- | ------------- | ------------- | -------------
11731173
**group** | **str**| The custom resource's group name |
11741174
**version** | **str**| The custom resource's version |
1175-
**plural** | **str**| The custom resource's plural name. For TPRs this would be lowercase plural kind. |
1175+
**resource_plural** | **str**| The custom resource's plural name. For TPRs this would be lowercase plural kind. |
11761176
**pretty** | **str**| If 'true', then the output is pretty printed. | [optional]
11771177
**allow_watch_bookmarks** | **bool**| 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. | [optional]
11781178
**_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.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 kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.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. | [optional]

scripts/swagger.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -98896,7 +98896,7 @@
9889698896
}
9889798897
}
9889898898
},
98899-
"/apis/{group}/{version}/{plural}#\u200e": {
98899+
"/apis/{group}/{version}/{resource_plural}": {
9890098900
"parameters": [
9890198901
{
9890298902
"uniqueItems": true,
@@ -98920,7 +98920,7 @@
9892098920
"type": "string"
9892198921
},
9892298922
{
98923-
"name": "plural",
98923+
"name": "resource_plural",
9892498924
"in": "path",
9892598925
"required": true,
9892698926
"description": "The custom resource's plural name. For TPRs this would be lowercase plural kind.",

0 commit comments

Comments
 (0)