You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Boolean orphanDependents =true; // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
443
443
String propagationPolicy ="propagationPolicy_example"; // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
444
444
String dryRun ="dryRun_example"; // String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
445
+
String fieldSelector ="fieldSelector_example"; // String | A selector to restrict the list of returned objects by their fields. Defaults to everything.
445
446
V1DeleteOptions body =newV1DeleteOptions(); // V1DeleteOptions |
446
447
try {
447
448
Object result = apiInstance.deleteCollectionNamespacedCustomObject(group, version, namespace, plural)
@@ -451,6 +452,7 @@ public class Example {
451
452
.orphanDependents(orphanDependents)
452
453
.propagationPolicy(propagationPolicy)
453
454
.dryRun(dryRun)
455
+
.fieldSelector(fieldSelector)
454
456
.body(body)
455
457
.execute();
456
458
System.out.println(result);
@@ -479,6 +481,7 @@ public class Example {
479
481
|**orphanDependents**|**Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. |[optional]|
480
482
|**propagationPolicy**|**String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. |[optional]|
481
483
|**dryRun**|**String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed |[optional]|
484
+
|**fieldSelector**|**String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. |[optional]|
String group ="group_example"; // String | The custom resource's group name
1274
1277
String version ="version_example"; // String | The custom resource's version
1275
-
Stringplural="plural_example"; // String | The custom resource's plural name. For TPRs this would be lowercase plural kind.
1278
+
StringresourcePlural="resourcePlural_example"; // String | The custom resource's plural name. For TPRs this would be lowercase plural kind.
1276
1279
String pretty ="pretty_example"; // String | If 'true', then the output is pretty printed.
1277
1280
Boolean allowWatchBookmarks =true; // Boolean | 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.
1278
1281
String _continue = "_continue_example"; // String | 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.
@@ -1284,7 +1287,7 @@ public class Example {
1284
1287
Integer timeoutSeconds =56; // Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
1285
1288
Boolean watch =true; // Boolean | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications.
1286
1289
try {
1287
-
Object result = apiInstance.listCustomObjectForAllNamespaces(group, version, plural)
1290
+
Object result = apiInstance.listCustomObjectForAllNamespaces(group, version, resourcePlural)
|**group**|**String**| The custom resource's group name ||
1316
1319
|**version**|**String**| The custom resource's version ||
1317
-
|**plural**|**String**| The custom resource's plural name. For TPRs this would be lowercase plural kind. ||
1320
+
|**resourcePlural**|**String**| The custom resource's plural name. For TPRs this would be lowercase plural kind. ||
1318
1321
|**pretty**|**String**| If 'true', then the output is pretty printed. |[optional]|
1319
1322
|**allowWatchBookmarks**|**Boolean**| 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]|
1320
1323
| **_continue** | **String**| 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. | [optional] |
0 commit comments