diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 96036cbb..311fe904 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -7,7 +7,7 @@ FROM mcr.microsoft.com/vscode/devcontainers/base:0-${VARIANT} RUN apt-get update && \ apt-get install -qq -y git libssl-dev libcurl4-openssl-dev uncrustify cmake g++ -RUN git clone https://libwebsockets.org/repo/libwebsockets --depth 1 --branch v4.2-stable && \ +RUN git clone https://github.com/warmcat/libwebsockets --depth 1 --branch v4.2-stable && \ cd libwebsockets && \ mkdir build && \ cd build && \ diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 60689eb8..499c2e3b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,7 +18,7 @@ jobs: sudo apt-get install -y libssl-dev libcurl4-openssl-dev uncrustify valgrind - name: Prepare libwebsockets run: | - git clone https://libwebsockets.org/repo/libwebsockets --depth 1 --branch v4.2-stable + git clone https://github.com/warmcat/libwebsockets --depth 1 --branch v4.2-stable cd libwebsockets mkdir build cd build @@ -58,7 +58,7 @@ jobs: cd examples/ make - name: Create k8s kind cluster - uses: helm/kind-action@v1.4.0 + uses: helm/kind-action@v1.8.0 - name: Test examples run: | kubectl cluster-info --context kind-chart-testing diff --git a/README.md b/README.md index acafca4f..01f19a0e 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ CLIENT_REPO_ROOT=${PWD}/c sudo apt-get install libssl-dev libcurl4-openssl-dev uncrustify # Build pre-requisite: libwebsockets -git clone https://libwebsockets.org/repo/libwebsockets --depth 1 --branch v4.2-stable +git clone https://github.com/warmcat/libwebsockets --depth 1 --branch v4.2-stable cd libwebsockets mkdir build cd build @@ -86,16 +86,16 @@ list all pods: pod_list = CoreV1API_listNamespacedPod(apiClient, "default", /*namespace */ NULL, /* pretty */ - 0, /* allowWatchBookmarks */ + NULL, /* allowWatchBookmarks */ NULL, /* continue */ NULL, /* fieldSelector */ NULL, /* labelSelector */ - 0, /* limit */ + NULL, /* limit */ NULL, /* resourceVersion */ NULL, /* resourceVersionMatch */ - 0, /* sendInitialEvents */ - 0, /* timeoutSeconds */ - 0 /* watch */ + NULL, /* sendInitialEvents */ + NULL, /* timeoutSeconds */ + NULL /* watch */ ); printf("return code=%ld\n", apiClient->response_code); if (pod_list) { @@ -132,16 +132,16 @@ list all pods in cluster: pod_list = CoreV1API_listNamespacedPod(apiClient, "default", /*namespace */ NULL, /* pretty */ - 0, /* allowWatchBookmarks */ + NULL, /* allowWatchBookmarks */ NULL, /* continue */ NULL, /* fieldSelector */ NULL, /* labelSelector */ - 0, /* limit */ + NULL, /* limit */ NULL, /* resourceVersion */ NULL, /* resourceVersionMatch */ - 0, /* sendInitialEvents */ - 0, /* timeoutSeconds */ - 0 /* watch */ + NULL, /* sendInitialEvents */ + NULL, /* timeoutSeconds */ + NULL /* watch */ ); printf("return code=%ld\n", apiClient->response_code); if (pod_list) { @@ -157,6 +157,50 @@ list all pods in cluster: apiClient_unsetupGlobalEnv(); ``` +## How to send integer or boolean parameters to API Server + +If you want to send an integer or boolean parameter to the API server, you will see that the data type in API function is `int *`, e.g. + +```c +// list or watch objects of kind Pod +// +v1_pod_list_t* CoreV1API_listNamespacedPod(apiClient_t *apiClient, + char *_namespace, + char *pretty, + int *allowWatchBookmarks, /* <-- here */ + char *_continue, + char *fieldSelector, + char *labelSelector, + int *limit, /* <-- here */ + char *resourceVersion, + char *resourceVersionMatch, + int *sendInitialEvents, /* <-- here */ + int *timeoutSeconds, /* <-- here */ + int *watch); /* <-- here */ +``` + +For example we can send `timeoutSeconds` and `watch` using the following usage: + +```c +int timeoutSeconds = 30; +int watch = 1; +pod_list = CoreV1API_listNamespacedPod(apiClient, "default", /*namespace */ + NULL, /* pretty */ + NULL, /* allowWatchBookmarks */ + NULL, /* continue */ + NULL, /* fieldSelector */ + NULL, /* labelSelector */ + NULL, /* limit */ + NULL, /* resourceVersion */ + NULL, /* resourceVersionMatch */ + NULL, /* sendInitialEvents */ + &timeoutSeconds, /* timeoutSeconds */ + &watch /* watch */ +); +``` + +Setting the parameter to `NULL` means not to send the parameter to the API Server, and the API Server will use the default value for this parameter. + ## Aggregated APIs and CRD-based APIs If you want to implement a client for aggregated APIs (such as the metrics server API `apis/metrics.k8s.io` ) or CRD-based APIs, use the [generic client](./kubernetes/src/generic.c). See [example](./examples/generic/main.c). diff --git a/docs/versioning-and-compatibility.md b/docs/versioning-and-compatibility.md index 5125e6cf..bfcd0479 100644 --- a/docs/versioning-and-compatibility.md +++ b/docs/versioning-and-compatibility.md @@ -6,17 +6,18 @@ The C client uses Semantic Versioning. We increment the major version number whe ## Compatibility -| client version | 1.17 | 1.18 | 1.19 | 1.20 | 1.21 | 1.22 | 1.23 | 1.24 | 1.25 | 1.26 | 1.27 | 1.28 | -|------------------|-----------|----------|----------|----------|----------|----------|----------|----------|----------|----------|----------|----------| -| 0.1.0 | ✓ | - | - | x | x | x | x | x | x | x | x | x | -| 0.2.0 | + | + | + | + | + | ✓ | - | - | x | x | x | x | -| 0.3.0 | + | + | + | + | + | + | ✓ | - | - | x | x | x | -| 0.4.0 | + | + | + | + | + | + | + | ✓ | - | - | x | x | -| 0.5.0 | + | + | + | + | + | + | + | + | ✓ | - | - | x | -| 0.6.0 | + | + | + | + | + | + | + | + | + | ✓ | - | - | -| 0.7.0 | + | + | + | + | + | + | + | + | + | + | ✓ | - | -| 0.8.0 | + | + | + | + | + | + | + | + | + | + | + | ✓ | -| HEAD | + | + | + | + | + | + | + | + | + | + | + | ✓ | +| client version | 1.17 | 1.18 | 1.19 | 1.20 | 1.21 | 1.22 | 1.23 | 1.24 | 1.25 | 1.26 | 1.27 | 1.28 | 1.29 | +|------------------|-----------|----------|----------|----------|----------|----------|----------|----------|----------|----------|----------|----------|----------| +| 0.1.0 | ✓ | - | - | x | x | x | x | x | x | x | x | x | x | +| 0.2.0 | + | + | + | + | + | ✓ | - | - | x | x | x | x | x | +| 0.3.0 | + | + | + | + | + | + | ✓ | - | - | x | x | x | x | +| 0.4.0 | + | + | + | + | + | + | + | ✓ | - | - | x | x | x | +| 0.5.0 | + | + | + | + | + | + | + | + | ✓ | - | - | x | x | +| 0.6.0 | + | + | + | + | + | + | + | + | + | ✓ | - | - | x | +| 0.7.0 | + | + | + | + | + | + | + | + | + | + | ✓ | - | - | +| 0.8.0 | + | + | + | + | + | + | + | + | + | + | + | ✓ | - | +| 0.9.0 | + | + | + | + | + | + | + | + | + | + | + | + | ✓ | +| HEAD | + | + | + | + | + | + | + | + | + | + | + | + | ✓ | Key: diff --git a/examples/auth_provider/main.c b/examples/auth_provider/main.c index 2f7317a3..24f5de32 100644 --- a/examples/auth_provider/main.c +++ b/examples/auth_provider/main.c @@ -10,16 +10,16 @@ void list_pod(apiClient_t * apiClient) v1_pod_list_t *pod_list = NULL; pod_list = CoreV1API_listNamespacedPod(apiClient, "default", /*namespace */ NULL, /* pretty */ - 0, /* allowWatchBookmarks */ + NULL, /* allowWatchBookmarks */ NULL, /* continue */ NULL, /* fieldSelector */ NULL, /* labelSelector */ - 0, /* limit */ + NULL, /* limit */ NULL, /* resourceVersion */ NULL, /* resourceVersionMatch */ - 0, /* sendInitialEvents */ - 0, /* timeoutSeconds */ - 0 /* watch */ + NULL, /* sendInitialEvents */ + NULL, /* timeoutSeconds */ + NULL /* watch */ ); printf("The return code of HTTP request=%ld\n", apiClient->response_code); if (pod_list) { diff --git a/examples/configmap/main.c b/examples/configmap/main.c index 1300bcec..0c3f431d 100644 --- a/examples/configmap/main.c +++ b/examples/configmap/main.c @@ -7,7 +7,7 @@ #include void create_configmap(apiClient_t * apiClient, char *name, char *namespace_) -{ +{ char *api_version = strdup("v1"); char *kind = strdup("ConfigMap"); @@ -41,12 +41,12 @@ void create_configmap(apiClient_t * apiClient, char *name, char *namespace_) meta); v1_config_map_t *ret_config_map = CoreV1API_createNamespacedConfigMap(apiClient, - namespace_, - body, - NULL, - NULL, - NULL, - NULL); + namespace_, + body, + NULL, + NULL, + NULL, + NULL); printf("%s: The return code of HTTP request=%ld\n", __func__, apiClient->response_code); @@ -70,18 +70,18 @@ void create_configmap(apiClient_t * apiClient, char *name, char *namespace_) void list_configmap(apiClient_t * apiClient, char *namespace_) { v1_config_map_list_t *config_map_list = CoreV1API_listNamespacedConfigMap(apiClient, - namespace_, // char *namespace + namespace_, // char *namespace "true", // char *pretty - 0, // int allowWatchBookmarks - NULL, // char * _continue - NULL, // char * fieldSelector - NULL, // char * labelSelector - 0, // int limit - NULL, // char * resourceVersion - NULL, // char * resourceVersionMatch - 0, // sendInitialEvents - 0, // int timeoutSeconds - 0 //int watch + NULL, // int *allowWatchBookmarks + NULL, // char *_continue + NULL, // char *fieldSelector + NULL, // char *labelSelector + NULL, // int *limit + NULL, // char *resourceVersion + NULL, // char *resourceVersionMatch + NULL, // sendInitialEvents + NULL, // int *timeoutSeconds + NULL //int *watch ); printf("%s: The return code of HTTP request=%ld\n", __func__, apiClient->response_code); @@ -117,14 +117,14 @@ void list_configmap(apiClient_t * apiClient, char *namespace_) void delete_configmap(apiClient_t * apiClient, char *name, char *namespace_) { v1_status_t *status = CoreV1API_deleteNamespacedConfigMap(apiClient, - name, // char *name - namespace_, // char *namespace - NULL, // char *pretty - NULL, // char *dryRun - 0, // int gracePeriodSeconds - 0, // int orphanDependents - NULL, // char *propagationPolicy - NULL // v1_delete_options_t *body + name, // char *name + namespace_, // char *namespace + NULL, // char *pretty + NULL, // char *dryRun + NULL, // int *gracePeriodSeconds + NULL, // int *orphanDependents + NULL, // char *propagationPolicy + NULL // v1_delete_options_t *body ); printf("The return code of HTTP request=%ld\n", apiClient->response_code); diff --git a/examples/delete_pod/main.c b/examples/delete_pod/main.c index dad5f00f..026e8807 100644 --- a/examples/delete_pod/main.c +++ b/examples/delete_pod/main.c @@ -8,14 +8,14 @@ void delete_a_pod(apiClient_t * apiClient) { v1_pod_t *pod = CoreV1API_deleteNamespacedPod(apiClient, - "test-pod-6", // char *name - "default", // char *namespace - NULL, // char *pretty - NULL, // char *dryRun - 30, // int gracePeriodSeconds - 0, // int orphanDependents - NULL, // char *propagationPolicy - NULL // v1_delete_options_t *body + "test-pod-6", // char *name + "default", // char *namespace + NULL, // char *pretty + NULL, // char *dryRun + NULL, // int *gracePeriodSeconds + NULL, // int *orphanDependents + NULL, // char *propagationPolicy + NULL // v1_delete_options_t *body ); printf("The return code of HTTP request=%ld\n", apiClient->response_code); diff --git a/examples/exec_provider/list_pod_by_exec_provider.c b/examples/exec_provider/list_pod_by_exec_provider.c index a216a790..721b2a02 100644 --- a/examples/exec_provider/list_pod_by_exec_provider.c +++ b/examples/exec_provider/list_pod_by_exec_provider.c @@ -10,16 +10,16 @@ void list_pod(apiClient_t * apiClient) v1_pod_list_t *pod_list = NULL; pod_list = CoreV1API_listNamespacedPod(apiClient, "default", /*namespace */ NULL, /* pretty */ - 0, /* allowWatchBookmarks */ + NULL, /* allowWatchBookmarks */ NULL, /* continue */ NULL, /* fieldSelector */ NULL, /* labelSelector */ - 0, /* limit */ + NULL, /* limit */ NULL, /* resourceVersion */ NULL, /* resourceVersionMatch */ - 0, /* sendInitialEvents */ - 0, /* timeoutSeconds */ - 0 /* watch */ + NULL, /* sendInitialEvents */ + NULL, /* timeoutSeconds */ + NULL /* watch */ ); printf("The return code of HTTP request=%ld\n", apiClient->response_code); if (pod_list) { diff --git a/examples/list_event/main.c b/examples/list_event/main.c index 4c991269..bb63ab6f 100644 --- a/examples/list_event/main.c +++ b/examples/list_event/main.c @@ -10,16 +10,16 @@ void list_event(apiClient_t * apiClient) { core_v1_event_list_t *event_list = CoreV1API_listNamespacedEvent(apiClient, "default", /*namespace */ "true", /* pretty */ - 0, /* allowWatchBookmarks */ + NULL, /* allowWatchBookmarks */ NULL, /* continue */ NULL, /* fieldSelector */ NULL, /* labelSelector */ - 0, /* limit */ + NULL, /* limit */ NULL, /* resourceVersion */ NULL, /* resourceVersionMatch */ - 0, /* sendInitialEvents */ - 0, /* timeoutSeconds */ - 0 /* watch */ + NULL, /* sendInitialEvents */ + NULL, /* timeoutSeconds */ + NULL /* watch */ ); printf("The return code of HTTP request=%ld\n", apiClient->response_code); if (event_list) { diff --git a/examples/list_pod/main.c b/examples/list_pod/main.c index 95412e05..b872be89 100644 --- a/examples/list_pod/main.c +++ b/examples/list_pod/main.c @@ -7,16 +7,16 @@ void list_pod(apiClient_t * apiClient) v1_pod_list_t *pod_list = NULL; pod_list = CoreV1API_listNamespacedPod(apiClient, "default", /*namespace */ NULL, /* pretty */ - 0, /* allowWatchBookmarks */ + NULL, /* allowWatchBookmarks */ NULL, /* continue */ NULL, /* fieldSelector */ NULL, /* labelSelector */ - 0, /* limit */ + NULL, /* limit */ NULL, /* resourceVersion */ NULL, /* resourceVersionMatch */ - 0, /* sendInitialEvents */ - 0, /* timeoutSeconds */ - 0 /* watch */ + NULL, /* sendInitialEvents */ + NULL, /* timeoutSeconds */ + NULL /* watch */ ); printf("The return code of HTTP request=%ld\n", apiClient->response_code); if (pod_list) { diff --git a/examples/list_pod_incluster/main.c b/examples/list_pod_incluster/main.c index 68587611..e188daae 100644 --- a/examples/list_pod_incluster/main.c +++ b/examples/list_pod_incluster/main.c @@ -11,16 +11,16 @@ void list_pod(apiClient_t * apiClient) v1_pod_list_t *pod_list = NULL; pod_list = CoreV1API_listNamespacedPod(apiClient, "default", /*namespace */ NULL, /* pretty */ - 0, /* allowWatchBookmarks */ + NULL, /* allowWatchBookmarks */ NULL, /* continue */ NULL, /* fieldSelector */ NULL, /* labelSelector */ - 0, /* limit */ + NULL, /* limit */ NULL, /* resourceVersion */ NULL, /* resourceVersionMatch */ - 0, /* sendInitialEvents */ - 0, /* timeoutSeconds */ - 0 /* watch */ + NULL, /* sendInitialEvents */ + NULL, /* timeoutSeconds */ + NULL /* watch */ ); printf("The return code of HTTP request=%ld\n", apiClient->response_code); if (pod_list) { diff --git a/examples/list_pod_with_invalid_kubeconfig/main.c b/examples/list_pod_with_invalid_kubeconfig/main.c index 983a08d8..75fe4039 100644 --- a/examples/list_pod_with_invalid_kubeconfig/main.c +++ b/examples/list_pod_with_invalid_kubeconfig/main.c @@ -7,16 +7,16 @@ void list_pod(apiClient_t * apiClient) v1_pod_list_t *pod_list = NULL; pod_list = CoreV1API_listNamespacedPod(apiClient, "default", /*namespace */ NULL, /* pretty */ - 0, /* allowWatchBookmarks */ + NULL, /* allowWatchBookmarks */ NULL, /* continue */ NULL, /* fieldSelector */ NULL, /* labelSelector */ - 0, /* limit */ + NULL, /* limit */ NULL, /* resourceVersion */ NULL, /* resourceVersionMatch */ - 0, /* sendInitialEvents */ - 0, /* timeoutSeconds */ - 0 /* watch */ + NULL, /* sendInitialEvents */ + NULL, /* timeoutSeconds */ + NULL /* watch */ ); printf("The return code of HTTP request=%ld\n", apiClient->response_code); if (pod_list) { diff --git a/examples/list_secret/main.c b/examples/list_secret/main.c index c5c42fe1..e264c53d 100644 --- a/examples/list_secret/main.c +++ b/examples/list_secret/main.c @@ -10,16 +10,16 @@ void list_secret(apiClient_t * apiClient) v1_secret_list_t *secret_list = CoreV1API_listNamespacedSecret(apiClient, "default", // char *namespace "true", // char *pretty - 0, // int allowWatchBookmarks - NULL, // char * _continue - NULL, // char * fieldSelector - NULL, // char * labelSelector - 0, // int limit - NULL, // char * resourceVersion - NULL, // char * resourceVersionMatch - 0, // sendInitialEvents - 0, // int timeoutSeconds - 0 // int watch + NULL, // int *allowWatchBookmarks + NULL, // char *_continue + NULL, // char *fieldSelector + NULL, // char *labelSelector + NULL, // int *limit + NULL, // char *resourceVersion + NULL, // char *resourceVersionMatch + NULL, // int *sendInitialEvents + NULL, // int *timeoutSeconds + NULL // int *watch ); printf("The return code of HTTP request=%ld\n", apiClient->response_code); diff --git a/examples/multi_thread/watch_pod.c b/examples/multi_thread/watch_pod.c index 6cb4d497..74b7d46c 100644 --- a/examples/multi_thread/watch_pod.c +++ b/examples/multi_thread/watch_pod.c @@ -92,20 +92,20 @@ void *watch_pod_thread_func(void *arg) apiClient->data_callback_func = my_pod_watch_handler; apiClient->progress_func = my_watch_progress_func; + int timeoutSeconds = 0; /* Setting the value to 0 means the watch never stops. */ + int watch = 1; CoreV1API_listNamespacedPod(apiClient, "default", /*namespace */ NULL, /* pretty */ - 0, /* allowWatchBookmarks */ + NULL, /* allowWatchBookmarks */ NULL, /* continue */ NULL, /* fieldSelector */ NULL, /* labelSelector */ - 0, /* limit */ + NULL, /* limit */ NULL, /* resourceVersion */ - NULL, /* resourceVersionMatch */ - 0, /* sendInitialEvents */ - 0, /* timeoutSeconds - Setting the value to 0 means the watch never stops. - */ - 1 /* watch */ + NULL, /* resourceVersionMatch */ + NULL, /* sendInitialEvents */ + &timeoutSeconds, /* timeoutSeconds */ + &watch /* watch */ ); apiClient_free(apiClient); diff --git a/examples/watch_list_pod/main.c b/examples/watch_list_pod/main.c index 1e7b832c..ce0bc068 100644 --- a/examples/watch_list_pod/main.c +++ b/examples/watch_list_pod/main.c @@ -72,18 +72,21 @@ void watch_list_pod(apiClient_t * apiClient) { apiClient->data_callback_func = my_pod_watch_handler; + int watch = 1; + int timeoutSeconds = 30; /* Watch for 30 seconds */ + // int timeoutSeconds = 0; /* Set timeoutSeconds to 0 to keep watching and not exit */ CoreV1API_listNamespacedPod(apiClient, "default", /*namespace */ NULL, /* pretty */ - 0, /* allowWatchBookmarks */ + NULL, /* allowWatchBookmarks */ NULL, /* continue */ NULL, /* fieldSelector */ NULL, /* labelSelector */ - 0, /* limit */ + NULL, /* limit */ NULL, /* resourceVersion */ NULL, /* resourceVersionMatch */ - 0, /* sendInitialEvents */ - 0, /* timeoutSeconds */ - 1 /* watch */ + NULL, /* sendInitialEvents */ + &timeoutSeconds, /* timeoutSeconds */ + &watch /* watch */ ); } diff --git a/kubernetes/.openapi-generator/COMMIT b/kubernetes/.openapi-generator/COMMIT index 132c307d..b8fe013b 100644 --- a/kubernetes/.openapi-generator/COMMIT +++ b/kubernetes/.openapi-generator/COMMIT @@ -1,3 +1,2 @@ -Requested Commit/Tag : v7.0.0 -Actual Commit : c37fa8a4e8399ebd76d7f190136fd4b851c9aa7e -Actual Tag : v7.0.0 +Requested Commit/Tag : master +Actual Commit : 90bd1f361b11ddff72cc541d99efafed5307c8c5 diff --git a/kubernetes/.openapi-generator/FILES b/kubernetes/.openapi-generator/FILES index ceda9457..245c44af 100644 --- a/kubernetes/.openapi-generator/FILES +++ b/kubernetes/.openapi-generator/FILES @@ -71,8 +71,8 @@ api/EventsV1API.c api/EventsV1API.h api/FlowcontrolApiserverAPI.c api/FlowcontrolApiserverAPI.h -api/FlowcontrolApiserverV1beta2API.c -api/FlowcontrolApiserverV1beta2API.h +api/FlowcontrolApiserverV1API.c +api/FlowcontrolApiserverV1API.h api/FlowcontrolApiserverV1beta3API.c api/FlowcontrolApiserverV1beta3API.h api/InternalApiserverAPI.c @@ -113,6 +113,8 @@ api/StorageAPI.c api/StorageAPI.h api/StorageV1API.c api/StorageV1API.h +api/StorageV1alpha1API.c +api/StorageV1alpha1API.h api/VersionAPI.c api/VersionAPI.h api/WellKnownAPI.c @@ -152,7 +154,7 @@ docs/DiscoveryV1API.md docs/EventsAPI.md docs/EventsV1API.md docs/FlowcontrolApiserverAPI.md -docs/FlowcontrolApiserverV1beta2API.md +docs/FlowcontrolApiserverV1API.md docs/FlowcontrolApiserverV1beta3API.md docs/InternalApiserverAPI.md docs/InternalApiserverV1alpha1API.md @@ -173,6 +175,7 @@ docs/SchedulingAPI.md docs/SchedulingV1API.md docs/StorageAPI.md docs/StorageV1API.md +docs/StorageV1alpha1API.md docs/VersionAPI.md docs/WellKnownAPI.md docs/admissionregistration_v1_service_reference.md @@ -189,6 +192,8 @@ docs/discovery_v1_endpoint_port.md docs/events_v1_event.md docs/events_v1_event_list.md docs/events_v1_event_series.md +docs/flowcontrol_v1_subject.md +docs/rbac_v1_subject.md docs/storage_v1_token_request.md docs/v1_affinity.md docs/v1_aggregation_rule.md @@ -225,6 +230,7 @@ docs/v1_cluster_role.md docs/v1_cluster_role_binding.md docs/v1_cluster_role_binding_list.md docs/v1_cluster_role_list.md +docs/v1_cluster_trust_bundle_projection.md docs/v1_component_condition.md docs/v1_component_status.md docs/v1_component_status_list.md @@ -310,16 +316,24 @@ docs/v1_ephemeral_volume_source.md docs/v1_event_source.md docs/v1_eviction.md docs/v1_exec_action.md +docs/v1_exempt_priority_level_configuration.md docs/v1_external_documentation.md docs/v1_fc_volume_source.md docs/v1_flex_persistent_volume_source.md docs/v1_flex_volume_source.md docs/v1_flocker_volume_source.md +docs/v1_flow_distinguisher_method.md +docs/v1_flow_schema.md +docs/v1_flow_schema_condition.md +docs/v1_flow_schema_list.md +docs/v1_flow_schema_spec.md +docs/v1_flow_schema_status.md docs/v1_for_zone.md docs/v1_gce_persistent_disk_volume_source.md docs/v1_git_repo_volume_source.md docs/v1_glusterfs_persistent_volume_source.md docs/v1_glusterfs_volume_source.md +docs/v1_group_subject.md docs/v1_group_version_for_discovery.md docs/v1_grpc_action.md docs/v1_horizontal_pod_autoscaler.md @@ -370,6 +384,8 @@ docs/v1_limit_range.md docs/v1_limit_range_item.md docs/v1_limit_range_list.md docs/v1_limit_range_spec.md +docs/v1_limit_response.md +docs/v1_limited_priority_level_configuration.md docs/v1_list_meta.md docs/v1_load_balancer_ingress.md docs/v1_load_balancer_status.md @@ -378,6 +394,7 @@ docs/v1_local_subject_access_review.md docs/v1_local_volume_source.md docs/v1_managed_fields_entry.md docs/v1_match_condition.md +docs/v1_modify_volume_status.md docs/v1_mutating_webhook.md docs/v1_mutating_webhook_configuration.md docs/v1_mutating_webhook_configuration_list.md @@ -409,6 +426,7 @@ docs/v1_node_spec.md docs/v1_node_status.md docs/v1_node_system_info.md docs/v1_non_resource_attributes.md +docs/v1_non_resource_policy_rule.md docs/v1_non_resource_rule.md docs/v1_object_field_selector.md docs/v1_object_meta.md @@ -456,14 +474,22 @@ docs/v1_pod_template.md docs/v1_pod_template_list.md docs/v1_pod_template_spec.md docs/v1_policy_rule.md +docs/v1_policy_rules_with_subjects.md docs/v1_port_status.md docs/v1_portworx_volume_source.md docs/v1_preconditions.md docs/v1_preferred_scheduling_term.md docs/v1_priority_class.md docs/v1_priority_class_list.md +docs/v1_priority_level_configuration.md +docs/v1_priority_level_configuration_condition.md +docs/v1_priority_level_configuration_list.md +docs/v1_priority_level_configuration_reference.md +docs/v1_priority_level_configuration_spec.md +docs/v1_priority_level_configuration_status.md docs/v1_probe.md docs/v1_projected_volume_source.md +docs/v1_queuing_configuration.md docs/v1_quobyte_volume_source.md docs/v1_rbd_persistent_volume_source.md docs/v1_rbd_volume_source.md @@ -480,6 +506,7 @@ docs/v1_replication_controller_status.md docs/v1_resource_attributes.md docs/v1_resource_claim.md docs/v1_resource_field_selector.md +docs/v1_resource_policy_rule.md docs/v1_resource_quota.md docs/v1_resource_quota_list.md docs/v1_resource_quota_spec.md @@ -525,6 +552,7 @@ docs/v1_server_address_by_client_cidr.md docs/v1_service.md docs/v1_service_account.md docs/v1_service_account_list.md +docs/v1_service_account_subject.md docs/v1_service_account_token_projection.md docs/v1_service_backend_port.md docs/v1_service_list.md @@ -532,6 +560,7 @@ docs/v1_service_port.md docs/v1_service_spec.md docs/v1_service_status.md docs/v1_session_affinity_config.md +docs/v1_sleep_action.md docs/v1_stateful_set.md docs/v1_stateful_set_condition.md docs/v1_stateful_set_list.md @@ -547,7 +576,6 @@ docs/v1_storage_class.md docs/v1_storage_class_list.md docs/v1_storage_os_persistent_volume_source.md docs/v1_storage_os_volume_source.md -docs/v1_subject.md docs/v1_subject_access_review.md docs/v1_subject_access_review_spec.md docs/v1_subject_access_review_status.md @@ -568,6 +596,7 @@ docs/v1_typed_local_object_reference.md docs/v1_typed_object_reference.md docs/v1_uncounted_terminated_pods.md docs/v1_user_info.md +docs/v1_user_subject.md docs/v1_validating_webhook.md docs/v1_validating_webhook_configuration.md docs/v1_validating_webhook_configuration_list.md @@ -584,15 +613,13 @@ docs/v1_volume_mount.md docs/v1_volume_node_affinity.md docs/v1_volume_node_resources.md docs/v1_volume_projection.md +docs/v1_volume_resource_requirements.md docs/v1_vsphere_virtual_disk_volume_source.md docs/v1_watch_event.md docs/v1_webhook_conversion.md docs/v1_weighted_pod_affinity_term.md docs/v1_windows_security_context_options.md docs/v1alpha1_audit_annotation.md -docs/v1alpha1_cluster_cidr.md -docs/v1alpha1_cluster_cidr_list.md -docs/v1alpha1_cluster_cidr_spec.md docs/v1alpha1_cluster_trust_bundle.md docs/v1alpha1_cluster_trust_bundle_list.md docs/v1alpha1_cluster_trust_bundle_spec.md @@ -609,6 +636,10 @@ docs/v1alpha1_parent_reference.md docs/v1alpha1_self_subject_review.md docs/v1alpha1_self_subject_review_status.md docs/v1alpha1_server_storage_version.md +docs/v1alpha1_service_cidr.md +docs/v1alpha1_service_cidr_list.md +docs/v1alpha1_service_cidr_spec.md +docs/v1alpha1_service_cidr_status.md docs/v1alpha1_storage_version.md docs/v1alpha1_storage_version_condition.md docs/v1alpha1_storage_version_list.md @@ -623,6 +654,8 @@ docs/v1alpha1_validating_admission_policy_spec.md docs/v1alpha1_validating_admission_policy_status.md docs/v1alpha1_validation.md docs/v1alpha1_variable.md +docs/v1alpha1_volume_attributes_class.md +docs/v1alpha1_volume_attributes_class_list.md docs/v1alpha2_allocation_result.md docs/v1alpha2_pod_scheduling_context.md docs/v1alpha2_pod_scheduling_context_list.md @@ -661,29 +694,6 @@ docs/v1beta1_validating_admission_policy_spec.md docs/v1beta1_validating_admission_policy_status.md docs/v1beta1_validation.md docs/v1beta1_variable.md -docs/v1beta2_exempt_priority_level_configuration.md -docs/v1beta2_flow_distinguisher_method.md -docs/v1beta2_flow_schema.md -docs/v1beta2_flow_schema_condition.md -docs/v1beta2_flow_schema_list.md -docs/v1beta2_flow_schema_spec.md -docs/v1beta2_flow_schema_status.md -docs/v1beta2_group_subject.md -docs/v1beta2_limit_response.md -docs/v1beta2_limited_priority_level_configuration.md -docs/v1beta2_non_resource_policy_rule.md -docs/v1beta2_policy_rules_with_subjects.md -docs/v1beta2_priority_level_configuration.md -docs/v1beta2_priority_level_configuration_condition.md -docs/v1beta2_priority_level_configuration_list.md -docs/v1beta2_priority_level_configuration_reference.md -docs/v1beta2_priority_level_configuration_spec.md -docs/v1beta2_priority_level_configuration_status.md -docs/v1beta2_queuing_configuration.md -docs/v1beta2_resource_policy_rule.md -docs/v1beta2_service_account_subject.md -docs/v1beta2_subject.md -docs/v1beta2_user_subject.md docs/v1beta3_exempt_priority_level_configuration.md docs/v1beta3_flow_distinguisher_method.md docs/v1beta3_flow_schema.md @@ -768,8 +778,12 @@ model/events_v1_event_list.c model/events_v1_event_list.h model/events_v1_event_series.c model/events_v1_event_series.h +model/flowcontrol_v1_subject.c +model/flowcontrol_v1_subject.h model/object.c model/object.h +model/rbac_v1_subject.c +model/rbac_v1_subject.h model/storage_v1_token_request.c model/storage_v1_token_request.h model/v1_affinity.c @@ -842,6 +856,8 @@ model/v1_cluster_role_binding_list.c model/v1_cluster_role_binding_list.h model/v1_cluster_role_list.c model/v1_cluster_role_list.h +model/v1_cluster_trust_bundle_projection.c +model/v1_cluster_trust_bundle_projection.h model/v1_component_condition.c model/v1_component_condition.h model/v1_component_status.c @@ -1012,6 +1028,8 @@ model/v1_eviction.c model/v1_eviction.h model/v1_exec_action.c model/v1_exec_action.h +model/v1_exempt_priority_level_configuration.c +model/v1_exempt_priority_level_configuration.h model/v1_external_documentation.c model/v1_external_documentation.h model/v1_fc_volume_source.c @@ -1022,6 +1040,18 @@ model/v1_flex_volume_source.c model/v1_flex_volume_source.h model/v1_flocker_volume_source.c model/v1_flocker_volume_source.h +model/v1_flow_distinguisher_method.c +model/v1_flow_distinguisher_method.h +model/v1_flow_schema.c +model/v1_flow_schema.h +model/v1_flow_schema_condition.c +model/v1_flow_schema_condition.h +model/v1_flow_schema_list.c +model/v1_flow_schema_list.h +model/v1_flow_schema_spec.c +model/v1_flow_schema_spec.h +model/v1_flow_schema_status.c +model/v1_flow_schema_status.h model/v1_for_zone.c model/v1_for_zone.h model/v1_gce_persistent_disk_volume_source.c @@ -1032,6 +1062,8 @@ model/v1_glusterfs_persistent_volume_source.c model/v1_glusterfs_persistent_volume_source.h model/v1_glusterfs_volume_source.c model/v1_glusterfs_volume_source.h +model/v1_group_subject.c +model/v1_group_subject.h model/v1_group_version_for_discovery.c model/v1_group_version_for_discovery.h model/v1_grpc_action.c @@ -1132,6 +1164,10 @@ model/v1_limit_range_list.c model/v1_limit_range_list.h model/v1_limit_range_spec.c model/v1_limit_range_spec.h +model/v1_limit_response.c +model/v1_limit_response.h +model/v1_limited_priority_level_configuration.c +model/v1_limited_priority_level_configuration.h model/v1_list_meta.c model/v1_list_meta.h model/v1_load_balancer_ingress.c @@ -1148,6 +1184,8 @@ model/v1_managed_fields_entry.c model/v1_managed_fields_entry.h model/v1_match_condition.c model/v1_match_condition.h +model/v1_modify_volume_status.c +model/v1_modify_volume_status.h model/v1_mutating_webhook.c model/v1_mutating_webhook.h model/v1_mutating_webhook_configuration.c @@ -1210,6 +1248,8 @@ model/v1_node_system_info.c model/v1_node_system_info.h model/v1_non_resource_attributes.c model/v1_non_resource_attributes.h +model/v1_non_resource_policy_rule.c +model/v1_non_resource_policy_rule.h model/v1_non_resource_rule.c model/v1_non_resource_rule.h model/v1_object_field_selector.c @@ -1304,6 +1344,8 @@ model/v1_pod_template_spec.c model/v1_pod_template_spec.h model/v1_policy_rule.c model/v1_policy_rule.h +model/v1_policy_rules_with_subjects.c +model/v1_policy_rules_with_subjects.h model/v1_port_status.c model/v1_port_status.h model/v1_portworx_volume_source.c @@ -1316,10 +1358,24 @@ model/v1_priority_class.c model/v1_priority_class.h model/v1_priority_class_list.c model/v1_priority_class_list.h +model/v1_priority_level_configuration.c +model/v1_priority_level_configuration.h +model/v1_priority_level_configuration_condition.c +model/v1_priority_level_configuration_condition.h +model/v1_priority_level_configuration_list.c +model/v1_priority_level_configuration_list.h +model/v1_priority_level_configuration_reference.c +model/v1_priority_level_configuration_reference.h +model/v1_priority_level_configuration_spec.c +model/v1_priority_level_configuration_spec.h +model/v1_priority_level_configuration_status.c +model/v1_priority_level_configuration_status.h model/v1_probe.c model/v1_probe.h model/v1_projected_volume_source.c model/v1_projected_volume_source.h +model/v1_queuing_configuration.c +model/v1_queuing_configuration.h model/v1_quobyte_volume_source.c model/v1_quobyte_volume_source.h model/v1_rbd_persistent_volume_source.c @@ -1352,6 +1408,8 @@ model/v1_resource_claim.c model/v1_resource_claim.h model/v1_resource_field_selector.c model/v1_resource_field_selector.h +model/v1_resource_policy_rule.c +model/v1_resource_policy_rule.h model/v1_resource_quota.c model/v1_resource_quota.h model/v1_resource_quota_list.c @@ -1442,6 +1500,8 @@ model/v1_service_account.c model/v1_service_account.h model/v1_service_account_list.c model/v1_service_account_list.h +model/v1_service_account_subject.c +model/v1_service_account_subject.h model/v1_service_account_token_projection.c model/v1_service_account_token_projection.h model/v1_service_backend_port.c @@ -1456,6 +1516,8 @@ model/v1_service_status.c model/v1_service_status.h model/v1_session_affinity_config.c model/v1_session_affinity_config.h +model/v1_sleep_action.c +model/v1_sleep_action.h model/v1_stateful_set.c model/v1_stateful_set.h model/v1_stateful_set_condition.c @@ -1486,8 +1548,6 @@ model/v1_storage_os_persistent_volume_source.c model/v1_storage_os_persistent_volume_source.h model/v1_storage_os_volume_source.c model/v1_storage_os_volume_source.h -model/v1_subject.c -model/v1_subject.h model/v1_subject_access_review.c model/v1_subject_access_review.h model/v1_subject_access_review_spec.c @@ -1528,6 +1588,8 @@ model/v1_uncounted_terminated_pods.c model/v1_uncounted_terminated_pods.h model/v1_user_info.c model/v1_user_info.h +model/v1_user_subject.c +model/v1_user_subject.h model/v1_validating_webhook.c model/v1_validating_webhook.h model/v1_validating_webhook_configuration.c @@ -1560,6 +1622,8 @@ model/v1_volume_node_resources.c model/v1_volume_node_resources.h model/v1_volume_projection.c model/v1_volume_projection.h +model/v1_volume_resource_requirements.c +model/v1_volume_resource_requirements.h model/v1_vsphere_virtual_disk_volume_source.c model/v1_vsphere_virtual_disk_volume_source.h model/v1_watch_event.c @@ -1572,12 +1636,6 @@ model/v1_windows_security_context_options.c model/v1_windows_security_context_options.h model/v1alpha1_audit_annotation.c model/v1alpha1_audit_annotation.h -model/v1alpha1_cluster_cidr.c -model/v1alpha1_cluster_cidr.h -model/v1alpha1_cluster_cidr_list.c -model/v1alpha1_cluster_cidr_list.h -model/v1alpha1_cluster_cidr_spec.c -model/v1alpha1_cluster_cidr_spec.h model/v1alpha1_cluster_trust_bundle.c model/v1alpha1_cluster_trust_bundle.h model/v1alpha1_cluster_trust_bundle_list.c @@ -1610,6 +1668,14 @@ model/v1alpha1_self_subject_review_status.c model/v1alpha1_self_subject_review_status.h model/v1alpha1_server_storage_version.c model/v1alpha1_server_storage_version.h +model/v1alpha1_service_cidr.c +model/v1alpha1_service_cidr.h +model/v1alpha1_service_cidr_list.c +model/v1alpha1_service_cidr_list.h +model/v1alpha1_service_cidr_spec.c +model/v1alpha1_service_cidr_spec.h +model/v1alpha1_service_cidr_status.c +model/v1alpha1_service_cidr_status.h model/v1alpha1_storage_version.c model/v1alpha1_storage_version.h model/v1alpha1_storage_version_condition.c @@ -1638,6 +1704,10 @@ model/v1alpha1_validation.c model/v1alpha1_validation.h model/v1alpha1_variable.c model/v1alpha1_variable.h +model/v1alpha1_volume_attributes_class.c +model/v1alpha1_volume_attributes_class.h +model/v1alpha1_volume_attributes_class_list.c +model/v1alpha1_volume_attributes_class_list.h model/v1alpha2_allocation_result.c model/v1alpha2_allocation_result.h model/v1alpha2_pod_scheduling_context.c @@ -1714,52 +1784,6 @@ model/v1beta1_validation.c model/v1beta1_validation.h model/v1beta1_variable.c model/v1beta1_variable.h -model/v1beta2_exempt_priority_level_configuration.c -model/v1beta2_exempt_priority_level_configuration.h -model/v1beta2_flow_distinguisher_method.c -model/v1beta2_flow_distinguisher_method.h -model/v1beta2_flow_schema.c -model/v1beta2_flow_schema.h -model/v1beta2_flow_schema_condition.c -model/v1beta2_flow_schema_condition.h -model/v1beta2_flow_schema_list.c -model/v1beta2_flow_schema_list.h -model/v1beta2_flow_schema_spec.c -model/v1beta2_flow_schema_spec.h -model/v1beta2_flow_schema_status.c -model/v1beta2_flow_schema_status.h -model/v1beta2_group_subject.c -model/v1beta2_group_subject.h -model/v1beta2_limit_response.c -model/v1beta2_limit_response.h -model/v1beta2_limited_priority_level_configuration.c -model/v1beta2_limited_priority_level_configuration.h -model/v1beta2_non_resource_policy_rule.c -model/v1beta2_non_resource_policy_rule.h -model/v1beta2_policy_rules_with_subjects.c -model/v1beta2_policy_rules_with_subjects.h -model/v1beta2_priority_level_configuration.c -model/v1beta2_priority_level_configuration.h -model/v1beta2_priority_level_configuration_condition.c -model/v1beta2_priority_level_configuration_condition.h -model/v1beta2_priority_level_configuration_list.c -model/v1beta2_priority_level_configuration_list.h -model/v1beta2_priority_level_configuration_reference.c -model/v1beta2_priority_level_configuration_reference.h -model/v1beta2_priority_level_configuration_spec.c -model/v1beta2_priority_level_configuration_spec.h -model/v1beta2_priority_level_configuration_status.c -model/v1beta2_priority_level_configuration_status.h -model/v1beta2_queuing_configuration.c -model/v1beta2_queuing_configuration.h -model/v1beta2_resource_policy_rule.c -model/v1beta2_resource_policy_rule.h -model/v1beta2_service_account_subject.c -model/v1beta2_service_account_subject.h -model/v1beta2_subject.c -model/v1beta2_subject.h -model/v1beta2_user_subject.c -model/v1beta2_user_subject.h model/v1beta3_exempt_priority_level_configuration.c model/v1beta3_exempt_priority_level_configuration.h model/v1beta3_flow_distinguisher_method.c @@ -1875,6 +1899,8 @@ unit-test/test_discovery_v1_endpoint_port.c unit-test/test_events_v1_event.c unit-test/test_events_v1_event_list.c unit-test/test_events_v1_event_series.c +unit-test/test_flowcontrol_v1_subject.c +unit-test/test_rbac_v1_subject.c unit-test/test_storage_v1_token_request.c unit-test/test_v1_affinity.c unit-test/test_v1_aggregation_rule.c @@ -1911,6 +1937,7 @@ unit-test/test_v1_cluster_role.c unit-test/test_v1_cluster_role_binding.c unit-test/test_v1_cluster_role_binding_list.c unit-test/test_v1_cluster_role_list.c +unit-test/test_v1_cluster_trust_bundle_projection.c unit-test/test_v1_component_condition.c unit-test/test_v1_component_status.c unit-test/test_v1_component_status_list.c @@ -1996,16 +2023,24 @@ unit-test/test_v1_ephemeral_volume_source.c unit-test/test_v1_event_source.c unit-test/test_v1_eviction.c unit-test/test_v1_exec_action.c +unit-test/test_v1_exempt_priority_level_configuration.c unit-test/test_v1_external_documentation.c unit-test/test_v1_fc_volume_source.c unit-test/test_v1_flex_persistent_volume_source.c unit-test/test_v1_flex_volume_source.c unit-test/test_v1_flocker_volume_source.c +unit-test/test_v1_flow_distinguisher_method.c +unit-test/test_v1_flow_schema.c +unit-test/test_v1_flow_schema_condition.c +unit-test/test_v1_flow_schema_list.c +unit-test/test_v1_flow_schema_spec.c +unit-test/test_v1_flow_schema_status.c unit-test/test_v1_for_zone.c unit-test/test_v1_gce_persistent_disk_volume_source.c unit-test/test_v1_git_repo_volume_source.c unit-test/test_v1_glusterfs_persistent_volume_source.c unit-test/test_v1_glusterfs_volume_source.c +unit-test/test_v1_group_subject.c unit-test/test_v1_group_version_for_discovery.c unit-test/test_v1_grpc_action.c unit-test/test_v1_horizontal_pod_autoscaler.c @@ -2056,6 +2091,8 @@ unit-test/test_v1_limit_range.c unit-test/test_v1_limit_range_item.c unit-test/test_v1_limit_range_list.c unit-test/test_v1_limit_range_spec.c +unit-test/test_v1_limit_response.c +unit-test/test_v1_limited_priority_level_configuration.c unit-test/test_v1_list_meta.c unit-test/test_v1_load_balancer_ingress.c unit-test/test_v1_load_balancer_status.c @@ -2064,6 +2101,7 @@ unit-test/test_v1_local_subject_access_review.c unit-test/test_v1_local_volume_source.c unit-test/test_v1_managed_fields_entry.c unit-test/test_v1_match_condition.c +unit-test/test_v1_modify_volume_status.c unit-test/test_v1_mutating_webhook.c unit-test/test_v1_mutating_webhook_configuration.c unit-test/test_v1_mutating_webhook_configuration_list.c @@ -2095,6 +2133,7 @@ unit-test/test_v1_node_spec.c unit-test/test_v1_node_status.c unit-test/test_v1_node_system_info.c unit-test/test_v1_non_resource_attributes.c +unit-test/test_v1_non_resource_policy_rule.c unit-test/test_v1_non_resource_rule.c unit-test/test_v1_object_field_selector.c unit-test/test_v1_object_meta.c @@ -2142,14 +2181,22 @@ unit-test/test_v1_pod_template.c unit-test/test_v1_pod_template_list.c unit-test/test_v1_pod_template_spec.c unit-test/test_v1_policy_rule.c +unit-test/test_v1_policy_rules_with_subjects.c unit-test/test_v1_port_status.c unit-test/test_v1_portworx_volume_source.c unit-test/test_v1_preconditions.c unit-test/test_v1_preferred_scheduling_term.c unit-test/test_v1_priority_class.c unit-test/test_v1_priority_class_list.c +unit-test/test_v1_priority_level_configuration.c +unit-test/test_v1_priority_level_configuration_condition.c +unit-test/test_v1_priority_level_configuration_list.c +unit-test/test_v1_priority_level_configuration_reference.c +unit-test/test_v1_priority_level_configuration_spec.c +unit-test/test_v1_priority_level_configuration_status.c unit-test/test_v1_probe.c unit-test/test_v1_projected_volume_source.c +unit-test/test_v1_queuing_configuration.c unit-test/test_v1_quobyte_volume_source.c unit-test/test_v1_rbd_persistent_volume_source.c unit-test/test_v1_rbd_volume_source.c @@ -2166,6 +2213,7 @@ unit-test/test_v1_replication_controller_status.c unit-test/test_v1_resource_attributes.c unit-test/test_v1_resource_claim.c unit-test/test_v1_resource_field_selector.c +unit-test/test_v1_resource_policy_rule.c unit-test/test_v1_resource_quota.c unit-test/test_v1_resource_quota_list.c unit-test/test_v1_resource_quota_spec.c @@ -2211,6 +2259,7 @@ unit-test/test_v1_server_address_by_client_cidr.c unit-test/test_v1_service.c unit-test/test_v1_service_account.c unit-test/test_v1_service_account_list.c +unit-test/test_v1_service_account_subject.c unit-test/test_v1_service_account_token_projection.c unit-test/test_v1_service_backend_port.c unit-test/test_v1_service_list.c @@ -2218,6 +2267,7 @@ unit-test/test_v1_service_port.c unit-test/test_v1_service_spec.c unit-test/test_v1_service_status.c unit-test/test_v1_session_affinity_config.c +unit-test/test_v1_sleep_action.c unit-test/test_v1_stateful_set.c unit-test/test_v1_stateful_set_condition.c unit-test/test_v1_stateful_set_list.c @@ -2233,7 +2283,6 @@ unit-test/test_v1_storage_class.c unit-test/test_v1_storage_class_list.c unit-test/test_v1_storage_os_persistent_volume_source.c unit-test/test_v1_storage_os_volume_source.c -unit-test/test_v1_subject.c unit-test/test_v1_subject_access_review.c unit-test/test_v1_subject_access_review_spec.c unit-test/test_v1_subject_access_review_status.c @@ -2254,6 +2303,7 @@ unit-test/test_v1_typed_local_object_reference.c unit-test/test_v1_typed_object_reference.c unit-test/test_v1_uncounted_terminated_pods.c unit-test/test_v1_user_info.c +unit-test/test_v1_user_subject.c unit-test/test_v1_validating_webhook.c unit-test/test_v1_validating_webhook_configuration.c unit-test/test_v1_validating_webhook_configuration_list.c @@ -2270,15 +2320,13 @@ unit-test/test_v1_volume_mount.c unit-test/test_v1_volume_node_affinity.c unit-test/test_v1_volume_node_resources.c unit-test/test_v1_volume_projection.c +unit-test/test_v1_volume_resource_requirements.c unit-test/test_v1_vsphere_virtual_disk_volume_source.c unit-test/test_v1_watch_event.c unit-test/test_v1_webhook_conversion.c unit-test/test_v1_weighted_pod_affinity_term.c unit-test/test_v1_windows_security_context_options.c unit-test/test_v1alpha1_audit_annotation.c -unit-test/test_v1alpha1_cluster_cidr.c -unit-test/test_v1alpha1_cluster_cidr_list.c -unit-test/test_v1alpha1_cluster_cidr_spec.c unit-test/test_v1alpha1_cluster_trust_bundle.c unit-test/test_v1alpha1_cluster_trust_bundle_list.c unit-test/test_v1alpha1_cluster_trust_bundle_spec.c @@ -2295,6 +2343,10 @@ unit-test/test_v1alpha1_parent_reference.c unit-test/test_v1alpha1_self_subject_review.c unit-test/test_v1alpha1_self_subject_review_status.c unit-test/test_v1alpha1_server_storage_version.c +unit-test/test_v1alpha1_service_cidr.c +unit-test/test_v1alpha1_service_cidr_list.c +unit-test/test_v1alpha1_service_cidr_spec.c +unit-test/test_v1alpha1_service_cidr_status.c unit-test/test_v1alpha1_storage_version.c unit-test/test_v1alpha1_storage_version_condition.c unit-test/test_v1alpha1_storage_version_list.c @@ -2309,6 +2361,8 @@ unit-test/test_v1alpha1_validating_admission_policy_spec.c unit-test/test_v1alpha1_validating_admission_policy_status.c unit-test/test_v1alpha1_validation.c unit-test/test_v1alpha1_variable.c +unit-test/test_v1alpha1_volume_attributes_class.c +unit-test/test_v1alpha1_volume_attributes_class_list.c unit-test/test_v1alpha2_allocation_result.c unit-test/test_v1alpha2_pod_scheduling_context.c unit-test/test_v1alpha2_pod_scheduling_context_list.c @@ -2347,29 +2401,6 @@ unit-test/test_v1beta1_validating_admission_policy_spec.c unit-test/test_v1beta1_validating_admission_policy_status.c unit-test/test_v1beta1_validation.c unit-test/test_v1beta1_variable.c -unit-test/test_v1beta2_exempt_priority_level_configuration.c -unit-test/test_v1beta2_flow_distinguisher_method.c -unit-test/test_v1beta2_flow_schema.c -unit-test/test_v1beta2_flow_schema_condition.c -unit-test/test_v1beta2_flow_schema_list.c -unit-test/test_v1beta2_flow_schema_spec.c -unit-test/test_v1beta2_flow_schema_status.c -unit-test/test_v1beta2_group_subject.c -unit-test/test_v1beta2_limit_response.c -unit-test/test_v1beta2_limited_priority_level_configuration.c -unit-test/test_v1beta2_non_resource_policy_rule.c -unit-test/test_v1beta2_policy_rules_with_subjects.c -unit-test/test_v1beta2_priority_level_configuration.c -unit-test/test_v1beta2_priority_level_configuration_condition.c -unit-test/test_v1beta2_priority_level_configuration_list.c -unit-test/test_v1beta2_priority_level_configuration_reference.c -unit-test/test_v1beta2_priority_level_configuration_spec.c -unit-test/test_v1beta2_priority_level_configuration_status.c -unit-test/test_v1beta2_queuing_configuration.c -unit-test/test_v1beta2_resource_policy_rule.c -unit-test/test_v1beta2_service_account_subject.c -unit-test/test_v1beta2_subject.c -unit-test/test_v1beta2_user_subject.c unit-test/test_v1beta3_exempt_priority_level_configuration.c unit-test/test_v1beta3_flow_distinguisher_method.c unit-test/test_v1beta3_flow_schema.c diff --git a/kubernetes/.openapi-generator/VERSION b/kubernetes/.openapi-generator/VERSION index 41225218..fff4bdd7 100644 --- a/kubernetes/.openapi-generator/VERSION +++ b/kubernetes/.openapi-generator/VERSION @@ -1 +1 @@ -7.0.0 \ No newline at end of file +7.3.0-SNAPSHOT \ No newline at end of file diff --git a/kubernetes/.openapi-generator/swagger.json-default.sha256 b/kubernetes/.openapi-generator/swagger.json-default.sha256 index 00cfc822..2663205a 100644 --- a/kubernetes/.openapi-generator/swagger.json-default.sha256 +++ b/kubernetes/.openapi-generator/swagger.json-default.sha256 @@ -1 +1 @@ -5176e6e179319305caf95d3e2277137117e1a60017bbf8765ce542624fc433bc \ No newline at end of file +6ef09a5a61e17d1d9ec14ed30eb05c4aa944dbbecd7de7c8bc9f55b94179a337 \ No newline at end of file diff --git a/kubernetes/CMakeLists.txt b/kubernetes/CMakeLists.txt index 592c4452..08b39dfd 100644 --- a/kubernetes/CMakeLists.txt +++ b/kubernetes/CMakeLists.txt @@ -68,6 +68,8 @@ set(SRCS model/events_v1_event.c model/events_v1_event_list.c model/events_v1_event_series.c + model/flowcontrol_v1_subject.c + model/rbac_v1_subject.c model/storage_v1_token_request.c model/v1_affinity.c model/v1_aggregation_rule.c @@ -104,6 +106,7 @@ set(SRCS model/v1_cluster_role_binding.c model/v1_cluster_role_binding_list.c model/v1_cluster_role_list.c + model/v1_cluster_trust_bundle_projection.c model/v1_component_condition.c model/v1_component_status.c model/v1_component_status_list.c @@ -189,16 +192,24 @@ set(SRCS model/v1_event_source.c model/v1_eviction.c model/v1_exec_action.c + model/v1_exempt_priority_level_configuration.c model/v1_external_documentation.c model/v1_fc_volume_source.c model/v1_flex_persistent_volume_source.c model/v1_flex_volume_source.c model/v1_flocker_volume_source.c + model/v1_flow_distinguisher_method.c + model/v1_flow_schema.c + model/v1_flow_schema_condition.c + model/v1_flow_schema_list.c + model/v1_flow_schema_spec.c + model/v1_flow_schema_status.c model/v1_for_zone.c model/v1_gce_persistent_disk_volume_source.c model/v1_git_repo_volume_source.c model/v1_glusterfs_persistent_volume_source.c model/v1_glusterfs_volume_source.c + model/v1_group_subject.c model/v1_group_version_for_discovery.c model/v1_grpc_action.c model/v1_horizontal_pod_autoscaler.c @@ -249,6 +260,8 @@ set(SRCS model/v1_limit_range_item.c model/v1_limit_range_list.c model/v1_limit_range_spec.c + model/v1_limit_response.c + model/v1_limited_priority_level_configuration.c model/v1_list_meta.c model/v1_load_balancer_ingress.c model/v1_load_balancer_status.c @@ -257,6 +270,7 @@ set(SRCS model/v1_local_volume_source.c model/v1_managed_fields_entry.c model/v1_match_condition.c + model/v1_modify_volume_status.c model/v1_mutating_webhook.c model/v1_mutating_webhook_configuration.c model/v1_mutating_webhook_configuration_list.c @@ -288,6 +302,7 @@ set(SRCS model/v1_node_status.c model/v1_node_system_info.c model/v1_non_resource_attributes.c + model/v1_non_resource_policy_rule.c model/v1_non_resource_rule.c model/v1_object_field_selector.c model/v1_object_meta.c @@ -335,14 +350,22 @@ set(SRCS model/v1_pod_template_list.c model/v1_pod_template_spec.c model/v1_policy_rule.c + model/v1_policy_rules_with_subjects.c model/v1_port_status.c model/v1_portworx_volume_source.c model/v1_preconditions.c model/v1_preferred_scheduling_term.c model/v1_priority_class.c model/v1_priority_class_list.c + model/v1_priority_level_configuration.c + model/v1_priority_level_configuration_condition.c + model/v1_priority_level_configuration_list.c + model/v1_priority_level_configuration_reference.c + model/v1_priority_level_configuration_spec.c + model/v1_priority_level_configuration_status.c model/v1_probe.c model/v1_projected_volume_source.c + model/v1_queuing_configuration.c model/v1_quobyte_volume_source.c model/v1_rbd_persistent_volume_source.c model/v1_rbd_volume_source.c @@ -359,6 +382,7 @@ set(SRCS model/v1_resource_attributes.c model/v1_resource_claim.c model/v1_resource_field_selector.c + model/v1_resource_policy_rule.c model/v1_resource_quota.c model/v1_resource_quota_list.c model/v1_resource_quota_spec.c @@ -404,6 +428,7 @@ set(SRCS model/v1_service.c model/v1_service_account.c model/v1_service_account_list.c + model/v1_service_account_subject.c model/v1_service_account_token_projection.c model/v1_service_backend_port.c model/v1_service_list.c @@ -411,6 +436,7 @@ set(SRCS model/v1_service_spec.c model/v1_service_status.c model/v1_session_affinity_config.c + model/v1_sleep_action.c model/v1_stateful_set.c model/v1_stateful_set_condition.c model/v1_stateful_set_list.c @@ -426,7 +452,6 @@ set(SRCS model/v1_storage_class_list.c model/v1_storage_os_persistent_volume_source.c model/v1_storage_os_volume_source.c - model/v1_subject.c model/v1_subject_access_review.c model/v1_subject_access_review_spec.c model/v1_subject_access_review_status.c @@ -447,6 +472,7 @@ set(SRCS model/v1_typed_object_reference.c model/v1_uncounted_terminated_pods.c model/v1_user_info.c + model/v1_user_subject.c model/v1_validating_webhook.c model/v1_validating_webhook_configuration.c model/v1_validating_webhook_configuration_list.c @@ -463,15 +489,13 @@ set(SRCS model/v1_volume_node_affinity.c model/v1_volume_node_resources.c model/v1_volume_projection.c + model/v1_volume_resource_requirements.c model/v1_vsphere_virtual_disk_volume_source.c model/v1_watch_event.c model/v1_webhook_conversion.c model/v1_weighted_pod_affinity_term.c model/v1_windows_security_context_options.c model/v1alpha1_audit_annotation.c - model/v1alpha1_cluster_cidr.c - model/v1alpha1_cluster_cidr_list.c - model/v1alpha1_cluster_cidr_spec.c model/v1alpha1_cluster_trust_bundle.c model/v1alpha1_cluster_trust_bundle_list.c model/v1alpha1_cluster_trust_bundle_spec.c @@ -488,6 +512,10 @@ set(SRCS model/v1alpha1_self_subject_review.c model/v1alpha1_self_subject_review_status.c model/v1alpha1_server_storage_version.c + model/v1alpha1_service_cidr.c + model/v1alpha1_service_cidr_list.c + model/v1alpha1_service_cidr_spec.c + model/v1alpha1_service_cidr_status.c model/v1alpha1_storage_version.c model/v1alpha1_storage_version_condition.c model/v1alpha1_storage_version_list.c @@ -502,6 +530,8 @@ set(SRCS model/v1alpha1_validating_admission_policy_status.c model/v1alpha1_validation.c model/v1alpha1_variable.c + model/v1alpha1_volume_attributes_class.c + model/v1alpha1_volume_attributes_class_list.c model/v1alpha2_allocation_result.c model/v1alpha2_pod_scheduling_context.c model/v1alpha2_pod_scheduling_context_list.c @@ -540,29 +570,6 @@ set(SRCS model/v1beta1_validating_admission_policy_status.c model/v1beta1_validation.c model/v1beta1_variable.c - model/v1beta2_exempt_priority_level_configuration.c - model/v1beta2_flow_distinguisher_method.c - model/v1beta2_flow_schema.c - model/v1beta2_flow_schema_condition.c - model/v1beta2_flow_schema_list.c - model/v1beta2_flow_schema_spec.c - model/v1beta2_flow_schema_status.c - model/v1beta2_group_subject.c - model/v1beta2_limit_response.c - model/v1beta2_limited_priority_level_configuration.c - model/v1beta2_non_resource_policy_rule.c - model/v1beta2_policy_rules_with_subjects.c - model/v1beta2_priority_level_configuration.c - model/v1beta2_priority_level_configuration_condition.c - model/v1beta2_priority_level_configuration_list.c - model/v1beta2_priority_level_configuration_reference.c - model/v1beta2_priority_level_configuration_spec.c - model/v1beta2_priority_level_configuration_status.c - model/v1beta2_queuing_configuration.c - model/v1beta2_resource_policy_rule.c - model/v1beta2_service_account_subject.c - model/v1beta2_subject.c - model/v1beta2_user_subject.c model/v1beta3_exempt_priority_level_configuration.c model/v1beta3_flow_distinguisher_method.c model/v1beta3_flow_schema.c @@ -646,7 +653,7 @@ set(SRCS api/EventsAPI.c api/EventsV1API.c api/FlowcontrolApiserverAPI.c - api/FlowcontrolApiserverV1beta2API.c + api/FlowcontrolApiserverV1API.c api/FlowcontrolApiserverV1beta3API.c api/InternalApiserverAPI.c api/InternalApiserverV1alpha1API.c @@ -667,6 +674,7 @@ set(SRCS api/SchedulingV1API.c api/StorageAPI.c api/StorageV1API.c + api/StorageV1alpha1API.c api/VersionAPI.c api/WellKnownAPI.c @@ -693,6 +701,8 @@ set(HDRS model/events_v1_event.h model/events_v1_event_list.h model/events_v1_event_series.h + model/flowcontrol_v1_subject.h + model/rbac_v1_subject.h model/storage_v1_token_request.h model/v1_affinity.h model/v1_aggregation_rule.h @@ -729,6 +739,7 @@ set(HDRS model/v1_cluster_role_binding.h model/v1_cluster_role_binding_list.h model/v1_cluster_role_list.h + model/v1_cluster_trust_bundle_projection.h model/v1_component_condition.h model/v1_component_status.h model/v1_component_status_list.h @@ -814,16 +825,24 @@ set(HDRS model/v1_event_source.h model/v1_eviction.h model/v1_exec_action.h + model/v1_exempt_priority_level_configuration.h model/v1_external_documentation.h model/v1_fc_volume_source.h model/v1_flex_persistent_volume_source.h model/v1_flex_volume_source.h model/v1_flocker_volume_source.h + model/v1_flow_distinguisher_method.h + model/v1_flow_schema.h + model/v1_flow_schema_condition.h + model/v1_flow_schema_list.h + model/v1_flow_schema_spec.h + model/v1_flow_schema_status.h model/v1_for_zone.h model/v1_gce_persistent_disk_volume_source.h model/v1_git_repo_volume_source.h model/v1_glusterfs_persistent_volume_source.h model/v1_glusterfs_volume_source.h + model/v1_group_subject.h model/v1_group_version_for_discovery.h model/v1_grpc_action.h model/v1_horizontal_pod_autoscaler.h @@ -874,6 +893,8 @@ set(HDRS model/v1_limit_range_item.h model/v1_limit_range_list.h model/v1_limit_range_spec.h + model/v1_limit_response.h + model/v1_limited_priority_level_configuration.h model/v1_list_meta.h model/v1_load_balancer_ingress.h model/v1_load_balancer_status.h @@ -882,6 +903,7 @@ set(HDRS model/v1_local_volume_source.h model/v1_managed_fields_entry.h model/v1_match_condition.h + model/v1_modify_volume_status.h model/v1_mutating_webhook.h model/v1_mutating_webhook_configuration.h model/v1_mutating_webhook_configuration_list.h @@ -913,6 +935,7 @@ set(HDRS model/v1_node_status.h model/v1_node_system_info.h model/v1_non_resource_attributes.h + model/v1_non_resource_policy_rule.h model/v1_non_resource_rule.h model/v1_object_field_selector.h model/v1_object_meta.h @@ -960,14 +983,22 @@ set(HDRS model/v1_pod_template_list.h model/v1_pod_template_spec.h model/v1_policy_rule.h + model/v1_policy_rules_with_subjects.h model/v1_port_status.h model/v1_portworx_volume_source.h model/v1_preconditions.h model/v1_preferred_scheduling_term.h model/v1_priority_class.h model/v1_priority_class_list.h + model/v1_priority_level_configuration.h + model/v1_priority_level_configuration_condition.h + model/v1_priority_level_configuration_list.h + model/v1_priority_level_configuration_reference.h + model/v1_priority_level_configuration_spec.h + model/v1_priority_level_configuration_status.h model/v1_probe.h model/v1_projected_volume_source.h + model/v1_queuing_configuration.h model/v1_quobyte_volume_source.h model/v1_rbd_persistent_volume_source.h model/v1_rbd_volume_source.h @@ -984,6 +1015,7 @@ set(HDRS model/v1_resource_attributes.h model/v1_resource_claim.h model/v1_resource_field_selector.h + model/v1_resource_policy_rule.h model/v1_resource_quota.h model/v1_resource_quota_list.h model/v1_resource_quota_spec.h @@ -1029,6 +1061,7 @@ set(HDRS model/v1_service.h model/v1_service_account.h model/v1_service_account_list.h + model/v1_service_account_subject.h model/v1_service_account_token_projection.h model/v1_service_backend_port.h model/v1_service_list.h @@ -1036,6 +1069,7 @@ set(HDRS model/v1_service_spec.h model/v1_service_status.h model/v1_session_affinity_config.h + model/v1_sleep_action.h model/v1_stateful_set.h model/v1_stateful_set_condition.h model/v1_stateful_set_list.h @@ -1051,7 +1085,6 @@ set(HDRS model/v1_storage_class_list.h model/v1_storage_os_persistent_volume_source.h model/v1_storage_os_volume_source.h - model/v1_subject.h model/v1_subject_access_review.h model/v1_subject_access_review_spec.h model/v1_subject_access_review_status.h @@ -1072,6 +1105,7 @@ set(HDRS model/v1_typed_object_reference.h model/v1_uncounted_terminated_pods.h model/v1_user_info.h + model/v1_user_subject.h model/v1_validating_webhook.h model/v1_validating_webhook_configuration.h model/v1_validating_webhook_configuration_list.h @@ -1088,15 +1122,13 @@ set(HDRS model/v1_volume_node_affinity.h model/v1_volume_node_resources.h model/v1_volume_projection.h + model/v1_volume_resource_requirements.h model/v1_vsphere_virtual_disk_volume_source.h model/v1_watch_event.h model/v1_webhook_conversion.h model/v1_weighted_pod_affinity_term.h model/v1_windows_security_context_options.h model/v1alpha1_audit_annotation.h - model/v1alpha1_cluster_cidr.h - model/v1alpha1_cluster_cidr_list.h - model/v1alpha1_cluster_cidr_spec.h model/v1alpha1_cluster_trust_bundle.h model/v1alpha1_cluster_trust_bundle_list.h model/v1alpha1_cluster_trust_bundle_spec.h @@ -1113,6 +1145,10 @@ set(HDRS model/v1alpha1_self_subject_review.h model/v1alpha1_self_subject_review_status.h model/v1alpha1_server_storage_version.h + model/v1alpha1_service_cidr.h + model/v1alpha1_service_cidr_list.h + model/v1alpha1_service_cidr_spec.h + model/v1alpha1_service_cidr_status.h model/v1alpha1_storage_version.h model/v1alpha1_storage_version_condition.h model/v1alpha1_storage_version_list.h @@ -1127,6 +1163,8 @@ set(HDRS model/v1alpha1_validating_admission_policy_status.h model/v1alpha1_validation.h model/v1alpha1_variable.h + model/v1alpha1_volume_attributes_class.h + model/v1alpha1_volume_attributes_class_list.h model/v1alpha2_allocation_result.h model/v1alpha2_pod_scheduling_context.h model/v1alpha2_pod_scheduling_context_list.h @@ -1165,29 +1203,6 @@ set(HDRS model/v1beta1_validating_admission_policy_status.h model/v1beta1_validation.h model/v1beta1_variable.h - model/v1beta2_exempt_priority_level_configuration.h - model/v1beta2_flow_distinguisher_method.h - model/v1beta2_flow_schema.h - model/v1beta2_flow_schema_condition.h - model/v1beta2_flow_schema_list.h - model/v1beta2_flow_schema_spec.h - model/v1beta2_flow_schema_status.h - model/v1beta2_group_subject.h - model/v1beta2_limit_response.h - model/v1beta2_limited_priority_level_configuration.h - model/v1beta2_non_resource_policy_rule.h - model/v1beta2_policy_rules_with_subjects.h - model/v1beta2_priority_level_configuration.h - model/v1beta2_priority_level_configuration_condition.h - model/v1beta2_priority_level_configuration_list.h - model/v1beta2_priority_level_configuration_reference.h - model/v1beta2_priority_level_configuration_spec.h - model/v1beta2_priority_level_configuration_status.h - model/v1beta2_queuing_configuration.h - model/v1beta2_resource_policy_rule.h - model/v1beta2_service_account_subject.h - model/v1beta2_subject.h - model/v1beta2_user_subject.h model/v1beta3_exempt_priority_level_configuration.h model/v1beta3_flow_distinguisher_method.h model/v1beta3_flow_schema.h @@ -1271,7 +1286,7 @@ set(HDRS api/EventsAPI.h api/EventsV1API.h api/FlowcontrolApiserverAPI.h - api/FlowcontrolApiserverV1beta2API.h + api/FlowcontrolApiserverV1API.h api/FlowcontrolApiserverV1beta3API.h api/InternalApiserverAPI.h api/InternalApiserverV1alpha1API.h @@ -1292,6 +1307,7 @@ set(HDRS api/SchedulingV1API.h api/StorageAPI.h api/StorageV1API.h + api/StorageV1alpha1API.h api/VersionAPI.h api/WellKnownAPI.h @@ -1410,7 +1426,7 @@ set(HDRS "") # unit-tests/manual-EventsAPI.c # unit-tests/manual-EventsV1API.c # unit-tests/manual-FlowcontrolApiserverAPI.c -# unit-tests/manual-FlowcontrolApiserverV1beta2API.c +# unit-tests/manual-FlowcontrolApiserverV1API.c # unit-tests/manual-FlowcontrolApiserverV1beta3API.c # unit-tests/manual-InternalApiserverAPI.c # unit-tests/manual-InternalApiserverV1alpha1API.c @@ -1431,6 +1447,7 @@ set(HDRS "") # unit-tests/manual-SchedulingV1API.c # unit-tests/manual-StorageAPI.c # unit-tests/manual-StorageV1API.c +# unit-tests/manual-StorageV1alpha1API.c # unit-tests/manual-VersionAPI.c # unit-tests/manual-WellKnownAPI.c #) diff --git a/kubernetes/PreTarget.cmake b/kubernetes/PreTarget.cmake index a3e011da..61876441 100644 --- a/kubernetes/PreTarget.cmake +++ b/kubernetes/PreTarget.cmake @@ -1,5 +1,5 @@ set(PROJECT_VERSION_MAJOR 0) -set(PROJECT_VERSION_MINOR 8) +set(PROJECT_VERSION_MINOR 9) set(PROJECT_VERSION_PATCH 0) set(PROJECT_PACKAGE_DESCRIPTION_SUMMARY "The Kubernetes client library for the C programming language.") diff --git a/kubernetes/README.md b/kubernetes/README.md index 49a24876..ac5ce10e 100644 --- a/kubernetes/README.md +++ b/kubernetes/README.md @@ -3,7 +3,7 @@ ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI spec](https://openapis.org) from a remote server, you can easily generate an API client. -- API version: release-1.28 +- API version: release-1.29 - Package version: - Build package: org.openapitools.codegen.languages.CLibcurlClientCodegen @@ -552,27 +552,27 @@ Category | Method | HTTP request | Description *EventsV1API* | [**EventsV1API_readNamespacedEvent**](docs/EventsV1API.md#EventsV1API_readNamespacedEvent) | **GET** /apis/events.k8s.io/v1/namespaces/{namespace}/events/{name} | *EventsV1API* | [**EventsV1API_replaceNamespacedEvent**](docs/EventsV1API.md#EventsV1API_replaceNamespacedEvent) | **PUT** /apis/events.k8s.io/v1/namespaces/{namespace}/events/{name} | *FlowcontrolApiserverAPI* | [**FlowcontrolApiserverAPI_getAPIGroup**](docs/FlowcontrolApiserverAPI.md#FlowcontrolApiserverAPI_getAPIGroup) | **GET** /apis/flowcontrol.apiserver.k8s.io/ | -*FlowcontrolApiserverV1beta2API* | [**FlowcontrolApiserverV1beta2API_createFlowSchema**](docs/FlowcontrolApiserverV1beta2API.md#FlowcontrolApiserverV1beta2API_createFlowSchema) | **POST** /apis/flowcontrol.apiserver.k8s.io/v1beta2/flowschemas | -*FlowcontrolApiserverV1beta2API* | [**FlowcontrolApiserverV1beta2API_createPriorityLevelConfiguration**](docs/FlowcontrolApiserverV1beta2API.md#FlowcontrolApiserverV1beta2API_createPriorityLevelConfiguration) | **POST** /apis/flowcontrol.apiserver.k8s.io/v1beta2/prioritylevelconfigurations | -*FlowcontrolApiserverV1beta2API* | [**FlowcontrolApiserverV1beta2API_deleteCollectionFlowSchema**](docs/FlowcontrolApiserverV1beta2API.md#FlowcontrolApiserverV1beta2API_deleteCollectionFlowSchema) | **DELETE** /apis/flowcontrol.apiserver.k8s.io/v1beta2/flowschemas | -*FlowcontrolApiserverV1beta2API* | [**FlowcontrolApiserverV1beta2API_deleteCollectionPriorityLevelConfiguration**](docs/FlowcontrolApiserverV1beta2API.md#FlowcontrolApiserverV1beta2API_deleteCollectionPriorityLevelConfiguration) | **DELETE** /apis/flowcontrol.apiserver.k8s.io/v1beta2/prioritylevelconfigurations | -*FlowcontrolApiserverV1beta2API* | [**FlowcontrolApiserverV1beta2API_deleteFlowSchema**](docs/FlowcontrolApiserverV1beta2API.md#FlowcontrolApiserverV1beta2API_deleteFlowSchema) | **DELETE** /apis/flowcontrol.apiserver.k8s.io/v1beta2/flowschemas/{name} | -*FlowcontrolApiserverV1beta2API* | [**FlowcontrolApiserverV1beta2API_deletePriorityLevelConfiguration**](docs/FlowcontrolApiserverV1beta2API.md#FlowcontrolApiserverV1beta2API_deletePriorityLevelConfiguration) | **DELETE** /apis/flowcontrol.apiserver.k8s.io/v1beta2/prioritylevelconfigurations/{name} | -*FlowcontrolApiserverV1beta2API* | [**FlowcontrolApiserverV1beta2API_getAPIResources**](docs/FlowcontrolApiserverV1beta2API.md#FlowcontrolApiserverV1beta2API_getAPIResources) | **GET** /apis/flowcontrol.apiserver.k8s.io/v1beta2/ | -*FlowcontrolApiserverV1beta2API* | [**FlowcontrolApiserverV1beta2API_listFlowSchema**](docs/FlowcontrolApiserverV1beta2API.md#FlowcontrolApiserverV1beta2API_listFlowSchema) | **GET** /apis/flowcontrol.apiserver.k8s.io/v1beta2/flowschemas | -*FlowcontrolApiserverV1beta2API* | [**FlowcontrolApiserverV1beta2API_listPriorityLevelConfiguration**](docs/FlowcontrolApiserverV1beta2API.md#FlowcontrolApiserverV1beta2API_listPriorityLevelConfiguration) | **GET** /apis/flowcontrol.apiserver.k8s.io/v1beta2/prioritylevelconfigurations | -*FlowcontrolApiserverV1beta2API* | [**FlowcontrolApiserverV1beta2API_patchFlowSchema**](docs/FlowcontrolApiserverV1beta2API.md#FlowcontrolApiserverV1beta2API_patchFlowSchema) | **PATCH** /apis/flowcontrol.apiserver.k8s.io/v1beta2/flowschemas/{name} | -*FlowcontrolApiserverV1beta2API* | [**FlowcontrolApiserverV1beta2API_patchFlowSchemaStatus**](docs/FlowcontrolApiserverV1beta2API.md#FlowcontrolApiserverV1beta2API_patchFlowSchemaStatus) | **PATCH** /apis/flowcontrol.apiserver.k8s.io/v1beta2/flowschemas/{name}/status | -*FlowcontrolApiserverV1beta2API* | [**FlowcontrolApiserverV1beta2API_patchPriorityLevelConfiguration**](docs/FlowcontrolApiserverV1beta2API.md#FlowcontrolApiserverV1beta2API_patchPriorityLevelConfiguration) | **PATCH** /apis/flowcontrol.apiserver.k8s.io/v1beta2/prioritylevelconfigurations/{name} | -*FlowcontrolApiserverV1beta2API* | [**FlowcontrolApiserverV1beta2API_patchPriorityLevelConfigurationStatus**](docs/FlowcontrolApiserverV1beta2API.md#FlowcontrolApiserverV1beta2API_patchPriorityLevelConfigurationStatus) | **PATCH** /apis/flowcontrol.apiserver.k8s.io/v1beta2/prioritylevelconfigurations/{name}/status | -*FlowcontrolApiserverV1beta2API* | [**FlowcontrolApiserverV1beta2API_readFlowSchema**](docs/FlowcontrolApiserverV1beta2API.md#FlowcontrolApiserverV1beta2API_readFlowSchema) | **GET** /apis/flowcontrol.apiserver.k8s.io/v1beta2/flowschemas/{name} | -*FlowcontrolApiserverV1beta2API* | [**FlowcontrolApiserverV1beta2API_readFlowSchemaStatus**](docs/FlowcontrolApiserverV1beta2API.md#FlowcontrolApiserverV1beta2API_readFlowSchemaStatus) | **GET** /apis/flowcontrol.apiserver.k8s.io/v1beta2/flowschemas/{name}/status | -*FlowcontrolApiserverV1beta2API* | [**FlowcontrolApiserverV1beta2API_readPriorityLevelConfiguration**](docs/FlowcontrolApiserverV1beta2API.md#FlowcontrolApiserverV1beta2API_readPriorityLevelConfiguration) | **GET** /apis/flowcontrol.apiserver.k8s.io/v1beta2/prioritylevelconfigurations/{name} | -*FlowcontrolApiserverV1beta2API* | [**FlowcontrolApiserverV1beta2API_readPriorityLevelConfigurationStatus**](docs/FlowcontrolApiserverV1beta2API.md#FlowcontrolApiserverV1beta2API_readPriorityLevelConfigurationStatus) | **GET** /apis/flowcontrol.apiserver.k8s.io/v1beta2/prioritylevelconfigurations/{name}/status | -*FlowcontrolApiserverV1beta2API* | [**FlowcontrolApiserverV1beta2API_replaceFlowSchema**](docs/FlowcontrolApiserverV1beta2API.md#FlowcontrolApiserverV1beta2API_replaceFlowSchema) | **PUT** /apis/flowcontrol.apiserver.k8s.io/v1beta2/flowschemas/{name} | -*FlowcontrolApiserverV1beta2API* | [**FlowcontrolApiserverV1beta2API_replaceFlowSchemaStatus**](docs/FlowcontrolApiserverV1beta2API.md#FlowcontrolApiserverV1beta2API_replaceFlowSchemaStatus) | **PUT** /apis/flowcontrol.apiserver.k8s.io/v1beta2/flowschemas/{name}/status | -*FlowcontrolApiserverV1beta2API* | [**FlowcontrolApiserverV1beta2API_replacePriorityLevelConfiguration**](docs/FlowcontrolApiserverV1beta2API.md#FlowcontrolApiserverV1beta2API_replacePriorityLevelConfiguration) | **PUT** /apis/flowcontrol.apiserver.k8s.io/v1beta2/prioritylevelconfigurations/{name} | -*FlowcontrolApiserverV1beta2API* | [**FlowcontrolApiserverV1beta2API_replacePriorityLevelConfigurationStatus**](docs/FlowcontrolApiserverV1beta2API.md#FlowcontrolApiserverV1beta2API_replacePriorityLevelConfigurationStatus) | **PUT** /apis/flowcontrol.apiserver.k8s.io/v1beta2/prioritylevelconfigurations/{name}/status | +*FlowcontrolApiserverV1API* | [**FlowcontrolApiserverV1API_createFlowSchema**](docs/FlowcontrolApiserverV1API.md#FlowcontrolApiserverV1API_createFlowSchema) | **POST** /apis/flowcontrol.apiserver.k8s.io/v1/flowschemas | +*FlowcontrolApiserverV1API* | [**FlowcontrolApiserverV1API_createPriorityLevelConfiguration**](docs/FlowcontrolApiserverV1API.md#FlowcontrolApiserverV1API_createPriorityLevelConfiguration) | **POST** /apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations | +*FlowcontrolApiserverV1API* | [**FlowcontrolApiserverV1API_deleteCollectionFlowSchema**](docs/FlowcontrolApiserverV1API.md#FlowcontrolApiserverV1API_deleteCollectionFlowSchema) | **DELETE** /apis/flowcontrol.apiserver.k8s.io/v1/flowschemas | +*FlowcontrolApiserverV1API* | [**FlowcontrolApiserverV1API_deleteCollectionPriorityLevelConfiguration**](docs/FlowcontrolApiserverV1API.md#FlowcontrolApiserverV1API_deleteCollectionPriorityLevelConfiguration) | **DELETE** /apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations | +*FlowcontrolApiserverV1API* | [**FlowcontrolApiserverV1API_deleteFlowSchema**](docs/FlowcontrolApiserverV1API.md#FlowcontrolApiserverV1API_deleteFlowSchema) | **DELETE** /apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name} | +*FlowcontrolApiserverV1API* | [**FlowcontrolApiserverV1API_deletePriorityLevelConfiguration**](docs/FlowcontrolApiserverV1API.md#FlowcontrolApiserverV1API_deletePriorityLevelConfiguration) | **DELETE** /apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name} | +*FlowcontrolApiserverV1API* | [**FlowcontrolApiserverV1API_getAPIResources**](docs/FlowcontrolApiserverV1API.md#FlowcontrolApiserverV1API_getAPIResources) | **GET** /apis/flowcontrol.apiserver.k8s.io/v1/ | +*FlowcontrolApiserverV1API* | [**FlowcontrolApiserverV1API_listFlowSchema**](docs/FlowcontrolApiserverV1API.md#FlowcontrolApiserverV1API_listFlowSchema) | **GET** /apis/flowcontrol.apiserver.k8s.io/v1/flowschemas | +*FlowcontrolApiserverV1API* | [**FlowcontrolApiserverV1API_listPriorityLevelConfiguration**](docs/FlowcontrolApiserverV1API.md#FlowcontrolApiserverV1API_listPriorityLevelConfiguration) | **GET** /apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations | +*FlowcontrolApiserverV1API* | [**FlowcontrolApiserverV1API_patchFlowSchema**](docs/FlowcontrolApiserverV1API.md#FlowcontrolApiserverV1API_patchFlowSchema) | **PATCH** /apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name} | +*FlowcontrolApiserverV1API* | [**FlowcontrolApiserverV1API_patchFlowSchemaStatus**](docs/FlowcontrolApiserverV1API.md#FlowcontrolApiserverV1API_patchFlowSchemaStatus) | **PATCH** /apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name}/status | +*FlowcontrolApiserverV1API* | [**FlowcontrolApiserverV1API_patchPriorityLevelConfiguration**](docs/FlowcontrolApiserverV1API.md#FlowcontrolApiserverV1API_patchPriorityLevelConfiguration) | **PATCH** /apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name} | +*FlowcontrolApiserverV1API* | [**FlowcontrolApiserverV1API_patchPriorityLevelConfigurationStatus**](docs/FlowcontrolApiserverV1API.md#FlowcontrolApiserverV1API_patchPriorityLevelConfigurationStatus) | **PATCH** /apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name}/status | +*FlowcontrolApiserverV1API* | [**FlowcontrolApiserverV1API_readFlowSchema**](docs/FlowcontrolApiserverV1API.md#FlowcontrolApiserverV1API_readFlowSchema) | **GET** /apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name} | +*FlowcontrolApiserverV1API* | [**FlowcontrolApiserverV1API_readFlowSchemaStatus**](docs/FlowcontrolApiserverV1API.md#FlowcontrolApiserverV1API_readFlowSchemaStatus) | **GET** /apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name}/status | +*FlowcontrolApiserverV1API* | [**FlowcontrolApiserverV1API_readPriorityLevelConfiguration**](docs/FlowcontrolApiserverV1API.md#FlowcontrolApiserverV1API_readPriorityLevelConfiguration) | **GET** /apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name} | +*FlowcontrolApiserverV1API* | [**FlowcontrolApiserverV1API_readPriorityLevelConfigurationStatus**](docs/FlowcontrolApiserverV1API.md#FlowcontrolApiserverV1API_readPriorityLevelConfigurationStatus) | **GET** /apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name}/status | +*FlowcontrolApiserverV1API* | [**FlowcontrolApiserverV1API_replaceFlowSchema**](docs/FlowcontrolApiserverV1API.md#FlowcontrolApiserverV1API_replaceFlowSchema) | **PUT** /apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name} | +*FlowcontrolApiserverV1API* | [**FlowcontrolApiserverV1API_replaceFlowSchemaStatus**](docs/FlowcontrolApiserverV1API.md#FlowcontrolApiserverV1API_replaceFlowSchemaStatus) | **PUT** /apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name}/status | +*FlowcontrolApiserverV1API* | [**FlowcontrolApiserverV1API_replacePriorityLevelConfiguration**](docs/FlowcontrolApiserverV1API.md#FlowcontrolApiserverV1API_replacePriorityLevelConfiguration) | **PUT** /apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name} | +*FlowcontrolApiserverV1API* | [**FlowcontrolApiserverV1API_replacePriorityLevelConfigurationStatus**](docs/FlowcontrolApiserverV1API.md#FlowcontrolApiserverV1API_replacePriorityLevelConfigurationStatus) | **PUT** /apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name}/status | *FlowcontrolApiserverV1beta3API* | [**FlowcontrolApiserverV1beta3API_createFlowSchema**](docs/FlowcontrolApiserverV1beta3API.md#FlowcontrolApiserverV1beta3API_createFlowSchema) | **POST** /apis/flowcontrol.apiserver.k8s.io/v1beta3/flowschemas | *FlowcontrolApiserverV1beta3API* | [**FlowcontrolApiserverV1beta3API_createPriorityLevelConfiguration**](docs/FlowcontrolApiserverV1beta3API.md#FlowcontrolApiserverV1beta3API_createPriorityLevelConfiguration) | **POST** /apis/flowcontrol.apiserver.k8s.io/v1beta3/prioritylevelconfigurations | *FlowcontrolApiserverV1beta3API* | [**FlowcontrolApiserverV1beta3API_deleteCollectionFlowSchema**](docs/FlowcontrolApiserverV1beta3API.md#FlowcontrolApiserverV1beta3API_deleteCollectionFlowSchema) | **DELETE** /apis/flowcontrol.apiserver.k8s.io/v1beta3/flowschemas | @@ -636,21 +636,24 @@ Category | Method | HTTP request | Description *NetworkingV1API* | [**NetworkingV1API_replaceNamespacedIngress**](docs/NetworkingV1API.md#NetworkingV1API_replaceNamespacedIngress) | **PUT** /apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name} | *NetworkingV1API* | [**NetworkingV1API_replaceNamespacedIngressStatus**](docs/NetworkingV1API.md#NetworkingV1API_replaceNamespacedIngressStatus) | **PUT** /apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}/status | *NetworkingV1API* | [**NetworkingV1API_replaceNamespacedNetworkPolicy**](docs/NetworkingV1API.md#NetworkingV1API_replaceNamespacedNetworkPolicy) | **PUT** /apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name} | -*NetworkingV1alpha1API* | [**NetworkingV1alpha1API_createClusterCIDR**](docs/NetworkingV1alpha1API.md#NetworkingV1alpha1API_createClusterCIDR) | **POST** /apis/networking.k8s.io/v1alpha1/clustercidrs | *NetworkingV1alpha1API* | [**NetworkingV1alpha1API_createIPAddress**](docs/NetworkingV1alpha1API.md#NetworkingV1alpha1API_createIPAddress) | **POST** /apis/networking.k8s.io/v1alpha1/ipaddresses | -*NetworkingV1alpha1API* | [**NetworkingV1alpha1API_deleteClusterCIDR**](docs/NetworkingV1alpha1API.md#NetworkingV1alpha1API_deleteClusterCIDR) | **DELETE** /apis/networking.k8s.io/v1alpha1/clustercidrs/{name} | -*NetworkingV1alpha1API* | [**NetworkingV1alpha1API_deleteCollectionClusterCIDR**](docs/NetworkingV1alpha1API.md#NetworkingV1alpha1API_deleteCollectionClusterCIDR) | **DELETE** /apis/networking.k8s.io/v1alpha1/clustercidrs | +*NetworkingV1alpha1API* | [**NetworkingV1alpha1API_createServiceCIDR**](docs/NetworkingV1alpha1API.md#NetworkingV1alpha1API_createServiceCIDR) | **POST** /apis/networking.k8s.io/v1alpha1/servicecidrs | *NetworkingV1alpha1API* | [**NetworkingV1alpha1API_deleteCollectionIPAddress**](docs/NetworkingV1alpha1API.md#NetworkingV1alpha1API_deleteCollectionIPAddress) | **DELETE** /apis/networking.k8s.io/v1alpha1/ipaddresses | +*NetworkingV1alpha1API* | [**NetworkingV1alpha1API_deleteCollectionServiceCIDR**](docs/NetworkingV1alpha1API.md#NetworkingV1alpha1API_deleteCollectionServiceCIDR) | **DELETE** /apis/networking.k8s.io/v1alpha1/servicecidrs | *NetworkingV1alpha1API* | [**NetworkingV1alpha1API_deleteIPAddress**](docs/NetworkingV1alpha1API.md#NetworkingV1alpha1API_deleteIPAddress) | **DELETE** /apis/networking.k8s.io/v1alpha1/ipaddresses/{name} | +*NetworkingV1alpha1API* | [**NetworkingV1alpha1API_deleteServiceCIDR**](docs/NetworkingV1alpha1API.md#NetworkingV1alpha1API_deleteServiceCIDR) | **DELETE** /apis/networking.k8s.io/v1alpha1/servicecidrs/{name} | *NetworkingV1alpha1API* | [**NetworkingV1alpha1API_getAPIResources**](docs/NetworkingV1alpha1API.md#NetworkingV1alpha1API_getAPIResources) | **GET** /apis/networking.k8s.io/v1alpha1/ | -*NetworkingV1alpha1API* | [**NetworkingV1alpha1API_listClusterCIDR**](docs/NetworkingV1alpha1API.md#NetworkingV1alpha1API_listClusterCIDR) | **GET** /apis/networking.k8s.io/v1alpha1/clustercidrs | *NetworkingV1alpha1API* | [**NetworkingV1alpha1API_listIPAddress**](docs/NetworkingV1alpha1API.md#NetworkingV1alpha1API_listIPAddress) | **GET** /apis/networking.k8s.io/v1alpha1/ipaddresses | -*NetworkingV1alpha1API* | [**NetworkingV1alpha1API_patchClusterCIDR**](docs/NetworkingV1alpha1API.md#NetworkingV1alpha1API_patchClusterCIDR) | **PATCH** /apis/networking.k8s.io/v1alpha1/clustercidrs/{name} | +*NetworkingV1alpha1API* | [**NetworkingV1alpha1API_listServiceCIDR**](docs/NetworkingV1alpha1API.md#NetworkingV1alpha1API_listServiceCIDR) | **GET** /apis/networking.k8s.io/v1alpha1/servicecidrs | *NetworkingV1alpha1API* | [**NetworkingV1alpha1API_patchIPAddress**](docs/NetworkingV1alpha1API.md#NetworkingV1alpha1API_patchIPAddress) | **PATCH** /apis/networking.k8s.io/v1alpha1/ipaddresses/{name} | -*NetworkingV1alpha1API* | [**NetworkingV1alpha1API_readClusterCIDR**](docs/NetworkingV1alpha1API.md#NetworkingV1alpha1API_readClusterCIDR) | **GET** /apis/networking.k8s.io/v1alpha1/clustercidrs/{name} | +*NetworkingV1alpha1API* | [**NetworkingV1alpha1API_patchServiceCIDR**](docs/NetworkingV1alpha1API.md#NetworkingV1alpha1API_patchServiceCIDR) | **PATCH** /apis/networking.k8s.io/v1alpha1/servicecidrs/{name} | +*NetworkingV1alpha1API* | [**NetworkingV1alpha1API_patchServiceCIDRStatus**](docs/NetworkingV1alpha1API.md#NetworkingV1alpha1API_patchServiceCIDRStatus) | **PATCH** /apis/networking.k8s.io/v1alpha1/servicecidrs/{name}/status | *NetworkingV1alpha1API* | [**NetworkingV1alpha1API_readIPAddress**](docs/NetworkingV1alpha1API.md#NetworkingV1alpha1API_readIPAddress) | **GET** /apis/networking.k8s.io/v1alpha1/ipaddresses/{name} | -*NetworkingV1alpha1API* | [**NetworkingV1alpha1API_replaceClusterCIDR**](docs/NetworkingV1alpha1API.md#NetworkingV1alpha1API_replaceClusterCIDR) | **PUT** /apis/networking.k8s.io/v1alpha1/clustercidrs/{name} | +*NetworkingV1alpha1API* | [**NetworkingV1alpha1API_readServiceCIDR**](docs/NetworkingV1alpha1API.md#NetworkingV1alpha1API_readServiceCIDR) | **GET** /apis/networking.k8s.io/v1alpha1/servicecidrs/{name} | +*NetworkingV1alpha1API* | [**NetworkingV1alpha1API_readServiceCIDRStatus**](docs/NetworkingV1alpha1API.md#NetworkingV1alpha1API_readServiceCIDRStatus) | **GET** /apis/networking.k8s.io/v1alpha1/servicecidrs/{name}/status | *NetworkingV1alpha1API* | [**NetworkingV1alpha1API_replaceIPAddress**](docs/NetworkingV1alpha1API.md#NetworkingV1alpha1API_replaceIPAddress) | **PUT** /apis/networking.k8s.io/v1alpha1/ipaddresses/{name} | +*NetworkingV1alpha1API* | [**NetworkingV1alpha1API_replaceServiceCIDR**](docs/NetworkingV1alpha1API.md#NetworkingV1alpha1API_replaceServiceCIDR) | **PUT** /apis/networking.k8s.io/v1alpha1/servicecidrs/{name} | +*NetworkingV1alpha1API* | [**NetworkingV1alpha1API_replaceServiceCIDRStatus**](docs/NetworkingV1alpha1API.md#NetworkingV1alpha1API_replaceServiceCIDRStatus) | **PUT** /apis/networking.k8s.io/v1alpha1/servicecidrs/{name}/status | *NodeAPI* | [**NodeAPI_getAPIGroup**](docs/NodeAPI.md#NodeAPI_getAPIGroup) | **GET** /apis/node.k8s.io/ | *NodeV1API* | [**NodeV1API_createRuntimeClass**](docs/NodeV1API.md#NodeV1API_createRuntimeClass) | **POST** /apis/node.k8s.io/v1/runtimeclasses | *NodeV1API* | [**NodeV1API_deleteCollectionRuntimeClass**](docs/NodeV1API.md#NodeV1API_deleteCollectionRuntimeClass) | **DELETE** /apis/node.k8s.io/v1/runtimeclasses | @@ -795,6 +798,14 @@ Category | Method | HTTP request | Description *StorageV1API* | [**StorageV1API_replaceStorageClass**](docs/StorageV1API.md#StorageV1API_replaceStorageClass) | **PUT** /apis/storage.k8s.io/v1/storageclasses/{name} | *StorageV1API* | [**StorageV1API_replaceVolumeAttachment**](docs/StorageV1API.md#StorageV1API_replaceVolumeAttachment) | **PUT** /apis/storage.k8s.io/v1/volumeattachments/{name} | *StorageV1API* | [**StorageV1API_replaceVolumeAttachmentStatus**](docs/StorageV1API.md#StorageV1API_replaceVolumeAttachmentStatus) | **PUT** /apis/storage.k8s.io/v1/volumeattachments/{name}/status | +*StorageV1alpha1API* | [**StorageV1alpha1API_createVolumeAttributesClass**](docs/StorageV1alpha1API.md#StorageV1alpha1API_createVolumeAttributesClass) | **POST** /apis/storage.k8s.io/v1alpha1/volumeattributesclasses | +*StorageV1alpha1API* | [**StorageV1alpha1API_deleteCollectionVolumeAttributesClass**](docs/StorageV1alpha1API.md#StorageV1alpha1API_deleteCollectionVolumeAttributesClass) | **DELETE** /apis/storage.k8s.io/v1alpha1/volumeattributesclasses | +*StorageV1alpha1API* | [**StorageV1alpha1API_deleteVolumeAttributesClass**](docs/StorageV1alpha1API.md#StorageV1alpha1API_deleteVolumeAttributesClass) | **DELETE** /apis/storage.k8s.io/v1alpha1/volumeattributesclasses/{name} | +*StorageV1alpha1API* | [**StorageV1alpha1API_getAPIResources**](docs/StorageV1alpha1API.md#StorageV1alpha1API_getAPIResources) | **GET** /apis/storage.k8s.io/v1alpha1/ | +*StorageV1alpha1API* | [**StorageV1alpha1API_listVolumeAttributesClass**](docs/StorageV1alpha1API.md#StorageV1alpha1API_listVolumeAttributesClass) | **GET** /apis/storage.k8s.io/v1alpha1/volumeattributesclasses | +*StorageV1alpha1API* | [**StorageV1alpha1API_patchVolumeAttributesClass**](docs/StorageV1alpha1API.md#StorageV1alpha1API_patchVolumeAttributesClass) | **PATCH** /apis/storage.k8s.io/v1alpha1/volumeattributesclasses/{name} | +*StorageV1alpha1API* | [**StorageV1alpha1API_readVolumeAttributesClass**](docs/StorageV1alpha1API.md#StorageV1alpha1API_readVolumeAttributesClass) | **GET** /apis/storage.k8s.io/v1alpha1/volumeattributesclasses/{name} | +*StorageV1alpha1API* | [**StorageV1alpha1API_replaceVolumeAttributesClass**](docs/StorageV1alpha1API.md#StorageV1alpha1API_replaceVolumeAttributesClass) | **PUT** /apis/storage.k8s.io/v1alpha1/volumeattributesclasses/{name} | *VersionAPI* | [**VersionAPI_getCode**](docs/VersionAPI.md#VersionAPI_getCode) | **GET** /version/ | *WellKnownAPI* | [**WellKnownAPI_getServiceAccountIssuerOpenIDConfiguration**](docs/WellKnownAPI.md#WellKnownAPI_getServiceAccountIssuerOpenIDConfiguration) | **GET** /.well-known/openid-configuration | @@ -815,6 +826,8 @@ Category | Method | HTTP request | Description - [events_v1_event_t](docs/events_v1_event.md) - [events_v1_event_list_t](docs/events_v1_event_list.md) - [events_v1_event_series_t](docs/events_v1_event_series.md) + - [flowcontrol_v1_subject_t](docs/flowcontrol_v1_subject.md) + - [rbac_v1_subject_t](docs/rbac_v1_subject.md) - [storage_v1_token_request_t](docs/storage_v1_token_request.md) - [v1_affinity_t](docs/v1_affinity.md) - [v1_aggregation_rule_t](docs/v1_aggregation_rule.md) @@ -851,6 +864,7 @@ Category | Method | HTTP request | Description - [v1_cluster_role_binding_t](docs/v1_cluster_role_binding.md) - [v1_cluster_role_binding_list_t](docs/v1_cluster_role_binding_list.md) - [v1_cluster_role_list_t](docs/v1_cluster_role_list.md) + - [v1_cluster_trust_bundle_projection_t](docs/v1_cluster_trust_bundle_projection.md) - [v1_component_condition_t](docs/v1_component_condition.md) - [v1_component_status_t](docs/v1_component_status.md) - [v1_component_status_list_t](docs/v1_component_status_list.md) @@ -936,16 +950,24 @@ Category | Method | HTTP request | Description - [v1_event_source_t](docs/v1_event_source.md) - [v1_eviction_t](docs/v1_eviction.md) - [v1_exec_action_t](docs/v1_exec_action.md) + - [v1_exempt_priority_level_configuration_t](docs/v1_exempt_priority_level_configuration.md) - [v1_external_documentation_t](docs/v1_external_documentation.md) - [v1_fc_volume_source_t](docs/v1_fc_volume_source.md) - [v1_flex_persistent_volume_source_t](docs/v1_flex_persistent_volume_source.md) - [v1_flex_volume_source_t](docs/v1_flex_volume_source.md) - [v1_flocker_volume_source_t](docs/v1_flocker_volume_source.md) + - [v1_flow_distinguisher_method_t](docs/v1_flow_distinguisher_method.md) + - [v1_flow_schema_t](docs/v1_flow_schema.md) + - [v1_flow_schema_condition_t](docs/v1_flow_schema_condition.md) + - [v1_flow_schema_list_t](docs/v1_flow_schema_list.md) + - [v1_flow_schema_spec_t](docs/v1_flow_schema_spec.md) + - [v1_flow_schema_status_t](docs/v1_flow_schema_status.md) - [v1_for_zone_t](docs/v1_for_zone.md) - [v1_gce_persistent_disk_volume_source_t](docs/v1_gce_persistent_disk_volume_source.md) - [v1_git_repo_volume_source_t](docs/v1_git_repo_volume_source.md) - [v1_glusterfs_persistent_volume_source_t](docs/v1_glusterfs_persistent_volume_source.md) - [v1_glusterfs_volume_source_t](docs/v1_glusterfs_volume_source.md) + - [v1_group_subject_t](docs/v1_group_subject.md) - [v1_group_version_for_discovery_t](docs/v1_group_version_for_discovery.md) - [v1_grpc_action_t](docs/v1_grpc_action.md) - [v1_horizontal_pod_autoscaler_t](docs/v1_horizontal_pod_autoscaler.md) @@ -996,6 +1018,8 @@ Category | Method | HTTP request | Description - [v1_limit_range_item_t](docs/v1_limit_range_item.md) - [v1_limit_range_list_t](docs/v1_limit_range_list.md) - [v1_limit_range_spec_t](docs/v1_limit_range_spec.md) + - [v1_limit_response_t](docs/v1_limit_response.md) + - [v1_limited_priority_level_configuration_t](docs/v1_limited_priority_level_configuration.md) - [v1_list_meta_t](docs/v1_list_meta.md) - [v1_load_balancer_ingress_t](docs/v1_load_balancer_ingress.md) - [v1_load_balancer_status_t](docs/v1_load_balancer_status.md) @@ -1004,6 +1028,7 @@ Category | Method | HTTP request | Description - [v1_local_volume_source_t](docs/v1_local_volume_source.md) - [v1_managed_fields_entry_t](docs/v1_managed_fields_entry.md) - [v1_match_condition_t](docs/v1_match_condition.md) + - [v1_modify_volume_status_t](docs/v1_modify_volume_status.md) - [v1_mutating_webhook_t](docs/v1_mutating_webhook.md) - [v1_mutating_webhook_configuration_t](docs/v1_mutating_webhook_configuration.md) - [v1_mutating_webhook_configuration_list_t](docs/v1_mutating_webhook_configuration_list.md) @@ -1035,6 +1060,7 @@ Category | Method | HTTP request | Description - [v1_node_status_t](docs/v1_node_status.md) - [v1_node_system_info_t](docs/v1_node_system_info.md) - [v1_non_resource_attributes_t](docs/v1_non_resource_attributes.md) + - [v1_non_resource_policy_rule_t](docs/v1_non_resource_policy_rule.md) - [v1_non_resource_rule_t](docs/v1_non_resource_rule.md) - [v1_object_field_selector_t](docs/v1_object_field_selector.md) - [v1_object_meta_t](docs/v1_object_meta.md) @@ -1082,14 +1108,22 @@ Category | Method | HTTP request | Description - [v1_pod_template_list_t](docs/v1_pod_template_list.md) - [v1_pod_template_spec_t](docs/v1_pod_template_spec.md) - [v1_policy_rule_t](docs/v1_policy_rule.md) + - [v1_policy_rules_with_subjects_t](docs/v1_policy_rules_with_subjects.md) - [v1_port_status_t](docs/v1_port_status.md) - [v1_portworx_volume_source_t](docs/v1_portworx_volume_source.md) - [v1_preconditions_t](docs/v1_preconditions.md) - [v1_preferred_scheduling_term_t](docs/v1_preferred_scheduling_term.md) - [v1_priority_class_t](docs/v1_priority_class.md) - [v1_priority_class_list_t](docs/v1_priority_class_list.md) + - [v1_priority_level_configuration_t](docs/v1_priority_level_configuration.md) + - [v1_priority_level_configuration_condition_t](docs/v1_priority_level_configuration_condition.md) + - [v1_priority_level_configuration_list_t](docs/v1_priority_level_configuration_list.md) + - [v1_priority_level_configuration_reference_t](docs/v1_priority_level_configuration_reference.md) + - [v1_priority_level_configuration_spec_t](docs/v1_priority_level_configuration_spec.md) + - [v1_priority_level_configuration_status_t](docs/v1_priority_level_configuration_status.md) - [v1_probe_t](docs/v1_probe.md) - [v1_projected_volume_source_t](docs/v1_projected_volume_source.md) + - [v1_queuing_configuration_t](docs/v1_queuing_configuration.md) - [v1_quobyte_volume_source_t](docs/v1_quobyte_volume_source.md) - [v1_rbd_persistent_volume_source_t](docs/v1_rbd_persistent_volume_source.md) - [v1_rbd_volume_source_t](docs/v1_rbd_volume_source.md) @@ -1106,6 +1140,7 @@ Category | Method | HTTP request | Description - [v1_resource_attributes_t](docs/v1_resource_attributes.md) - [v1_resource_claim_t](docs/v1_resource_claim.md) - [v1_resource_field_selector_t](docs/v1_resource_field_selector.md) + - [v1_resource_policy_rule_t](docs/v1_resource_policy_rule.md) - [v1_resource_quota_t](docs/v1_resource_quota.md) - [v1_resource_quota_list_t](docs/v1_resource_quota_list.md) - [v1_resource_quota_spec_t](docs/v1_resource_quota_spec.md) @@ -1151,6 +1186,7 @@ Category | Method | HTTP request | Description - [v1_service_t](docs/v1_service.md) - [v1_service_account_t](docs/v1_service_account.md) - [v1_service_account_list_t](docs/v1_service_account_list.md) + - [v1_service_account_subject_t](docs/v1_service_account_subject.md) - [v1_service_account_token_projection_t](docs/v1_service_account_token_projection.md) - [v1_service_backend_port_t](docs/v1_service_backend_port.md) - [v1_service_list_t](docs/v1_service_list.md) @@ -1158,6 +1194,7 @@ Category | Method | HTTP request | Description - [v1_service_spec_t](docs/v1_service_spec.md) - [v1_service_status_t](docs/v1_service_status.md) - [v1_session_affinity_config_t](docs/v1_session_affinity_config.md) + - [v1_sleep_action_t](docs/v1_sleep_action.md) - [v1_stateful_set_t](docs/v1_stateful_set.md) - [v1_stateful_set_condition_t](docs/v1_stateful_set_condition.md) - [v1_stateful_set_list_t](docs/v1_stateful_set_list.md) @@ -1173,7 +1210,6 @@ Category | Method | HTTP request | Description - [v1_storage_class_list_t](docs/v1_storage_class_list.md) - [v1_storage_os_persistent_volume_source_t](docs/v1_storage_os_persistent_volume_source.md) - [v1_storage_os_volume_source_t](docs/v1_storage_os_volume_source.md) - - [v1_subject_t](docs/v1_subject.md) - [v1_subject_access_review_t](docs/v1_subject_access_review.md) - [v1_subject_access_review_spec_t](docs/v1_subject_access_review_spec.md) - [v1_subject_access_review_status_t](docs/v1_subject_access_review_status.md) @@ -1194,6 +1230,7 @@ Category | Method | HTTP request | Description - [v1_typed_object_reference_t](docs/v1_typed_object_reference.md) - [v1_uncounted_terminated_pods_t](docs/v1_uncounted_terminated_pods.md) - [v1_user_info_t](docs/v1_user_info.md) + - [v1_user_subject_t](docs/v1_user_subject.md) - [v1_validating_webhook_t](docs/v1_validating_webhook.md) - [v1_validating_webhook_configuration_t](docs/v1_validating_webhook_configuration.md) - [v1_validating_webhook_configuration_list_t](docs/v1_validating_webhook_configuration_list.md) @@ -1210,15 +1247,13 @@ Category | Method | HTTP request | Description - [v1_volume_node_affinity_t](docs/v1_volume_node_affinity.md) - [v1_volume_node_resources_t](docs/v1_volume_node_resources.md) - [v1_volume_projection_t](docs/v1_volume_projection.md) + - [v1_volume_resource_requirements_t](docs/v1_volume_resource_requirements.md) - [v1_vsphere_virtual_disk_volume_source_t](docs/v1_vsphere_virtual_disk_volume_source.md) - [v1_watch_event_t](docs/v1_watch_event.md) - [v1_webhook_conversion_t](docs/v1_webhook_conversion.md) - [v1_weighted_pod_affinity_term_t](docs/v1_weighted_pod_affinity_term.md) - [v1_windows_security_context_options_t](docs/v1_windows_security_context_options.md) - [v1alpha1_audit_annotation_t](docs/v1alpha1_audit_annotation.md) - - [v1alpha1_cluster_cidr_t](docs/v1alpha1_cluster_cidr.md) - - [v1alpha1_cluster_cidr_list_t](docs/v1alpha1_cluster_cidr_list.md) - - [v1alpha1_cluster_cidr_spec_t](docs/v1alpha1_cluster_cidr_spec.md) - [v1alpha1_cluster_trust_bundle_t](docs/v1alpha1_cluster_trust_bundle.md) - [v1alpha1_cluster_trust_bundle_list_t](docs/v1alpha1_cluster_trust_bundle_list.md) - [v1alpha1_cluster_trust_bundle_spec_t](docs/v1alpha1_cluster_trust_bundle_spec.md) @@ -1235,6 +1270,10 @@ Category | Method | HTTP request | Description - [v1alpha1_self_subject_review_t](docs/v1alpha1_self_subject_review.md) - [v1alpha1_self_subject_review_status_t](docs/v1alpha1_self_subject_review_status.md) - [v1alpha1_server_storage_version_t](docs/v1alpha1_server_storage_version.md) + - [v1alpha1_service_cidr_t](docs/v1alpha1_service_cidr.md) + - [v1alpha1_service_cidr_list_t](docs/v1alpha1_service_cidr_list.md) + - [v1alpha1_service_cidr_spec_t](docs/v1alpha1_service_cidr_spec.md) + - [v1alpha1_service_cidr_status_t](docs/v1alpha1_service_cidr_status.md) - [v1alpha1_storage_version_t](docs/v1alpha1_storage_version.md) - [v1alpha1_storage_version_condition_t](docs/v1alpha1_storage_version_condition.md) - [v1alpha1_storage_version_list_t](docs/v1alpha1_storage_version_list.md) @@ -1249,6 +1288,8 @@ Category | Method | HTTP request | Description - [v1alpha1_validating_admission_policy_status_t](docs/v1alpha1_validating_admission_policy_status.md) - [v1alpha1_validation_t](docs/v1alpha1_validation.md) - [v1alpha1_variable_t](docs/v1alpha1_variable.md) + - [v1alpha1_volume_attributes_class_t](docs/v1alpha1_volume_attributes_class.md) + - [v1alpha1_volume_attributes_class_list_t](docs/v1alpha1_volume_attributes_class_list.md) - [v1alpha2_allocation_result_t](docs/v1alpha2_allocation_result.md) - [v1alpha2_pod_scheduling_context_t](docs/v1alpha2_pod_scheduling_context.md) - [v1alpha2_pod_scheduling_context_list_t](docs/v1alpha2_pod_scheduling_context_list.md) @@ -1287,29 +1328,6 @@ Category | Method | HTTP request | Description - [v1beta1_validating_admission_policy_status_t](docs/v1beta1_validating_admission_policy_status.md) - [v1beta1_validation_t](docs/v1beta1_validation.md) - [v1beta1_variable_t](docs/v1beta1_variable.md) - - [v1beta2_exempt_priority_level_configuration_t](docs/v1beta2_exempt_priority_level_configuration.md) - - [v1beta2_flow_distinguisher_method_t](docs/v1beta2_flow_distinguisher_method.md) - - [v1beta2_flow_schema_t](docs/v1beta2_flow_schema.md) - - [v1beta2_flow_schema_condition_t](docs/v1beta2_flow_schema_condition.md) - - [v1beta2_flow_schema_list_t](docs/v1beta2_flow_schema_list.md) - - [v1beta2_flow_schema_spec_t](docs/v1beta2_flow_schema_spec.md) - - [v1beta2_flow_schema_status_t](docs/v1beta2_flow_schema_status.md) - - [v1beta2_group_subject_t](docs/v1beta2_group_subject.md) - - [v1beta2_limit_response_t](docs/v1beta2_limit_response.md) - - [v1beta2_limited_priority_level_configuration_t](docs/v1beta2_limited_priority_level_configuration.md) - - [v1beta2_non_resource_policy_rule_t](docs/v1beta2_non_resource_policy_rule.md) - - [v1beta2_policy_rules_with_subjects_t](docs/v1beta2_policy_rules_with_subjects.md) - - [v1beta2_priority_level_configuration_t](docs/v1beta2_priority_level_configuration.md) - - [v1beta2_priority_level_configuration_condition_t](docs/v1beta2_priority_level_configuration_condition.md) - - [v1beta2_priority_level_configuration_list_t](docs/v1beta2_priority_level_configuration_list.md) - - [v1beta2_priority_level_configuration_reference_t](docs/v1beta2_priority_level_configuration_reference.md) - - [v1beta2_priority_level_configuration_spec_t](docs/v1beta2_priority_level_configuration_spec.md) - - [v1beta2_priority_level_configuration_status_t](docs/v1beta2_priority_level_configuration_status.md) - - [v1beta2_queuing_configuration_t](docs/v1beta2_queuing_configuration.md) - - [v1beta2_resource_policy_rule_t](docs/v1beta2_resource_policy_rule.md) - - [v1beta2_service_account_subject_t](docs/v1beta2_service_account_subject.md) - - [v1beta2_subject_t](docs/v1beta2_subject.md) - - [v1beta2_user_subject_t](docs/v1beta2_user_subject.md) - [v1beta3_exempt_priority_level_configuration_t](docs/v1beta3_exempt_priority_level_configuration.md) - [v1beta3_flow_distinguisher_method_t](docs/v1beta3_flow_distinguisher_method.md) - [v1beta3_flow_schema_t](docs/v1beta3_flow_schema.md) diff --git a/kubernetes/api/AdmissionregistrationV1API.c b/kubernetes/api/AdmissionregistrationV1API.c index c20019ed..73d881a8 100644 --- a/kubernetes/api/AdmissionregistrationV1API.c +++ b/kubernetes/api/AdmissionregistrationV1API.c @@ -15,7 +15,7 @@ // create a MutatingWebhookConfiguration // v1_mutating_webhook_configuration_t* -AdmissionregistrationV1API_createMutatingWebhookConfiguration(apiClient_t *apiClient, v1_mutating_webhook_configuration_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +AdmissionregistrationV1API_createMutatingWebhookConfiguration(apiClient_t *apiClient, v1_mutating_webhook_configuration_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -200,7 +200,7 @@ AdmissionregistrationV1API_createMutatingWebhookConfiguration(apiClient_t *apiCl // create a ValidatingWebhookConfiguration // v1_validating_webhook_configuration_t* -AdmissionregistrationV1API_createValidatingWebhookConfiguration(apiClient_t *apiClient, v1_validating_webhook_configuration_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +AdmissionregistrationV1API_createValidatingWebhookConfiguration(apiClient_t *apiClient, v1_validating_webhook_configuration_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -385,7 +385,7 @@ AdmissionregistrationV1API_createValidatingWebhookConfiguration(apiClient_t *api // delete collection of MutatingWebhookConfiguration // v1_status_t* -AdmissionregistrationV1API_deleteCollectionMutatingWebhookConfiguration(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +AdmissionregistrationV1API_deleteCollectionMutatingWebhookConfiguration(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -454,11 +454,11 @@ AdmissionregistrationV1API_deleteCollectionMutatingWebhookConfiguration(apiClien char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -479,11 +479,11 @@ AdmissionregistrationV1API_deleteCollectionMutatingWebhookConfiguration(apiClien char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -492,11 +492,11 @@ AdmissionregistrationV1API_deleteCollectionMutatingWebhookConfiguration(apiClien char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -541,11 +541,11 @@ AdmissionregistrationV1API_deleteCollectionMutatingWebhookConfiguration(apiClien char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -554,11 +554,11 @@ AdmissionregistrationV1API_deleteCollectionMutatingWebhookConfiguration(apiClien char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -783,7 +783,7 @@ AdmissionregistrationV1API_deleteCollectionMutatingWebhookConfiguration(apiClien // delete collection of ValidatingWebhookConfiguration // v1_status_t* -AdmissionregistrationV1API_deleteCollectionValidatingWebhookConfiguration(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +AdmissionregistrationV1API_deleteCollectionValidatingWebhookConfiguration(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -852,11 +852,11 @@ AdmissionregistrationV1API_deleteCollectionValidatingWebhookConfiguration(apiCli char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -877,11 +877,11 @@ AdmissionregistrationV1API_deleteCollectionValidatingWebhookConfiguration(apiCli char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -890,11 +890,11 @@ AdmissionregistrationV1API_deleteCollectionValidatingWebhookConfiguration(apiCli char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -939,11 +939,11 @@ AdmissionregistrationV1API_deleteCollectionValidatingWebhookConfiguration(apiCli char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -952,11 +952,11 @@ AdmissionregistrationV1API_deleteCollectionValidatingWebhookConfiguration(apiCli char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -1181,7 +1181,7 @@ AdmissionregistrationV1API_deleteCollectionValidatingWebhookConfiguration(apiCli // delete a MutatingWebhookConfiguration // v1_status_t* -AdmissionregistrationV1API_deleteMutatingWebhookConfiguration(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +AdmissionregistrationV1API_deleteMutatingWebhookConfiguration(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1236,11 +1236,11 @@ AdmissionregistrationV1API_deleteMutatingWebhookConfiguration(apiClient_t *apiCl char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -1249,11 +1249,11 @@ AdmissionregistrationV1API_deleteMutatingWebhookConfiguration(apiClient_t *apiCl char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -1399,7 +1399,7 @@ AdmissionregistrationV1API_deleteMutatingWebhookConfiguration(apiClient_t *apiCl // delete a ValidatingWebhookConfiguration // v1_status_t* -AdmissionregistrationV1API_deleteValidatingWebhookConfiguration(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +AdmissionregistrationV1API_deleteValidatingWebhookConfiguration(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1454,11 +1454,11 @@ AdmissionregistrationV1API_deleteValidatingWebhookConfiguration(apiClient_t *api char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -1467,11 +1467,11 @@ AdmissionregistrationV1API_deleteValidatingWebhookConfiguration(apiClient_t *api char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -1684,7 +1684,7 @@ AdmissionregistrationV1API_getAPIResources(apiClient_t *apiClient) // list or watch objects of kind MutatingWebhookConfiguration // v1_mutating_webhook_configuration_list_t* -AdmissionregistrationV1API_listMutatingWebhookConfiguration(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +AdmissionregistrationV1API_listMutatingWebhookConfiguration(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1717,11 +1717,11 @@ AdmissionregistrationV1API_listMutatingWebhookConfiguration(apiClient_t *apiClie char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -1766,11 +1766,11 @@ AdmissionregistrationV1API_listMutatingWebhookConfiguration(apiClient_t *apiClie char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -1803,11 +1803,11 @@ AdmissionregistrationV1API_listMutatingWebhookConfiguration(apiClient_t *apiClie char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -1816,11 +1816,11 @@ AdmissionregistrationV1API_listMutatingWebhookConfiguration(apiClient_t *apiClie char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -1829,11 +1829,11 @@ AdmissionregistrationV1API_listMutatingWebhookConfiguration(apiClient_t *apiClie char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -2022,7 +2022,7 @@ AdmissionregistrationV1API_listMutatingWebhookConfiguration(apiClient_t *apiClie // list or watch objects of kind ValidatingWebhookConfiguration // v1_validating_webhook_configuration_list_t* -AdmissionregistrationV1API_listValidatingWebhookConfiguration(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +AdmissionregistrationV1API_listValidatingWebhookConfiguration(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2055,11 +2055,11 @@ AdmissionregistrationV1API_listValidatingWebhookConfiguration(apiClient_t *apiCl char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -2104,11 +2104,11 @@ AdmissionregistrationV1API_listValidatingWebhookConfiguration(apiClient_t *apiCl char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -2141,11 +2141,11 @@ AdmissionregistrationV1API_listValidatingWebhookConfiguration(apiClient_t *apiCl char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -2154,11 +2154,11 @@ AdmissionregistrationV1API_listValidatingWebhookConfiguration(apiClient_t *apiCl char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -2167,11 +2167,11 @@ AdmissionregistrationV1API_listValidatingWebhookConfiguration(apiClient_t *apiCl char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -2360,7 +2360,7 @@ AdmissionregistrationV1API_listValidatingWebhookConfiguration(apiClient_t *apiCl // partially update the specified MutatingWebhookConfiguration // v1_mutating_webhook_configuration_t* -AdmissionregistrationV1API_patchMutatingWebhookConfiguration(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +AdmissionregistrationV1API_patchMutatingWebhookConfiguration(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2439,11 +2439,11 @@ AdmissionregistrationV1API_patchMutatingWebhookConfiguration(apiClient_t *apiCli char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -2581,7 +2581,7 @@ AdmissionregistrationV1API_patchMutatingWebhookConfiguration(apiClient_t *apiCli // partially update the specified ValidatingWebhookConfiguration // v1_validating_webhook_configuration_t* -AdmissionregistrationV1API_patchValidatingWebhookConfiguration(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +AdmissionregistrationV1API_patchValidatingWebhookConfiguration(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2660,11 +2660,11 @@ AdmissionregistrationV1API_patchValidatingWebhookConfiguration(apiClient_t *apiC char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -2802,7 +2802,7 @@ AdmissionregistrationV1API_patchValidatingWebhookConfiguration(apiClient_t *apiC // read the specified MutatingWebhookConfiguration // v1_mutating_webhook_configuration_t* -AdmissionregistrationV1API_readMutatingWebhookConfiguration(apiClient_t *apiClient, char * name , char * pretty ) +AdmissionregistrationV1API_readMutatingWebhookConfiguration(apiClient_t *apiClient, char *name, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2904,7 +2904,7 @@ AdmissionregistrationV1API_readMutatingWebhookConfiguration(apiClient_t *apiClie // read the specified ValidatingWebhookConfiguration // v1_validating_webhook_configuration_t* -AdmissionregistrationV1API_readValidatingWebhookConfiguration(apiClient_t *apiClient, char * name , char * pretty ) +AdmissionregistrationV1API_readValidatingWebhookConfiguration(apiClient_t *apiClient, char *name, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3006,7 +3006,7 @@ AdmissionregistrationV1API_readValidatingWebhookConfiguration(apiClient_t *apiCl // replace the specified MutatingWebhookConfiguration // v1_mutating_webhook_configuration_t* -AdmissionregistrationV1API_replaceMutatingWebhookConfiguration(apiClient_t *apiClient, char * name , v1_mutating_webhook_configuration_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +AdmissionregistrationV1API_replaceMutatingWebhookConfiguration(apiClient_t *apiClient, char *name, v1_mutating_webhook_configuration_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3198,7 +3198,7 @@ AdmissionregistrationV1API_replaceMutatingWebhookConfiguration(apiClient_t *apiC // replace the specified ValidatingWebhookConfiguration // v1_validating_webhook_configuration_t* -AdmissionregistrationV1API_replaceValidatingWebhookConfiguration(apiClient_t *apiClient, char * name , v1_validating_webhook_configuration_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +AdmissionregistrationV1API_replaceValidatingWebhookConfiguration(apiClient_t *apiClient, char *name, v1_validating_webhook_configuration_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; diff --git a/kubernetes/api/AdmissionregistrationV1API.h b/kubernetes/api/AdmissionregistrationV1API.h index 1e0eee88..883ea872 100644 --- a/kubernetes/api/AdmissionregistrationV1API.h +++ b/kubernetes/api/AdmissionregistrationV1API.h @@ -18,37 +18,37 @@ // create a MutatingWebhookConfiguration // v1_mutating_webhook_configuration_t* -AdmissionregistrationV1API_createMutatingWebhookConfiguration(apiClient_t *apiClient, v1_mutating_webhook_configuration_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +AdmissionregistrationV1API_createMutatingWebhookConfiguration(apiClient_t *apiClient, v1_mutating_webhook_configuration_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // create a ValidatingWebhookConfiguration // v1_validating_webhook_configuration_t* -AdmissionregistrationV1API_createValidatingWebhookConfiguration(apiClient_t *apiClient, v1_validating_webhook_configuration_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +AdmissionregistrationV1API_createValidatingWebhookConfiguration(apiClient_t *apiClient, v1_validating_webhook_configuration_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // delete collection of MutatingWebhookConfiguration // v1_status_t* -AdmissionregistrationV1API_deleteCollectionMutatingWebhookConfiguration(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +AdmissionregistrationV1API_deleteCollectionMutatingWebhookConfiguration(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); // delete collection of ValidatingWebhookConfiguration // v1_status_t* -AdmissionregistrationV1API_deleteCollectionValidatingWebhookConfiguration(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +AdmissionregistrationV1API_deleteCollectionValidatingWebhookConfiguration(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); // delete a MutatingWebhookConfiguration // v1_status_t* -AdmissionregistrationV1API_deleteMutatingWebhookConfiguration(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +AdmissionregistrationV1API_deleteMutatingWebhookConfiguration(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // delete a ValidatingWebhookConfiguration // v1_status_t* -AdmissionregistrationV1API_deleteValidatingWebhookConfiguration(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +AdmissionregistrationV1API_deleteValidatingWebhookConfiguration(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // get available resources @@ -60,48 +60,48 @@ AdmissionregistrationV1API_getAPIResources(apiClient_t *apiClient); // list or watch objects of kind MutatingWebhookConfiguration // v1_mutating_webhook_configuration_list_t* -AdmissionregistrationV1API_listMutatingWebhookConfiguration(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +AdmissionregistrationV1API_listMutatingWebhookConfiguration(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind ValidatingWebhookConfiguration // v1_validating_webhook_configuration_list_t* -AdmissionregistrationV1API_listValidatingWebhookConfiguration(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +AdmissionregistrationV1API_listValidatingWebhookConfiguration(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // partially update the specified MutatingWebhookConfiguration // v1_mutating_webhook_configuration_t* -AdmissionregistrationV1API_patchMutatingWebhookConfiguration(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +AdmissionregistrationV1API_patchMutatingWebhookConfiguration(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update the specified ValidatingWebhookConfiguration // v1_validating_webhook_configuration_t* -AdmissionregistrationV1API_patchValidatingWebhookConfiguration(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +AdmissionregistrationV1API_patchValidatingWebhookConfiguration(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // read the specified MutatingWebhookConfiguration // v1_mutating_webhook_configuration_t* -AdmissionregistrationV1API_readMutatingWebhookConfiguration(apiClient_t *apiClient, char * name , char * pretty ); +AdmissionregistrationV1API_readMutatingWebhookConfiguration(apiClient_t *apiClient, char *name, char *pretty); // read the specified ValidatingWebhookConfiguration // v1_validating_webhook_configuration_t* -AdmissionregistrationV1API_readValidatingWebhookConfiguration(apiClient_t *apiClient, char * name , char * pretty ); +AdmissionregistrationV1API_readValidatingWebhookConfiguration(apiClient_t *apiClient, char *name, char *pretty); // replace the specified MutatingWebhookConfiguration // v1_mutating_webhook_configuration_t* -AdmissionregistrationV1API_replaceMutatingWebhookConfiguration(apiClient_t *apiClient, char * name , v1_mutating_webhook_configuration_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +AdmissionregistrationV1API_replaceMutatingWebhookConfiguration(apiClient_t *apiClient, char *name, v1_mutating_webhook_configuration_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace the specified ValidatingWebhookConfiguration // v1_validating_webhook_configuration_t* -AdmissionregistrationV1API_replaceValidatingWebhookConfiguration(apiClient_t *apiClient, char * name , v1_validating_webhook_configuration_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +AdmissionregistrationV1API_replaceValidatingWebhookConfiguration(apiClient_t *apiClient, char *name, v1_validating_webhook_configuration_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); diff --git a/kubernetes/api/AdmissionregistrationV1alpha1API.c b/kubernetes/api/AdmissionregistrationV1alpha1API.c index 2641a167..49fd3d67 100644 --- a/kubernetes/api/AdmissionregistrationV1alpha1API.c +++ b/kubernetes/api/AdmissionregistrationV1alpha1API.c @@ -15,7 +15,7 @@ // create a ValidatingAdmissionPolicy // v1alpha1_validating_admission_policy_t* -AdmissionregistrationV1alpha1API_createValidatingAdmissionPolicy(apiClient_t *apiClient, v1alpha1_validating_admission_policy_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +AdmissionregistrationV1alpha1API_createValidatingAdmissionPolicy(apiClient_t *apiClient, v1alpha1_validating_admission_policy_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -200,7 +200,7 @@ AdmissionregistrationV1alpha1API_createValidatingAdmissionPolicy(apiClient_t *ap // create a ValidatingAdmissionPolicyBinding // v1alpha1_validating_admission_policy_binding_t* -AdmissionregistrationV1alpha1API_createValidatingAdmissionPolicyBinding(apiClient_t *apiClient, v1alpha1_validating_admission_policy_binding_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +AdmissionregistrationV1alpha1API_createValidatingAdmissionPolicyBinding(apiClient_t *apiClient, v1alpha1_validating_admission_policy_binding_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -385,7 +385,7 @@ AdmissionregistrationV1alpha1API_createValidatingAdmissionPolicyBinding(apiClien // delete collection of ValidatingAdmissionPolicy // v1_status_t* -AdmissionregistrationV1alpha1API_deleteCollectionValidatingAdmissionPolicy(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +AdmissionregistrationV1alpha1API_deleteCollectionValidatingAdmissionPolicy(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -454,11 +454,11 @@ AdmissionregistrationV1alpha1API_deleteCollectionValidatingAdmissionPolicy(apiCl char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -479,11 +479,11 @@ AdmissionregistrationV1alpha1API_deleteCollectionValidatingAdmissionPolicy(apiCl char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -492,11 +492,11 @@ AdmissionregistrationV1alpha1API_deleteCollectionValidatingAdmissionPolicy(apiCl char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -541,11 +541,11 @@ AdmissionregistrationV1alpha1API_deleteCollectionValidatingAdmissionPolicy(apiCl char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -554,11 +554,11 @@ AdmissionregistrationV1alpha1API_deleteCollectionValidatingAdmissionPolicy(apiCl char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -783,7 +783,7 @@ AdmissionregistrationV1alpha1API_deleteCollectionValidatingAdmissionPolicy(apiCl // delete collection of ValidatingAdmissionPolicyBinding // v1_status_t* -AdmissionregistrationV1alpha1API_deleteCollectionValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +AdmissionregistrationV1alpha1API_deleteCollectionValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -852,11 +852,11 @@ AdmissionregistrationV1alpha1API_deleteCollectionValidatingAdmissionPolicyBindin char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -877,11 +877,11 @@ AdmissionregistrationV1alpha1API_deleteCollectionValidatingAdmissionPolicyBindin char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -890,11 +890,11 @@ AdmissionregistrationV1alpha1API_deleteCollectionValidatingAdmissionPolicyBindin char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -939,11 +939,11 @@ AdmissionregistrationV1alpha1API_deleteCollectionValidatingAdmissionPolicyBindin char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -952,11 +952,11 @@ AdmissionregistrationV1alpha1API_deleteCollectionValidatingAdmissionPolicyBindin char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -1181,7 +1181,7 @@ AdmissionregistrationV1alpha1API_deleteCollectionValidatingAdmissionPolicyBindin // delete a ValidatingAdmissionPolicy // v1_status_t* -AdmissionregistrationV1alpha1API_deleteValidatingAdmissionPolicy(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +AdmissionregistrationV1alpha1API_deleteValidatingAdmissionPolicy(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1236,11 +1236,11 @@ AdmissionregistrationV1alpha1API_deleteValidatingAdmissionPolicy(apiClient_t *ap char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -1249,11 +1249,11 @@ AdmissionregistrationV1alpha1API_deleteValidatingAdmissionPolicy(apiClient_t *ap char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -1399,7 +1399,7 @@ AdmissionregistrationV1alpha1API_deleteValidatingAdmissionPolicy(apiClient_t *ap // delete a ValidatingAdmissionPolicyBinding // v1_status_t* -AdmissionregistrationV1alpha1API_deleteValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +AdmissionregistrationV1alpha1API_deleteValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1454,11 +1454,11 @@ AdmissionregistrationV1alpha1API_deleteValidatingAdmissionPolicyBinding(apiClien char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -1467,11 +1467,11 @@ AdmissionregistrationV1alpha1API_deleteValidatingAdmissionPolicyBinding(apiClien char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -1684,7 +1684,7 @@ AdmissionregistrationV1alpha1API_getAPIResources(apiClient_t *apiClient) // list or watch objects of kind ValidatingAdmissionPolicy // v1alpha1_validating_admission_policy_list_t* -AdmissionregistrationV1alpha1API_listValidatingAdmissionPolicy(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +AdmissionregistrationV1alpha1API_listValidatingAdmissionPolicy(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1717,11 +1717,11 @@ AdmissionregistrationV1alpha1API_listValidatingAdmissionPolicy(apiClient_t *apiC char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -1766,11 +1766,11 @@ AdmissionregistrationV1alpha1API_listValidatingAdmissionPolicy(apiClient_t *apiC char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -1803,11 +1803,11 @@ AdmissionregistrationV1alpha1API_listValidatingAdmissionPolicy(apiClient_t *apiC char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -1816,11 +1816,11 @@ AdmissionregistrationV1alpha1API_listValidatingAdmissionPolicy(apiClient_t *apiC char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -1829,11 +1829,11 @@ AdmissionregistrationV1alpha1API_listValidatingAdmissionPolicy(apiClient_t *apiC char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -2022,7 +2022,7 @@ AdmissionregistrationV1alpha1API_listValidatingAdmissionPolicy(apiClient_t *apiC // list or watch objects of kind ValidatingAdmissionPolicyBinding // v1alpha1_validating_admission_policy_binding_list_t* -AdmissionregistrationV1alpha1API_listValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +AdmissionregistrationV1alpha1API_listValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2055,11 +2055,11 @@ AdmissionregistrationV1alpha1API_listValidatingAdmissionPolicyBinding(apiClient_ char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -2104,11 +2104,11 @@ AdmissionregistrationV1alpha1API_listValidatingAdmissionPolicyBinding(apiClient_ char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -2141,11 +2141,11 @@ AdmissionregistrationV1alpha1API_listValidatingAdmissionPolicyBinding(apiClient_ char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -2154,11 +2154,11 @@ AdmissionregistrationV1alpha1API_listValidatingAdmissionPolicyBinding(apiClient_ char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -2167,11 +2167,11 @@ AdmissionregistrationV1alpha1API_listValidatingAdmissionPolicyBinding(apiClient_ char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -2360,7 +2360,7 @@ AdmissionregistrationV1alpha1API_listValidatingAdmissionPolicyBinding(apiClient_ // partially update the specified ValidatingAdmissionPolicy // v1alpha1_validating_admission_policy_t* -AdmissionregistrationV1alpha1API_patchValidatingAdmissionPolicy(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +AdmissionregistrationV1alpha1API_patchValidatingAdmissionPolicy(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2439,11 +2439,11 @@ AdmissionregistrationV1alpha1API_patchValidatingAdmissionPolicy(apiClient_t *api char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -2581,7 +2581,7 @@ AdmissionregistrationV1alpha1API_patchValidatingAdmissionPolicy(apiClient_t *api // partially update the specified ValidatingAdmissionPolicyBinding // v1alpha1_validating_admission_policy_binding_t* -AdmissionregistrationV1alpha1API_patchValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +AdmissionregistrationV1alpha1API_patchValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2660,11 +2660,11 @@ AdmissionregistrationV1alpha1API_patchValidatingAdmissionPolicyBinding(apiClient char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -2802,7 +2802,7 @@ AdmissionregistrationV1alpha1API_patchValidatingAdmissionPolicyBinding(apiClient // partially update status of the specified ValidatingAdmissionPolicy // v1alpha1_validating_admission_policy_t* -AdmissionregistrationV1alpha1API_patchValidatingAdmissionPolicyStatus(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +AdmissionregistrationV1alpha1API_patchValidatingAdmissionPolicyStatus(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2881,11 +2881,11 @@ AdmissionregistrationV1alpha1API_patchValidatingAdmissionPolicyStatus(apiClient_ char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -3023,7 +3023,7 @@ AdmissionregistrationV1alpha1API_patchValidatingAdmissionPolicyStatus(apiClient_ // read the specified ValidatingAdmissionPolicy // v1alpha1_validating_admission_policy_t* -AdmissionregistrationV1alpha1API_readValidatingAdmissionPolicy(apiClient_t *apiClient, char * name , char * pretty ) +AdmissionregistrationV1alpha1API_readValidatingAdmissionPolicy(apiClient_t *apiClient, char *name, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3125,7 +3125,7 @@ AdmissionregistrationV1alpha1API_readValidatingAdmissionPolicy(apiClient_t *apiC // read the specified ValidatingAdmissionPolicyBinding // v1alpha1_validating_admission_policy_binding_t* -AdmissionregistrationV1alpha1API_readValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char * name , char * pretty ) +AdmissionregistrationV1alpha1API_readValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char *name, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3227,7 +3227,7 @@ AdmissionregistrationV1alpha1API_readValidatingAdmissionPolicyBinding(apiClient_ // read status of the specified ValidatingAdmissionPolicy // v1alpha1_validating_admission_policy_t* -AdmissionregistrationV1alpha1API_readValidatingAdmissionPolicyStatus(apiClient_t *apiClient, char * name , char * pretty ) +AdmissionregistrationV1alpha1API_readValidatingAdmissionPolicyStatus(apiClient_t *apiClient, char *name, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3329,7 +3329,7 @@ AdmissionregistrationV1alpha1API_readValidatingAdmissionPolicyStatus(apiClient_t // replace the specified ValidatingAdmissionPolicy // v1alpha1_validating_admission_policy_t* -AdmissionregistrationV1alpha1API_replaceValidatingAdmissionPolicy(apiClient_t *apiClient, char * name , v1alpha1_validating_admission_policy_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +AdmissionregistrationV1alpha1API_replaceValidatingAdmissionPolicy(apiClient_t *apiClient, char *name, v1alpha1_validating_admission_policy_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3521,7 +3521,7 @@ AdmissionregistrationV1alpha1API_replaceValidatingAdmissionPolicy(apiClient_t *a // replace the specified ValidatingAdmissionPolicyBinding // v1alpha1_validating_admission_policy_binding_t* -AdmissionregistrationV1alpha1API_replaceValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char * name , v1alpha1_validating_admission_policy_binding_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +AdmissionregistrationV1alpha1API_replaceValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char *name, v1alpha1_validating_admission_policy_binding_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3713,7 +3713,7 @@ AdmissionregistrationV1alpha1API_replaceValidatingAdmissionPolicyBinding(apiClie // replace status of the specified ValidatingAdmissionPolicy // v1alpha1_validating_admission_policy_t* -AdmissionregistrationV1alpha1API_replaceValidatingAdmissionPolicyStatus(apiClient_t *apiClient, char * name , v1alpha1_validating_admission_policy_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +AdmissionregistrationV1alpha1API_replaceValidatingAdmissionPolicyStatus(apiClient_t *apiClient, char *name, v1alpha1_validating_admission_policy_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; diff --git a/kubernetes/api/AdmissionregistrationV1alpha1API.h b/kubernetes/api/AdmissionregistrationV1alpha1API.h index c720c3c6..77f9e0a3 100644 --- a/kubernetes/api/AdmissionregistrationV1alpha1API.h +++ b/kubernetes/api/AdmissionregistrationV1alpha1API.h @@ -18,37 +18,37 @@ // create a ValidatingAdmissionPolicy // v1alpha1_validating_admission_policy_t* -AdmissionregistrationV1alpha1API_createValidatingAdmissionPolicy(apiClient_t *apiClient, v1alpha1_validating_admission_policy_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +AdmissionregistrationV1alpha1API_createValidatingAdmissionPolicy(apiClient_t *apiClient, v1alpha1_validating_admission_policy_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // create a ValidatingAdmissionPolicyBinding // v1alpha1_validating_admission_policy_binding_t* -AdmissionregistrationV1alpha1API_createValidatingAdmissionPolicyBinding(apiClient_t *apiClient, v1alpha1_validating_admission_policy_binding_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +AdmissionregistrationV1alpha1API_createValidatingAdmissionPolicyBinding(apiClient_t *apiClient, v1alpha1_validating_admission_policy_binding_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // delete collection of ValidatingAdmissionPolicy // v1_status_t* -AdmissionregistrationV1alpha1API_deleteCollectionValidatingAdmissionPolicy(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +AdmissionregistrationV1alpha1API_deleteCollectionValidatingAdmissionPolicy(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); // delete collection of ValidatingAdmissionPolicyBinding // v1_status_t* -AdmissionregistrationV1alpha1API_deleteCollectionValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +AdmissionregistrationV1alpha1API_deleteCollectionValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); // delete a ValidatingAdmissionPolicy // v1_status_t* -AdmissionregistrationV1alpha1API_deleteValidatingAdmissionPolicy(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +AdmissionregistrationV1alpha1API_deleteValidatingAdmissionPolicy(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // delete a ValidatingAdmissionPolicyBinding // v1_status_t* -AdmissionregistrationV1alpha1API_deleteValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +AdmissionregistrationV1alpha1API_deleteValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // get available resources @@ -60,66 +60,66 @@ AdmissionregistrationV1alpha1API_getAPIResources(apiClient_t *apiClient); // list or watch objects of kind ValidatingAdmissionPolicy // v1alpha1_validating_admission_policy_list_t* -AdmissionregistrationV1alpha1API_listValidatingAdmissionPolicy(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +AdmissionregistrationV1alpha1API_listValidatingAdmissionPolicy(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind ValidatingAdmissionPolicyBinding // v1alpha1_validating_admission_policy_binding_list_t* -AdmissionregistrationV1alpha1API_listValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +AdmissionregistrationV1alpha1API_listValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // partially update the specified ValidatingAdmissionPolicy // v1alpha1_validating_admission_policy_t* -AdmissionregistrationV1alpha1API_patchValidatingAdmissionPolicy(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +AdmissionregistrationV1alpha1API_patchValidatingAdmissionPolicy(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update the specified ValidatingAdmissionPolicyBinding // v1alpha1_validating_admission_policy_binding_t* -AdmissionregistrationV1alpha1API_patchValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +AdmissionregistrationV1alpha1API_patchValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update status of the specified ValidatingAdmissionPolicy // v1alpha1_validating_admission_policy_t* -AdmissionregistrationV1alpha1API_patchValidatingAdmissionPolicyStatus(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +AdmissionregistrationV1alpha1API_patchValidatingAdmissionPolicyStatus(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // read the specified ValidatingAdmissionPolicy // v1alpha1_validating_admission_policy_t* -AdmissionregistrationV1alpha1API_readValidatingAdmissionPolicy(apiClient_t *apiClient, char * name , char * pretty ); +AdmissionregistrationV1alpha1API_readValidatingAdmissionPolicy(apiClient_t *apiClient, char *name, char *pretty); // read the specified ValidatingAdmissionPolicyBinding // v1alpha1_validating_admission_policy_binding_t* -AdmissionregistrationV1alpha1API_readValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char * name , char * pretty ); +AdmissionregistrationV1alpha1API_readValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char *name, char *pretty); // read status of the specified ValidatingAdmissionPolicy // v1alpha1_validating_admission_policy_t* -AdmissionregistrationV1alpha1API_readValidatingAdmissionPolicyStatus(apiClient_t *apiClient, char * name , char * pretty ); +AdmissionregistrationV1alpha1API_readValidatingAdmissionPolicyStatus(apiClient_t *apiClient, char *name, char *pretty); // replace the specified ValidatingAdmissionPolicy // v1alpha1_validating_admission_policy_t* -AdmissionregistrationV1alpha1API_replaceValidatingAdmissionPolicy(apiClient_t *apiClient, char * name , v1alpha1_validating_admission_policy_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +AdmissionregistrationV1alpha1API_replaceValidatingAdmissionPolicy(apiClient_t *apiClient, char *name, v1alpha1_validating_admission_policy_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace the specified ValidatingAdmissionPolicyBinding // v1alpha1_validating_admission_policy_binding_t* -AdmissionregistrationV1alpha1API_replaceValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char * name , v1alpha1_validating_admission_policy_binding_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +AdmissionregistrationV1alpha1API_replaceValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char *name, v1alpha1_validating_admission_policy_binding_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace status of the specified ValidatingAdmissionPolicy // v1alpha1_validating_admission_policy_t* -AdmissionregistrationV1alpha1API_replaceValidatingAdmissionPolicyStatus(apiClient_t *apiClient, char * name , v1alpha1_validating_admission_policy_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +AdmissionregistrationV1alpha1API_replaceValidatingAdmissionPolicyStatus(apiClient_t *apiClient, char *name, v1alpha1_validating_admission_policy_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); diff --git a/kubernetes/api/AdmissionregistrationV1beta1API.c b/kubernetes/api/AdmissionregistrationV1beta1API.c index a1539aa4..4ab5634a 100644 --- a/kubernetes/api/AdmissionregistrationV1beta1API.c +++ b/kubernetes/api/AdmissionregistrationV1beta1API.c @@ -15,7 +15,7 @@ // create a ValidatingAdmissionPolicy // v1beta1_validating_admission_policy_t* -AdmissionregistrationV1beta1API_createValidatingAdmissionPolicy(apiClient_t *apiClient, v1beta1_validating_admission_policy_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +AdmissionregistrationV1beta1API_createValidatingAdmissionPolicy(apiClient_t *apiClient, v1beta1_validating_admission_policy_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -200,7 +200,7 @@ AdmissionregistrationV1beta1API_createValidatingAdmissionPolicy(apiClient_t *api // create a ValidatingAdmissionPolicyBinding // v1beta1_validating_admission_policy_binding_t* -AdmissionregistrationV1beta1API_createValidatingAdmissionPolicyBinding(apiClient_t *apiClient, v1beta1_validating_admission_policy_binding_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +AdmissionregistrationV1beta1API_createValidatingAdmissionPolicyBinding(apiClient_t *apiClient, v1beta1_validating_admission_policy_binding_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -385,7 +385,7 @@ AdmissionregistrationV1beta1API_createValidatingAdmissionPolicyBinding(apiClient // delete collection of ValidatingAdmissionPolicy // v1_status_t* -AdmissionregistrationV1beta1API_deleteCollectionValidatingAdmissionPolicy(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +AdmissionregistrationV1beta1API_deleteCollectionValidatingAdmissionPolicy(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -454,11 +454,11 @@ AdmissionregistrationV1beta1API_deleteCollectionValidatingAdmissionPolicy(apiCli char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -479,11 +479,11 @@ AdmissionregistrationV1beta1API_deleteCollectionValidatingAdmissionPolicy(apiCli char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -492,11 +492,11 @@ AdmissionregistrationV1beta1API_deleteCollectionValidatingAdmissionPolicy(apiCli char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -541,11 +541,11 @@ AdmissionregistrationV1beta1API_deleteCollectionValidatingAdmissionPolicy(apiCli char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -554,11 +554,11 @@ AdmissionregistrationV1beta1API_deleteCollectionValidatingAdmissionPolicy(apiCli char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -783,7 +783,7 @@ AdmissionregistrationV1beta1API_deleteCollectionValidatingAdmissionPolicy(apiCli // delete collection of ValidatingAdmissionPolicyBinding // v1_status_t* -AdmissionregistrationV1beta1API_deleteCollectionValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +AdmissionregistrationV1beta1API_deleteCollectionValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -852,11 +852,11 @@ AdmissionregistrationV1beta1API_deleteCollectionValidatingAdmissionPolicyBinding char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -877,11 +877,11 @@ AdmissionregistrationV1beta1API_deleteCollectionValidatingAdmissionPolicyBinding char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -890,11 +890,11 @@ AdmissionregistrationV1beta1API_deleteCollectionValidatingAdmissionPolicyBinding char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -939,11 +939,11 @@ AdmissionregistrationV1beta1API_deleteCollectionValidatingAdmissionPolicyBinding char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -952,11 +952,11 @@ AdmissionregistrationV1beta1API_deleteCollectionValidatingAdmissionPolicyBinding char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -1181,7 +1181,7 @@ AdmissionregistrationV1beta1API_deleteCollectionValidatingAdmissionPolicyBinding // delete a ValidatingAdmissionPolicy // v1_status_t* -AdmissionregistrationV1beta1API_deleteValidatingAdmissionPolicy(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +AdmissionregistrationV1beta1API_deleteValidatingAdmissionPolicy(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1236,11 +1236,11 @@ AdmissionregistrationV1beta1API_deleteValidatingAdmissionPolicy(apiClient_t *api char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -1249,11 +1249,11 @@ AdmissionregistrationV1beta1API_deleteValidatingAdmissionPolicy(apiClient_t *api char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -1399,7 +1399,7 @@ AdmissionregistrationV1beta1API_deleteValidatingAdmissionPolicy(apiClient_t *api // delete a ValidatingAdmissionPolicyBinding // v1_status_t* -AdmissionregistrationV1beta1API_deleteValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +AdmissionregistrationV1beta1API_deleteValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1454,11 +1454,11 @@ AdmissionregistrationV1beta1API_deleteValidatingAdmissionPolicyBinding(apiClient char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -1467,11 +1467,11 @@ AdmissionregistrationV1beta1API_deleteValidatingAdmissionPolicyBinding(apiClient char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -1684,7 +1684,7 @@ AdmissionregistrationV1beta1API_getAPIResources(apiClient_t *apiClient) // list or watch objects of kind ValidatingAdmissionPolicy // v1beta1_validating_admission_policy_list_t* -AdmissionregistrationV1beta1API_listValidatingAdmissionPolicy(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +AdmissionregistrationV1beta1API_listValidatingAdmissionPolicy(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1717,11 +1717,11 @@ AdmissionregistrationV1beta1API_listValidatingAdmissionPolicy(apiClient_t *apiCl char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -1766,11 +1766,11 @@ AdmissionregistrationV1beta1API_listValidatingAdmissionPolicy(apiClient_t *apiCl char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -1803,11 +1803,11 @@ AdmissionregistrationV1beta1API_listValidatingAdmissionPolicy(apiClient_t *apiCl char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -1816,11 +1816,11 @@ AdmissionregistrationV1beta1API_listValidatingAdmissionPolicy(apiClient_t *apiCl char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -1829,11 +1829,11 @@ AdmissionregistrationV1beta1API_listValidatingAdmissionPolicy(apiClient_t *apiCl char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -2022,7 +2022,7 @@ AdmissionregistrationV1beta1API_listValidatingAdmissionPolicy(apiClient_t *apiCl // list or watch objects of kind ValidatingAdmissionPolicyBinding // v1beta1_validating_admission_policy_binding_list_t* -AdmissionregistrationV1beta1API_listValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +AdmissionregistrationV1beta1API_listValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2055,11 +2055,11 @@ AdmissionregistrationV1beta1API_listValidatingAdmissionPolicyBinding(apiClient_t char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -2104,11 +2104,11 @@ AdmissionregistrationV1beta1API_listValidatingAdmissionPolicyBinding(apiClient_t char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -2141,11 +2141,11 @@ AdmissionregistrationV1beta1API_listValidatingAdmissionPolicyBinding(apiClient_t char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -2154,11 +2154,11 @@ AdmissionregistrationV1beta1API_listValidatingAdmissionPolicyBinding(apiClient_t char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -2167,11 +2167,11 @@ AdmissionregistrationV1beta1API_listValidatingAdmissionPolicyBinding(apiClient_t char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -2360,7 +2360,7 @@ AdmissionregistrationV1beta1API_listValidatingAdmissionPolicyBinding(apiClient_t // partially update the specified ValidatingAdmissionPolicy // v1beta1_validating_admission_policy_t* -AdmissionregistrationV1beta1API_patchValidatingAdmissionPolicy(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +AdmissionregistrationV1beta1API_patchValidatingAdmissionPolicy(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2439,11 +2439,11 @@ AdmissionregistrationV1beta1API_patchValidatingAdmissionPolicy(apiClient_t *apiC char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -2581,7 +2581,7 @@ AdmissionregistrationV1beta1API_patchValidatingAdmissionPolicy(apiClient_t *apiC // partially update the specified ValidatingAdmissionPolicyBinding // v1beta1_validating_admission_policy_binding_t* -AdmissionregistrationV1beta1API_patchValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +AdmissionregistrationV1beta1API_patchValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2660,11 +2660,11 @@ AdmissionregistrationV1beta1API_patchValidatingAdmissionPolicyBinding(apiClient_ char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -2802,7 +2802,7 @@ AdmissionregistrationV1beta1API_patchValidatingAdmissionPolicyBinding(apiClient_ // partially update status of the specified ValidatingAdmissionPolicy // v1beta1_validating_admission_policy_t* -AdmissionregistrationV1beta1API_patchValidatingAdmissionPolicyStatus(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +AdmissionregistrationV1beta1API_patchValidatingAdmissionPolicyStatus(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2881,11 +2881,11 @@ AdmissionregistrationV1beta1API_patchValidatingAdmissionPolicyStatus(apiClient_t char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -3023,7 +3023,7 @@ AdmissionregistrationV1beta1API_patchValidatingAdmissionPolicyStatus(apiClient_t // read the specified ValidatingAdmissionPolicy // v1beta1_validating_admission_policy_t* -AdmissionregistrationV1beta1API_readValidatingAdmissionPolicy(apiClient_t *apiClient, char * name , char * pretty ) +AdmissionregistrationV1beta1API_readValidatingAdmissionPolicy(apiClient_t *apiClient, char *name, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3125,7 +3125,7 @@ AdmissionregistrationV1beta1API_readValidatingAdmissionPolicy(apiClient_t *apiCl // read the specified ValidatingAdmissionPolicyBinding // v1beta1_validating_admission_policy_binding_t* -AdmissionregistrationV1beta1API_readValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char * name , char * pretty ) +AdmissionregistrationV1beta1API_readValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char *name, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3227,7 +3227,7 @@ AdmissionregistrationV1beta1API_readValidatingAdmissionPolicyBinding(apiClient_t // read status of the specified ValidatingAdmissionPolicy // v1beta1_validating_admission_policy_t* -AdmissionregistrationV1beta1API_readValidatingAdmissionPolicyStatus(apiClient_t *apiClient, char * name , char * pretty ) +AdmissionregistrationV1beta1API_readValidatingAdmissionPolicyStatus(apiClient_t *apiClient, char *name, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3329,7 +3329,7 @@ AdmissionregistrationV1beta1API_readValidatingAdmissionPolicyStatus(apiClient_t // replace the specified ValidatingAdmissionPolicy // v1beta1_validating_admission_policy_t* -AdmissionregistrationV1beta1API_replaceValidatingAdmissionPolicy(apiClient_t *apiClient, char * name , v1beta1_validating_admission_policy_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +AdmissionregistrationV1beta1API_replaceValidatingAdmissionPolicy(apiClient_t *apiClient, char *name, v1beta1_validating_admission_policy_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3521,7 +3521,7 @@ AdmissionregistrationV1beta1API_replaceValidatingAdmissionPolicy(apiClient_t *ap // replace the specified ValidatingAdmissionPolicyBinding // v1beta1_validating_admission_policy_binding_t* -AdmissionregistrationV1beta1API_replaceValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char * name , v1beta1_validating_admission_policy_binding_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +AdmissionregistrationV1beta1API_replaceValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char *name, v1beta1_validating_admission_policy_binding_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3713,7 +3713,7 @@ AdmissionregistrationV1beta1API_replaceValidatingAdmissionPolicyBinding(apiClien // replace status of the specified ValidatingAdmissionPolicy // v1beta1_validating_admission_policy_t* -AdmissionregistrationV1beta1API_replaceValidatingAdmissionPolicyStatus(apiClient_t *apiClient, char * name , v1beta1_validating_admission_policy_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +AdmissionregistrationV1beta1API_replaceValidatingAdmissionPolicyStatus(apiClient_t *apiClient, char *name, v1beta1_validating_admission_policy_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; diff --git a/kubernetes/api/AdmissionregistrationV1beta1API.h b/kubernetes/api/AdmissionregistrationV1beta1API.h index 43a37dbf..c3034f10 100644 --- a/kubernetes/api/AdmissionregistrationV1beta1API.h +++ b/kubernetes/api/AdmissionregistrationV1beta1API.h @@ -18,37 +18,37 @@ // create a ValidatingAdmissionPolicy // v1beta1_validating_admission_policy_t* -AdmissionregistrationV1beta1API_createValidatingAdmissionPolicy(apiClient_t *apiClient, v1beta1_validating_admission_policy_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +AdmissionregistrationV1beta1API_createValidatingAdmissionPolicy(apiClient_t *apiClient, v1beta1_validating_admission_policy_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // create a ValidatingAdmissionPolicyBinding // v1beta1_validating_admission_policy_binding_t* -AdmissionregistrationV1beta1API_createValidatingAdmissionPolicyBinding(apiClient_t *apiClient, v1beta1_validating_admission_policy_binding_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +AdmissionregistrationV1beta1API_createValidatingAdmissionPolicyBinding(apiClient_t *apiClient, v1beta1_validating_admission_policy_binding_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // delete collection of ValidatingAdmissionPolicy // v1_status_t* -AdmissionregistrationV1beta1API_deleteCollectionValidatingAdmissionPolicy(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +AdmissionregistrationV1beta1API_deleteCollectionValidatingAdmissionPolicy(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); // delete collection of ValidatingAdmissionPolicyBinding // v1_status_t* -AdmissionregistrationV1beta1API_deleteCollectionValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +AdmissionregistrationV1beta1API_deleteCollectionValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); // delete a ValidatingAdmissionPolicy // v1_status_t* -AdmissionregistrationV1beta1API_deleteValidatingAdmissionPolicy(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +AdmissionregistrationV1beta1API_deleteValidatingAdmissionPolicy(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // delete a ValidatingAdmissionPolicyBinding // v1_status_t* -AdmissionregistrationV1beta1API_deleteValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +AdmissionregistrationV1beta1API_deleteValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // get available resources @@ -60,66 +60,66 @@ AdmissionregistrationV1beta1API_getAPIResources(apiClient_t *apiClient); // list or watch objects of kind ValidatingAdmissionPolicy // v1beta1_validating_admission_policy_list_t* -AdmissionregistrationV1beta1API_listValidatingAdmissionPolicy(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +AdmissionregistrationV1beta1API_listValidatingAdmissionPolicy(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind ValidatingAdmissionPolicyBinding // v1beta1_validating_admission_policy_binding_list_t* -AdmissionregistrationV1beta1API_listValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +AdmissionregistrationV1beta1API_listValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // partially update the specified ValidatingAdmissionPolicy // v1beta1_validating_admission_policy_t* -AdmissionregistrationV1beta1API_patchValidatingAdmissionPolicy(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +AdmissionregistrationV1beta1API_patchValidatingAdmissionPolicy(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update the specified ValidatingAdmissionPolicyBinding // v1beta1_validating_admission_policy_binding_t* -AdmissionregistrationV1beta1API_patchValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +AdmissionregistrationV1beta1API_patchValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update status of the specified ValidatingAdmissionPolicy // v1beta1_validating_admission_policy_t* -AdmissionregistrationV1beta1API_patchValidatingAdmissionPolicyStatus(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +AdmissionregistrationV1beta1API_patchValidatingAdmissionPolicyStatus(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // read the specified ValidatingAdmissionPolicy // v1beta1_validating_admission_policy_t* -AdmissionregistrationV1beta1API_readValidatingAdmissionPolicy(apiClient_t *apiClient, char * name , char * pretty ); +AdmissionregistrationV1beta1API_readValidatingAdmissionPolicy(apiClient_t *apiClient, char *name, char *pretty); // read the specified ValidatingAdmissionPolicyBinding // v1beta1_validating_admission_policy_binding_t* -AdmissionregistrationV1beta1API_readValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char * name , char * pretty ); +AdmissionregistrationV1beta1API_readValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char *name, char *pretty); // read status of the specified ValidatingAdmissionPolicy // v1beta1_validating_admission_policy_t* -AdmissionregistrationV1beta1API_readValidatingAdmissionPolicyStatus(apiClient_t *apiClient, char * name , char * pretty ); +AdmissionregistrationV1beta1API_readValidatingAdmissionPolicyStatus(apiClient_t *apiClient, char *name, char *pretty); // replace the specified ValidatingAdmissionPolicy // v1beta1_validating_admission_policy_t* -AdmissionregistrationV1beta1API_replaceValidatingAdmissionPolicy(apiClient_t *apiClient, char * name , v1beta1_validating_admission_policy_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +AdmissionregistrationV1beta1API_replaceValidatingAdmissionPolicy(apiClient_t *apiClient, char *name, v1beta1_validating_admission_policy_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace the specified ValidatingAdmissionPolicyBinding // v1beta1_validating_admission_policy_binding_t* -AdmissionregistrationV1beta1API_replaceValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char * name , v1beta1_validating_admission_policy_binding_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +AdmissionregistrationV1beta1API_replaceValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char *name, v1beta1_validating_admission_policy_binding_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace status of the specified ValidatingAdmissionPolicy // v1beta1_validating_admission_policy_t* -AdmissionregistrationV1beta1API_replaceValidatingAdmissionPolicyStatus(apiClient_t *apiClient, char * name , v1beta1_validating_admission_policy_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +AdmissionregistrationV1beta1API_replaceValidatingAdmissionPolicyStatus(apiClient_t *apiClient, char *name, v1beta1_validating_admission_policy_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); diff --git a/kubernetes/api/ApiextensionsV1API.c b/kubernetes/api/ApiextensionsV1API.c index ef54cdbc..7395e3e8 100644 --- a/kubernetes/api/ApiextensionsV1API.c +++ b/kubernetes/api/ApiextensionsV1API.c @@ -15,7 +15,7 @@ // create a CustomResourceDefinition // v1_custom_resource_definition_t* -ApiextensionsV1API_createCustomResourceDefinition(apiClient_t *apiClient, v1_custom_resource_definition_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +ApiextensionsV1API_createCustomResourceDefinition(apiClient_t *apiClient, v1_custom_resource_definition_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -200,7 +200,7 @@ ApiextensionsV1API_createCustomResourceDefinition(apiClient_t *apiClient, v1_cus // delete collection of CustomResourceDefinition // v1_status_t* -ApiextensionsV1API_deleteCollectionCustomResourceDefinition(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +ApiextensionsV1API_deleteCollectionCustomResourceDefinition(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -269,11 +269,11 @@ ApiextensionsV1API_deleteCollectionCustomResourceDefinition(apiClient_t *apiClie char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -294,11 +294,11 @@ ApiextensionsV1API_deleteCollectionCustomResourceDefinition(apiClient_t *apiClie char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -307,11 +307,11 @@ ApiextensionsV1API_deleteCollectionCustomResourceDefinition(apiClient_t *apiClie char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -356,11 +356,11 @@ ApiextensionsV1API_deleteCollectionCustomResourceDefinition(apiClient_t *apiClie char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -369,11 +369,11 @@ ApiextensionsV1API_deleteCollectionCustomResourceDefinition(apiClient_t *apiClie char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -598,7 +598,7 @@ ApiextensionsV1API_deleteCollectionCustomResourceDefinition(apiClient_t *apiClie // delete a CustomResourceDefinition // v1_status_t* -ApiextensionsV1API_deleteCustomResourceDefinition(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +ApiextensionsV1API_deleteCustomResourceDefinition(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -653,11 +653,11 @@ ApiextensionsV1API_deleteCustomResourceDefinition(apiClient_t *apiClient, char * char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -666,11 +666,11 @@ ApiextensionsV1API_deleteCustomResourceDefinition(apiClient_t *apiClient, char * char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -883,7 +883,7 @@ ApiextensionsV1API_getAPIResources(apiClient_t *apiClient) // list or watch objects of kind CustomResourceDefinition // v1_custom_resource_definition_list_t* -ApiextensionsV1API_listCustomResourceDefinition(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +ApiextensionsV1API_listCustomResourceDefinition(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -916,11 +916,11 @@ ApiextensionsV1API_listCustomResourceDefinition(apiClient_t *apiClient, char * p char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -965,11 +965,11 @@ ApiextensionsV1API_listCustomResourceDefinition(apiClient_t *apiClient, char * p char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -1002,11 +1002,11 @@ ApiextensionsV1API_listCustomResourceDefinition(apiClient_t *apiClient, char * p char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -1015,11 +1015,11 @@ ApiextensionsV1API_listCustomResourceDefinition(apiClient_t *apiClient, char * p char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -1028,11 +1028,11 @@ ApiextensionsV1API_listCustomResourceDefinition(apiClient_t *apiClient, char * p char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -1221,7 +1221,7 @@ ApiextensionsV1API_listCustomResourceDefinition(apiClient_t *apiClient, char * p // partially update the specified CustomResourceDefinition // v1_custom_resource_definition_t* -ApiextensionsV1API_patchCustomResourceDefinition(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +ApiextensionsV1API_patchCustomResourceDefinition(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1300,11 +1300,11 @@ ApiextensionsV1API_patchCustomResourceDefinition(apiClient_t *apiClient, char * char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -1442,7 +1442,7 @@ ApiextensionsV1API_patchCustomResourceDefinition(apiClient_t *apiClient, char * // partially update status of the specified CustomResourceDefinition // v1_custom_resource_definition_t* -ApiextensionsV1API_patchCustomResourceDefinitionStatus(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +ApiextensionsV1API_patchCustomResourceDefinitionStatus(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1521,11 +1521,11 @@ ApiextensionsV1API_patchCustomResourceDefinitionStatus(apiClient_t *apiClient, c char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -1663,7 +1663,7 @@ ApiextensionsV1API_patchCustomResourceDefinitionStatus(apiClient_t *apiClient, c // read the specified CustomResourceDefinition // v1_custom_resource_definition_t* -ApiextensionsV1API_readCustomResourceDefinition(apiClient_t *apiClient, char * name , char * pretty ) +ApiextensionsV1API_readCustomResourceDefinition(apiClient_t *apiClient, char *name, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1765,7 +1765,7 @@ ApiextensionsV1API_readCustomResourceDefinition(apiClient_t *apiClient, char * n // read status of the specified CustomResourceDefinition // v1_custom_resource_definition_t* -ApiextensionsV1API_readCustomResourceDefinitionStatus(apiClient_t *apiClient, char * name , char * pretty ) +ApiextensionsV1API_readCustomResourceDefinitionStatus(apiClient_t *apiClient, char *name, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1867,7 +1867,7 @@ ApiextensionsV1API_readCustomResourceDefinitionStatus(apiClient_t *apiClient, ch // replace the specified CustomResourceDefinition // v1_custom_resource_definition_t* -ApiextensionsV1API_replaceCustomResourceDefinition(apiClient_t *apiClient, char * name , v1_custom_resource_definition_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +ApiextensionsV1API_replaceCustomResourceDefinition(apiClient_t *apiClient, char *name, v1_custom_resource_definition_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2059,7 +2059,7 @@ ApiextensionsV1API_replaceCustomResourceDefinition(apiClient_t *apiClient, char // replace status of the specified CustomResourceDefinition // v1_custom_resource_definition_t* -ApiextensionsV1API_replaceCustomResourceDefinitionStatus(apiClient_t *apiClient, char * name , v1_custom_resource_definition_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +ApiextensionsV1API_replaceCustomResourceDefinitionStatus(apiClient_t *apiClient, char *name, v1_custom_resource_definition_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; diff --git a/kubernetes/api/ApiextensionsV1API.h b/kubernetes/api/ApiextensionsV1API.h index e818dec2..662b40e3 100644 --- a/kubernetes/api/ApiextensionsV1API.h +++ b/kubernetes/api/ApiextensionsV1API.h @@ -16,19 +16,19 @@ // create a CustomResourceDefinition // v1_custom_resource_definition_t* -ApiextensionsV1API_createCustomResourceDefinition(apiClient_t *apiClient, v1_custom_resource_definition_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +ApiextensionsV1API_createCustomResourceDefinition(apiClient_t *apiClient, v1_custom_resource_definition_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // delete collection of CustomResourceDefinition // v1_status_t* -ApiextensionsV1API_deleteCollectionCustomResourceDefinition(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +ApiextensionsV1API_deleteCollectionCustomResourceDefinition(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); // delete a CustomResourceDefinition // v1_status_t* -ApiextensionsV1API_deleteCustomResourceDefinition(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +ApiextensionsV1API_deleteCustomResourceDefinition(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // get available resources @@ -40,42 +40,42 @@ ApiextensionsV1API_getAPIResources(apiClient_t *apiClient); // list or watch objects of kind CustomResourceDefinition // v1_custom_resource_definition_list_t* -ApiextensionsV1API_listCustomResourceDefinition(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +ApiextensionsV1API_listCustomResourceDefinition(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // partially update the specified CustomResourceDefinition // v1_custom_resource_definition_t* -ApiextensionsV1API_patchCustomResourceDefinition(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +ApiextensionsV1API_patchCustomResourceDefinition(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update status of the specified CustomResourceDefinition // v1_custom_resource_definition_t* -ApiextensionsV1API_patchCustomResourceDefinitionStatus(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +ApiextensionsV1API_patchCustomResourceDefinitionStatus(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // read the specified CustomResourceDefinition // v1_custom_resource_definition_t* -ApiextensionsV1API_readCustomResourceDefinition(apiClient_t *apiClient, char * name , char * pretty ); +ApiextensionsV1API_readCustomResourceDefinition(apiClient_t *apiClient, char *name, char *pretty); // read status of the specified CustomResourceDefinition // v1_custom_resource_definition_t* -ApiextensionsV1API_readCustomResourceDefinitionStatus(apiClient_t *apiClient, char * name , char * pretty ); +ApiextensionsV1API_readCustomResourceDefinitionStatus(apiClient_t *apiClient, char *name, char *pretty); // replace the specified CustomResourceDefinition // v1_custom_resource_definition_t* -ApiextensionsV1API_replaceCustomResourceDefinition(apiClient_t *apiClient, char * name , v1_custom_resource_definition_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +ApiextensionsV1API_replaceCustomResourceDefinition(apiClient_t *apiClient, char *name, v1_custom_resource_definition_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace status of the specified CustomResourceDefinition // v1_custom_resource_definition_t* -ApiextensionsV1API_replaceCustomResourceDefinitionStatus(apiClient_t *apiClient, char * name , v1_custom_resource_definition_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +ApiextensionsV1API_replaceCustomResourceDefinitionStatus(apiClient_t *apiClient, char *name, v1_custom_resource_definition_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); diff --git a/kubernetes/api/ApiregistrationV1API.c b/kubernetes/api/ApiregistrationV1API.c index 067d9f9a..1113752b 100644 --- a/kubernetes/api/ApiregistrationV1API.c +++ b/kubernetes/api/ApiregistrationV1API.c @@ -15,7 +15,7 @@ // create an APIService // v1_api_service_t* -ApiregistrationV1API_createAPIService(apiClient_t *apiClient, v1_api_service_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +ApiregistrationV1API_createAPIService(apiClient_t *apiClient, v1_api_service_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -200,7 +200,7 @@ ApiregistrationV1API_createAPIService(apiClient_t *apiClient, v1_api_service_t * // delete an APIService // v1_status_t* -ApiregistrationV1API_deleteAPIService(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +ApiregistrationV1API_deleteAPIService(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -255,11 +255,11 @@ ApiregistrationV1API_deleteAPIService(apiClient_t *apiClient, char * name , char char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -268,11 +268,11 @@ ApiregistrationV1API_deleteAPIService(apiClient_t *apiClient, char * name , char char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -418,7 +418,7 @@ ApiregistrationV1API_deleteAPIService(apiClient_t *apiClient, char * name , char // delete collection of APIService // v1_status_t* -ApiregistrationV1API_deleteCollectionAPIService(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +ApiregistrationV1API_deleteCollectionAPIService(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -487,11 +487,11 @@ ApiregistrationV1API_deleteCollectionAPIService(apiClient_t *apiClient, char * p char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -512,11 +512,11 @@ ApiregistrationV1API_deleteCollectionAPIService(apiClient_t *apiClient, char * p char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -525,11 +525,11 @@ ApiregistrationV1API_deleteCollectionAPIService(apiClient_t *apiClient, char * p char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -574,11 +574,11 @@ ApiregistrationV1API_deleteCollectionAPIService(apiClient_t *apiClient, char * p char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -587,11 +587,11 @@ ApiregistrationV1API_deleteCollectionAPIService(apiClient_t *apiClient, char * p char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -883,7 +883,7 @@ ApiregistrationV1API_getAPIResources(apiClient_t *apiClient) // list or watch objects of kind APIService // v1_api_service_list_t* -ApiregistrationV1API_listAPIService(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +ApiregistrationV1API_listAPIService(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -916,11 +916,11 @@ ApiregistrationV1API_listAPIService(apiClient_t *apiClient, char * pretty , int char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -965,11 +965,11 @@ ApiregistrationV1API_listAPIService(apiClient_t *apiClient, char * pretty , int char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -1002,11 +1002,11 @@ ApiregistrationV1API_listAPIService(apiClient_t *apiClient, char * pretty , int char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -1015,11 +1015,11 @@ ApiregistrationV1API_listAPIService(apiClient_t *apiClient, char * pretty , int char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -1028,11 +1028,11 @@ ApiregistrationV1API_listAPIService(apiClient_t *apiClient, char * pretty , int char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -1221,7 +1221,7 @@ ApiregistrationV1API_listAPIService(apiClient_t *apiClient, char * pretty , int // partially update the specified APIService // v1_api_service_t* -ApiregistrationV1API_patchAPIService(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +ApiregistrationV1API_patchAPIService(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1300,11 +1300,11 @@ ApiregistrationV1API_patchAPIService(apiClient_t *apiClient, char * name , objec char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -1442,7 +1442,7 @@ ApiregistrationV1API_patchAPIService(apiClient_t *apiClient, char * name , objec // partially update status of the specified APIService // v1_api_service_t* -ApiregistrationV1API_patchAPIServiceStatus(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +ApiregistrationV1API_patchAPIServiceStatus(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1521,11 +1521,11 @@ ApiregistrationV1API_patchAPIServiceStatus(apiClient_t *apiClient, char * name , char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -1663,7 +1663,7 @@ ApiregistrationV1API_patchAPIServiceStatus(apiClient_t *apiClient, char * name , // read the specified APIService // v1_api_service_t* -ApiregistrationV1API_readAPIService(apiClient_t *apiClient, char * name , char * pretty ) +ApiregistrationV1API_readAPIService(apiClient_t *apiClient, char *name, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1765,7 +1765,7 @@ ApiregistrationV1API_readAPIService(apiClient_t *apiClient, char * name , char * // read status of the specified APIService // v1_api_service_t* -ApiregistrationV1API_readAPIServiceStatus(apiClient_t *apiClient, char * name , char * pretty ) +ApiregistrationV1API_readAPIServiceStatus(apiClient_t *apiClient, char *name, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1867,7 +1867,7 @@ ApiregistrationV1API_readAPIServiceStatus(apiClient_t *apiClient, char * name , // replace the specified APIService // v1_api_service_t* -ApiregistrationV1API_replaceAPIService(apiClient_t *apiClient, char * name , v1_api_service_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +ApiregistrationV1API_replaceAPIService(apiClient_t *apiClient, char *name, v1_api_service_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2059,7 +2059,7 @@ ApiregistrationV1API_replaceAPIService(apiClient_t *apiClient, char * name , v1_ // replace status of the specified APIService // v1_api_service_t* -ApiregistrationV1API_replaceAPIServiceStatus(apiClient_t *apiClient, char * name , v1_api_service_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +ApiregistrationV1API_replaceAPIServiceStatus(apiClient_t *apiClient, char *name, v1_api_service_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; diff --git a/kubernetes/api/ApiregistrationV1API.h b/kubernetes/api/ApiregistrationV1API.h index 4a96d3b0..71c7806c 100644 --- a/kubernetes/api/ApiregistrationV1API.h +++ b/kubernetes/api/ApiregistrationV1API.h @@ -16,19 +16,19 @@ // create an APIService // v1_api_service_t* -ApiregistrationV1API_createAPIService(apiClient_t *apiClient, v1_api_service_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +ApiregistrationV1API_createAPIService(apiClient_t *apiClient, v1_api_service_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // delete an APIService // v1_status_t* -ApiregistrationV1API_deleteAPIService(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +ApiregistrationV1API_deleteAPIService(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // delete collection of APIService // v1_status_t* -ApiregistrationV1API_deleteCollectionAPIService(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +ApiregistrationV1API_deleteCollectionAPIService(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); // get available resources @@ -40,42 +40,42 @@ ApiregistrationV1API_getAPIResources(apiClient_t *apiClient); // list or watch objects of kind APIService // v1_api_service_list_t* -ApiregistrationV1API_listAPIService(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +ApiregistrationV1API_listAPIService(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // partially update the specified APIService // v1_api_service_t* -ApiregistrationV1API_patchAPIService(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +ApiregistrationV1API_patchAPIService(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update status of the specified APIService // v1_api_service_t* -ApiregistrationV1API_patchAPIServiceStatus(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +ApiregistrationV1API_patchAPIServiceStatus(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // read the specified APIService // v1_api_service_t* -ApiregistrationV1API_readAPIService(apiClient_t *apiClient, char * name , char * pretty ); +ApiregistrationV1API_readAPIService(apiClient_t *apiClient, char *name, char *pretty); // read status of the specified APIService // v1_api_service_t* -ApiregistrationV1API_readAPIServiceStatus(apiClient_t *apiClient, char * name , char * pretty ); +ApiregistrationV1API_readAPIServiceStatus(apiClient_t *apiClient, char *name, char *pretty); // replace the specified APIService // v1_api_service_t* -ApiregistrationV1API_replaceAPIService(apiClient_t *apiClient, char * name , v1_api_service_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +ApiregistrationV1API_replaceAPIService(apiClient_t *apiClient, char *name, v1_api_service_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace status of the specified APIService // v1_api_service_t* -ApiregistrationV1API_replaceAPIServiceStatus(apiClient_t *apiClient, char * name , v1_api_service_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +ApiregistrationV1API_replaceAPIServiceStatus(apiClient_t *apiClient, char *name, v1_api_service_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); diff --git a/kubernetes/api/AppsV1API.c b/kubernetes/api/AppsV1API.c index ee47060f..2f14d7c3 100644 --- a/kubernetes/api/AppsV1API.c +++ b/kubernetes/api/AppsV1API.c @@ -15,7 +15,7 @@ // create a ControllerRevision // v1_controller_revision_t* -AppsV1API_createNamespacedControllerRevision(apiClient_t *apiClient, char * _namespace , v1_controller_revision_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +AppsV1API_createNamespacedControllerRevision(apiClient_t *apiClient, char *_namespace, v1_controller_revision_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -211,7 +211,7 @@ AppsV1API_createNamespacedControllerRevision(apiClient_t *apiClient, char * _nam // create a DaemonSet // v1_daemon_set_t* -AppsV1API_createNamespacedDaemonSet(apiClient_t *apiClient, char * _namespace , v1_daemon_set_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +AppsV1API_createNamespacedDaemonSet(apiClient_t *apiClient, char *_namespace, v1_daemon_set_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -407,7 +407,7 @@ AppsV1API_createNamespacedDaemonSet(apiClient_t *apiClient, char * _namespace , // create a Deployment // v1_deployment_t* -AppsV1API_createNamespacedDeployment(apiClient_t *apiClient, char * _namespace , v1_deployment_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +AppsV1API_createNamespacedDeployment(apiClient_t *apiClient, char *_namespace, v1_deployment_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -603,7 +603,7 @@ AppsV1API_createNamespacedDeployment(apiClient_t *apiClient, char * _namespace , // create a ReplicaSet // v1_replica_set_t* -AppsV1API_createNamespacedReplicaSet(apiClient_t *apiClient, char * _namespace , v1_replica_set_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +AppsV1API_createNamespacedReplicaSet(apiClient_t *apiClient, char *_namespace, v1_replica_set_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -799,7 +799,7 @@ AppsV1API_createNamespacedReplicaSet(apiClient_t *apiClient, char * _namespace , // create a StatefulSet // v1_stateful_set_t* -AppsV1API_createNamespacedStatefulSet(apiClient_t *apiClient, char * _namespace , v1_stateful_set_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +AppsV1API_createNamespacedStatefulSet(apiClient_t *apiClient, char *_namespace, v1_stateful_set_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -995,7 +995,7 @@ AppsV1API_createNamespacedStatefulSet(apiClient_t *apiClient, char * _namespace // delete collection of ControllerRevision // v1_status_t* -AppsV1API_deleteCollectionNamespacedControllerRevision(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +AppsV1API_deleteCollectionNamespacedControllerRevision(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1074,11 +1074,11 @@ AppsV1API_deleteCollectionNamespacedControllerRevision(apiClient_t *apiClient, c char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -1099,11 +1099,11 @@ AppsV1API_deleteCollectionNamespacedControllerRevision(apiClient_t *apiClient, c char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -1112,11 +1112,11 @@ AppsV1API_deleteCollectionNamespacedControllerRevision(apiClient_t *apiClient, c char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -1161,11 +1161,11 @@ AppsV1API_deleteCollectionNamespacedControllerRevision(apiClient_t *apiClient, c char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -1174,11 +1174,11 @@ AppsV1API_deleteCollectionNamespacedControllerRevision(apiClient_t *apiClient, c char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -1404,7 +1404,7 @@ AppsV1API_deleteCollectionNamespacedControllerRevision(apiClient_t *apiClient, c // delete collection of DaemonSet // v1_status_t* -AppsV1API_deleteCollectionNamespacedDaemonSet(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +AppsV1API_deleteCollectionNamespacedDaemonSet(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1483,11 +1483,11 @@ AppsV1API_deleteCollectionNamespacedDaemonSet(apiClient_t *apiClient, char * _na char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -1508,11 +1508,11 @@ AppsV1API_deleteCollectionNamespacedDaemonSet(apiClient_t *apiClient, char * _na char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -1521,11 +1521,11 @@ AppsV1API_deleteCollectionNamespacedDaemonSet(apiClient_t *apiClient, char * _na char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -1570,11 +1570,11 @@ AppsV1API_deleteCollectionNamespacedDaemonSet(apiClient_t *apiClient, char * _na char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -1583,11 +1583,11 @@ AppsV1API_deleteCollectionNamespacedDaemonSet(apiClient_t *apiClient, char * _na char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -1813,7 +1813,7 @@ AppsV1API_deleteCollectionNamespacedDaemonSet(apiClient_t *apiClient, char * _na // delete collection of Deployment // v1_status_t* -AppsV1API_deleteCollectionNamespacedDeployment(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +AppsV1API_deleteCollectionNamespacedDeployment(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1892,11 +1892,11 @@ AppsV1API_deleteCollectionNamespacedDeployment(apiClient_t *apiClient, char * _n char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -1917,11 +1917,11 @@ AppsV1API_deleteCollectionNamespacedDeployment(apiClient_t *apiClient, char * _n char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -1930,11 +1930,11 @@ AppsV1API_deleteCollectionNamespacedDeployment(apiClient_t *apiClient, char * _n char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -1979,11 +1979,11 @@ AppsV1API_deleteCollectionNamespacedDeployment(apiClient_t *apiClient, char * _n char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -1992,11 +1992,11 @@ AppsV1API_deleteCollectionNamespacedDeployment(apiClient_t *apiClient, char * _n char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -2222,7 +2222,7 @@ AppsV1API_deleteCollectionNamespacedDeployment(apiClient_t *apiClient, char * _n // delete collection of ReplicaSet // v1_status_t* -AppsV1API_deleteCollectionNamespacedReplicaSet(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +AppsV1API_deleteCollectionNamespacedReplicaSet(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2301,11 +2301,11 @@ AppsV1API_deleteCollectionNamespacedReplicaSet(apiClient_t *apiClient, char * _n char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -2326,11 +2326,11 @@ AppsV1API_deleteCollectionNamespacedReplicaSet(apiClient_t *apiClient, char * _n char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -2339,11 +2339,11 @@ AppsV1API_deleteCollectionNamespacedReplicaSet(apiClient_t *apiClient, char * _n char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -2388,11 +2388,11 @@ AppsV1API_deleteCollectionNamespacedReplicaSet(apiClient_t *apiClient, char * _n char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -2401,11 +2401,11 @@ AppsV1API_deleteCollectionNamespacedReplicaSet(apiClient_t *apiClient, char * _n char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -2631,7 +2631,7 @@ AppsV1API_deleteCollectionNamespacedReplicaSet(apiClient_t *apiClient, char * _n // delete collection of StatefulSet // v1_status_t* -AppsV1API_deleteCollectionNamespacedStatefulSet(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +AppsV1API_deleteCollectionNamespacedStatefulSet(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2710,11 +2710,11 @@ AppsV1API_deleteCollectionNamespacedStatefulSet(apiClient_t *apiClient, char * _ char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -2735,11 +2735,11 @@ AppsV1API_deleteCollectionNamespacedStatefulSet(apiClient_t *apiClient, char * _ char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -2748,11 +2748,11 @@ AppsV1API_deleteCollectionNamespacedStatefulSet(apiClient_t *apiClient, char * _ char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -2797,11 +2797,11 @@ AppsV1API_deleteCollectionNamespacedStatefulSet(apiClient_t *apiClient, char * _ char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -2810,11 +2810,11 @@ AppsV1API_deleteCollectionNamespacedStatefulSet(apiClient_t *apiClient, char * _ char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -3040,7 +3040,7 @@ AppsV1API_deleteCollectionNamespacedStatefulSet(apiClient_t *apiClient, char * _ // delete a ControllerRevision // v1_status_t* -AppsV1API_deleteNamespacedControllerRevision(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +AppsV1API_deleteNamespacedControllerRevision(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3105,11 +3105,11 @@ AppsV1API_deleteNamespacedControllerRevision(apiClient_t *apiClient, char * name char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -3118,11 +3118,11 @@ AppsV1API_deleteNamespacedControllerRevision(apiClient_t *apiClient, char * name char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -3269,7 +3269,7 @@ AppsV1API_deleteNamespacedControllerRevision(apiClient_t *apiClient, char * name // delete a DaemonSet // v1_status_t* -AppsV1API_deleteNamespacedDaemonSet(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +AppsV1API_deleteNamespacedDaemonSet(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3334,11 +3334,11 @@ AppsV1API_deleteNamespacedDaemonSet(apiClient_t *apiClient, char * name , char * char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -3347,11 +3347,11 @@ AppsV1API_deleteNamespacedDaemonSet(apiClient_t *apiClient, char * name , char * char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -3498,7 +3498,7 @@ AppsV1API_deleteNamespacedDaemonSet(apiClient_t *apiClient, char * name , char * // delete a Deployment // v1_status_t* -AppsV1API_deleteNamespacedDeployment(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +AppsV1API_deleteNamespacedDeployment(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3563,11 +3563,11 @@ AppsV1API_deleteNamespacedDeployment(apiClient_t *apiClient, char * name , char char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -3576,11 +3576,11 @@ AppsV1API_deleteNamespacedDeployment(apiClient_t *apiClient, char * name , char char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -3727,7 +3727,7 @@ AppsV1API_deleteNamespacedDeployment(apiClient_t *apiClient, char * name , char // delete a ReplicaSet // v1_status_t* -AppsV1API_deleteNamespacedReplicaSet(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +AppsV1API_deleteNamespacedReplicaSet(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3792,11 +3792,11 @@ AppsV1API_deleteNamespacedReplicaSet(apiClient_t *apiClient, char * name , char char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -3805,11 +3805,11 @@ AppsV1API_deleteNamespacedReplicaSet(apiClient_t *apiClient, char * name , char char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -3956,7 +3956,7 @@ AppsV1API_deleteNamespacedReplicaSet(apiClient_t *apiClient, char * name , char // delete a StatefulSet // v1_status_t* -AppsV1API_deleteNamespacedStatefulSet(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +AppsV1API_deleteNamespacedStatefulSet(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -4021,11 +4021,11 @@ AppsV1API_deleteNamespacedStatefulSet(apiClient_t *apiClient, char * name , char char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -4034,11 +4034,11 @@ AppsV1API_deleteNamespacedStatefulSet(apiClient_t *apiClient, char * name , char char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -4252,7 +4252,7 @@ AppsV1API_getAPIResources(apiClient_t *apiClient) // list or watch objects of kind ControllerRevision // v1_controller_revision_list_t* -AppsV1API_listControllerRevisionForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +AppsV1API_listControllerRevisionForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -4273,11 +4273,11 @@ AppsV1API_listControllerRevisionForAllNamespaces(apiClient_t *apiClient, int all char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -4322,11 +4322,11 @@ AppsV1API_listControllerRevisionForAllNamespaces(apiClient_t *apiClient, int all char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -4371,11 +4371,11 @@ AppsV1API_listControllerRevisionForAllNamespaces(apiClient_t *apiClient, int all char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -4384,11 +4384,11 @@ AppsV1API_listControllerRevisionForAllNamespaces(apiClient_t *apiClient, int all char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -4397,11 +4397,11 @@ AppsV1API_listControllerRevisionForAllNamespaces(apiClient_t *apiClient, int all char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -4590,7 +4590,7 @@ AppsV1API_listControllerRevisionForAllNamespaces(apiClient_t *apiClient, int all // list or watch objects of kind DaemonSet // v1_daemon_set_list_t* -AppsV1API_listDaemonSetForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +AppsV1API_listDaemonSetForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -4611,11 +4611,11 @@ AppsV1API_listDaemonSetForAllNamespaces(apiClient_t *apiClient, int allowWatchBo char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -4660,11 +4660,11 @@ AppsV1API_listDaemonSetForAllNamespaces(apiClient_t *apiClient, int allowWatchBo char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -4709,11 +4709,11 @@ AppsV1API_listDaemonSetForAllNamespaces(apiClient_t *apiClient, int allowWatchBo char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -4722,11 +4722,11 @@ AppsV1API_listDaemonSetForAllNamespaces(apiClient_t *apiClient, int allowWatchBo char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -4735,11 +4735,11 @@ AppsV1API_listDaemonSetForAllNamespaces(apiClient_t *apiClient, int allowWatchBo char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -4928,7 +4928,7 @@ AppsV1API_listDaemonSetForAllNamespaces(apiClient_t *apiClient, int allowWatchBo // list or watch objects of kind Deployment // v1_deployment_list_t* -AppsV1API_listDeploymentForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +AppsV1API_listDeploymentForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -4949,11 +4949,11 @@ AppsV1API_listDeploymentForAllNamespaces(apiClient_t *apiClient, int allowWatchB char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -4998,11 +4998,11 @@ AppsV1API_listDeploymentForAllNamespaces(apiClient_t *apiClient, int allowWatchB char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -5047,11 +5047,11 @@ AppsV1API_listDeploymentForAllNamespaces(apiClient_t *apiClient, int allowWatchB char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -5060,11 +5060,11 @@ AppsV1API_listDeploymentForAllNamespaces(apiClient_t *apiClient, int allowWatchB char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -5073,11 +5073,11 @@ AppsV1API_listDeploymentForAllNamespaces(apiClient_t *apiClient, int allowWatchB char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -5266,7 +5266,7 @@ AppsV1API_listDeploymentForAllNamespaces(apiClient_t *apiClient, int allowWatchB // list or watch objects of kind ControllerRevision // v1_controller_revision_list_t* -AppsV1API_listNamespacedControllerRevision(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +AppsV1API_listNamespacedControllerRevision(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -5309,11 +5309,11 @@ AppsV1API_listNamespacedControllerRevision(apiClient_t *apiClient, char * _names char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -5358,11 +5358,11 @@ AppsV1API_listNamespacedControllerRevision(apiClient_t *apiClient, char * _names char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -5395,11 +5395,11 @@ AppsV1API_listNamespacedControllerRevision(apiClient_t *apiClient, char * _names char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -5408,11 +5408,11 @@ AppsV1API_listNamespacedControllerRevision(apiClient_t *apiClient, char * _names char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -5421,11 +5421,11 @@ AppsV1API_listNamespacedControllerRevision(apiClient_t *apiClient, char * _names char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -5615,7 +5615,7 @@ AppsV1API_listNamespacedControllerRevision(apiClient_t *apiClient, char * _names // list or watch objects of kind DaemonSet // v1_daemon_set_list_t* -AppsV1API_listNamespacedDaemonSet(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +AppsV1API_listNamespacedDaemonSet(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -5658,11 +5658,11 @@ AppsV1API_listNamespacedDaemonSet(apiClient_t *apiClient, char * _namespace , ch char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -5707,11 +5707,11 @@ AppsV1API_listNamespacedDaemonSet(apiClient_t *apiClient, char * _namespace , ch char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -5744,11 +5744,11 @@ AppsV1API_listNamespacedDaemonSet(apiClient_t *apiClient, char * _namespace , ch char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -5757,11 +5757,11 @@ AppsV1API_listNamespacedDaemonSet(apiClient_t *apiClient, char * _namespace , ch char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -5770,11 +5770,11 @@ AppsV1API_listNamespacedDaemonSet(apiClient_t *apiClient, char * _namespace , ch char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -5964,7 +5964,7 @@ AppsV1API_listNamespacedDaemonSet(apiClient_t *apiClient, char * _namespace , ch // list or watch objects of kind Deployment // v1_deployment_list_t* -AppsV1API_listNamespacedDeployment(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +AppsV1API_listNamespacedDeployment(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -6007,11 +6007,11 @@ AppsV1API_listNamespacedDeployment(apiClient_t *apiClient, char * _namespace , c char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -6056,11 +6056,11 @@ AppsV1API_listNamespacedDeployment(apiClient_t *apiClient, char * _namespace , c char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -6093,11 +6093,11 @@ AppsV1API_listNamespacedDeployment(apiClient_t *apiClient, char * _namespace , c char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -6106,11 +6106,11 @@ AppsV1API_listNamespacedDeployment(apiClient_t *apiClient, char * _namespace , c char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -6119,11 +6119,11 @@ AppsV1API_listNamespacedDeployment(apiClient_t *apiClient, char * _namespace , c char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -6313,7 +6313,7 @@ AppsV1API_listNamespacedDeployment(apiClient_t *apiClient, char * _namespace , c // list or watch objects of kind ReplicaSet // v1_replica_set_list_t* -AppsV1API_listNamespacedReplicaSet(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +AppsV1API_listNamespacedReplicaSet(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -6356,11 +6356,11 @@ AppsV1API_listNamespacedReplicaSet(apiClient_t *apiClient, char * _namespace , c char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -6405,11 +6405,11 @@ AppsV1API_listNamespacedReplicaSet(apiClient_t *apiClient, char * _namespace , c char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -6442,11 +6442,11 @@ AppsV1API_listNamespacedReplicaSet(apiClient_t *apiClient, char * _namespace , c char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -6455,11 +6455,11 @@ AppsV1API_listNamespacedReplicaSet(apiClient_t *apiClient, char * _namespace , c char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -6468,11 +6468,11 @@ AppsV1API_listNamespacedReplicaSet(apiClient_t *apiClient, char * _namespace , c char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -6662,7 +6662,7 @@ AppsV1API_listNamespacedReplicaSet(apiClient_t *apiClient, char * _namespace , c // list or watch objects of kind StatefulSet // v1_stateful_set_list_t* -AppsV1API_listNamespacedStatefulSet(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +AppsV1API_listNamespacedStatefulSet(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -6705,11 +6705,11 @@ AppsV1API_listNamespacedStatefulSet(apiClient_t *apiClient, char * _namespace , char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -6754,11 +6754,11 @@ AppsV1API_listNamespacedStatefulSet(apiClient_t *apiClient, char * _namespace , char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -6791,11 +6791,11 @@ AppsV1API_listNamespacedStatefulSet(apiClient_t *apiClient, char * _namespace , char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -6804,11 +6804,11 @@ AppsV1API_listNamespacedStatefulSet(apiClient_t *apiClient, char * _namespace , char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -6817,11 +6817,11 @@ AppsV1API_listNamespacedStatefulSet(apiClient_t *apiClient, char * _namespace , char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -7011,7 +7011,7 @@ AppsV1API_listNamespacedStatefulSet(apiClient_t *apiClient, char * _namespace , // list or watch objects of kind ReplicaSet // v1_replica_set_list_t* -AppsV1API_listReplicaSetForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +AppsV1API_listReplicaSetForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -7032,11 +7032,11 @@ AppsV1API_listReplicaSetForAllNamespaces(apiClient_t *apiClient, int allowWatchB char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -7081,11 +7081,11 @@ AppsV1API_listReplicaSetForAllNamespaces(apiClient_t *apiClient, int allowWatchB char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -7130,11 +7130,11 @@ AppsV1API_listReplicaSetForAllNamespaces(apiClient_t *apiClient, int allowWatchB char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -7143,11 +7143,11 @@ AppsV1API_listReplicaSetForAllNamespaces(apiClient_t *apiClient, int allowWatchB char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -7156,11 +7156,11 @@ AppsV1API_listReplicaSetForAllNamespaces(apiClient_t *apiClient, int allowWatchB char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -7349,7 +7349,7 @@ AppsV1API_listReplicaSetForAllNamespaces(apiClient_t *apiClient, int allowWatchB // list or watch objects of kind StatefulSet // v1_stateful_set_list_t* -AppsV1API_listStatefulSetForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +AppsV1API_listStatefulSetForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -7370,11 +7370,11 @@ AppsV1API_listStatefulSetForAllNamespaces(apiClient_t *apiClient, int allowWatch char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -7419,11 +7419,11 @@ AppsV1API_listStatefulSetForAllNamespaces(apiClient_t *apiClient, int allowWatch char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -7468,11 +7468,11 @@ AppsV1API_listStatefulSetForAllNamespaces(apiClient_t *apiClient, int allowWatch char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -7481,11 +7481,11 @@ AppsV1API_listStatefulSetForAllNamespaces(apiClient_t *apiClient, int allowWatch char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -7494,11 +7494,11 @@ AppsV1API_listStatefulSetForAllNamespaces(apiClient_t *apiClient, int allowWatch char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -7687,7 +7687,7 @@ AppsV1API_listStatefulSetForAllNamespaces(apiClient_t *apiClient, int allowWatch // partially update the specified ControllerRevision // v1_controller_revision_t* -AppsV1API_patchNamespacedControllerRevision(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +AppsV1API_patchNamespacedControllerRevision(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -7776,11 +7776,11 @@ AppsV1API_patchNamespacedControllerRevision(apiClient_t *apiClient, char * name char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -7919,7 +7919,7 @@ AppsV1API_patchNamespacedControllerRevision(apiClient_t *apiClient, char * name // partially update the specified DaemonSet // v1_daemon_set_t* -AppsV1API_patchNamespacedDaemonSet(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +AppsV1API_patchNamespacedDaemonSet(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -8008,11 +8008,11 @@ AppsV1API_patchNamespacedDaemonSet(apiClient_t *apiClient, char * name , char * char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -8151,7 +8151,7 @@ AppsV1API_patchNamespacedDaemonSet(apiClient_t *apiClient, char * name , char * // partially update status of the specified DaemonSet // v1_daemon_set_t* -AppsV1API_patchNamespacedDaemonSetStatus(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +AppsV1API_patchNamespacedDaemonSetStatus(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -8240,11 +8240,11 @@ AppsV1API_patchNamespacedDaemonSetStatus(apiClient_t *apiClient, char * name , c char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -8383,7 +8383,7 @@ AppsV1API_patchNamespacedDaemonSetStatus(apiClient_t *apiClient, char * name , c // partially update the specified Deployment // v1_deployment_t* -AppsV1API_patchNamespacedDeployment(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +AppsV1API_patchNamespacedDeployment(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -8472,11 +8472,11 @@ AppsV1API_patchNamespacedDeployment(apiClient_t *apiClient, char * name , char * char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -8615,7 +8615,7 @@ AppsV1API_patchNamespacedDeployment(apiClient_t *apiClient, char * name , char * // partially update scale of the specified Deployment // v1_scale_t* -AppsV1API_patchNamespacedDeploymentScale(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +AppsV1API_patchNamespacedDeploymentScale(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -8704,11 +8704,11 @@ AppsV1API_patchNamespacedDeploymentScale(apiClient_t *apiClient, char * name , c char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -8847,7 +8847,7 @@ AppsV1API_patchNamespacedDeploymentScale(apiClient_t *apiClient, char * name , c // partially update status of the specified Deployment // v1_deployment_t* -AppsV1API_patchNamespacedDeploymentStatus(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +AppsV1API_patchNamespacedDeploymentStatus(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -8936,11 +8936,11 @@ AppsV1API_patchNamespacedDeploymentStatus(apiClient_t *apiClient, char * name , char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -9079,7 +9079,7 @@ AppsV1API_patchNamespacedDeploymentStatus(apiClient_t *apiClient, char * name , // partially update the specified ReplicaSet // v1_replica_set_t* -AppsV1API_patchNamespacedReplicaSet(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +AppsV1API_patchNamespacedReplicaSet(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -9168,11 +9168,11 @@ AppsV1API_patchNamespacedReplicaSet(apiClient_t *apiClient, char * name , char * char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -9311,7 +9311,7 @@ AppsV1API_patchNamespacedReplicaSet(apiClient_t *apiClient, char * name , char * // partially update scale of the specified ReplicaSet // v1_scale_t* -AppsV1API_patchNamespacedReplicaSetScale(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +AppsV1API_patchNamespacedReplicaSetScale(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -9400,11 +9400,11 @@ AppsV1API_patchNamespacedReplicaSetScale(apiClient_t *apiClient, char * name , c char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -9543,7 +9543,7 @@ AppsV1API_patchNamespacedReplicaSetScale(apiClient_t *apiClient, char * name , c // partially update status of the specified ReplicaSet // v1_replica_set_t* -AppsV1API_patchNamespacedReplicaSetStatus(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +AppsV1API_patchNamespacedReplicaSetStatus(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -9632,11 +9632,11 @@ AppsV1API_patchNamespacedReplicaSetStatus(apiClient_t *apiClient, char * name , char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -9775,7 +9775,7 @@ AppsV1API_patchNamespacedReplicaSetStatus(apiClient_t *apiClient, char * name , // partially update the specified StatefulSet // v1_stateful_set_t* -AppsV1API_patchNamespacedStatefulSet(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +AppsV1API_patchNamespacedStatefulSet(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -9864,11 +9864,11 @@ AppsV1API_patchNamespacedStatefulSet(apiClient_t *apiClient, char * name , char char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -10007,7 +10007,7 @@ AppsV1API_patchNamespacedStatefulSet(apiClient_t *apiClient, char * name , char // partially update scale of the specified StatefulSet // v1_scale_t* -AppsV1API_patchNamespacedStatefulSetScale(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +AppsV1API_patchNamespacedStatefulSetScale(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -10096,11 +10096,11 @@ AppsV1API_patchNamespacedStatefulSetScale(apiClient_t *apiClient, char * name , char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -10239,7 +10239,7 @@ AppsV1API_patchNamespacedStatefulSetScale(apiClient_t *apiClient, char * name , // partially update status of the specified StatefulSet // v1_stateful_set_t* -AppsV1API_patchNamespacedStatefulSetStatus(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +AppsV1API_patchNamespacedStatefulSetStatus(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -10328,11 +10328,11 @@ AppsV1API_patchNamespacedStatefulSetStatus(apiClient_t *apiClient, char * name , char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -10471,7 +10471,7 @@ AppsV1API_patchNamespacedStatefulSetStatus(apiClient_t *apiClient, char * name , // read the specified ControllerRevision // v1_controller_revision_t* -AppsV1API_readNamespacedControllerRevision(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ) +AppsV1API_readNamespacedControllerRevision(apiClient_t *apiClient, char *name, char *_namespace, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -10584,7 +10584,7 @@ AppsV1API_readNamespacedControllerRevision(apiClient_t *apiClient, char * name , // read the specified DaemonSet // v1_daemon_set_t* -AppsV1API_readNamespacedDaemonSet(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ) +AppsV1API_readNamespacedDaemonSet(apiClient_t *apiClient, char *name, char *_namespace, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -10697,7 +10697,7 @@ AppsV1API_readNamespacedDaemonSet(apiClient_t *apiClient, char * name , char * _ // read status of the specified DaemonSet // v1_daemon_set_t* -AppsV1API_readNamespacedDaemonSetStatus(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ) +AppsV1API_readNamespacedDaemonSetStatus(apiClient_t *apiClient, char *name, char *_namespace, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -10810,7 +10810,7 @@ AppsV1API_readNamespacedDaemonSetStatus(apiClient_t *apiClient, char * name , ch // read the specified Deployment // v1_deployment_t* -AppsV1API_readNamespacedDeployment(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ) +AppsV1API_readNamespacedDeployment(apiClient_t *apiClient, char *name, char *_namespace, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -10923,7 +10923,7 @@ AppsV1API_readNamespacedDeployment(apiClient_t *apiClient, char * name , char * // read scale of the specified Deployment // v1_scale_t* -AppsV1API_readNamespacedDeploymentScale(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ) +AppsV1API_readNamespacedDeploymentScale(apiClient_t *apiClient, char *name, char *_namespace, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -11036,7 +11036,7 @@ AppsV1API_readNamespacedDeploymentScale(apiClient_t *apiClient, char * name , ch // read status of the specified Deployment // v1_deployment_t* -AppsV1API_readNamespacedDeploymentStatus(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ) +AppsV1API_readNamespacedDeploymentStatus(apiClient_t *apiClient, char *name, char *_namespace, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -11149,7 +11149,7 @@ AppsV1API_readNamespacedDeploymentStatus(apiClient_t *apiClient, char * name , c // read the specified ReplicaSet // v1_replica_set_t* -AppsV1API_readNamespacedReplicaSet(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ) +AppsV1API_readNamespacedReplicaSet(apiClient_t *apiClient, char *name, char *_namespace, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -11262,7 +11262,7 @@ AppsV1API_readNamespacedReplicaSet(apiClient_t *apiClient, char * name , char * // read scale of the specified ReplicaSet // v1_scale_t* -AppsV1API_readNamespacedReplicaSetScale(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ) +AppsV1API_readNamespacedReplicaSetScale(apiClient_t *apiClient, char *name, char *_namespace, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -11375,7 +11375,7 @@ AppsV1API_readNamespacedReplicaSetScale(apiClient_t *apiClient, char * name , ch // read status of the specified ReplicaSet // v1_replica_set_t* -AppsV1API_readNamespacedReplicaSetStatus(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ) +AppsV1API_readNamespacedReplicaSetStatus(apiClient_t *apiClient, char *name, char *_namespace, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -11488,7 +11488,7 @@ AppsV1API_readNamespacedReplicaSetStatus(apiClient_t *apiClient, char * name , c // read the specified StatefulSet // v1_stateful_set_t* -AppsV1API_readNamespacedStatefulSet(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ) +AppsV1API_readNamespacedStatefulSet(apiClient_t *apiClient, char *name, char *_namespace, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -11601,7 +11601,7 @@ AppsV1API_readNamespacedStatefulSet(apiClient_t *apiClient, char * name , char * // read scale of the specified StatefulSet // v1_scale_t* -AppsV1API_readNamespacedStatefulSetScale(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ) +AppsV1API_readNamespacedStatefulSetScale(apiClient_t *apiClient, char *name, char *_namespace, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -11714,7 +11714,7 @@ AppsV1API_readNamespacedStatefulSetScale(apiClient_t *apiClient, char * name , c // read status of the specified StatefulSet // v1_stateful_set_t* -AppsV1API_readNamespacedStatefulSetStatus(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ) +AppsV1API_readNamespacedStatefulSetStatus(apiClient_t *apiClient, char *name, char *_namespace, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -11827,7 +11827,7 @@ AppsV1API_readNamespacedStatefulSetStatus(apiClient_t *apiClient, char * name , // replace the specified ControllerRevision // v1_controller_revision_t* -AppsV1API_replaceNamespacedControllerRevision(apiClient_t *apiClient, char * name , char * _namespace , v1_controller_revision_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +AppsV1API_replaceNamespacedControllerRevision(apiClient_t *apiClient, char *name, char *_namespace, v1_controller_revision_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -12030,7 +12030,7 @@ AppsV1API_replaceNamespacedControllerRevision(apiClient_t *apiClient, char * nam // replace the specified DaemonSet // v1_daemon_set_t* -AppsV1API_replaceNamespacedDaemonSet(apiClient_t *apiClient, char * name , char * _namespace , v1_daemon_set_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +AppsV1API_replaceNamespacedDaemonSet(apiClient_t *apiClient, char *name, char *_namespace, v1_daemon_set_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -12233,7 +12233,7 @@ AppsV1API_replaceNamespacedDaemonSet(apiClient_t *apiClient, char * name , char // replace status of the specified DaemonSet // v1_daemon_set_t* -AppsV1API_replaceNamespacedDaemonSetStatus(apiClient_t *apiClient, char * name , char * _namespace , v1_daemon_set_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +AppsV1API_replaceNamespacedDaemonSetStatus(apiClient_t *apiClient, char *name, char *_namespace, v1_daemon_set_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -12436,7 +12436,7 @@ AppsV1API_replaceNamespacedDaemonSetStatus(apiClient_t *apiClient, char * name , // replace the specified Deployment // v1_deployment_t* -AppsV1API_replaceNamespacedDeployment(apiClient_t *apiClient, char * name , char * _namespace , v1_deployment_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +AppsV1API_replaceNamespacedDeployment(apiClient_t *apiClient, char *name, char *_namespace, v1_deployment_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -12639,7 +12639,7 @@ AppsV1API_replaceNamespacedDeployment(apiClient_t *apiClient, char * name , char // replace scale of the specified Deployment // v1_scale_t* -AppsV1API_replaceNamespacedDeploymentScale(apiClient_t *apiClient, char * name , char * _namespace , v1_scale_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +AppsV1API_replaceNamespacedDeploymentScale(apiClient_t *apiClient, char *name, char *_namespace, v1_scale_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -12842,7 +12842,7 @@ AppsV1API_replaceNamespacedDeploymentScale(apiClient_t *apiClient, char * name , // replace status of the specified Deployment // v1_deployment_t* -AppsV1API_replaceNamespacedDeploymentStatus(apiClient_t *apiClient, char * name , char * _namespace , v1_deployment_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +AppsV1API_replaceNamespacedDeploymentStatus(apiClient_t *apiClient, char *name, char *_namespace, v1_deployment_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -13045,7 +13045,7 @@ AppsV1API_replaceNamespacedDeploymentStatus(apiClient_t *apiClient, char * name // replace the specified ReplicaSet // v1_replica_set_t* -AppsV1API_replaceNamespacedReplicaSet(apiClient_t *apiClient, char * name , char * _namespace , v1_replica_set_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +AppsV1API_replaceNamespacedReplicaSet(apiClient_t *apiClient, char *name, char *_namespace, v1_replica_set_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -13248,7 +13248,7 @@ AppsV1API_replaceNamespacedReplicaSet(apiClient_t *apiClient, char * name , char // replace scale of the specified ReplicaSet // v1_scale_t* -AppsV1API_replaceNamespacedReplicaSetScale(apiClient_t *apiClient, char * name , char * _namespace , v1_scale_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +AppsV1API_replaceNamespacedReplicaSetScale(apiClient_t *apiClient, char *name, char *_namespace, v1_scale_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -13451,7 +13451,7 @@ AppsV1API_replaceNamespacedReplicaSetScale(apiClient_t *apiClient, char * name , // replace status of the specified ReplicaSet // v1_replica_set_t* -AppsV1API_replaceNamespacedReplicaSetStatus(apiClient_t *apiClient, char * name , char * _namespace , v1_replica_set_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +AppsV1API_replaceNamespacedReplicaSetStatus(apiClient_t *apiClient, char *name, char *_namespace, v1_replica_set_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -13654,7 +13654,7 @@ AppsV1API_replaceNamespacedReplicaSetStatus(apiClient_t *apiClient, char * name // replace the specified StatefulSet // v1_stateful_set_t* -AppsV1API_replaceNamespacedStatefulSet(apiClient_t *apiClient, char * name , char * _namespace , v1_stateful_set_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +AppsV1API_replaceNamespacedStatefulSet(apiClient_t *apiClient, char *name, char *_namespace, v1_stateful_set_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -13857,7 +13857,7 @@ AppsV1API_replaceNamespacedStatefulSet(apiClient_t *apiClient, char * name , cha // replace scale of the specified StatefulSet // v1_scale_t* -AppsV1API_replaceNamespacedStatefulSetScale(apiClient_t *apiClient, char * name , char * _namespace , v1_scale_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +AppsV1API_replaceNamespacedStatefulSetScale(apiClient_t *apiClient, char *name, char *_namespace, v1_scale_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -14060,7 +14060,7 @@ AppsV1API_replaceNamespacedStatefulSetScale(apiClient_t *apiClient, char * name // replace status of the specified StatefulSet // v1_stateful_set_t* -AppsV1API_replaceNamespacedStatefulSetStatus(apiClient_t *apiClient, char * name , char * _namespace , v1_stateful_set_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +AppsV1API_replaceNamespacedStatefulSetStatus(apiClient_t *apiClient, char *name, char *_namespace, v1_stateful_set_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; diff --git a/kubernetes/api/AppsV1API.h b/kubernetes/api/AppsV1API.h index b770e514..0e4de6d1 100644 --- a/kubernetes/api/AppsV1API.h +++ b/kubernetes/api/AppsV1API.h @@ -25,91 +25,91 @@ // create a ControllerRevision // v1_controller_revision_t* -AppsV1API_createNamespacedControllerRevision(apiClient_t *apiClient, char * _namespace , v1_controller_revision_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +AppsV1API_createNamespacedControllerRevision(apiClient_t *apiClient, char *_namespace, v1_controller_revision_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // create a DaemonSet // v1_daemon_set_t* -AppsV1API_createNamespacedDaemonSet(apiClient_t *apiClient, char * _namespace , v1_daemon_set_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +AppsV1API_createNamespacedDaemonSet(apiClient_t *apiClient, char *_namespace, v1_daemon_set_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // create a Deployment // v1_deployment_t* -AppsV1API_createNamespacedDeployment(apiClient_t *apiClient, char * _namespace , v1_deployment_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +AppsV1API_createNamespacedDeployment(apiClient_t *apiClient, char *_namespace, v1_deployment_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // create a ReplicaSet // v1_replica_set_t* -AppsV1API_createNamespacedReplicaSet(apiClient_t *apiClient, char * _namespace , v1_replica_set_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +AppsV1API_createNamespacedReplicaSet(apiClient_t *apiClient, char *_namespace, v1_replica_set_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // create a StatefulSet // v1_stateful_set_t* -AppsV1API_createNamespacedStatefulSet(apiClient_t *apiClient, char * _namespace , v1_stateful_set_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +AppsV1API_createNamespacedStatefulSet(apiClient_t *apiClient, char *_namespace, v1_stateful_set_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // delete collection of ControllerRevision // v1_status_t* -AppsV1API_deleteCollectionNamespacedControllerRevision(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +AppsV1API_deleteCollectionNamespacedControllerRevision(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); // delete collection of DaemonSet // v1_status_t* -AppsV1API_deleteCollectionNamespacedDaemonSet(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +AppsV1API_deleteCollectionNamespacedDaemonSet(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); // delete collection of Deployment // v1_status_t* -AppsV1API_deleteCollectionNamespacedDeployment(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +AppsV1API_deleteCollectionNamespacedDeployment(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); // delete collection of ReplicaSet // v1_status_t* -AppsV1API_deleteCollectionNamespacedReplicaSet(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +AppsV1API_deleteCollectionNamespacedReplicaSet(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); // delete collection of StatefulSet // v1_status_t* -AppsV1API_deleteCollectionNamespacedStatefulSet(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +AppsV1API_deleteCollectionNamespacedStatefulSet(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); // delete a ControllerRevision // v1_status_t* -AppsV1API_deleteNamespacedControllerRevision(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +AppsV1API_deleteNamespacedControllerRevision(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // delete a DaemonSet // v1_status_t* -AppsV1API_deleteNamespacedDaemonSet(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +AppsV1API_deleteNamespacedDaemonSet(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // delete a Deployment // v1_status_t* -AppsV1API_deleteNamespacedDeployment(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +AppsV1API_deleteNamespacedDeployment(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // delete a ReplicaSet // v1_status_t* -AppsV1API_deleteNamespacedReplicaSet(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +AppsV1API_deleteNamespacedReplicaSet(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // delete a StatefulSet // v1_status_t* -AppsV1API_deleteNamespacedStatefulSet(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +AppsV1API_deleteNamespacedStatefulSet(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // get available resources @@ -121,276 +121,276 @@ AppsV1API_getAPIResources(apiClient_t *apiClient); // list or watch objects of kind ControllerRevision // v1_controller_revision_list_t* -AppsV1API_listControllerRevisionForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +AppsV1API_listControllerRevisionForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind DaemonSet // v1_daemon_set_list_t* -AppsV1API_listDaemonSetForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +AppsV1API_listDaemonSetForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind Deployment // v1_deployment_list_t* -AppsV1API_listDeploymentForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +AppsV1API_listDeploymentForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind ControllerRevision // v1_controller_revision_list_t* -AppsV1API_listNamespacedControllerRevision(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +AppsV1API_listNamespacedControllerRevision(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind DaemonSet // v1_daemon_set_list_t* -AppsV1API_listNamespacedDaemonSet(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +AppsV1API_listNamespacedDaemonSet(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind Deployment // v1_deployment_list_t* -AppsV1API_listNamespacedDeployment(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +AppsV1API_listNamespacedDeployment(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind ReplicaSet // v1_replica_set_list_t* -AppsV1API_listNamespacedReplicaSet(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +AppsV1API_listNamespacedReplicaSet(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind StatefulSet // v1_stateful_set_list_t* -AppsV1API_listNamespacedStatefulSet(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +AppsV1API_listNamespacedStatefulSet(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind ReplicaSet // v1_replica_set_list_t* -AppsV1API_listReplicaSetForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +AppsV1API_listReplicaSetForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind StatefulSet // v1_stateful_set_list_t* -AppsV1API_listStatefulSetForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +AppsV1API_listStatefulSetForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // partially update the specified ControllerRevision // v1_controller_revision_t* -AppsV1API_patchNamespacedControllerRevision(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +AppsV1API_patchNamespacedControllerRevision(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update the specified DaemonSet // v1_daemon_set_t* -AppsV1API_patchNamespacedDaemonSet(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +AppsV1API_patchNamespacedDaemonSet(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update status of the specified DaemonSet // v1_daemon_set_t* -AppsV1API_patchNamespacedDaemonSetStatus(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +AppsV1API_patchNamespacedDaemonSetStatus(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update the specified Deployment // v1_deployment_t* -AppsV1API_patchNamespacedDeployment(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +AppsV1API_patchNamespacedDeployment(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update scale of the specified Deployment // v1_scale_t* -AppsV1API_patchNamespacedDeploymentScale(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +AppsV1API_patchNamespacedDeploymentScale(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update status of the specified Deployment // v1_deployment_t* -AppsV1API_patchNamespacedDeploymentStatus(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +AppsV1API_patchNamespacedDeploymentStatus(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update the specified ReplicaSet // v1_replica_set_t* -AppsV1API_patchNamespacedReplicaSet(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +AppsV1API_patchNamespacedReplicaSet(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update scale of the specified ReplicaSet // v1_scale_t* -AppsV1API_patchNamespacedReplicaSetScale(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +AppsV1API_patchNamespacedReplicaSetScale(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update status of the specified ReplicaSet // v1_replica_set_t* -AppsV1API_patchNamespacedReplicaSetStatus(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +AppsV1API_patchNamespacedReplicaSetStatus(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update the specified StatefulSet // v1_stateful_set_t* -AppsV1API_patchNamespacedStatefulSet(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +AppsV1API_patchNamespacedStatefulSet(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update scale of the specified StatefulSet // v1_scale_t* -AppsV1API_patchNamespacedStatefulSetScale(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +AppsV1API_patchNamespacedStatefulSetScale(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update status of the specified StatefulSet // v1_stateful_set_t* -AppsV1API_patchNamespacedStatefulSetStatus(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +AppsV1API_patchNamespacedStatefulSetStatus(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // read the specified ControllerRevision // v1_controller_revision_t* -AppsV1API_readNamespacedControllerRevision(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ); +AppsV1API_readNamespacedControllerRevision(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); // read the specified DaemonSet // v1_daemon_set_t* -AppsV1API_readNamespacedDaemonSet(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ); +AppsV1API_readNamespacedDaemonSet(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); // read status of the specified DaemonSet // v1_daemon_set_t* -AppsV1API_readNamespacedDaemonSetStatus(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ); +AppsV1API_readNamespacedDaemonSetStatus(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); // read the specified Deployment // v1_deployment_t* -AppsV1API_readNamespacedDeployment(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ); +AppsV1API_readNamespacedDeployment(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); // read scale of the specified Deployment // v1_scale_t* -AppsV1API_readNamespacedDeploymentScale(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ); +AppsV1API_readNamespacedDeploymentScale(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); // read status of the specified Deployment // v1_deployment_t* -AppsV1API_readNamespacedDeploymentStatus(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ); +AppsV1API_readNamespacedDeploymentStatus(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); // read the specified ReplicaSet // v1_replica_set_t* -AppsV1API_readNamespacedReplicaSet(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ); +AppsV1API_readNamespacedReplicaSet(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); // read scale of the specified ReplicaSet // v1_scale_t* -AppsV1API_readNamespacedReplicaSetScale(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ); +AppsV1API_readNamespacedReplicaSetScale(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); // read status of the specified ReplicaSet // v1_replica_set_t* -AppsV1API_readNamespacedReplicaSetStatus(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ); +AppsV1API_readNamespacedReplicaSetStatus(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); // read the specified StatefulSet // v1_stateful_set_t* -AppsV1API_readNamespacedStatefulSet(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ); +AppsV1API_readNamespacedStatefulSet(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); // read scale of the specified StatefulSet // v1_scale_t* -AppsV1API_readNamespacedStatefulSetScale(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ); +AppsV1API_readNamespacedStatefulSetScale(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); // read status of the specified StatefulSet // v1_stateful_set_t* -AppsV1API_readNamespacedStatefulSetStatus(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ); +AppsV1API_readNamespacedStatefulSetStatus(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); // replace the specified ControllerRevision // v1_controller_revision_t* -AppsV1API_replaceNamespacedControllerRevision(apiClient_t *apiClient, char * name , char * _namespace , v1_controller_revision_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +AppsV1API_replaceNamespacedControllerRevision(apiClient_t *apiClient, char *name, char *_namespace, v1_controller_revision_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace the specified DaemonSet // v1_daemon_set_t* -AppsV1API_replaceNamespacedDaemonSet(apiClient_t *apiClient, char * name , char * _namespace , v1_daemon_set_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +AppsV1API_replaceNamespacedDaemonSet(apiClient_t *apiClient, char *name, char *_namespace, v1_daemon_set_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace status of the specified DaemonSet // v1_daemon_set_t* -AppsV1API_replaceNamespacedDaemonSetStatus(apiClient_t *apiClient, char * name , char * _namespace , v1_daemon_set_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +AppsV1API_replaceNamespacedDaemonSetStatus(apiClient_t *apiClient, char *name, char *_namespace, v1_daemon_set_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace the specified Deployment // v1_deployment_t* -AppsV1API_replaceNamespacedDeployment(apiClient_t *apiClient, char * name , char * _namespace , v1_deployment_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +AppsV1API_replaceNamespacedDeployment(apiClient_t *apiClient, char *name, char *_namespace, v1_deployment_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace scale of the specified Deployment // v1_scale_t* -AppsV1API_replaceNamespacedDeploymentScale(apiClient_t *apiClient, char * name , char * _namespace , v1_scale_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +AppsV1API_replaceNamespacedDeploymentScale(apiClient_t *apiClient, char *name, char *_namespace, v1_scale_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace status of the specified Deployment // v1_deployment_t* -AppsV1API_replaceNamespacedDeploymentStatus(apiClient_t *apiClient, char * name , char * _namespace , v1_deployment_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +AppsV1API_replaceNamespacedDeploymentStatus(apiClient_t *apiClient, char *name, char *_namespace, v1_deployment_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace the specified ReplicaSet // v1_replica_set_t* -AppsV1API_replaceNamespacedReplicaSet(apiClient_t *apiClient, char * name , char * _namespace , v1_replica_set_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +AppsV1API_replaceNamespacedReplicaSet(apiClient_t *apiClient, char *name, char *_namespace, v1_replica_set_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace scale of the specified ReplicaSet // v1_scale_t* -AppsV1API_replaceNamespacedReplicaSetScale(apiClient_t *apiClient, char * name , char * _namespace , v1_scale_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +AppsV1API_replaceNamespacedReplicaSetScale(apiClient_t *apiClient, char *name, char *_namespace, v1_scale_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace status of the specified ReplicaSet // v1_replica_set_t* -AppsV1API_replaceNamespacedReplicaSetStatus(apiClient_t *apiClient, char * name , char * _namespace , v1_replica_set_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +AppsV1API_replaceNamespacedReplicaSetStatus(apiClient_t *apiClient, char *name, char *_namespace, v1_replica_set_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace the specified StatefulSet // v1_stateful_set_t* -AppsV1API_replaceNamespacedStatefulSet(apiClient_t *apiClient, char * name , char * _namespace , v1_stateful_set_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +AppsV1API_replaceNamespacedStatefulSet(apiClient_t *apiClient, char *name, char *_namespace, v1_stateful_set_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace scale of the specified StatefulSet // v1_scale_t* -AppsV1API_replaceNamespacedStatefulSetScale(apiClient_t *apiClient, char * name , char * _namespace , v1_scale_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +AppsV1API_replaceNamespacedStatefulSetScale(apiClient_t *apiClient, char *name, char *_namespace, v1_scale_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace status of the specified StatefulSet // v1_stateful_set_t* -AppsV1API_replaceNamespacedStatefulSetStatus(apiClient_t *apiClient, char * name , char * _namespace , v1_stateful_set_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +AppsV1API_replaceNamespacedStatefulSetStatus(apiClient_t *apiClient, char *name, char *_namespace, v1_stateful_set_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); diff --git a/kubernetes/api/AuthenticationV1API.c b/kubernetes/api/AuthenticationV1API.c index cad9c142..fdb04370 100644 --- a/kubernetes/api/AuthenticationV1API.c +++ b/kubernetes/api/AuthenticationV1API.c @@ -15,7 +15,7 @@ // create a SelfSubjectReview // v1_self_subject_review_t* -AuthenticationV1API_createSelfSubjectReview(apiClient_t *apiClient, v1_self_subject_review_t * body , char * dryRun , char * fieldManager , char * fieldValidation , char * pretty ) +AuthenticationV1API_createSelfSubjectReview(apiClient_t *apiClient, v1_self_subject_review_t *body, char *dryRun, char *fieldManager, char *fieldValidation, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -200,7 +200,7 @@ AuthenticationV1API_createSelfSubjectReview(apiClient_t *apiClient, v1_self_subj // create a TokenReview // v1_token_review_t* -AuthenticationV1API_createTokenReview(apiClient_t *apiClient, v1_token_review_t * body , char * dryRun , char * fieldManager , char * fieldValidation , char * pretty ) +AuthenticationV1API_createTokenReview(apiClient_t *apiClient, v1_token_review_t *body, char *dryRun, char *fieldManager, char *fieldValidation, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; diff --git a/kubernetes/api/AuthenticationV1API.h b/kubernetes/api/AuthenticationV1API.h index c281d759..2725fa4b 100644 --- a/kubernetes/api/AuthenticationV1API.h +++ b/kubernetes/api/AuthenticationV1API.h @@ -13,13 +13,13 @@ // create a SelfSubjectReview // v1_self_subject_review_t* -AuthenticationV1API_createSelfSubjectReview(apiClient_t *apiClient, v1_self_subject_review_t * body , char * dryRun , char * fieldManager , char * fieldValidation , char * pretty ); +AuthenticationV1API_createSelfSubjectReview(apiClient_t *apiClient, v1_self_subject_review_t *body, char *dryRun, char *fieldManager, char *fieldValidation, char *pretty); // create a TokenReview // v1_token_review_t* -AuthenticationV1API_createTokenReview(apiClient_t *apiClient, v1_token_review_t * body , char * dryRun , char * fieldManager , char * fieldValidation , char * pretty ); +AuthenticationV1API_createTokenReview(apiClient_t *apiClient, v1_token_review_t *body, char *dryRun, char *fieldManager, char *fieldValidation, char *pretty); // get available resources diff --git a/kubernetes/api/AuthenticationV1alpha1API.c b/kubernetes/api/AuthenticationV1alpha1API.c index aaf8ef9d..ac31213b 100644 --- a/kubernetes/api/AuthenticationV1alpha1API.c +++ b/kubernetes/api/AuthenticationV1alpha1API.c @@ -15,7 +15,7 @@ // create a SelfSubjectReview // v1alpha1_self_subject_review_t* -AuthenticationV1alpha1API_createSelfSubjectReview(apiClient_t *apiClient, v1alpha1_self_subject_review_t * body , char * dryRun , char * fieldManager , char * fieldValidation , char * pretty ) +AuthenticationV1alpha1API_createSelfSubjectReview(apiClient_t *apiClient, v1alpha1_self_subject_review_t *body, char *dryRun, char *fieldManager, char *fieldValidation, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; diff --git a/kubernetes/api/AuthenticationV1alpha1API.h b/kubernetes/api/AuthenticationV1alpha1API.h index acdfda78..106475cf 100644 --- a/kubernetes/api/AuthenticationV1alpha1API.h +++ b/kubernetes/api/AuthenticationV1alpha1API.h @@ -12,7 +12,7 @@ // create a SelfSubjectReview // v1alpha1_self_subject_review_t* -AuthenticationV1alpha1API_createSelfSubjectReview(apiClient_t *apiClient, v1alpha1_self_subject_review_t * body , char * dryRun , char * fieldManager , char * fieldValidation , char * pretty ); +AuthenticationV1alpha1API_createSelfSubjectReview(apiClient_t *apiClient, v1alpha1_self_subject_review_t *body, char *dryRun, char *fieldManager, char *fieldValidation, char *pretty); // get available resources diff --git a/kubernetes/api/AuthenticationV1beta1API.c b/kubernetes/api/AuthenticationV1beta1API.c index 08f3460e..d6f0c260 100644 --- a/kubernetes/api/AuthenticationV1beta1API.c +++ b/kubernetes/api/AuthenticationV1beta1API.c @@ -15,7 +15,7 @@ // create a SelfSubjectReview // v1beta1_self_subject_review_t* -AuthenticationV1beta1API_createSelfSubjectReview(apiClient_t *apiClient, v1beta1_self_subject_review_t * body , char * dryRun , char * fieldManager , char * fieldValidation , char * pretty ) +AuthenticationV1beta1API_createSelfSubjectReview(apiClient_t *apiClient, v1beta1_self_subject_review_t *body, char *dryRun, char *fieldManager, char *fieldValidation, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; diff --git a/kubernetes/api/AuthenticationV1beta1API.h b/kubernetes/api/AuthenticationV1beta1API.h index f0616ff9..35a2468a 100644 --- a/kubernetes/api/AuthenticationV1beta1API.h +++ b/kubernetes/api/AuthenticationV1beta1API.h @@ -12,7 +12,7 @@ // create a SelfSubjectReview // v1beta1_self_subject_review_t* -AuthenticationV1beta1API_createSelfSubjectReview(apiClient_t *apiClient, v1beta1_self_subject_review_t * body , char * dryRun , char * fieldManager , char * fieldValidation , char * pretty ); +AuthenticationV1beta1API_createSelfSubjectReview(apiClient_t *apiClient, v1beta1_self_subject_review_t *body, char *dryRun, char *fieldManager, char *fieldValidation, char *pretty); // get available resources diff --git a/kubernetes/api/AuthorizationV1API.c b/kubernetes/api/AuthorizationV1API.c index 8d7ccd98..345f8b4e 100644 --- a/kubernetes/api/AuthorizationV1API.c +++ b/kubernetes/api/AuthorizationV1API.c @@ -15,7 +15,7 @@ // create a LocalSubjectAccessReview // v1_local_subject_access_review_t* -AuthorizationV1API_createNamespacedLocalSubjectAccessReview(apiClient_t *apiClient, char * _namespace , v1_local_subject_access_review_t * body , char * dryRun , char * fieldManager , char * fieldValidation , char * pretty ) +AuthorizationV1API_createNamespacedLocalSubjectAccessReview(apiClient_t *apiClient, char *_namespace, v1_local_subject_access_review_t *body, char *dryRun, char *fieldManager, char *fieldValidation, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -211,7 +211,7 @@ AuthorizationV1API_createNamespacedLocalSubjectAccessReview(apiClient_t *apiClie // create a SelfSubjectAccessReview // v1_self_subject_access_review_t* -AuthorizationV1API_createSelfSubjectAccessReview(apiClient_t *apiClient, v1_self_subject_access_review_t * body , char * dryRun , char * fieldManager , char * fieldValidation , char * pretty ) +AuthorizationV1API_createSelfSubjectAccessReview(apiClient_t *apiClient, v1_self_subject_access_review_t *body, char *dryRun, char *fieldManager, char *fieldValidation, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -396,7 +396,7 @@ AuthorizationV1API_createSelfSubjectAccessReview(apiClient_t *apiClient, v1_self // create a SelfSubjectRulesReview // v1_self_subject_rules_review_t* -AuthorizationV1API_createSelfSubjectRulesReview(apiClient_t *apiClient, v1_self_subject_rules_review_t * body , char * dryRun , char * fieldManager , char * fieldValidation , char * pretty ) +AuthorizationV1API_createSelfSubjectRulesReview(apiClient_t *apiClient, v1_self_subject_rules_review_t *body, char *dryRun, char *fieldManager, char *fieldValidation, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -581,7 +581,7 @@ AuthorizationV1API_createSelfSubjectRulesReview(apiClient_t *apiClient, v1_self_ // create a SubjectAccessReview // v1_subject_access_review_t* -AuthorizationV1API_createSubjectAccessReview(apiClient_t *apiClient, v1_subject_access_review_t * body , char * dryRun , char * fieldManager , char * fieldValidation , char * pretty ) +AuthorizationV1API_createSubjectAccessReview(apiClient_t *apiClient, v1_subject_access_review_t *body, char *dryRun, char *fieldManager, char *fieldValidation, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; diff --git a/kubernetes/api/AuthorizationV1API.h b/kubernetes/api/AuthorizationV1API.h index 19141f6c..79352f9b 100644 --- a/kubernetes/api/AuthorizationV1API.h +++ b/kubernetes/api/AuthorizationV1API.h @@ -15,25 +15,25 @@ // create a LocalSubjectAccessReview // v1_local_subject_access_review_t* -AuthorizationV1API_createNamespacedLocalSubjectAccessReview(apiClient_t *apiClient, char * _namespace , v1_local_subject_access_review_t * body , char * dryRun , char * fieldManager , char * fieldValidation , char * pretty ); +AuthorizationV1API_createNamespacedLocalSubjectAccessReview(apiClient_t *apiClient, char *_namespace, v1_local_subject_access_review_t *body, char *dryRun, char *fieldManager, char *fieldValidation, char *pretty); // create a SelfSubjectAccessReview // v1_self_subject_access_review_t* -AuthorizationV1API_createSelfSubjectAccessReview(apiClient_t *apiClient, v1_self_subject_access_review_t * body , char * dryRun , char * fieldManager , char * fieldValidation , char * pretty ); +AuthorizationV1API_createSelfSubjectAccessReview(apiClient_t *apiClient, v1_self_subject_access_review_t *body, char *dryRun, char *fieldManager, char *fieldValidation, char *pretty); // create a SelfSubjectRulesReview // v1_self_subject_rules_review_t* -AuthorizationV1API_createSelfSubjectRulesReview(apiClient_t *apiClient, v1_self_subject_rules_review_t * body , char * dryRun , char * fieldManager , char * fieldValidation , char * pretty ); +AuthorizationV1API_createSelfSubjectRulesReview(apiClient_t *apiClient, v1_self_subject_rules_review_t *body, char *dryRun, char *fieldManager, char *fieldValidation, char *pretty); // create a SubjectAccessReview // v1_subject_access_review_t* -AuthorizationV1API_createSubjectAccessReview(apiClient_t *apiClient, v1_subject_access_review_t * body , char * dryRun , char * fieldManager , char * fieldValidation , char * pretty ); +AuthorizationV1API_createSubjectAccessReview(apiClient_t *apiClient, v1_subject_access_review_t *body, char *dryRun, char *fieldManager, char *fieldValidation, char *pretty); // get available resources diff --git a/kubernetes/api/AutoscalingV1API.c b/kubernetes/api/AutoscalingV1API.c index b96c953d..da039d46 100644 --- a/kubernetes/api/AutoscalingV1API.c +++ b/kubernetes/api/AutoscalingV1API.c @@ -15,7 +15,7 @@ // create a HorizontalPodAutoscaler // v1_horizontal_pod_autoscaler_t* -AutoscalingV1API_createNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char * _namespace , v1_horizontal_pod_autoscaler_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +AutoscalingV1API_createNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char *_namespace, v1_horizontal_pod_autoscaler_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -211,7 +211,7 @@ AutoscalingV1API_createNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, // delete collection of HorizontalPodAutoscaler // v1_status_t* -AutoscalingV1API_deleteCollectionNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +AutoscalingV1API_deleteCollectionNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -290,11 +290,11 @@ AutoscalingV1API_deleteCollectionNamespacedHorizontalPodAutoscaler(apiClient_t * char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -315,11 +315,11 @@ AutoscalingV1API_deleteCollectionNamespacedHorizontalPodAutoscaler(apiClient_t * char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -328,11 +328,11 @@ AutoscalingV1API_deleteCollectionNamespacedHorizontalPodAutoscaler(apiClient_t * char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -377,11 +377,11 @@ AutoscalingV1API_deleteCollectionNamespacedHorizontalPodAutoscaler(apiClient_t * char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -390,11 +390,11 @@ AutoscalingV1API_deleteCollectionNamespacedHorizontalPodAutoscaler(apiClient_t * char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -620,7 +620,7 @@ AutoscalingV1API_deleteCollectionNamespacedHorizontalPodAutoscaler(apiClient_t * // delete a HorizontalPodAutoscaler // v1_status_t* -AutoscalingV1API_deleteNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +AutoscalingV1API_deleteNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -685,11 +685,11 @@ AutoscalingV1API_deleteNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -698,11 +698,11 @@ AutoscalingV1API_deleteNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -916,7 +916,7 @@ AutoscalingV1API_getAPIResources(apiClient_t *apiClient) // list or watch objects of kind HorizontalPodAutoscaler // v1_horizontal_pod_autoscaler_list_t* -AutoscalingV1API_listHorizontalPodAutoscalerForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +AutoscalingV1API_listHorizontalPodAutoscalerForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -937,11 +937,11 @@ AutoscalingV1API_listHorizontalPodAutoscalerForAllNamespaces(apiClient_t *apiCli char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -986,11 +986,11 @@ AutoscalingV1API_listHorizontalPodAutoscalerForAllNamespaces(apiClient_t *apiCli char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -1035,11 +1035,11 @@ AutoscalingV1API_listHorizontalPodAutoscalerForAllNamespaces(apiClient_t *apiCli char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -1048,11 +1048,11 @@ AutoscalingV1API_listHorizontalPodAutoscalerForAllNamespaces(apiClient_t *apiCli char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -1061,11 +1061,11 @@ AutoscalingV1API_listHorizontalPodAutoscalerForAllNamespaces(apiClient_t *apiCli char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -1254,7 +1254,7 @@ AutoscalingV1API_listHorizontalPodAutoscalerForAllNamespaces(apiClient_t *apiCli // list or watch objects of kind HorizontalPodAutoscaler // v1_horizontal_pod_autoscaler_list_t* -AutoscalingV1API_listNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +AutoscalingV1API_listNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1297,11 +1297,11 @@ AutoscalingV1API_listNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, c char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -1346,11 +1346,11 @@ AutoscalingV1API_listNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, c char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -1383,11 +1383,11 @@ AutoscalingV1API_listNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, c char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -1396,11 +1396,11 @@ AutoscalingV1API_listNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, c char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -1409,11 +1409,11 @@ AutoscalingV1API_listNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, c char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -1603,7 +1603,7 @@ AutoscalingV1API_listNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, c // partially update the specified HorizontalPodAutoscaler // v1_horizontal_pod_autoscaler_t* -AutoscalingV1API_patchNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +AutoscalingV1API_patchNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1692,11 +1692,11 @@ AutoscalingV1API_patchNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -1835,7 +1835,7 @@ AutoscalingV1API_patchNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, // partially update status of the specified HorizontalPodAutoscaler // v1_horizontal_pod_autoscaler_t* -AutoscalingV1API_patchNamespacedHorizontalPodAutoscalerStatus(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +AutoscalingV1API_patchNamespacedHorizontalPodAutoscalerStatus(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1924,11 +1924,11 @@ AutoscalingV1API_patchNamespacedHorizontalPodAutoscalerStatus(apiClient_t *apiCl char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -2067,7 +2067,7 @@ AutoscalingV1API_patchNamespacedHorizontalPodAutoscalerStatus(apiClient_t *apiCl // read the specified HorizontalPodAutoscaler // v1_horizontal_pod_autoscaler_t* -AutoscalingV1API_readNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ) +AutoscalingV1API_readNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char *name, char *_namespace, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2180,7 +2180,7 @@ AutoscalingV1API_readNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, c // read status of the specified HorizontalPodAutoscaler // v1_horizontal_pod_autoscaler_t* -AutoscalingV1API_readNamespacedHorizontalPodAutoscalerStatus(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ) +AutoscalingV1API_readNamespacedHorizontalPodAutoscalerStatus(apiClient_t *apiClient, char *name, char *_namespace, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2293,7 +2293,7 @@ AutoscalingV1API_readNamespacedHorizontalPodAutoscalerStatus(apiClient_t *apiCli // replace the specified HorizontalPodAutoscaler // v1_horizontal_pod_autoscaler_t* -AutoscalingV1API_replaceNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char * name , char * _namespace , v1_horizontal_pod_autoscaler_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +AutoscalingV1API_replaceNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char *name, char *_namespace, v1_horizontal_pod_autoscaler_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2496,7 +2496,7 @@ AutoscalingV1API_replaceNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient // replace status of the specified HorizontalPodAutoscaler // v1_horizontal_pod_autoscaler_t* -AutoscalingV1API_replaceNamespacedHorizontalPodAutoscalerStatus(apiClient_t *apiClient, char * name , char * _namespace , v1_horizontal_pod_autoscaler_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +AutoscalingV1API_replaceNamespacedHorizontalPodAutoscalerStatus(apiClient_t *apiClient, char *name, char *_namespace, v1_horizontal_pod_autoscaler_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; diff --git a/kubernetes/api/AutoscalingV1API.h b/kubernetes/api/AutoscalingV1API.h index c775206a..bb3f972a 100644 --- a/kubernetes/api/AutoscalingV1API.h +++ b/kubernetes/api/AutoscalingV1API.h @@ -16,19 +16,19 @@ // create a HorizontalPodAutoscaler // v1_horizontal_pod_autoscaler_t* -AutoscalingV1API_createNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char * _namespace , v1_horizontal_pod_autoscaler_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +AutoscalingV1API_createNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char *_namespace, v1_horizontal_pod_autoscaler_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // delete collection of HorizontalPodAutoscaler // v1_status_t* -AutoscalingV1API_deleteCollectionNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +AutoscalingV1API_deleteCollectionNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); // delete a HorizontalPodAutoscaler // v1_status_t* -AutoscalingV1API_deleteNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +AutoscalingV1API_deleteNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // get available resources @@ -40,48 +40,48 @@ AutoscalingV1API_getAPIResources(apiClient_t *apiClient); // list or watch objects of kind HorizontalPodAutoscaler // v1_horizontal_pod_autoscaler_list_t* -AutoscalingV1API_listHorizontalPodAutoscalerForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +AutoscalingV1API_listHorizontalPodAutoscalerForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind HorizontalPodAutoscaler // v1_horizontal_pod_autoscaler_list_t* -AutoscalingV1API_listNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +AutoscalingV1API_listNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // partially update the specified HorizontalPodAutoscaler // v1_horizontal_pod_autoscaler_t* -AutoscalingV1API_patchNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +AutoscalingV1API_patchNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update status of the specified HorizontalPodAutoscaler // v1_horizontal_pod_autoscaler_t* -AutoscalingV1API_patchNamespacedHorizontalPodAutoscalerStatus(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +AutoscalingV1API_patchNamespacedHorizontalPodAutoscalerStatus(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // read the specified HorizontalPodAutoscaler // v1_horizontal_pod_autoscaler_t* -AutoscalingV1API_readNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ); +AutoscalingV1API_readNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); // read status of the specified HorizontalPodAutoscaler // v1_horizontal_pod_autoscaler_t* -AutoscalingV1API_readNamespacedHorizontalPodAutoscalerStatus(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ); +AutoscalingV1API_readNamespacedHorizontalPodAutoscalerStatus(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); // replace the specified HorizontalPodAutoscaler // v1_horizontal_pod_autoscaler_t* -AutoscalingV1API_replaceNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char * name , char * _namespace , v1_horizontal_pod_autoscaler_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +AutoscalingV1API_replaceNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char *name, char *_namespace, v1_horizontal_pod_autoscaler_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace status of the specified HorizontalPodAutoscaler // v1_horizontal_pod_autoscaler_t* -AutoscalingV1API_replaceNamespacedHorizontalPodAutoscalerStatus(apiClient_t *apiClient, char * name , char * _namespace , v1_horizontal_pod_autoscaler_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +AutoscalingV1API_replaceNamespacedHorizontalPodAutoscalerStatus(apiClient_t *apiClient, char *name, char *_namespace, v1_horizontal_pod_autoscaler_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); diff --git a/kubernetes/api/AutoscalingV2API.c b/kubernetes/api/AutoscalingV2API.c index bf5032b8..20b415ec 100644 --- a/kubernetes/api/AutoscalingV2API.c +++ b/kubernetes/api/AutoscalingV2API.c @@ -15,7 +15,7 @@ // create a HorizontalPodAutoscaler // v2_horizontal_pod_autoscaler_t* -AutoscalingV2API_createNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char * _namespace , v2_horizontal_pod_autoscaler_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +AutoscalingV2API_createNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char *_namespace, v2_horizontal_pod_autoscaler_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -211,7 +211,7 @@ AutoscalingV2API_createNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, // delete collection of HorizontalPodAutoscaler // v1_status_t* -AutoscalingV2API_deleteCollectionNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +AutoscalingV2API_deleteCollectionNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -290,11 +290,11 @@ AutoscalingV2API_deleteCollectionNamespacedHorizontalPodAutoscaler(apiClient_t * char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -315,11 +315,11 @@ AutoscalingV2API_deleteCollectionNamespacedHorizontalPodAutoscaler(apiClient_t * char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -328,11 +328,11 @@ AutoscalingV2API_deleteCollectionNamespacedHorizontalPodAutoscaler(apiClient_t * char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -377,11 +377,11 @@ AutoscalingV2API_deleteCollectionNamespacedHorizontalPodAutoscaler(apiClient_t * char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -390,11 +390,11 @@ AutoscalingV2API_deleteCollectionNamespacedHorizontalPodAutoscaler(apiClient_t * char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -620,7 +620,7 @@ AutoscalingV2API_deleteCollectionNamespacedHorizontalPodAutoscaler(apiClient_t * // delete a HorizontalPodAutoscaler // v1_status_t* -AutoscalingV2API_deleteNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +AutoscalingV2API_deleteNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -685,11 +685,11 @@ AutoscalingV2API_deleteNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -698,11 +698,11 @@ AutoscalingV2API_deleteNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -916,7 +916,7 @@ AutoscalingV2API_getAPIResources(apiClient_t *apiClient) // list or watch objects of kind HorizontalPodAutoscaler // v2_horizontal_pod_autoscaler_list_t* -AutoscalingV2API_listHorizontalPodAutoscalerForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +AutoscalingV2API_listHorizontalPodAutoscalerForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -937,11 +937,11 @@ AutoscalingV2API_listHorizontalPodAutoscalerForAllNamespaces(apiClient_t *apiCli char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -986,11 +986,11 @@ AutoscalingV2API_listHorizontalPodAutoscalerForAllNamespaces(apiClient_t *apiCli char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -1035,11 +1035,11 @@ AutoscalingV2API_listHorizontalPodAutoscalerForAllNamespaces(apiClient_t *apiCli char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -1048,11 +1048,11 @@ AutoscalingV2API_listHorizontalPodAutoscalerForAllNamespaces(apiClient_t *apiCli char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -1061,11 +1061,11 @@ AutoscalingV2API_listHorizontalPodAutoscalerForAllNamespaces(apiClient_t *apiCli char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -1254,7 +1254,7 @@ AutoscalingV2API_listHorizontalPodAutoscalerForAllNamespaces(apiClient_t *apiCli // list or watch objects of kind HorizontalPodAutoscaler // v2_horizontal_pod_autoscaler_list_t* -AutoscalingV2API_listNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +AutoscalingV2API_listNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1297,11 +1297,11 @@ AutoscalingV2API_listNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, c char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -1346,11 +1346,11 @@ AutoscalingV2API_listNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, c char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -1383,11 +1383,11 @@ AutoscalingV2API_listNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, c char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -1396,11 +1396,11 @@ AutoscalingV2API_listNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, c char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -1409,11 +1409,11 @@ AutoscalingV2API_listNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, c char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -1603,7 +1603,7 @@ AutoscalingV2API_listNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, c // partially update the specified HorizontalPodAutoscaler // v2_horizontal_pod_autoscaler_t* -AutoscalingV2API_patchNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +AutoscalingV2API_patchNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1692,11 +1692,11 @@ AutoscalingV2API_patchNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -1835,7 +1835,7 @@ AutoscalingV2API_patchNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, // partially update status of the specified HorizontalPodAutoscaler // v2_horizontal_pod_autoscaler_t* -AutoscalingV2API_patchNamespacedHorizontalPodAutoscalerStatus(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +AutoscalingV2API_patchNamespacedHorizontalPodAutoscalerStatus(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1924,11 +1924,11 @@ AutoscalingV2API_patchNamespacedHorizontalPodAutoscalerStatus(apiClient_t *apiCl char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -2067,7 +2067,7 @@ AutoscalingV2API_patchNamespacedHorizontalPodAutoscalerStatus(apiClient_t *apiCl // read the specified HorizontalPodAutoscaler // v2_horizontal_pod_autoscaler_t* -AutoscalingV2API_readNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ) +AutoscalingV2API_readNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char *name, char *_namespace, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2180,7 +2180,7 @@ AutoscalingV2API_readNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, c // read status of the specified HorizontalPodAutoscaler // v2_horizontal_pod_autoscaler_t* -AutoscalingV2API_readNamespacedHorizontalPodAutoscalerStatus(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ) +AutoscalingV2API_readNamespacedHorizontalPodAutoscalerStatus(apiClient_t *apiClient, char *name, char *_namespace, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2293,7 +2293,7 @@ AutoscalingV2API_readNamespacedHorizontalPodAutoscalerStatus(apiClient_t *apiCli // replace the specified HorizontalPodAutoscaler // v2_horizontal_pod_autoscaler_t* -AutoscalingV2API_replaceNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char * name , char * _namespace , v2_horizontal_pod_autoscaler_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +AutoscalingV2API_replaceNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char *name, char *_namespace, v2_horizontal_pod_autoscaler_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2496,7 +2496,7 @@ AutoscalingV2API_replaceNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient // replace status of the specified HorizontalPodAutoscaler // v2_horizontal_pod_autoscaler_t* -AutoscalingV2API_replaceNamespacedHorizontalPodAutoscalerStatus(apiClient_t *apiClient, char * name , char * _namespace , v2_horizontal_pod_autoscaler_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +AutoscalingV2API_replaceNamespacedHorizontalPodAutoscalerStatus(apiClient_t *apiClient, char *name, char *_namespace, v2_horizontal_pod_autoscaler_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; diff --git a/kubernetes/api/AutoscalingV2API.h b/kubernetes/api/AutoscalingV2API.h index ce4b968f..4c83d72a 100644 --- a/kubernetes/api/AutoscalingV2API.h +++ b/kubernetes/api/AutoscalingV2API.h @@ -16,19 +16,19 @@ // create a HorizontalPodAutoscaler // v2_horizontal_pod_autoscaler_t* -AutoscalingV2API_createNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char * _namespace , v2_horizontal_pod_autoscaler_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +AutoscalingV2API_createNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char *_namespace, v2_horizontal_pod_autoscaler_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // delete collection of HorizontalPodAutoscaler // v1_status_t* -AutoscalingV2API_deleteCollectionNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +AutoscalingV2API_deleteCollectionNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); // delete a HorizontalPodAutoscaler // v1_status_t* -AutoscalingV2API_deleteNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +AutoscalingV2API_deleteNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // get available resources @@ -40,48 +40,48 @@ AutoscalingV2API_getAPIResources(apiClient_t *apiClient); // list or watch objects of kind HorizontalPodAutoscaler // v2_horizontal_pod_autoscaler_list_t* -AutoscalingV2API_listHorizontalPodAutoscalerForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +AutoscalingV2API_listHorizontalPodAutoscalerForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind HorizontalPodAutoscaler // v2_horizontal_pod_autoscaler_list_t* -AutoscalingV2API_listNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +AutoscalingV2API_listNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // partially update the specified HorizontalPodAutoscaler // v2_horizontal_pod_autoscaler_t* -AutoscalingV2API_patchNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +AutoscalingV2API_patchNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update status of the specified HorizontalPodAutoscaler // v2_horizontal_pod_autoscaler_t* -AutoscalingV2API_patchNamespacedHorizontalPodAutoscalerStatus(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +AutoscalingV2API_patchNamespacedHorizontalPodAutoscalerStatus(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // read the specified HorizontalPodAutoscaler // v2_horizontal_pod_autoscaler_t* -AutoscalingV2API_readNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ); +AutoscalingV2API_readNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); // read status of the specified HorizontalPodAutoscaler // v2_horizontal_pod_autoscaler_t* -AutoscalingV2API_readNamespacedHorizontalPodAutoscalerStatus(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ); +AutoscalingV2API_readNamespacedHorizontalPodAutoscalerStatus(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); // replace the specified HorizontalPodAutoscaler // v2_horizontal_pod_autoscaler_t* -AutoscalingV2API_replaceNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char * name , char * _namespace , v2_horizontal_pod_autoscaler_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +AutoscalingV2API_replaceNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char *name, char *_namespace, v2_horizontal_pod_autoscaler_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace status of the specified HorizontalPodAutoscaler // v2_horizontal_pod_autoscaler_t* -AutoscalingV2API_replaceNamespacedHorizontalPodAutoscalerStatus(apiClient_t *apiClient, char * name , char * _namespace , v2_horizontal_pod_autoscaler_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +AutoscalingV2API_replaceNamespacedHorizontalPodAutoscalerStatus(apiClient_t *apiClient, char *name, char *_namespace, v2_horizontal_pod_autoscaler_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); diff --git a/kubernetes/api/BatchV1API.c b/kubernetes/api/BatchV1API.c index c9900af7..928d6296 100644 --- a/kubernetes/api/BatchV1API.c +++ b/kubernetes/api/BatchV1API.c @@ -15,7 +15,7 @@ // create a CronJob // v1_cron_job_t* -BatchV1API_createNamespacedCronJob(apiClient_t *apiClient, char * _namespace , v1_cron_job_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +BatchV1API_createNamespacedCronJob(apiClient_t *apiClient, char *_namespace, v1_cron_job_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -211,7 +211,7 @@ BatchV1API_createNamespacedCronJob(apiClient_t *apiClient, char * _namespace , v // create a Job // v1_job_t* -BatchV1API_createNamespacedJob(apiClient_t *apiClient, char * _namespace , v1_job_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +BatchV1API_createNamespacedJob(apiClient_t *apiClient, char *_namespace, v1_job_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -407,7 +407,7 @@ BatchV1API_createNamespacedJob(apiClient_t *apiClient, char * _namespace , v1_jo // delete collection of CronJob // v1_status_t* -BatchV1API_deleteCollectionNamespacedCronJob(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +BatchV1API_deleteCollectionNamespacedCronJob(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -486,11 +486,11 @@ BatchV1API_deleteCollectionNamespacedCronJob(apiClient_t *apiClient, char * _nam char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -511,11 +511,11 @@ BatchV1API_deleteCollectionNamespacedCronJob(apiClient_t *apiClient, char * _nam char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -524,11 +524,11 @@ BatchV1API_deleteCollectionNamespacedCronJob(apiClient_t *apiClient, char * _nam char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -573,11 +573,11 @@ BatchV1API_deleteCollectionNamespacedCronJob(apiClient_t *apiClient, char * _nam char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -586,11 +586,11 @@ BatchV1API_deleteCollectionNamespacedCronJob(apiClient_t *apiClient, char * _nam char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -816,7 +816,7 @@ BatchV1API_deleteCollectionNamespacedCronJob(apiClient_t *apiClient, char * _nam // delete collection of Job // v1_status_t* -BatchV1API_deleteCollectionNamespacedJob(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +BatchV1API_deleteCollectionNamespacedJob(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -895,11 +895,11 @@ BatchV1API_deleteCollectionNamespacedJob(apiClient_t *apiClient, char * _namespa char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -920,11 +920,11 @@ BatchV1API_deleteCollectionNamespacedJob(apiClient_t *apiClient, char * _namespa char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -933,11 +933,11 @@ BatchV1API_deleteCollectionNamespacedJob(apiClient_t *apiClient, char * _namespa char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -982,11 +982,11 @@ BatchV1API_deleteCollectionNamespacedJob(apiClient_t *apiClient, char * _namespa char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -995,11 +995,11 @@ BatchV1API_deleteCollectionNamespacedJob(apiClient_t *apiClient, char * _namespa char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -1225,7 +1225,7 @@ BatchV1API_deleteCollectionNamespacedJob(apiClient_t *apiClient, char * _namespa // delete a CronJob // v1_status_t* -BatchV1API_deleteNamespacedCronJob(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +BatchV1API_deleteNamespacedCronJob(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1290,11 +1290,11 @@ BatchV1API_deleteNamespacedCronJob(apiClient_t *apiClient, char * name , char * char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -1303,11 +1303,11 @@ BatchV1API_deleteNamespacedCronJob(apiClient_t *apiClient, char * name , char * char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -1454,7 +1454,7 @@ BatchV1API_deleteNamespacedCronJob(apiClient_t *apiClient, char * name , char * // delete a Job // v1_status_t* -BatchV1API_deleteNamespacedJob(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +BatchV1API_deleteNamespacedJob(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1519,11 +1519,11 @@ BatchV1API_deleteNamespacedJob(apiClient_t *apiClient, char * name , char * _nam char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -1532,11 +1532,11 @@ BatchV1API_deleteNamespacedJob(apiClient_t *apiClient, char * name , char * _nam char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -1750,7 +1750,7 @@ BatchV1API_getAPIResources(apiClient_t *apiClient) // list or watch objects of kind CronJob // v1_cron_job_list_t* -BatchV1API_listCronJobForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +BatchV1API_listCronJobForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1771,11 +1771,11 @@ BatchV1API_listCronJobForAllNamespaces(apiClient_t *apiClient, int allowWatchBoo char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -1820,11 +1820,11 @@ BatchV1API_listCronJobForAllNamespaces(apiClient_t *apiClient, int allowWatchBoo char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -1869,11 +1869,11 @@ BatchV1API_listCronJobForAllNamespaces(apiClient_t *apiClient, int allowWatchBoo char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -1882,11 +1882,11 @@ BatchV1API_listCronJobForAllNamespaces(apiClient_t *apiClient, int allowWatchBoo char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -1895,11 +1895,11 @@ BatchV1API_listCronJobForAllNamespaces(apiClient_t *apiClient, int allowWatchBoo char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -2088,7 +2088,7 @@ BatchV1API_listCronJobForAllNamespaces(apiClient_t *apiClient, int allowWatchBoo // list or watch objects of kind Job // v1_job_list_t* -BatchV1API_listJobForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +BatchV1API_listJobForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2109,11 +2109,11 @@ BatchV1API_listJobForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmar char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -2158,11 +2158,11 @@ BatchV1API_listJobForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmar char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -2207,11 +2207,11 @@ BatchV1API_listJobForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmar char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -2220,11 +2220,11 @@ BatchV1API_listJobForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmar char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -2233,11 +2233,11 @@ BatchV1API_listJobForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmar char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -2426,7 +2426,7 @@ BatchV1API_listJobForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmar // list or watch objects of kind CronJob // v1_cron_job_list_t* -BatchV1API_listNamespacedCronJob(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +BatchV1API_listNamespacedCronJob(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2469,11 +2469,11 @@ BatchV1API_listNamespacedCronJob(apiClient_t *apiClient, char * _namespace , cha char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -2518,11 +2518,11 @@ BatchV1API_listNamespacedCronJob(apiClient_t *apiClient, char * _namespace , cha char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -2555,11 +2555,11 @@ BatchV1API_listNamespacedCronJob(apiClient_t *apiClient, char * _namespace , cha char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -2568,11 +2568,11 @@ BatchV1API_listNamespacedCronJob(apiClient_t *apiClient, char * _namespace , cha char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -2581,11 +2581,11 @@ BatchV1API_listNamespacedCronJob(apiClient_t *apiClient, char * _namespace , cha char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -2775,7 +2775,7 @@ BatchV1API_listNamespacedCronJob(apiClient_t *apiClient, char * _namespace , cha // list or watch objects of kind Job // v1_job_list_t* -BatchV1API_listNamespacedJob(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +BatchV1API_listNamespacedJob(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2818,11 +2818,11 @@ BatchV1API_listNamespacedJob(apiClient_t *apiClient, char * _namespace , char * char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -2867,11 +2867,11 @@ BatchV1API_listNamespacedJob(apiClient_t *apiClient, char * _namespace , char * char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -2904,11 +2904,11 @@ BatchV1API_listNamespacedJob(apiClient_t *apiClient, char * _namespace , char * char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -2917,11 +2917,11 @@ BatchV1API_listNamespacedJob(apiClient_t *apiClient, char * _namespace , char * char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -2930,11 +2930,11 @@ BatchV1API_listNamespacedJob(apiClient_t *apiClient, char * _namespace , char * char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -3124,7 +3124,7 @@ BatchV1API_listNamespacedJob(apiClient_t *apiClient, char * _namespace , char * // partially update the specified CronJob // v1_cron_job_t* -BatchV1API_patchNamespacedCronJob(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +BatchV1API_patchNamespacedCronJob(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3213,11 +3213,11 @@ BatchV1API_patchNamespacedCronJob(apiClient_t *apiClient, char * name , char * _ char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -3356,7 +3356,7 @@ BatchV1API_patchNamespacedCronJob(apiClient_t *apiClient, char * name , char * _ // partially update status of the specified CronJob // v1_cron_job_t* -BatchV1API_patchNamespacedCronJobStatus(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +BatchV1API_patchNamespacedCronJobStatus(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3445,11 +3445,11 @@ BatchV1API_patchNamespacedCronJobStatus(apiClient_t *apiClient, char * name , ch char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -3588,7 +3588,7 @@ BatchV1API_patchNamespacedCronJobStatus(apiClient_t *apiClient, char * name , ch // partially update the specified Job // v1_job_t* -BatchV1API_patchNamespacedJob(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +BatchV1API_patchNamespacedJob(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3677,11 +3677,11 @@ BatchV1API_patchNamespacedJob(apiClient_t *apiClient, char * name , char * _name char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -3820,7 +3820,7 @@ BatchV1API_patchNamespacedJob(apiClient_t *apiClient, char * name , char * _name // partially update status of the specified Job // v1_job_t* -BatchV1API_patchNamespacedJobStatus(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +BatchV1API_patchNamespacedJobStatus(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3909,11 +3909,11 @@ BatchV1API_patchNamespacedJobStatus(apiClient_t *apiClient, char * name , char * char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -4052,7 +4052,7 @@ BatchV1API_patchNamespacedJobStatus(apiClient_t *apiClient, char * name , char * // read the specified CronJob // v1_cron_job_t* -BatchV1API_readNamespacedCronJob(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ) +BatchV1API_readNamespacedCronJob(apiClient_t *apiClient, char *name, char *_namespace, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -4165,7 +4165,7 @@ BatchV1API_readNamespacedCronJob(apiClient_t *apiClient, char * name , char * _n // read status of the specified CronJob // v1_cron_job_t* -BatchV1API_readNamespacedCronJobStatus(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ) +BatchV1API_readNamespacedCronJobStatus(apiClient_t *apiClient, char *name, char *_namespace, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -4278,7 +4278,7 @@ BatchV1API_readNamespacedCronJobStatus(apiClient_t *apiClient, char * name , cha // read the specified Job // v1_job_t* -BatchV1API_readNamespacedJob(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ) +BatchV1API_readNamespacedJob(apiClient_t *apiClient, char *name, char *_namespace, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -4391,7 +4391,7 @@ BatchV1API_readNamespacedJob(apiClient_t *apiClient, char * name , char * _names // read status of the specified Job // v1_job_t* -BatchV1API_readNamespacedJobStatus(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ) +BatchV1API_readNamespacedJobStatus(apiClient_t *apiClient, char *name, char *_namespace, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -4504,7 +4504,7 @@ BatchV1API_readNamespacedJobStatus(apiClient_t *apiClient, char * name , char * // replace the specified CronJob // v1_cron_job_t* -BatchV1API_replaceNamespacedCronJob(apiClient_t *apiClient, char * name , char * _namespace , v1_cron_job_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +BatchV1API_replaceNamespacedCronJob(apiClient_t *apiClient, char *name, char *_namespace, v1_cron_job_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -4707,7 +4707,7 @@ BatchV1API_replaceNamespacedCronJob(apiClient_t *apiClient, char * name , char * // replace status of the specified CronJob // v1_cron_job_t* -BatchV1API_replaceNamespacedCronJobStatus(apiClient_t *apiClient, char * name , char * _namespace , v1_cron_job_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +BatchV1API_replaceNamespacedCronJobStatus(apiClient_t *apiClient, char *name, char *_namespace, v1_cron_job_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -4910,7 +4910,7 @@ BatchV1API_replaceNamespacedCronJobStatus(apiClient_t *apiClient, char * name , // replace the specified Job // v1_job_t* -BatchV1API_replaceNamespacedJob(apiClient_t *apiClient, char * name , char * _namespace , v1_job_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +BatchV1API_replaceNamespacedJob(apiClient_t *apiClient, char *name, char *_namespace, v1_job_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -5113,7 +5113,7 @@ BatchV1API_replaceNamespacedJob(apiClient_t *apiClient, char * name , char * _na // replace status of the specified Job // v1_job_t* -BatchV1API_replaceNamespacedJobStatus(apiClient_t *apiClient, char * name , char * _namespace , v1_job_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +BatchV1API_replaceNamespacedJobStatus(apiClient_t *apiClient, char *name, char *_namespace, v1_job_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; diff --git a/kubernetes/api/BatchV1API.h b/kubernetes/api/BatchV1API.h index 5e288e9e..ae699313 100644 --- a/kubernetes/api/BatchV1API.h +++ b/kubernetes/api/BatchV1API.h @@ -18,37 +18,37 @@ // create a CronJob // v1_cron_job_t* -BatchV1API_createNamespacedCronJob(apiClient_t *apiClient, char * _namespace , v1_cron_job_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +BatchV1API_createNamespacedCronJob(apiClient_t *apiClient, char *_namespace, v1_cron_job_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // create a Job // v1_job_t* -BatchV1API_createNamespacedJob(apiClient_t *apiClient, char * _namespace , v1_job_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +BatchV1API_createNamespacedJob(apiClient_t *apiClient, char *_namespace, v1_job_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // delete collection of CronJob // v1_status_t* -BatchV1API_deleteCollectionNamespacedCronJob(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +BatchV1API_deleteCollectionNamespacedCronJob(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); // delete collection of Job // v1_status_t* -BatchV1API_deleteCollectionNamespacedJob(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +BatchV1API_deleteCollectionNamespacedJob(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); // delete a CronJob // v1_status_t* -BatchV1API_deleteNamespacedCronJob(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +BatchV1API_deleteNamespacedCronJob(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // delete a Job // v1_status_t* -BatchV1API_deleteNamespacedJob(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +BatchV1API_deleteNamespacedJob(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // get available resources @@ -60,96 +60,96 @@ BatchV1API_getAPIResources(apiClient_t *apiClient); // list or watch objects of kind CronJob // v1_cron_job_list_t* -BatchV1API_listCronJobForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +BatchV1API_listCronJobForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind Job // v1_job_list_t* -BatchV1API_listJobForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +BatchV1API_listJobForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind CronJob // v1_cron_job_list_t* -BatchV1API_listNamespacedCronJob(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +BatchV1API_listNamespacedCronJob(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind Job // v1_job_list_t* -BatchV1API_listNamespacedJob(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +BatchV1API_listNamespacedJob(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // partially update the specified CronJob // v1_cron_job_t* -BatchV1API_patchNamespacedCronJob(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +BatchV1API_patchNamespacedCronJob(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update status of the specified CronJob // v1_cron_job_t* -BatchV1API_patchNamespacedCronJobStatus(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +BatchV1API_patchNamespacedCronJobStatus(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update the specified Job // v1_job_t* -BatchV1API_patchNamespacedJob(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +BatchV1API_patchNamespacedJob(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update status of the specified Job // v1_job_t* -BatchV1API_patchNamespacedJobStatus(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +BatchV1API_patchNamespacedJobStatus(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // read the specified CronJob // v1_cron_job_t* -BatchV1API_readNamespacedCronJob(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ); +BatchV1API_readNamespacedCronJob(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); // read status of the specified CronJob // v1_cron_job_t* -BatchV1API_readNamespacedCronJobStatus(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ); +BatchV1API_readNamespacedCronJobStatus(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); // read the specified Job // v1_job_t* -BatchV1API_readNamespacedJob(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ); +BatchV1API_readNamespacedJob(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); // read status of the specified Job // v1_job_t* -BatchV1API_readNamespacedJobStatus(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ); +BatchV1API_readNamespacedJobStatus(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); // replace the specified CronJob // v1_cron_job_t* -BatchV1API_replaceNamespacedCronJob(apiClient_t *apiClient, char * name , char * _namespace , v1_cron_job_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +BatchV1API_replaceNamespacedCronJob(apiClient_t *apiClient, char *name, char *_namespace, v1_cron_job_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace status of the specified CronJob // v1_cron_job_t* -BatchV1API_replaceNamespacedCronJobStatus(apiClient_t *apiClient, char * name , char * _namespace , v1_cron_job_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +BatchV1API_replaceNamespacedCronJobStatus(apiClient_t *apiClient, char *name, char *_namespace, v1_cron_job_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace the specified Job // v1_job_t* -BatchV1API_replaceNamespacedJob(apiClient_t *apiClient, char * name , char * _namespace , v1_job_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +BatchV1API_replaceNamespacedJob(apiClient_t *apiClient, char *name, char *_namespace, v1_job_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace status of the specified Job // v1_job_t* -BatchV1API_replaceNamespacedJobStatus(apiClient_t *apiClient, char * name , char * _namespace , v1_job_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +BatchV1API_replaceNamespacedJobStatus(apiClient_t *apiClient, char *name, char *_namespace, v1_job_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); diff --git a/kubernetes/api/CertificatesV1API.c b/kubernetes/api/CertificatesV1API.c index 45fb9491..9c70f96b 100644 --- a/kubernetes/api/CertificatesV1API.c +++ b/kubernetes/api/CertificatesV1API.c @@ -15,7 +15,7 @@ // create a CertificateSigningRequest // v1_certificate_signing_request_t* -CertificatesV1API_createCertificateSigningRequest(apiClient_t *apiClient, v1_certificate_signing_request_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +CertificatesV1API_createCertificateSigningRequest(apiClient_t *apiClient, v1_certificate_signing_request_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -200,7 +200,7 @@ CertificatesV1API_createCertificateSigningRequest(apiClient_t *apiClient, v1_cer // delete a CertificateSigningRequest // v1_status_t* -CertificatesV1API_deleteCertificateSigningRequest(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +CertificatesV1API_deleteCertificateSigningRequest(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -255,11 +255,11 @@ CertificatesV1API_deleteCertificateSigningRequest(apiClient_t *apiClient, char * char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -268,11 +268,11 @@ CertificatesV1API_deleteCertificateSigningRequest(apiClient_t *apiClient, char * char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -418,7 +418,7 @@ CertificatesV1API_deleteCertificateSigningRequest(apiClient_t *apiClient, char * // delete collection of CertificateSigningRequest // v1_status_t* -CertificatesV1API_deleteCollectionCertificateSigningRequest(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +CertificatesV1API_deleteCollectionCertificateSigningRequest(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -487,11 +487,11 @@ CertificatesV1API_deleteCollectionCertificateSigningRequest(apiClient_t *apiClie char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -512,11 +512,11 @@ CertificatesV1API_deleteCollectionCertificateSigningRequest(apiClient_t *apiClie char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -525,11 +525,11 @@ CertificatesV1API_deleteCollectionCertificateSigningRequest(apiClient_t *apiClie char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -574,11 +574,11 @@ CertificatesV1API_deleteCollectionCertificateSigningRequest(apiClient_t *apiClie char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -587,11 +587,11 @@ CertificatesV1API_deleteCollectionCertificateSigningRequest(apiClient_t *apiClie char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -883,7 +883,7 @@ CertificatesV1API_getAPIResources(apiClient_t *apiClient) // list or watch objects of kind CertificateSigningRequest // v1_certificate_signing_request_list_t* -CertificatesV1API_listCertificateSigningRequest(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +CertificatesV1API_listCertificateSigningRequest(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -916,11 +916,11 @@ CertificatesV1API_listCertificateSigningRequest(apiClient_t *apiClient, char * p char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -965,11 +965,11 @@ CertificatesV1API_listCertificateSigningRequest(apiClient_t *apiClient, char * p char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -1002,11 +1002,11 @@ CertificatesV1API_listCertificateSigningRequest(apiClient_t *apiClient, char * p char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -1015,11 +1015,11 @@ CertificatesV1API_listCertificateSigningRequest(apiClient_t *apiClient, char * p char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -1028,11 +1028,11 @@ CertificatesV1API_listCertificateSigningRequest(apiClient_t *apiClient, char * p char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -1221,7 +1221,7 @@ CertificatesV1API_listCertificateSigningRequest(apiClient_t *apiClient, char * p // partially update the specified CertificateSigningRequest // v1_certificate_signing_request_t* -CertificatesV1API_patchCertificateSigningRequest(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +CertificatesV1API_patchCertificateSigningRequest(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1300,11 +1300,11 @@ CertificatesV1API_patchCertificateSigningRequest(apiClient_t *apiClient, char * char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -1442,7 +1442,7 @@ CertificatesV1API_patchCertificateSigningRequest(apiClient_t *apiClient, char * // partially update approval of the specified CertificateSigningRequest // v1_certificate_signing_request_t* -CertificatesV1API_patchCertificateSigningRequestApproval(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +CertificatesV1API_patchCertificateSigningRequestApproval(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1521,11 +1521,11 @@ CertificatesV1API_patchCertificateSigningRequestApproval(apiClient_t *apiClient, char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -1663,7 +1663,7 @@ CertificatesV1API_patchCertificateSigningRequestApproval(apiClient_t *apiClient, // partially update status of the specified CertificateSigningRequest // v1_certificate_signing_request_t* -CertificatesV1API_patchCertificateSigningRequestStatus(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +CertificatesV1API_patchCertificateSigningRequestStatus(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1742,11 +1742,11 @@ CertificatesV1API_patchCertificateSigningRequestStatus(apiClient_t *apiClient, c char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -1884,7 +1884,7 @@ CertificatesV1API_patchCertificateSigningRequestStatus(apiClient_t *apiClient, c // read the specified CertificateSigningRequest // v1_certificate_signing_request_t* -CertificatesV1API_readCertificateSigningRequest(apiClient_t *apiClient, char * name , char * pretty ) +CertificatesV1API_readCertificateSigningRequest(apiClient_t *apiClient, char *name, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1986,7 +1986,7 @@ CertificatesV1API_readCertificateSigningRequest(apiClient_t *apiClient, char * n // read approval of the specified CertificateSigningRequest // v1_certificate_signing_request_t* -CertificatesV1API_readCertificateSigningRequestApproval(apiClient_t *apiClient, char * name , char * pretty ) +CertificatesV1API_readCertificateSigningRequestApproval(apiClient_t *apiClient, char *name, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2088,7 +2088,7 @@ CertificatesV1API_readCertificateSigningRequestApproval(apiClient_t *apiClient, // read status of the specified CertificateSigningRequest // v1_certificate_signing_request_t* -CertificatesV1API_readCertificateSigningRequestStatus(apiClient_t *apiClient, char * name , char * pretty ) +CertificatesV1API_readCertificateSigningRequestStatus(apiClient_t *apiClient, char *name, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2190,7 +2190,7 @@ CertificatesV1API_readCertificateSigningRequestStatus(apiClient_t *apiClient, ch // replace the specified CertificateSigningRequest // v1_certificate_signing_request_t* -CertificatesV1API_replaceCertificateSigningRequest(apiClient_t *apiClient, char * name , v1_certificate_signing_request_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +CertificatesV1API_replaceCertificateSigningRequest(apiClient_t *apiClient, char *name, v1_certificate_signing_request_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2382,7 +2382,7 @@ CertificatesV1API_replaceCertificateSigningRequest(apiClient_t *apiClient, char // replace approval of the specified CertificateSigningRequest // v1_certificate_signing_request_t* -CertificatesV1API_replaceCertificateSigningRequestApproval(apiClient_t *apiClient, char * name , v1_certificate_signing_request_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +CertificatesV1API_replaceCertificateSigningRequestApproval(apiClient_t *apiClient, char *name, v1_certificate_signing_request_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2574,7 +2574,7 @@ CertificatesV1API_replaceCertificateSigningRequestApproval(apiClient_t *apiClien // replace status of the specified CertificateSigningRequest // v1_certificate_signing_request_t* -CertificatesV1API_replaceCertificateSigningRequestStatus(apiClient_t *apiClient, char * name , v1_certificate_signing_request_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +CertificatesV1API_replaceCertificateSigningRequestStatus(apiClient_t *apiClient, char *name, v1_certificate_signing_request_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; diff --git a/kubernetes/api/CertificatesV1API.h b/kubernetes/api/CertificatesV1API.h index 4b9a5ef8..35d4f46a 100644 --- a/kubernetes/api/CertificatesV1API.h +++ b/kubernetes/api/CertificatesV1API.h @@ -16,19 +16,19 @@ // create a CertificateSigningRequest // v1_certificate_signing_request_t* -CertificatesV1API_createCertificateSigningRequest(apiClient_t *apiClient, v1_certificate_signing_request_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +CertificatesV1API_createCertificateSigningRequest(apiClient_t *apiClient, v1_certificate_signing_request_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // delete a CertificateSigningRequest // v1_status_t* -CertificatesV1API_deleteCertificateSigningRequest(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +CertificatesV1API_deleteCertificateSigningRequest(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // delete collection of CertificateSigningRequest // v1_status_t* -CertificatesV1API_deleteCollectionCertificateSigningRequest(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +CertificatesV1API_deleteCollectionCertificateSigningRequest(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); // get available resources @@ -40,60 +40,60 @@ CertificatesV1API_getAPIResources(apiClient_t *apiClient); // list or watch objects of kind CertificateSigningRequest // v1_certificate_signing_request_list_t* -CertificatesV1API_listCertificateSigningRequest(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +CertificatesV1API_listCertificateSigningRequest(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // partially update the specified CertificateSigningRequest // v1_certificate_signing_request_t* -CertificatesV1API_patchCertificateSigningRequest(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +CertificatesV1API_patchCertificateSigningRequest(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update approval of the specified CertificateSigningRequest // v1_certificate_signing_request_t* -CertificatesV1API_patchCertificateSigningRequestApproval(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +CertificatesV1API_patchCertificateSigningRequestApproval(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update status of the specified CertificateSigningRequest // v1_certificate_signing_request_t* -CertificatesV1API_patchCertificateSigningRequestStatus(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +CertificatesV1API_patchCertificateSigningRequestStatus(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // read the specified CertificateSigningRequest // v1_certificate_signing_request_t* -CertificatesV1API_readCertificateSigningRequest(apiClient_t *apiClient, char * name , char * pretty ); +CertificatesV1API_readCertificateSigningRequest(apiClient_t *apiClient, char *name, char *pretty); // read approval of the specified CertificateSigningRequest // v1_certificate_signing_request_t* -CertificatesV1API_readCertificateSigningRequestApproval(apiClient_t *apiClient, char * name , char * pretty ); +CertificatesV1API_readCertificateSigningRequestApproval(apiClient_t *apiClient, char *name, char *pretty); // read status of the specified CertificateSigningRequest // v1_certificate_signing_request_t* -CertificatesV1API_readCertificateSigningRequestStatus(apiClient_t *apiClient, char * name , char * pretty ); +CertificatesV1API_readCertificateSigningRequestStatus(apiClient_t *apiClient, char *name, char *pretty); // replace the specified CertificateSigningRequest // v1_certificate_signing_request_t* -CertificatesV1API_replaceCertificateSigningRequest(apiClient_t *apiClient, char * name , v1_certificate_signing_request_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +CertificatesV1API_replaceCertificateSigningRequest(apiClient_t *apiClient, char *name, v1_certificate_signing_request_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace approval of the specified CertificateSigningRequest // v1_certificate_signing_request_t* -CertificatesV1API_replaceCertificateSigningRequestApproval(apiClient_t *apiClient, char * name , v1_certificate_signing_request_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +CertificatesV1API_replaceCertificateSigningRequestApproval(apiClient_t *apiClient, char *name, v1_certificate_signing_request_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace status of the specified CertificateSigningRequest // v1_certificate_signing_request_t* -CertificatesV1API_replaceCertificateSigningRequestStatus(apiClient_t *apiClient, char * name , v1_certificate_signing_request_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +CertificatesV1API_replaceCertificateSigningRequestStatus(apiClient_t *apiClient, char *name, v1_certificate_signing_request_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); diff --git a/kubernetes/api/CertificatesV1alpha1API.c b/kubernetes/api/CertificatesV1alpha1API.c index 6864a101..8ee57cf8 100644 --- a/kubernetes/api/CertificatesV1alpha1API.c +++ b/kubernetes/api/CertificatesV1alpha1API.c @@ -15,7 +15,7 @@ // create a ClusterTrustBundle // v1alpha1_cluster_trust_bundle_t* -CertificatesV1alpha1API_createClusterTrustBundle(apiClient_t *apiClient, v1alpha1_cluster_trust_bundle_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +CertificatesV1alpha1API_createClusterTrustBundle(apiClient_t *apiClient, v1alpha1_cluster_trust_bundle_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -200,7 +200,7 @@ CertificatesV1alpha1API_createClusterTrustBundle(apiClient_t *apiClient, v1alpha // delete a ClusterTrustBundle // v1_status_t* -CertificatesV1alpha1API_deleteClusterTrustBundle(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +CertificatesV1alpha1API_deleteClusterTrustBundle(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -255,11 +255,11 @@ CertificatesV1alpha1API_deleteClusterTrustBundle(apiClient_t *apiClient, char * char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -268,11 +268,11 @@ CertificatesV1alpha1API_deleteClusterTrustBundle(apiClient_t *apiClient, char * char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -418,7 +418,7 @@ CertificatesV1alpha1API_deleteClusterTrustBundle(apiClient_t *apiClient, char * // delete collection of ClusterTrustBundle // v1_status_t* -CertificatesV1alpha1API_deleteCollectionClusterTrustBundle(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +CertificatesV1alpha1API_deleteCollectionClusterTrustBundle(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -487,11 +487,11 @@ CertificatesV1alpha1API_deleteCollectionClusterTrustBundle(apiClient_t *apiClien char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -512,11 +512,11 @@ CertificatesV1alpha1API_deleteCollectionClusterTrustBundle(apiClient_t *apiClien char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -525,11 +525,11 @@ CertificatesV1alpha1API_deleteCollectionClusterTrustBundle(apiClient_t *apiClien char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -574,11 +574,11 @@ CertificatesV1alpha1API_deleteCollectionClusterTrustBundle(apiClient_t *apiClien char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -587,11 +587,11 @@ CertificatesV1alpha1API_deleteCollectionClusterTrustBundle(apiClient_t *apiClien char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -883,7 +883,7 @@ CertificatesV1alpha1API_getAPIResources(apiClient_t *apiClient) // list or watch objects of kind ClusterTrustBundle // v1alpha1_cluster_trust_bundle_list_t* -CertificatesV1alpha1API_listClusterTrustBundle(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +CertificatesV1alpha1API_listClusterTrustBundle(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -916,11 +916,11 @@ CertificatesV1alpha1API_listClusterTrustBundle(apiClient_t *apiClient, char * pr char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -965,11 +965,11 @@ CertificatesV1alpha1API_listClusterTrustBundle(apiClient_t *apiClient, char * pr char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -1002,11 +1002,11 @@ CertificatesV1alpha1API_listClusterTrustBundle(apiClient_t *apiClient, char * pr char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -1015,11 +1015,11 @@ CertificatesV1alpha1API_listClusterTrustBundle(apiClient_t *apiClient, char * pr char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -1028,11 +1028,11 @@ CertificatesV1alpha1API_listClusterTrustBundle(apiClient_t *apiClient, char * pr char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -1221,7 +1221,7 @@ CertificatesV1alpha1API_listClusterTrustBundle(apiClient_t *apiClient, char * pr // partially update the specified ClusterTrustBundle // v1alpha1_cluster_trust_bundle_t* -CertificatesV1alpha1API_patchClusterTrustBundle(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +CertificatesV1alpha1API_patchClusterTrustBundle(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1300,11 +1300,11 @@ CertificatesV1alpha1API_patchClusterTrustBundle(apiClient_t *apiClient, char * n char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -1442,7 +1442,7 @@ CertificatesV1alpha1API_patchClusterTrustBundle(apiClient_t *apiClient, char * n // read the specified ClusterTrustBundle // v1alpha1_cluster_trust_bundle_t* -CertificatesV1alpha1API_readClusterTrustBundle(apiClient_t *apiClient, char * name , char * pretty ) +CertificatesV1alpha1API_readClusterTrustBundle(apiClient_t *apiClient, char *name, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1544,7 +1544,7 @@ CertificatesV1alpha1API_readClusterTrustBundle(apiClient_t *apiClient, char * na // replace the specified ClusterTrustBundle // v1alpha1_cluster_trust_bundle_t* -CertificatesV1alpha1API_replaceClusterTrustBundle(apiClient_t *apiClient, char * name , v1alpha1_cluster_trust_bundle_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +CertificatesV1alpha1API_replaceClusterTrustBundle(apiClient_t *apiClient, char *name, v1alpha1_cluster_trust_bundle_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; diff --git a/kubernetes/api/CertificatesV1alpha1API.h b/kubernetes/api/CertificatesV1alpha1API.h index 0ac70162..b946b3f8 100644 --- a/kubernetes/api/CertificatesV1alpha1API.h +++ b/kubernetes/api/CertificatesV1alpha1API.h @@ -16,19 +16,19 @@ // create a ClusterTrustBundle // v1alpha1_cluster_trust_bundle_t* -CertificatesV1alpha1API_createClusterTrustBundle(apiClient_t *apiClient, v1alpha1_cluster_trust_bundle_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +CertificatesV1alpha1API_createClusterTrustBundle(apiClient_t *apiClient, v1alpha1_cluster_trust_bundle_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // delete a ClusterTrustBundle // v1_status_t* -CertificatesV1alpha1API_deleteClusterTrustBundle(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +CertificatesV1alpha1API_deleteClusterTrustBundle(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // delete collection of ClusterTrustBundle // v1_status_t* -CertificatesV1alpha1API_deleteCollectionClusterTrustBundle(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +CertificatesV1alpha1API_deleteCollectionClusterTrustBundle(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); // get available resources @@ -40,24 +40,24 @@ CertificatesV1alpha1API_getAPIResources(apiClient_t *apiClient); // list or watch objects of kind ClusterTrustBundle // v1alpha1_cluster_trust_bundle_list_t* -CertificatesV1alpha1API_listClusterTrustBundle(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +CertificatesV1alpha1API_listClusterTrustBundle(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // partially update the specified ClusterTrustBundle // v1alpha1_cluster_trust_bundle_t* -CertificatesV1alpha1API_patchClusterTrustBundle(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +CertificatesV1alpha1API_patchClusterTrustBundle(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // read the specified ClusterTrustBundle // v1alpha1_cluster_trust_bundle_t* -CertificatesV1alpha1API_readClusterTrustBundle(apiClient_t *apiClient, char * name , char * pretty ); +CertificatesV1alpha1API_readClusterTrustBundle(apiClient_t *apiClient, char *name, char *pretty); // replace the specified ClusterTrustBundle // v1alpha1_cluster_trust_bundle_t* -CertificatesV1alpha1API_replaceClusterTrustBundle(apiClient_t *apiClient, char * name , v1alpha1_cluster_trust_bundle_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +CertificatesV1alpha1API_replaceClusterTrustBundle(apiClient_t *apiClient, char *name, v1alpha1_cluster_trust_bundle_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); diff --git a/kubernetes/api/CoordinationV1API.c b/kubernetes/api/CoordinationV1API.c index c09f69a3..bdcbfde7 100644 --- a/kubernetes/api/CoordinationV1API.c +++ b/kubernetes/api/CoordinationV1API.c @@ -15,7 +15,7 @@ // create a Lease // v1_lease_t* -CoordinationV1API_createNamespacedLease(apiClient_t *apiClient, char * _namespace , v1_lease_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +CoordinationV1API_createNamespacedLease(apiClient_t *apiClient, char *_namespace, v1_lease_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -211,7 +211,7 @@ CoordinationV1API_createNamespacedLease(apiClient_t *apiClient, char * _namespac // delete collection of Lease // v1_status_t* -CoordinationV1API_deleteCollectionNamespacedLease(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +CoordinationV1API_deleteCollectionNamespacedLease(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -290,11 +290,11 @@ CoordinationV1API_deleteCollectionNamespacedLease(apiClient_t *apiClient, char * char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -315,11 +315,11 @@ CoordinationV1API_deleteCollectionNamespacedLease(apiClient_t *apiClient, char * char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -328,11 +328,11 @@ CoordinationV1API_deleteCollectionNamespacedLease(apiClient_t *apiClient, char * char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -377,11 +377,11 @@ CoordinationV1API_deleteCollectionNamespacedLease(apiClient_t *apiClient, char * char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -390,11 +390,11 @@ CoordinationV1API_deleteCollectionNamespacedLease(apiClient_t *apiClient, char * char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -620,7 +620,7 @@ CoordinationV1API_deleteCollectionNamespacedLease(apiClient_t *apiClient, char * // delete a Lease // v1_status_t* -CoordinationV1API_deleteNamespacedLease(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +CoordinationV1API_deleteNamespacedLease(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -685,11 +685,11 @@ CoordinationV1API_deleteNamespacedLease(apiClient_t *apiClient, char * name , ch char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -698,11 +698,11 @@ CoordinationV1API_deleteNamespacedLease(apiClient_t *apiClient, char * name , ch char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -916,7 +916,7 @@ CoordinationV1API_getAPIResources(apiClient_t *apiClient) // list or watch objects of kind Lease // v1_lease_list_t* -CoordinationV1API_listLeaseForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +CoordinationV1API_listLeaseForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -937,11 +937,11 @@ CoordinationV1API_listLeaseForAllNamespaces(apiClient_t *apiClient, int allowWat char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -986,11 +986,11 @@ CoordinationV1API_listLeaseForAllNamespaces(apiClient_t *apiClient, int allowWat char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -1035,11 +1035,11 @@ CoordinationV1API_listLeaseForAllNamespaces(apiClient_t *apiClient, int allowWat char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -1048,11 +1048,11 @@ CoordinationV1API_listLeaseForAllNamespaces(apiClient_t *apiClient, int allowWat char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -1061,11 +1061,11 @@ CoordinationV1API_listLeaseForAllNamespaces(apiClient_t *apiClient, int allowWat char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -1254,7 +1254,7 @@ CoordinationV1API_listLeaseForAllNamespaces(apiClient_t *apiClient, int allowWat // list or watch objects of kind Lease // v1_lease_list_t* -CoordinationV1API_listNamespacedLease(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +CoordinationV1API_listNamespacedLease(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1297,11 +1297,11 @@ CoordinationV1API_listNamespacedLease(apiClient_t *apiClient, char * _namespace char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -1346,11 +1346,11 @@ CoordinationV1API_listNamespacedLease(apiClient_t *apiClient, char * _namespace char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -1383,11 +1383,11 @@ CoordinationV1API_listNamespacedLease(apiClient_t *apiClient, char * _namespace char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -1396,11 +1396,11 @@ CoordinationV1API_listNamespacedLease(apiClient_t *apiClient, char * _namespace char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -1409,11 +1409,11 @@ CoordinationV1API_listNamespacedLease(apiClient_t *apiClient, char * _namespace char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -1603,7 +1603,7 @@ CoordinationV1API_listNamespacedLease(apiClient_t *apiClient, char * _namespace // partially update the specified Lease // v1_lease_t* -CoordinationV1API_patchNamespacedLease(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +CoordinationV1API_patchNamespacedLease(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1692,11 +1692,11 @@ CoordinationV1API_patchNamespacedLease(apiClient_t *apiClient, char * name , cha char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -1835,7 +1835,7 @@ CoordinationV1API_patchNamespacedLease(apiClient_t *apiClient, char * name , cha // read the specified Lease // v1_lease_t* -CoordinationV1API_readNamespacedLease(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ) +CoordinationV1API_readNamespacedLease(apiClient_t *apiClient, char *name, char *_namespace, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1948,7 +1948,7 @@ CoordinationV1API_readNamespacedLease(apiClient_t *apiClient, char * name , char // replace the specified Lease // v1_lease_t* -CoordinationV1API_replaceNamespacedLease(apiClient_t *apiClient, char * name , char * _namespace , v1_lease_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +CoordinationV1API_replaceNamespacedLease(apiClient_t *apiClient, char *name, char *_namespace, v1_lease_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; diff --git a/kubernetes/api/CoordinationV1API.h b/kubernetes/api/CoordinationV1API.h index ce63a20f..3b5ea0a6 100644 --- a/kubernetes/api/CoordinationV1API.h +++ b/kubernetes/api/CoordinationV1API.h @@ -16,19 +16,19 @@ // create a Lease // v1_lease_t* -CoordinationV1API_createNamespacedLease(apiClient_t *apiClient, char * _namespace , v1_lease_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +CoordinationV1API_createNamespacedLease(apiClient_t *apiClient, char *_namespace, v1_lease_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // delete collection of Lease // v1_status_t* -CoordinationV1API_deleteCollectionNamespacedLease(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +CoordinationV1API_deleteCollectionNamespacedLease(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); // delete a Lease // v1_status_t* -CoordinationV1API_deleteNamespacedLease(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +CoordinationV1API_deleteNamespacedLease(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // get available resources @@ -40,30 +40,30 @@ CoordinationV1API_getAPIResources(apiClient_t *apiClient); // list or watch objects of kind Lease // v1_lease_list_t* -CoordinationV1API_listLeaseForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +CoordinationV1API_listLeaseForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind Lease // v1_lease_list_t* -CoordinationV1API_listNamespacedLease(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +CoordinationV1API_listNamespacedLease(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // partially update the specified Lease // v1_lease_t* -CoordinationV1API_patchNamespacedLease(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +CoordinationV1API_patchNamespacedLease(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // read the specified Lease // v1_lease_t* -CoordinationV1API_readNamespacedLease(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ); +CoordinationV1API_readNamespacedLease(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); // replace the specified Lease // v1_lease_t* -CoordinationV1API_replaceNamespacedLease(apiClient_t *apiClient, char * name , char * _namespace , v1_lease_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +CoordinationV1API_replaceNamespacedLease(apiClient_t *apiClient, char *name, char *_namespace, v1_lease_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); diff --git a/kubernetes/api/CoreV1API.c b/kubernetes/api/CoreV1API.c index 53cb60a0..deadb92b 100644 --- a/kubernetes/api/CoreV1API.c +++ b/kubernetes/api/CoreV1API.c @@ -15,7 +15,7 @@ // connect DELETE requests to proxy of Pod // char* -CoreV1API_connectDeleteNamespacedPodProxy(apiClient_t *apiClient, char * name , char * _namespace , char * path ) +CoreV1API_connectDeleteNamespacedPodProxy(apiClient_t *apiClient, char *name, char *_namespace, char *path) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -120,7 +120,7 @@ CoreV1API_connectDeleteNamespacedPodProxy(apiClient_t *apiClient, char * name , // connect DELETE requests to proxy of Pod // char* -CoreV1API_connectDeleteNamespacedPodProxyWithPath(apiClient_t *apiClient, char * name , char * _namespace , char * path , char * path2 ) +CoreV1API_connectDeleteNamespacedPodProxyWithPath(apiClient_t *apiClient, char *name, char *_namespace, char *path, char *path2) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -236,7 +236,7 @@ CoreV1API_connectDeleteNamespacedPodProxyWithPath(apiClient_t *apiClient, char * // connect DELETE requests to proxy of Service // char* -CoreV1API_connectDeleteNamespacedServiceProxy(apiClient_t *apiClient, char * name , char * _namespace , char * path ) +CoreV1API_connectDeleteNamespacedServiceProxy(apiClient_t *apiClient, char *name, char *_namespace, char *path) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -341,7 +341,7 @@ CoreV1API_connectDeleteNamespacedServiceProxy(apiClient_t *apiClient, char * nam // connect DELETE requests to proxy of Service // char* -CoreV1API_connectDeleteNamespacedServiceProxyWithPath(apiClient_t *apiClient, char * name , char * _namespace , char * path , char * path2 ) +CoreV1API_connectDeleteNamespacedServiceProxyWithPath(apiClient_t *apiClient, char *name, char *_namespace, char *path, char *path2) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -457,7 +457,7 @@ CoreV1API_connectDeleteNamespacedServiceProxyWithPath(apiClient_t *apiClient, ch // connect DELETE requests to proxy of Node // char* -CoreV1API_connectDeleteNodeProxy(apiClient_t *apiClient, char * name , char * path ) +CoreV1API_connectDeleteNodeProxy(apiClient_t *apiClient, char *name, char *path) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -551,7 +551,7 @@ CoreV1API_connectDeleteNodeProxy(apiClient_t *apiClient, char * name , char * pa // connect DELETE requests to proxy of Node // char* -CoreV1API_connectDeleteNodeProxyWithPath(apiClient_t *apiClient, char * name , char * path , char * path2 ) +CoreV1API_connectDeleteNodeProxyWithPath(apiClient_t *apiClient, char *name, char *path, char *path2) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -656,7 +656,7 @@ CoreV1API_connectDeleteNodeProxyWithPath(apiClient_t *apiClient, char * name , c // connect GET requests to attach of Pod // char* -CoreV1API_connectGetNamespacedPodAttach(apiClient_t *apiClient, char * name , char * _namespace , char * container , int _stderr , int _stdin , int _stdout , int tty ) +CoreV1API_connectGetNamespacedPodAttach(apiClient_t *apiClient, char *name, char *_namespace, char *container, int *_stderr, int *_stdin, int *_stdout, int *tty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -709,11 +709,11 @@ CoreV1API_connectGetNamespacedPodAttach(apiClient_t *apiClient, char * name , ch char *keyQuery__stderr = NULL; char * valueQuery__stderr = NULL; keyValuePair_t *keyPairQuery__stderr = 0; - if (1) // Always send boolean parameters to the API server + if (_stderr) { keyQuery__stderr = strdup("stderr"); valueQuery__stderr = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery__stderr, MAX_NUMBER_LENGTH, "%d", _stderr); + snprintf(valueQuery__stderr, MAX_NUMBER_LENGTH, "%d", *_stderr); keyPairQuery__stderr = keyValuePair_create(keyQuery__stderr, valueQuery__stderr); list_addElement(localVarQueryParameters,keyPairQuery__stderr); } @@ -722,11 +722,11 @@ CoreV1API_connectGetNamespacedPodAttach(apiClient_t *apiClient, char * name , ch char *keyQuery__stdin = NULL; char * valueQuery__stdin = NULL; keyValuePair_t *keyPairQuery__stdin = 0; - if (1) // Always send boolean parameters to the API server + if (_stdin) { keyQuery__stdin = strdup("stdin"); valueQuery__stdin = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery__stdin, MAX_NUMBER_LENGTH, "%d", _stdin); + snprintf(valueQuery__stdin, MAX_NUMBER_LENGTH, "%d", *_stdin); keyPairQuery__stdin = keyValuePair_create(keyQuery__stdin, valueQuery__stdin); list_addElement(localVarQueryParameters,keyPairQuery__stdin); } @@ -735,11 +735,11 @@ CoreV1API_connectGetNamespacedPodAttach(apiClient_t *apiClient, char * name , ch char *keyQuery__stdout = NULL; char * valueQuery__stdout = NULL; keyValuePair_t *keyPairQuery__stdout = 0; - if (1) // Always send boolean parameters to the API server + if (_stdout) { keyQuery__stdout = strdup("stdout"); valueQuery__stdout = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery__stdout, MAX_NUMBER_LENGTH, "%d", _stdout); + snprintf(valueQuery__stdout, MAX_NUMBER_LENGTH, "%d", *_stdout); keyPairQuery__stdout = keyValuePair_create(keyQuery__stdout, valueQuery__stdout); list_addElement(localVarQueryParameters,keyPairQuery__stdout); } @@ -748,11 +748,11 @@ CoreV1API_connectGetNamespacedPodAttach(apiClient_t *apiClient, char * name , ch char *keyQuery_tty = NULL; char * valueQuery_tty = NULL; keyValuePair_t *keyPairQuery_tty = 0; - if (1) // Always send boolean parameters to the API server + if (tty) { keyQuery_tty = strdup("tty"); valueQuery_tty = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_tty, MAX_NUMBER_LENGTH, "%d", tty); + snprintf(valueQuery_tty, MAX_NUMBER_LENGTH, "%d", *tty); keyPairQuery_tty = keyValuePair_create(keyQuery_tty, valueQuery_tty); list_addElement(localVarQueryParameters,keyPairQuery_tty); } @@ -861,7 +861,7 @@ CoreV1API_connectGetNamespacedPodAttach(apiClient_t *apiClient, char * name , ch // connect GET requests to exec of Pod // char* -CoreV1API_connectGetNamespacedPodExec(apiClient_t *apiClient, char * name , char * _namespace , char * command , char * container , int _stderr , int _stdin , int _stdout , int tty ) +CoreV1API_connectGetNamespacedPodExec(apiClient_t *apiClient, char *name, char *_namespace, char *command, char *container, int *_stderr, int *_stdin, int *_stdout, int *tty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -926,11 +926,11 @@ CoreV1API_connectGetNamespacedPodExec(apiClient_t *apiClient, char * name , char char *keyQuery__stderr = NULL; char * valueQuery__stderr = NULL; keyValuePair_t *keyPairQuery__stderr = 0; - if (1) // Always send boolean parameters to the API server + if (_stderr) { keyQuery__stderr = strdup("stderr"); valueQuery__stderr = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery__stderr, MAX_NUMBER_LENGTH, "%d", _stderr); + snprintf(valueQuery__stderr, MAX_NUMBER_LENGTH, "%d", *_stderr); keyPairQuery__stderr = keyValuePair_create(keyQuery__stderr, valueQuery__stderr); list_addElement(localVarQueryParameters,keyPairQuery__stderr); } @@ -939,11 +939,11 @@ CoreV1API_connectGetNamespacedPodExec(apiClient_t *apiClient, char * name , char char *keyQuery__stdin = NULL; char * valueQuery__stdin = NULL; keyValuePair_t *keyPairQuery__stdin = 0; - if (1) // Always send boolean parameters to the API server + if (_stdin) { keyQuery__stdin = strdup("stdin"); valueQuery__stdin = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery__stdin, MAX_NUMBER_LENGTH, "%d", _stdin); + snprintf(valueQuery__stdin, MAX_NUMBER_LENGTH, "%d", *_stdin); keyPairQuery__stdin = keyValuePair_create(keyQuery__stdin, valueQuery__stdin); list_addElement(localVarQueryParameters,keyPairQuery__stdin); } @@ -952,11 +952,11 @@ CoreV1API_connectGetNamespacedPodExec(apiClient_t *apiClient, char * name , char char *keyQuery__stdout = NULL; char * valueQuery__stdout = NULL; keyValuePair_t *keyPairQuery__stdout = 0; - if (1) // Always send boolean parameters to the API server + if (_stdout) { keyQuery__stdout = strdup("stdout"); valueQuery__stdout = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery__stdout, MAX_NUMBER_LENGTH, "%d", _stdout); + snprintf(valueQuery__stdout, MAX_NUMBER_LENGTH, "%d", *_stdout); keyPairQuery__stdout = keyValuePair_create(keyQuery__stdout, valueQuery__stdout); list_addElement(localVarQueryParameters,keyPairQuery__stdout); } @@ -965,11 +965,11 @@ CoreV1API_connectGetNamespacedPodExec(apiClient_t *apiClient, char * name , char char *keyQuery_tty = NULL; char * valueQuery_tty = NULL; keyValuePair_t *keyPairQuery_tty = 0; - if (1) // Always send boolean parameters to the API server + if (tty) { keyQuery_tty = strdup("tty"); valueQuery_tty = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_tty, MAX_NUMBER_LENGTH, "%d", tty); + snprintf(valueQuery_tty, MAX_NUMBER_LENGTH, "%d", *tty); keyPairQuery_tty = keyValuePair_create(keyQuery_tty, valueQuery_tty); list_addElement(localVarQueryParameters,keyPairQuery_tty); } @@ -1090,7 +1090,7 @@ CoreV1API_connectGetNamespacedPodExec(apiClient_t *apiClient, char * name , char // connect GET requests to portforward of Pod // char* -CoreV1API_connectGetNamespacedPodPortforward(apiClient_t *apiClient, char * name , char * _namespace , int ports ) +CoreV1API_connectGetNamespacedPodPortforward(apiClient_t *apiClient, char *name, char *_namespace, int *ports) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1131,11 +1131,11 @@ CoreV1API_connectGetNamespacedPodPortforward(apiClient_t *apiClient, char * name char *keyQuery_ports = NULL; char * valueQuery_ports = NULL; keyValuePair_t *keyPairQuery_ports = 0; - if (1) // Always send integer parameters to the API server + if (ports) { keyQuery_ports = strdup("ports"); valueQuery_ports = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_ports, MAX_NUMBER_LENGTH, "%d", ports); + snprintf(valueQuery_ports, MAX_NUMBER_LENGTH, "%d", *ports); keyPairQuery_ports = keyValuePair_create(keyQuery_ports, valueQuery_ports); list_addElement(localVarQueryParameters,keyPairQuery_ports); } @@ -1196,7 +1196,7 @@ CoreV1API_connectGetNamespacedPodPortforward(apiClient_t *apiClient, char * name // connect GET requests to proxy of Pod // char* -CoreV1API_connectGetNamespacedPodProxy(apiClient_t *apiClient, char * name , char * _namespace , char * path ) +CoreV1API_connectGetNamespacedPodProxy(apiClient_t *apiClient, char *name, char *_namespace, char *path) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1301,7 +1301,7 @@ CoreV1API_connectGetNamespacedPodProxy(apiClient_t *apiClient, char * name , cha // connect GET requests to proxy of Pod // char* -CoreV1API_connectGetNamespacedPodProxyWithPath(apiClient_t *apiClient, char * name , char * _namespace , char * path , char * path2 ) +CoreV1API_connectGetNamespacedPodProxyWithPath(apiClient_t *apiClient, char *name, char *_namespace, char *path, char *path2) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1417,7 +1417,7 @@ CoreV1API_connectGetNamespacedPodProxyWithPath(apiClient_t *apiClient, char * na // connect GET requests to proxy of Service // char* -CoreV1API_connectGetNamespacedServiceProxy(apiClient_t *apiClient, char * name , char * _namespace , char * path ) +CoreV1API_connectGetNamespacedServiceProxy(apiClient_t *apiClient, char *name, char *_namespace, char *path) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1522,7 +1522,7 @@ CoreV1API_connectGetNamespacedServiceProxy(apiClient_t *apiClient, char * name , // connect GET requests to proxy of Service // char* -CoreV1API_connectGetNamespacedServiceProxyWithPath(apiClient_t *apiClient, char * name , char * _namespace , char * path , char * path2 ) +CoreV1API_connectGetNamespacedServiceProxyWithPath(apiClient_t *apiClient, char *name, char *_namespace, char *path, char *path2) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1638,7 +1638,7 @@ CoreV1API_connectGetNamespacedServiceProxyWithPath(apiClient_t *apiClient, char // connect GET requests to proxy of Node // char* -CoreV1API_connectGetNodeProxy(apiClient_t *apiClient, char * name , char * path ) +CoreV1API_connectGetNodeProxy(apiClient_t *apiClient, char *name, char *path) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1732,7 +1732,7 @@ CoreV1API_connectGetNodeProxy(apiClient_t *apiClient, char * name , char * path // connect GET requests to proxy of Node // char* -CoreV1API_connectGetNodeProxyWithPath(apiClient_t *apiClient, char * name , char * path , char * path2 ) +CoreV1API_connectGetNodeProxyWithPath(apiClient_t *apiClient, char *name, char *path, char *path2) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1837,7 +1837,7 @@ CoreV1API_connectGetNodeProxyWithPath(apiClient_t *apiClient, char * name , char // connect HEAD requests to proxy of Pod // char* -CoreV1API_connectHeadNamespacedPodProxy(apiClient_t *apiClient, char * name , char * _namespace , char * path ) +CoreV1API_connectHeadNamespacedPodProxy(apiClient_t *apiClient, char *name, char *_namespace, char *path) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1942,7 +1942,7 @@ CoreV1API_connectHeadNamespacedPodProxy(apiClient_t *apiClient, char * name , ch // connect HEAD requests to proxy of Pod // char* -CoreV1API_connectHeadNamespacedPodProxyWithPath(apiClient_t *apiClient, char * name , char * _namespace , char * path , char * path2 ) +CoreV1API_connectHeadNamespacedPodProxyWithPath(apiClient_t *apiClient, char *name, char *_namespace, char *path, char *path2) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2058,7 +2058,7 @@ CoreV1API_connectHeadNamespacedPodProxyWithPath(apiClient_t *apiClient, char * n // connect HEAD requests to proxy of Service // char* -CoreV1API_connectHeadNamespacedServiceProxy(apiClient_t *apiClient, char * name , char * _namespace , char * path ) +CoreV1API_connectHeadNamespacedServiceProxy(apiClient_t *apiClient, char *name, char *_namespace, char *path) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2163,7 +2163,7 @@ CoreV1API_connectHeadNamespacedServiceProxy(apiClient_t *apiClient, char * name // connect HEAD requests to proxy of Service // char* -CoreV1API_connectHeadNamespacedServiceProxyWithPath(apiClient_t *apiClient, char * name , char * _namespace , char * path , char * path2 ) +CoreV1API_connectHeadNamespacedServiceProxyWithPath(apiClient_t *apiClient, char *name, char *_namespace, char *path, char *path2) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2279,7 +2279,7 @@ CoreV1API_connectHeadNamespacedServiceProxyWithPath(apiClient_t *apiClient, char // connect HEAD requests to proxy of Node // char* -CoreV1API_connectHeadNodeProxy(apiClient_t *apiClient, char * name , char * path ) +CoreV1API_connectHeadNodeProxy(apiClient_t *apiClient, char *name, char *path) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2373,7 +2373,7 @@ CoreV1API_connectHeadNodeProxy(apiClient_t *apiClient, char * name , char * path // connect HEAD requests to proxy of Node // char* -CoreV1API_connectHeadNodeProxyWithPath(apiClient_t *apiClient, char * name , char * path , char * path2 ) +CoreV1API_connectHeadNodeProxyWithPath(apiClient_t *apiClient, char *name, char *path, char *path2) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2478,7 +2478,7 @@ CoreV1API_connectHeadNodeProxyWithPath(apiClient_t *apiClient, char * name , cha // connect OPTIONS requests to proxy of Pod // char* -CoreV1API_connectOptionsNamespacedPodProxy(apiClient_t *apiClient, char * name , char * _namespace , char * path ) +CoreV1API_connectOptionsNamespacedPodProxy(apiClient_t *apiClient, char *name, char *_namespace, char *path) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2583,7 +2583,7 @@ CoreV1API_connectOptionsNamespacedPodProxy(apiClient_t *apiClient, char * name , // connect OPTIONS requests to proxy of Pod // char* -CoreV1API_connectOptionsNamespacedPodProxyWithPath(apiClient_t *apiClient, char * name , char * _namespace , char * path , char * path2 ) +CoreV1API_connectOptionsNamespacedPodProxyWithPath(apiClient_t *apiClient, char *name, char *_namespace, char *path, char *path2) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2699,7 +2699,7 @@ CoreV1API_connectOptionsNamespacedPodProxyWithPath(apiClient_t *apiClient, char // connect OPTIONS requests to proxy of Service // char* -CoreV1API_connectOptionsNamespacedServiceProxy(apiClient_t *apiClient, char * name , char * _namespace , char * path ) +CoreV1API_connectOptionsNamespacedServiceProxy(apiClient_t *apiClient, char *name, char *_namespace, char *path) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2804,7 +2804,7 @@ CoreV1API_connectOptionsNamespacedServiceProxy(apiClient_t *apiClient, char * na // connect OPTIONS requests to proxy of Service // char* -CoreV1API_connectOptionsNamespacedServiceProxyWithPath(apiClient_t *apiClient, char * name , char * _namespace , char * path , char * path2 ) +CoreV1API_connectOptionsNamespacedServiceProxyWithPath(apiClient_t *apiClient, char *name, char *_namespace, char *path, char *path2) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2920,7 +2920,7 @@ CoreV1API_connectOptionsNamespacedServiceProxyWithPath(apiClient_t *apiClient, c // connect OPTIONS requests to proxy of Node // char* -CoreV1API_connectOptionsNodeProxy(apiClient_t *apiClient, char * name , char * path ) +CoreV1API_connectOptionsNodeProxy(apiClient_t *apiClient, char *name, char *path) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3014,7 +3014,7 @@ CoreV1API_connectOptionsNodeProxy(apiClient_t *apiClient, char * name , char * p // connect OPTIONS requests to proxy of Node // char* -CoreV1API_connectOptionsNodeProxyWithPath(apiClient_t *apiClient, char * name , char * path , char * path2 ) +CoreV1API_connectOptionsNodeProxyWithPath(apiClient_t *apiClient, char *name, char *path, char *path2) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3119,7 +3119,7 @@ CoreV1API_connectOptionsNodeProxyWithPath(apiClient_t *apiClient, char * name , // connect PATCH requests to proxy of Pod // char* -CoreV1API_connectPatchNamespacedPodProxy(apiClient_t *apiClient, char * name , char * _namespace , char * path ) +CoreV1API_connectPatchNamespacedPodProxy(apiClient_t *apiClient, char *name, char *_namespace, char *path) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3224,7 +3224,7 @@ CoreV1API_connectPatchNamespacedPodProxy(apiClient_t *apiClient, char * name , c // connect PATCH requests to proxy of Pod // char* -CoreV1API_connectPatchNamespacedPodProxyWithPath(apiClient_t *apiClient, char * name , char * _namespace , char * path , char * path2 ) +CoreV1API_connectPatchNamespacedPodProxyWithPath(apiClient_t *apiClient, char *name, char *_namespace, char *path, char *path2) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3340,7 +3340,7 @@ CoreV1API_connectPatchNamespacedPodProxyWithPath(apiClient_t *apiClient, char * // connect PATCH requests to proxy of Service // char* -CoreV1API_connectPatchNamespacedServiceProxy(apiClient_t *apiClient, char * name , char * _namespace , char * path ) +CoreV1API_connectPatchNamespacedServiceProxy(apiClient_t *apiClient, char *name, char *_namespace, char *path) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3445,7 +3445,7 @@ CoreV1API_connectPatchNamespacedServiceProxy(apiClient_t *apiClient, char * name // connect PATCH requests to proxy of Service // char* -CoreV1API_connectPatchNamespacedServiceProxyWithPath(apiClient_t *apiClient, char * name , char * _namespace , char * path , char * path2 ) +CoreV1API_connectPatchNamespacedServiceProxyWithPath(apiClient_t *apiClient, char *name, char *_namespace, char *path, char *path2) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3561,7 +3561,7 @@ CoreV1API_connectPatchNamespacedServiceProxyWithPath(apiClient_t *apiClient, cha // connect PATCH requests to proxy of Node // char* -CoreV1API_connectPatchNodeProxy(apiClient_t *apiClient, char * name , char * path ) +CoreV1API_connectPatchNodeProxy(apiClient_t *apiClient, char *name, char *path) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3655,7 +3655,7 @@ CoreV1API_connectPatchNodeProxy(apiClient_t *apiClient, char * name , char * pat // connect PATCH requests to proxy of Node // char* -CoreV1API_connectPatchNodeProxyWithPath(apiClient_t *apiClient, char * name , char * path , char * path2 ) +CoreV1API_connectPatchNodeProxyWithPath(apiClient_t *apiClient, char *name, char *path, char *path2) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3760,7 +3760,7 @@ CoreV1API_connectPatchNodeProxyWithPath(apiClient_t *apiClient, char * name , ch // connect POST requests to attach of Pod // char* -CoreV1API_connectPostNamespacedPodAttach(apiClient_t *apiClient, char * name , char * _namespace , char * container , int _stderr , int _stdin , int _stdout , int tty ) +CoreV1API_connectPostNamespacedPodAttach(apiClient_t *apiClient, char *name, char *_namespace, char *container, int *_stderr, int *_stdin, int *_stdout, int *tty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3813,11 +3813,11 @@ CoreV1API_connectPostNamespacedPodAttach(apiClient_t *apiClient, char * name , c char *keyQuery__stderr = NULL; char * valueQuery__stderr = NULL; keyValuePair_t *keyPairQuery__stderr = 0; - if (1) // Always send boolean parameters to the API server + if (_stderr) { keyQuery__stderr = strdup("stderr"); valueQuery__stderr = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery__stderr, MAX_NUMBER_LENGTH, "%d", _stderr); + snprintf(valueQuery__stderr, MAX_NUMBER_LENGTH, "%d", *_stderr); keyPairQuery__stderr = keyValuePair_create(keyQuery__stderr, valueQuery__stderr); list_addElement(localVarQueryParameters,keyPairQuery__stderr); } @@ -3826,11 +3826,11 @@ CoreV1API_connectPostNamespacedPodAttach(apiClient_t *apiClient, char * name , c char *keyQuery__stdin = NULL; char * valueQuery__stdin = NULL; keyValuePair_t *keyPairQuery__stdin = 0; - if (1) // Always send boolean parameters to the API server + if (_stdin) { keyQuery__stdin = strdup("stdin"); valueQuery__stdin = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery__stdin, MAX_NUMBER_LENGTH, "%d", _stdin); + snprintf(valueQuery__stdin, MAX_NUMBER_LENGTH, "%d", *_stdin); keyPairQuery__stdin = keyValuePair_create(keyQuery__stdin, valueQuery__stdin); list_addElement(localVarQueryParameters,keyPairQuery__stdin); } @@ -3839,11 +3839,11 @@ CoreV1API_connectPostNamespacedPodAttach(apiClient_t *apiClient, char * name , c char *keyQuery__stdout = NULL; char * valueQuery__stdout = NULL; keyValuePair_t *keyPairQuery__stdout = 0; - if (1) // Always send boolean parameters to the API server + if (_stdout) { keyQuery__stdout = strdup("stdout"); valueQuery__stdout = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery__stdout, MAX_NUMBER_LENGTH, "%d", _stdout); + snprintf(valueQuery__stdout, MAX_NUMBER_LENGTH, "%d", *_stdout); keyPairQuery__stdout = keyValuePair_create(keyQuery__stdout, valueQuery__stdout); list_addElement(localVarQueryParameters,keyPairQuery__stdout); } @@ -3852,11 +3852,11 @@ CoreV1API_connectPostNamespacedPodAttach(apiClient_t *apiClient, char * name , c char *keyQuery_tty = NULL; char * valueQuery_tty = NULL; keyValuePair_t *keyPairQuery_tty = 0; - if (1) // Always send boolean parameters to the API server + if (tty) { keyQuery_tty = strdup("tty"); valueQuery_tty = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_tty, MAX_NUMBER_LENGTH, "%d", tty); + snprintf(valueQuery_tty, MAX_NUMBER_LENGTH, "%d", *tty); keyPairQuery_tty = keyValuePair_create(keyQuery_tty, valueQuery_tty); list_addElement(localVarQueryParameters,keyPairQuery_tty); } @@ -3965,7 +3965,7 @@ CoreV1API_connectPostNamespacedPodAttach(apiClient_t *apiClient, char * name , c // connect POST requests to exec of Pod // char* -CoreV1API_connectPostNamespacedPodExec(apiClient_t *apiClient, char * name , char * _namespace , char * command , char * container , int _stderr , int _stdin , int _stdout , int tty ) +CoreV1API_connectPostNamespacedPodExec(apiClient_t *apiClient, char *name, char *_namespace, char *command, char *container, int *_stderr, int *_stdin, int *_stdout, int *tty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -4030,11 +4030,11 @@ CoreV1API_connectPostNamespacedPodExec(apiClient_t *apiClient, char * name , cha char *keyQuery__stderr = NULL; char * valueQuery__stderr = NULL; keyValuePair_t *keyPairQuery__stderr = 0; - if (1) // Always send boolean parameters to the API server + if (_stderr) { keyQuery__stderr = strdup("stderr"); valueQuery__stderr = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery__stderr, MAX_NUMBER_LENGTH, "%d", _stderr); + snprintf(valueQuery__stderr, MAX_NUMBER_LENGTH, "%d", *_stderr); keyPairQuery__stderr = keyValuePair_create(keyQuery__stderr, valueQuery__stderr); list_addElement(localVarQueryParameters,keyPairQuery__stderr); } @@ -4043,11 +4043,11 @@ CoreV1API_connectPostNamespacedPodExec(apiClient_t *apiClient, char * name , cha char *keyQuery__stdin = NULL; char * valueQuery__stdin = NULL; keyValuePair_t *keyPairQuery__stdin = 0; - if (1) // Always send boolean parameters to the API server + if (_stdin) { keyQuery__stdin = strdup("stdin"); valueQuery__stdin = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery__stdin, MAX_NUMBER_LENGTH, "%d", _stdin); + snprintf(valueQuery__stdin, MAX_NUMBER_LENGTH, "%d", *_stdin); keyPairQuery__stdin = keyValuePair_create(keyQuery__stdin, valueQuery__stdin); list_addElement(localVarQueryParameters,keyPairQuery__stdin); } @@ -4056,11 +4056,11 @@ CoreV1API_connectPostNamespacedPodExec(apiClient_t *apiClient, char * name , cha char *keyQuery__stdout = NULL; char * valueQuery__stdout = NULL; keyValuePair_t *keyPairQuery__stdout = 0; - if (1) // Always send boolean parameters to the API server + if (_stdout) { keyQuery__stdout = strdup("stdout"); valueQuery__stdout = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery__stdout, MAX_NUMBER_LENGTH, "%d", _stdout); + snprintf(valueQuery__stdout, MAX_NUMBER_LENGTH, "%d", *_stdout); keyPairQuery__stdout = keyValuePair_create(keyQuery__stdout, valueQuery__stdout); list_addElement(localVarQueryParameters,keyPairQuery__stdout); } @@ -4069,11 +4069,11 @@ CoreV1API_connectPostNamespacedPodExec(apiClient_t *apiClient, char * name , cha char *keyQuery_tty = NULL; char * valueQuery_tty = NULL; keyValuePair_t *keyPairQuery_tty = 0; - if (1) // Always send boolean parameters to the API server + if (tty) { keyQuery_tty = strdup("tty"); valueQuery_tty = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_tty, MAX_NUMBER_LENGTH, "%d", tty); + snprintf(valueQuery_tty, MAX_NUMBER_LENGTH, "%d", *tty); keyPairQuery_tty = keyValuePair_create(keyQuery_tty, valueQuery_tty); list_addElement(localVarQueryParameters,keyPairQuery_tty); } @@ -4194,7 +4194,7 @@ CoreV1API_connectPostNamespacedPodExec(apiClient_t *apiClient, char * name , cha // connect POST requests to portforward of Pod // char* -CoreV1API_connectPostNamespacedPodPortforward(apiClient_t *apiClient, char * name , char * _namespace , int ports ) +CoreV1API_connectPostNamespacedPodPortforward(apiClient_t *apiClient, char *name, char *_namespace, int *ports) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -4235,11 +4235,11 @@ CoreV1API_connectPostNamespacedPodPortforward(apiClient_t *apiClient, char * nam char *keyQuery_ports = NULL; char * valueQuery_ports = NULL; keyValuePair_t *keyPairQuery_ports = 0; - if (1) // Always send integer parameters to the API server + if (ports) { keyQuery_ports = strdup("ports"); valueQuery_ports = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_ports, MAX_NUMBER_LENGTH, "%d", ports); + snprintf(valueQuery_ports, MAX_NUMBER_LENGTH, "%d", *ports); keyPairQuery_ports = keyValuePair_create(keyQuery_ports, valueQuery_ports); list_addElement(localVarQueryParameters,keyPairQuery_ports); } @@ -4300,7 +4300,7 @@ CoreV1API_connectPostNamespacedPodPortforward(apiClient_t *apiClient, char * nam // connect POST requests to proxy of Pod // char* -CoreV1API_connectPostNamespacedPodProxy(apiClient_t *apiClient, char * name , char * _namespace , char * path ) +CoreV1API_connectPostNamespacedPodProxy(apiClient_t *apiClient, char *name, char *_namespace, char *path) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -4405,7 +4405,7 @@ CoreV1API_connectPostNamespacedPodProxy(apiClient_t *apiClient, char * name , ch // connect POST requests to proxy of Pod // char* -CoreV1API_connectPostNamespacedPodProxyWithPath(apiClient_t *apiClient, char * name , char * _namespace , char * path , char * path2 ) +CoreV1API_connectPostNamespacedPodProxyWithPath(apiClient_t *apiClient, char *name, char *_namespace, char *path, char *path2) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -4521,7 +4521,7 @@ CoreV1API_connectPostNamespacedPodProxyWithPath(apiClient_t *apiClient, char * n // connect POST requests to proxy of Service // char* -CoreV1API_connectPostNamespacedServiceProxy(apiClient_t *apiClient, char * name , char * _namespace , char * path ) +CoreV1API_connectPostNamespacedServiceProxy(apiClient_t *apiClient, char *name, char *_namespace, char *path) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -4626,7 +4626,7 @@ CoreV1API_connectPostNamespacedServiceProxy(apiClient_t *apiClient, char * name // connect POST requests to proxy of Service // char* -CoreV1API_connectPostNamespacedServiceProxyWithPath(apiClient_t *apiClient, char * name , char * _namespace , char * path , char * path2 ) +CoreV1API_connectPostNamespacedServiceProxyWithPath(apiClient_t *apiClient, char *name, char *_namespace, char *path, char *path2) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -4742,7 +4742,7 @@ CoreV1API_connectPostNamespacedServiceProxyWithPath(apiClient_t *apiClient, char // connect POST requests to proxy of Node // char* -CoreV1API_connectPostNodeProxy(apiClient_t *apiClient, char * name , char * path ) +CoreV1API_connectPostNodeProxy(apiClient_t *apiClient, char *name, char *path) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -4836,7 +4836,7 @@ CoreV1API_connectPostNodeProxy(apiClient_t *apiClient, char * name , char * path // connect POST requests to proxy of Node // char* -CoreV1API_connectPostNodeProxyWithPath(apiClient_t *apiClient, char * name , char * path , char * path2 ) +CoreV1API_connectPostNodeProxyWithPath(apiClient_t *apiClient, char *name, char *path, char *path2) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -4941,7 +4941,7 @@ CoreV1API_connectPostNodeProxyWithPath(apiClient_t *apiClient, char * name , cha // connect PUT requests to proxy of Pod // char* -CoreV1API_connectPutNamespacedPodProxy(apiClient_t *apiClient, char * name , char * _namespace , char * path ) +CoreV1API_connectPutNamespacedPodProxy(apiClient_t *apiClient, char *name, char *_namespace, char *path) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -5046,7 +5046,7 @@ CoreV1API_connectPutNamespacedPodProxy(apiClient_t *apiClient, char * name , cha // connect PUT requests to proxy of Pod // char* -CoreV1API_connectPutNamespacedPodProxyWithPath(apiClient_t *apiClient, char * name , char * _namespace , char * path , char * path2 ) +CoreV1API_connectPutNamespacedPodProxyWithPath(apiClient_t *apiClient, char *name, char *_namespace, char *path, char *path2) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -5162,7 +5162,7 @@ CoreV1API_connectPutNamespacedPodProxyWithPath(apiClient_t *apiClient, char * na // connect PUT requests to proxy of Service // char* -CoreV1API_connectPutNamespacedServiceProxy(apiClient_t *apiClient, char * name , char * _namespace , char * path ) +CoreV1API_connectPutNamespacedServiceProxy(apiClient_t *apiClient, char *name, char *_namespace, char *path) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -5267,7 +5267,7 @@ CoreV1API_connectPutNamespacedServiceProxy(apiClient_t *apiClient, char * name , // connect PUT requests to proxy of Service // char* -CoreV1API_connectPutNamespacedServiceProxyWithPath(apiClient_t *apiClient, char * name , char * _namespace , char * path , char * path2 ) +CoreV1API_connectPutNamespacedServiceProxyWithPath(apiClient_t *apiClient, char *name, char *_namespace, char *path, char *path2) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -5383,7 +5383,7 @@ CoreV1API_connectPutNamespacedServiceProxyWithPath(apiClient_t *apiClient, char // connect PUT requests to proxy of Node // char* -CoreV1API_connectPutNodeProxy(apiClient_t *apiClient, char * name , char * path ) +CoreV1API_connectPutNodeProxy(apiClient_t *apiClient, char *name, char *path) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -5477,7 +5477,7 @@ CoreV1API_connectPutNodeProxy(apiClient_t *apiClient, char * name , char * path // connect PUT requests to proxy of Node // char* -CoreV1API_connectPutNodeProxyWithPath(apiClient_t *apiClient, char * name , char * path , char * path2 ) +CoreV1API_connectPutNodeProxyWithPath(apiClient_t *apiClient, char *name, char *path, char *path2) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -5582,7 +5582,7 @@ CoreV1API_connectPutNodeProxyWithPath(apiClient_t *apiClient, char * name , char // create a Namespace // v1_namespace_t* -CoreV1API_createNamespace(apiClient_t *apiClient, v1_namespace_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +CoreV1API_createNamespace(apiClient_t *apiClient, v1_namespace_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -5767,7 +5767,7 @@ CoreV1API_createNamespace(apiClient_t *apiClient, v1_namespace_t * body , char * // create a Binding // v1_binding_t* -CoreV1API_createNamespacedBinding(apiClient_t *apiClient, char * _namespace , v1_binding_t * body , char * dryRun , char * fieldManager , char * fieldValidation , char * pretty ) +CoreV1API_createNamespacedBinding(apiClient_t *apiClient, char *_namespace, v1_binding_t *body, char *dryRun, char *fieldManager, char *fieldValidation, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -5963,7 +5963,7 @@ CoreV1API_createNamespacedBinding(apiClient_t *apiClient, char * _namespace , v1 // create a ConfigMap // v1_config_map_t* -CoreV1API_createNamespacedConfigMap(apiClient_t *apiClient, char * _namespace , v1_config_map_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +CoreV1API_createNamespacedConfigMap(apiClient_t *apiClient, char *_namespace, v1_config_map_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -6159,7 +6159,7 @@ CoreV1API_createNamespacedConfigMap(apiClient_t *apiClient, char * _namespace , // create Endpoints // v1_endpoints_t* -CoreV1API_createNamespacedEndpoints(apiClient_t *apiClient, char * _namespace , v1_endpoints_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +CoreV1API_createNamespacedEndpoints(apiClient_t *apiClient, char *_namespace, v1_endpoints_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -6355,7 +6355,7 @@ CoreV1API_createNamespacedEndpoints(apiClient_t *apiClient, char * _namespace , // create an Event // core_v1_event_t* -CoreV1API_createNamespacedEvent(apiClient_t *apiClient, char * _namespace , core_v1_event_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +CoreV1API_createNamespacedEvent(apiClient_t *apiClient, char *_namespace, core_v1_event_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -6551,7 +6551,7 @@ CoreV1API_createNamespacedEvent(apiClient_t *apiClient, char * _namespace , core // create a LimitRange // v1_limit_range_t* -CoreV1API_createNamespacedLimitRange(apiClient_t *apiClient, char * _namespace , v1_limit_range_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +CoreV1API_createNamespacedLimitRange(apiClient_t *apiClient, char *_namespace, v1_limit_range_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -6747,7 +6747,7 @@ CoreV1API_createNamespacedLimitRange(apiClient_t *apiClient, char * _namespace , // create a PersistentVolumeClaim // v1_persistent_volume_claim_t* -CoreV1API_createNamespacedPersistentVolumeClaim(apiClient_t *apiClient, char * _namespace , v1_persistent_volume_claim_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +CoreV1API_createNamespacedPersistentVolumeClaim(apiClient_t *apiClient, char *_namespace, v1_persistent_volume_claim_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -6943,7 +6943,7 @@ CoreV1API_createNamespacedPersistentVolumeClaim(apiClient_t *apiClient, char * _ // create a Pod // v1_pod_t* -CoreV1API_createNamespacedPod(apiClient_t *apiClient, char * _namespace , v1_pod_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +CoreV1API_createNamespacedPod(apiClient_t *apiClient, char *_namespace, v1_pod_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -7139,7 +7139,7 @@ CoreV1API_createNamespacedPod(apiClient_t *apiClient, char * _namespace , v1_pod // create binding of a Pod // v1_binding_t* -CoreV1API_createNamespacedPodBinding(apiClient_t *apiClient, char * name , char * _namespace , v1_binding_t * body , char * dryRun , char * fieldManager , char * fieldValidation , char * pretty ) +CoreV1API_createNamespacedPodBinding(apiClient_t *apiClient, char *name, char *_namespace, v1_binding_t *body, char *dryRun, char *fieldManager, char *fieldValidation, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -7346,7 +7346,7 @@ CoreV1API_createNamespacedPodBinding(apiClient_t *apiClient, char * name , char // create eviction of a Pod // v1_eviction_t* -CoreV1API_createNamespacedPodEviction(apiClient_t *apiClient, char * name , char * _namespace , v1_eviction_t * body , char * dryRun , char * fieldManager , char * fieldValidation , char * pretty ) +CoreV1API_createNamespacedPodEviction(apiClient_t *apiClient, char *name, char *_namespace, v1_eviction_t *body, char *dryRun, char *fieldManager, char *fieldValidation, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -7553,7 +7553,7 @@ CoreV1API_createNamespacedPodEviction(apiClient_t *apiClient, char * name , char // create a PodTemplate // v1_pod_template_t* -CoreV1API_createNamespacedPodTemplate(apiClient_t *apiClient, char * _namespace , v1_pod_template_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +CoreV1API_createNamespacedPodTemplate(apiClient_t *apiClient, char *_namespace, v1_pod_template_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -7749,7 +7749,7 @@ CoreV1API_createNamespacedPodTemplate(apiClient_t *apiClient, char * _namespace // create a ReplicationController // v1_replication_controller_t* -CoreV1API_createNamespacedReplicationController(apiClient_t *apiClient, char * _namespace , v1_replication_controller_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +CoreV1API_createNamespacedReplicationController(apiClient_t *apiClient, char *_namespace, v1_replication_controller_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -7945,7 +7945,7 @@ CoreV1API_createNamespacedReplicationController(apiClient_t *apiClient, char * _ // create a ResourceQuota // v1_resource_quota_t* -CoreV1API_createNamespacedResourceQuota(apiClient_t *apiClient, char * _namespace , v1_resource_quota_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +CoreV1API_createNamespacedResourceQuota(apiClient_t *apiClient, char *_namespace, v1_resource_quota_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -8141,7 +8141,7 @@ CoreV1API_createNamespacedResourceQuota(apiClient_t *apiClient, char * _namespac // create a Secret // v1_secret_t* -CoreV1API_createNamespacedSecret(apiClient_t *apiClient, char * _namespace , v1_secret_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +CoreV1API_createNamespacedSecret(apiClient_t *apiClient, char *_namespace, v1_secret_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -8337,7 +8337,7 @@ CoreV1API_createNamespacedSecret(apiClient_t *apiClient, char * _namespace , v1_ // create a Service // v1_service_t* -CoreV1API_createNamespacedService(apiClient_t *apiClient, char * _namespace , v1_service_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +CoreV1API_createNamespacedService(apiClient_t *apiClient, char *_namespace, v1_service_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -8533,7 +8533,7 @@ CoreV1API_createNamespacedService(apiClient_t *apiClient, char * _namespace , v1 // create a ServiceAccount // v1_service_account_t* -CoreV1API_createNamespacedServiceAccount(apiClient_t *apiClient, char * _namespace , v1_service_account_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +CoreV1API_createNamespacedServiceAccount(apiClient_t *apiClient, char *_namespace, v1_service_account_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -8729,7 +8729,7 @@ CoreV1API_createNamespacedServiceAccount(apiClient_t *apiClient, char * _namespa // create token of a ServiceAccount // authentication_v1_token_request_t* -CoreV1API_createNamespacedServiceAccountToken(apiClient_t *apiClient, char * name , char * _namespace , authentication_v1_token_request_t * body , char * dryRun , char * fieldManager , char * fieldValidation , char * pretty ) +CoreV1API_createNamespacedServiceAccountToken(apiClient_t *apiClient, char *name, char *_namespace, authentication_v1_token_request_t *body, char *dryRun, char *fieldManager, char *fieldValidation, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -8936,7 +8936,7 @@ CoreV1API_createNamespacedServiceAccountToken(apiClient_t *apiClient, char * nam // create a Node // v1_node_t* -CoreV1API_createNode(apiClient_t *apiClient, v1_node_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +CoreV1API_createNode(apiClient_t *apiClient, v1_node_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -9121,7 +9121,7 @@ CoreV1API_createNode(apiClient_t *apiClient, v1_node_t * body , char * pretty , // create a PersistentVolume // v1_persistent_volume_t* -CoreV1API_createPersistentVolume(apiClient_t *apiClient, v1_persistent_volume_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +CoreV1API_createPersistentVolume(apiClient_t *apiClient, v1_persistent_volume_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -9306,7 +9306,7 @@ CoreV1API_createPersistentVolume(apiClient_t *apiClient, v1_persistent_volume_t // delete collection of ConfigMap // v1_status_t* -CoreV1API_deleteCollectionNamespacedConfigMap(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +CoreV1API_deleteCollectionNamespacedConfigMap(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -9385,11 +9385,11 @@ CoreV1API_deleteCollectionNamespacedConfigMap(apiClient_t *apiClient, char * _na char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -9410,11 +9410,11 @@ CoreV1API_deleteCollectionNamespacedConfigMap(apiClient_t *apiClient, char * _na char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -9423,11 +9423,11 @@ CoreV1API_deleteCollectionNamespacedConfigMap(apiClient_t *apiClient, char * _na char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -9472,11 +9472,11 @@ CoreV1API_deleteCollectionNamespacedConfigMap(apiClient_t *apiClient, char * _na char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -9485,11 +9485,11 @@ CoreV1API_deleteCollectionNamespacedConfigMap(apiClient_t *apiClient, char * _na char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -9715,7 +9715,7 @@ CoreV1API_deleteCollectionNamespacedConfigMap(apiClient_t *apiClient, char * _na // delete collection of Endpoints // v1_status_t* -CoreV1API_deleteCollectionNamespacedEndpoints(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +CoreV1API_deleteCollectionNamespacedEndpoints(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -9794,11 +9794,11 @@ CoreV1API_deleteCollectionNamespacedEndpoints(apiClient_t *apiClient, char * _na char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -9819,11 +9819,11 @@ CoreV1API_deleteCollectionNamespacedEndpoints(apiClient_t *apiClient, char * _na char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -9832,11 +9832,11 @@ CoreV1API_deleteCollectionNamespacedEndpoints(apiClient_t *apiClient, char * _na char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -9881,11 +9881,11 @@ CoreV1API_deleteCollectionNamespacedEndpoints(apiClient_t *apiClient, char * _na char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -9894,11 +9894,11 @@ CoreV1API_deleteCollectionNamespacedEndpoints(apiClient_t *apiClient, char * _na char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -10124,7 +10124,7 @@ CoreV1API_deleteCollectionNamespacedEndpoints(apiClient_t *apiClient, char * _na // delete collection of Event // v1_status_t* -CoreV1API_deleteCollectionNamespacedEvent(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +CoreV1API_deleteCollectionNamespacedEvent(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -10203,11 +10203,11 @@ CoreV1API_deleteCollectionNamespacedEvent(apiClient_t *apiClient, char * _namesp char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -10228,11 +10228,11 @@ CoreV1API_deleteCollectionNamespacedEvent(apiClient_t *apiClient, char * _namesp char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -10241,11 +10241,11 @@ CoreV1API_deleteCollectionNamespacedEvent(apiClient_t *apiClient, char * _namesp char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -10290,11 +10290,11 @@ CoreV1API_deleteCollectionNamespacedEvent(apiClient_t *apiClient, char * _namesp char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -10303,11 +10303,11 @@ CoreV1API_deleteCollectionNamespacedEvent(apiClient_t *apiClient, char * _namesp char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -10533,7 +10533,7 @@ CoreV1API_deleteCollectionNamespacedEvent(apiClient_t *apiClient, char * _namesp // delete collection of LimitRange // v1_status_t* -CoreV1API_deleteCollectionNamespacedLimitRange(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +CoreV1API_deleteCollectionNamespacedLimitRange(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -10612,11 +10612,11 @@ CoreV1API_deleteCollectionNamespacedLimitRange(apiClient_t *apiClient, char * _n char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -10637,11 +10637,11 @@ CoreV1API_deleteCollectionNamespacedLimitRange(apiClient_t *apiClient, char * _n char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -10650,11 +10650,11 @@ CoreV1API_deleteCollectionNamespacedLimitRange(apiClient_t *apiClient, char * _n char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -10699,11 +10699,11 @@ CoreV1API_deleteCollectionNamespacedLimitRange(apiClient_t *apiClient, char * _n char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -10712,11 +10712,11 @@ CoreV1API_deleteCollectionNamespacedLimitRange(apiClient_t *apiClient, char * _n char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -10942,7 +10942,7 @@ CoreV1API_deleteCollectionNamespacedLimitRange(apiClient_t *apiClient, char * _n // delete collection of PersistentVolumeClaim // v1_status_t* -CoreV1API_deleteCollectionNamespacedPersistentVolumeClaim(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +CoreV1API_deleteCollectionNamespacedPersistentVolumeClaim(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -11021,11 +11021,11 @@ CoreV1API_deleteCollectionNamespacedPersistentVolumeClaim(apiClient_t *apiClient char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -11046,11 +11046,11 @@ CoreV1API_deleteCollectionNamespacedPersistentVolumeClaim(apiClient_t *apiClient char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -11059,11 +11059,11 @@ CoreV1API_deleteCollectionNamespacedPersistentVolumeClaim(apiClient_t *apiClient char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -11108,11 +11108,11 @@ CoreV1API_deleteCollectionNamespacedPersistentVolumeClaim(apiClient_t *apiClient char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -11121,11 +11121,11 @@ CoreV1API_deleteCollectionNamespacedPersistentVolumeClaim(apiClient_t *apiClient char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -11351,7 +11351,7 @@ CoreV1API_deleteCollectionNamespacedPersistentVolumeClaim(apiClient_t *apiClient // delete collection of Pod // v1_status_t* -CoreV1API_deleteCollectionNamespacedPod(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +CoreV1API_deleteCollectionNamespacedPod(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -11430,11 +11430,11 @@ CoreV1API_deleteCollectionNamespacedPod(apiClient_t *apiClient, char * _namespac char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -11455,11 +11455,11 @@ CoreV1API_deleteCollectionNamespacedPod(apiClient_t *apiClient, char * _namespac char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -11468,11 +11468,11 @@ CoreV1API_deleteCollectionNamespacedPod(apiClient_t *apiClient, char * _namespac char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -11517,11 +11517,11 @@ CoreV1API_deleteCollectionNamespacedPod(apiClient_t *apiClient, char * _namespac char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -11530,11 +11530,11 @@ CoreV1API_deleteCollectionNamespacedPod(apiClient_t *apiClient, char * _namespac char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -11760,7 +11760,7 @@ CoreV1API_deleteCollectionNamespacedPod(apiClient_t *apiClient, char * _namespac // delete collection of PodTemplate // v1_status_t* -CoreV1API_deleteCollectionNamespacedPodTemplate(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +CoreV1API_deleteCollectionNamespacedPodTemplate(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -11839,11 +11839,11 @@ CoreV1API_deleteCollectionNamespacedPodTemplate(apiClient_t *apiClient, char * _ char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -11864,11 +11864,11 @@ CoreV1API_deleteCollectionNamespacedPodTemplate(apiClient_t *apiClient, char * _ char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -11877,11 +11877,11 @@ CoreV1API_deleteCollectionNamespacedPodTemplate(apiClient_t *apiClient, char * _ char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -11926,11 +11926,11 @@ CoreV1API_deleteCollectionNamespacedPodTemplate(apiClient_t *apiClient, char * _ char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -11939,11 +11939,11 @@ CoreV1API_deleteCollectionNamespacedPodTemplate(apiClient_t *apiClient, char * _ char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -12169,7 +12169,7 @@ CoreV1API_deleteCollectionNamespacedPodTemplate(apiClient_t *apiClient, char * _ // delete collection of ReplicationController // v1_status_t* -CoreV1API_deleteCollectionNamespacedReplicationController(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +CoreV1API_deleteCollectionNamespacedReplicationController(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -12248,11 +12248,11 @@ CoreV1API_deleteCollectionNamespacedReplicationController(apiClient_t *apiClient char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -12273,11 +12273,11 @@ CoreV1API_deleteCollectionNamespacedReplicationController(apiClient_t *apiClient char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -12286,11 +12286,11 @@ CoreV1API_deleteCollectionNamespacedReplicationController(apiClient_t *apiClient char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -12335,11 +12335,11 @@ CoreV1API_deleteCollectionNamespacedReplicationController(apiClient_t *apiClient char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -12348,11 +12348,11 @@ CoreV1API_deleteCollectionNamespacedReplicationController(apiClient_t *apiClient char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -12578,7 +12578,7 @@ CoreV1API_deleteCollectionNamespacedReplicationController(apiClient_t *apiClient // delete collection of ResourceQuota // v1_status_t* -CoreV1API_deleteCollectionNamespacedResourceQuota(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +CoreV1API_deleteCollectionNamespacedResourceQuota(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -12657,11 +12657,11 @@ CoreV1API_deleteCollectionNamespacedResourceQuota(apiClient_t *apiClient, char * char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -12682,11 +12682,11 @@ CoreV1API_deleteCollectionNamespacedResourceQuota(apiClient_t *apiClient, char * char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -12695,11 +12695,11 @@ CoreV1API_deleteCollectionNamespacedResourceQuota(apiClient_t *apiClient, char * char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -12744,11 +12744,11 @@ CoreV1API_deleteCollectionNamespacedResourceQuota(apiClient_t *apiClient, char * char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -12757,11 +12757,11 @@ CoreV1API_deleteCollectionNamespacedResourceQuota(apiClient_t *apiClient, char * char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -12987,7 +12987,7 @@ CoreV1API_deleteCollectionNamespacedResourceQuota(apiClient_t *apiClient, char * // delete collection of Secret // v1_status_t* -CoreV1API_deleteCollectionNamespacedSecret(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +CoreV1API_deleteCollectionNamespacedSecret(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -13066,11 +13066,11 @@ CoreV1API_deleteCollectionNamespacedSecret(apiClient_t *apiClient, char * _names char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -13091,11 +13091,11 @@ CoreV1API_deleteCollectionNamespacedSecret(apiClient_t *apiClient, char * _names char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -13104,11 +13104,11 @@ CoreV1API_deleteCollectionNamespacedSecret(apiClient_t *apiClient, char * _names char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -13153,11 +13153,11 @@ CoreV1API_deleteCollectionNamespacedSecret(apiClient_t *apiClient, char * _names char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -13166,11 +13166,11 @@ CoreV1API_deleteCollectionNamespacedSecret(apiClient_t *apiClient, char * _names char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -13396,7 +13396,7 @@ CoreV1API_deleteCollectionNamespacedSecret(apiClient_t *apiClient, char * _names // delete collection of Service // v1_status_t* -CoreV1API_deleteCollectionNamespacedService(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +CoreV1API_deleteCollectionNamespacedService(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -13475,11 +13475,11 @@ CoreV1API_deleteCollectionNamespacedService(apiClient_t *apiClient, char * _name char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -13500,11 +13500,11 @@ CoreV1API_deleteCollectionNamespacedService(apiClient_t *apiClient, char * _name char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -13513,11 +13513,11 @@ CoreV1API_deleteCollectionNamespacedService(apiClient_t *apiClient, char * _name char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -13562,11 +13562,11 @@ CoreV1API_deleteCollectionNamespacedService(apiClient_t *apiClient, char * _name char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -13575,11 +13575,11 @@ CoreV1API_deleteCollectionNamespacedService(apiClient_t *apiClient, char * _name char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -13805,7 +13805,7 @@ CoreV1API_deleteCollectionNamespacedService(apiClient_t *apiClient, char * _name // delete collection of ServiceAccount // v1_status_t* -CoreV1API_deleteCollectionNamespacedServiceAccount(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +CoreV1API_deleteCollectionNamespacedServiceAccount(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -13884,11 +13884,11 @@ CoreV1API_deleteCollectionNamespacedServiceAccount(apiClient_t *apiClient, char char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -13909,11 +13909,11 @@ CoreV1API_deleteCollectionNamespacedServiceAccount(apiClient_t *apiClient, char char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -13922,11 +13922,11 @@ CoreV1API_deleteCollectionNamespacedServiceAccount(apiClient_t *apiClient, char char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -13971,11 +13971,11 @@ CoreV1API_deleteCollectionNamespacedServiceAccount(apiClient_t *apiClient, char char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -13984,11 +13984,11 @@ CoreV1API_deleteCollectionNamespacedServiceAccount(apiClient_t *apiClient, char char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -14214,7 +14214,7 @@ CoreV1API_deleteCollectionNamespacedServiceAccount(apiClient_t *apiClient, char // delete collection of Node // v1_status_t* -CoreV1API_deleteCollectionNode(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +CoreV1API_deleteCollectionNode(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -14283,11 +14283,11 @@ CoreV1API_deleteCollectionNode(apiClient_t *apiClient, char * pretty , char * _c char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -14308,11 +14308,11 @@ CoreV1API_deleteCollectionNode(apiClient_t *apiClient, char * pretty , char * _c char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -14321,11 +14321,11 @@ CoreV1API_deleteCollectionNode(apiClient_t *apiClient, char * pretty , char * _c char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -14370,11 +14370,11 @@ CoreV1API_deleteCollectionNode(apiClient_t *apiClient, char * pretty , char * _c char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -14383,11 +14383,11 @@ CoreV1API_deleteCollectionNode(apiClient_t *apiClient, char * pretty , char * _c char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -14612,7 +14612,7 @@ CoreV1API_deleteCollectionNode(apiClient_t *apiClient, char * pretty , char * _c // delete collection of PersistentVolume // v1_status_t* -CoreV1API_deleteCollectionPersistentVolume(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +CoreV1API_deleteCollectionPersistentVolume(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -14681,11 +14681,11 @@ CoreV1API_deleteCollectionPersistentVolume(apiClient_t *apiClient, char * pretty char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -14706,11 +14706,11 @@ CoreV1API_deleteCollectionPersistentVolume(apiClient_t *apiClient, char * pretty char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -14719,11 +14719,11 @@ CoreV1API_deleteCollectionPersistentVolume(apiClient_t *apiClient, char * pretty char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -14768,11 +14768,11 @@ CoreV1API_deleteCollectionPersistentVolume(apiClient_t *apiClient, char * pretty char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -14781,11 +14781,11 @@ CoreV1API_deleteCollectionPersistentVolume(apiClient_t *apiClient, char * pretty char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -15010,7 +15010,7 @@ CoreV1API_deleteCollectionPersistentVolume(apiClient_t *apiClient, char * pretty // delete a Namespace // v1_status_t* -CoreV1API_deleteNamespace(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +CoreV1API_deleteNamespace(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -15065,11 +15065,11 @@ CoreV1API_deleteNamespace(apiClient_t *apiClient, char * name , char * pretty , char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -15078,11 +15078,11 @@ CoreV1API_deleteNamespace(apiClient_t *apiClient, char * name , char * pretty , char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -15228,7 +15228,7 @@ CoreV1API_deleteNamespace(apiClient_t *apiClient, char * name , char * pretty , // delete a ConfigMap // v1_status_t* -CoreV1API_deleteNamespacedConfigMap(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +CoreV1API_deleteNamespacedConfigMap(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -15293,11 +15293,11 @@ CoreV1API_deleteNamespacedConfigMap(apiClient_t *apiClient, char * name , char * char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -15306,11 +15306,11 @@ CoreV1API_deleteNamespacedConfigMap(apiClient_t *apiClient, char * name , char * char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -15457,7 +15457,7 @@ CoreV1API_deleteNamespacedConfigMap(apiClient_t *apiClient, char * name , char * // delete Endpoints // v1_status_t* -CoreV1API_deleteNamespacedEndpoints(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +CoreV1API_deleteNamespacedEndpoints(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -15522,11 +15522,11 @@ CoreV1API_deleteNamespacedEndpoints(apiClient_t *apiClient, char * name , char * char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -15535,11 +15535,11 @@ CoreV1API_deleteNamespacedEndpoints(apiClient_t *apiClient, char * name , char * char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -15686,7 +15686,7 @@ CoreV1API_deleteNamespacedEndpoints(apiClient_t *apiClient, char * name , char * // delete an Event // v1_status_t* -CoreV1API_deleteNamespacedEvent(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +CoreV1API_deleteNamespacedEvent(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -15751,11 +15751,11 @@ CoreV1API_deleteNamespacedEvent(apiClient_t *apiClient, char * name , char * _na char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -15764,11 +15764,11 @@ CoreV1API_deleteNamespacedEvent(apiClient_t *apiClient, char * name , char * _na char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -15915,7 +15915,7 @@ CoreV1API_deleteNamespacedEvent(apiClient_t *apiClient, char * name , char * _na // delete a LimitRange // v1_status_t* -CoreV1API_deleteNamespacedLimitRange(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +CoreV1API_deleteNamespacedLimitRange(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -15980,11 +15980,11 @@ CoreV1API_deleteNamespacedLimitRange(apiClient_t *apiClient, char * name , char char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -15993,11 +15993,11 @@ CoreV1API_deleteNamespacedLimitRange(apiClient_t *apiClient, char * name , char char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -16144,7 +16144,7 @@ CoreV1API_deleteNamespacedLimitRange(apiClient_t *apiClient, char * name , char // delete a PersistentVolumeClaim // v1_persistent_volume_claim_t* -CoreV1API_deleteNamespacedPersistentVolumeClaim(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +CoreV1API_deleteNamespacedPersistentVolumeClaim(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -16209,11 +16209,11 @@ CoreV1API_deleteNamespacedPersistentVolumeClaim(apiClient_t *apiClient, char * n char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -16222,11 +16222,11 @@ CoreV1API_deleteNamespacedPersistentVolumeClaim(apiClient_t *apiClient, char * n char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -16373,7 +16373,7 @@ CoreV1API_deleteNamespacedPersistentVolumeClaim(apiClient_t *apiClient, char * n // delete a Pod // v1_pod_t* -CoreV1API_deleteNamespacedPod(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +CoreV1API_deleteNamespacedPod(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -16438,11 +16438,11 @@ CoreV1API_deleteNamespacedPod(apiClient_t *apiClient, char * name , char * _name char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -16451,11 +16451,11 @@ CoreV1API_deleteNamespacedPod(apiClient_t *apiClient, char * name , char * _name char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -16602,7 +16602,7 @@ CoreV1API_deleteNamespacedPod(apiClient_t *apiClient, char * name , char * _name // delete a PodTemplate // v1_pod_template_t* -CoreV1API_deleteNamespacedPodTemplate(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +CoreV1API_deleteNamespacedPodTemplate(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -16667,11 +16667,11 @@ CoreV1API_deleteNamespacedPodTemplate(apiClient_t *apiClient, char * name , char char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -16680,11 +16680,11 @@ CoreV1API_deleteNamespacedPodTemplate(apiClient_t *apiClient, char * name , char char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -16831,7 +16831,7 @@ CoreV1API_deleteNamespacedPodTemplate(apiClient_t *apiClient, char * name , char // delete a ReplicationController // v1_status_t* -CoreV1API_deleteNamespacedReplicationController(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +CoreV1API_deleteNamespacedReplicationController(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -16896,11 +16896,11 @@ CoreV1API_deleteNamespacedReplicationController(apiClient_t *apiClient, char * n char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -16909,11 +16909,11 @@ CoreV1API_deleteNamespacedReplicationController(apiClient_t *apiClient, char * n char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -17060,7 +17060,7 @@ CoreV1API_deleteNamespacedReplicationController(apiClient_t *apiClient, char * n // delete a ResourceQuota // v1_resource_quota_t* -CoreV1API_deleteNamespacedResourceQuota(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +CoreV1API_deleteNamespacedResourceQuota(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -17125,11 +17125,11 @@ CoreV1API_deleteNamespacedResourceQuota(apiClient_t *apiClient, char * name , ch char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -17138,11 +17138,11 @@ CoreV1API_deleteNamespacedResourceQuota(apiClient_t *apiClient, char * name , ch char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -17289,7 +17289,7 @@ CoreV1API_deleteNamespacedResourceQuota(apiClient_t *apiClient, char * name , ch // delete a Secret // v1_status_t* -CoreV1API_deleteNamespacedSecret(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +CoreV1API_deleteNamespacedSecret(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -17354,11 +17354,11 @@ CoreV1API_deleteNamespacedSecret(apiClient_t *apiClient, char * name , char * _n char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -17367,11 +17367,11 @@ CoreV1API_deleteNamespacedSecret(apiClient_t *apiClient, char * name , char * _n char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -17518,7 +17518,7 @@ CoreV1API_deleteNamespacedSecret(apiClient_t *apiClient, char * name , char * _n // delete a Service // v1_service_t* -CoreV1API_deleteNamespacedService(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +CoreV1API_deleteNamespacedService(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -17583,11 +17583,11 @@ CoreV1API_deleteNamespacedService(apiClient_t *apiClient, char * name , char * _ char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -17596,11 +17596,11 @@ CoreV1API_deleteNamespacedService(apiClient_t *apiClient, char * name , char * _ char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -17747,7 +17747,7 @@ CoreV1API_deleteNamespacedService(apiClient_t *apiClient, char * name , char * _ // delete a ServiceAccount // v1_service_account_t* -CoreV1API_deleteNamespacedServiceAccount(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +CoreV1API_deleteNamespacedServiceAccount(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -17812,11 +17812,11 @@ CoreV1API_deleteNamespacedServiceAccount(apiClient_t *apiClient, char * name , c char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -17825,11 +17825,11 @@ CoreV1API_deleteNamespacedServiceAccount(apiClient_t *apiClient, char * name , c char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -17976,7 +17976,7 @@ CoreV1API_deleteNamespacedServiceAccount(apiClient_t *apiClient, char * name , c // delete a Node // v1_status_t* -CoreV1API_deleteNode(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +CoreV1API_deleteNode(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -18031,11 +18031,11 @@ CoreV1API_deleteNode(apiClient_t *apiClient, char * name , char * pretty , char char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -18044,11 +18044,11 @@ CoreV1API_deleteNode(apiClient_t *apiClient, char * name , char * pretty , char char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -18194,7 +18194,7 @@ CoreV1API_deleteNode(apiClient_t *apiClient, char * name , char * pretty , char // delete a PersistentVolume // v1_persistent_volume_t* -CoreV1API_deletePersistentVolume(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +CoreV1API_deletePersistentVolume(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -18249,11 +18249,11 @@ CoreV1API_deletePersistentVolume(apiClient_t *apiClient, char * name , char * pr char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -18262,11 +18262,11 @@ CoreV1API_deletePersistentVolume(apiClient_t *apiClient, char * name , char * pr char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -18479,7 +18479,7 @@ CoreV1API_getAPIResources(apiClient_t *apiClient) // list objects of kind ComponentStatus // v1_component_status_list_t* -CoreV1API_listComponentStatus(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +CoreV1API_listComponentStatus(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -18500,11 +18500,11 @@ CoreV1API_listComponentStatus(apiClient_t *apiClient, int allowWatchBookmarks , char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -18549,11 +18549,11 @@ CoreV1API_listComponentStatus(apiClient_t *apiClient, int allowWatchBookmarks , char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -18598,11 +18598,11 @@ CoreV1API_listComponentStatus(apiClient_t *apiClient, int allowWatchBookmarks , char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -18611,11 +18611,11 @@ CoreV1API_listComponentStatus(apiClient_t *apiClient, int allowWatchBookmarks , char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -18624,11 +18624,11 @@ CoreV1API_listComponentStatus(apiClient_t *apiClient, int allowWatchBookmarks , char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -18817,7 +18817,7 @@ CoreV1API_listComponentStatus(apiClient_t *apiClient, int allowWatchBookmarks , // list or watch objects of kind ConfigMap // v1_config_map_list_t* -CoreV1API_listConfigMapForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +CoreV1API_listConfigMapForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -18838,11 +18838,11 @@ CoreV1API_listConfigMapForAllNamespaces(apiClient_t *apiClient, int allowWatchBo char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -18887,11 +18887,11 @@ CoreV1API_listConfigMapForAllNamespaces(apiClient_t *apiClient, int allowWatchBo char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -18936,11 +18936,11 @@ CoreV1API_listConfigMapForAllNamespaces(apiClient_t *apiClient, int allowWatchBo char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -18949,11 +18949,11 @@ CoreV1API_listConfigMapForAllNamespaces(apiClient_t *apiClient, int allowWatchBo char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -18962,11 +18962,11 @@ CoreV1API_listConfigMapForAllNamespaces(apiClient_t *apiClient, int allowWatchBo char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -19155,7 +19155,7 @@ CoreV1API_listConfigMapForAllNamespaces(apiClient_t *apiClient, int allowWatchBo // list or watch objects of kind Endpoints // v1_endpoints_list_t* -CoreV1API_listEndpointsForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +CoreV1API_listEndpointsForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -19176,11 +19176,11 @@ CoreV1API_listEndpointsForAllNamespaces(apiClient_t *apiClient, int allowWatchBo char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -19225,11 +19225,11 @@ CoreV1API_listEndpointsForAllNamespaces(apiClient_t *apiClient, int allowWatchBo char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -19274,11 +19274,11 @@ CoreV1API_listEndpointsForAllNamespaces(apiClient_t *apiClient, int allowWatchBo char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -19287,11 +19287,11 @@ CoreV1API_listEndpointsForAllNamespaces(apiClient_t *apiClient, int allowWatchBo char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -19300,11 +19300,11 @@ CoreV1API_listEndpointsForAllNamespaces(apiClient_t *apiClient, int allowWatchBo char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -19493,7 +19493,7 @@ CoreV1API_listEndpointsForAllNamespaces(apiClient_t *apiClient, int allowWatchBo // list or watch objects of kind Event // core_v1_event_list_t* -CoreV1API_listEventForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +CoreV1API_listEventForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -19514,11 +19514,11 @@ CoreV1API_listEventForAllNamespaces(apiClient_t *apiClient, int allowWatchBookma char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -19563,11 +19563,11 @@ CoreV1API_listEventForAllNamespaces(apiClient_t *apiClient, int allowWatchBookma char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -19612,11 +19612,11 @@ CoreV1API_listEventForAllNamespaces(apiClient_t *apiClient, int allowWatchBookma char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -19625,11 +19625,11 @@ CoreV1API_listEventForAllNamespaces(apiClient_t *apiClient, int allowWatchBookma char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -19638,11 +19638,11 @@ CoreV1API_listEventForAllNamespaces(apiClient_t *apiClient, int allowWatchBookma char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -19831,7 +19831,7 @@ CoreV1API_listEventForAllNamespaces(apiClient_t *apiClient, int allowWatchBookma // list or watch objects of kind LimitRange // v1_limit_range_list_t* -CoreV1API_listLimitRangeForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +CoreV1API_listLimitRangeForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -19852,11 +19852,11 @@ CoreV1API_listLimitRangeForAllNamespaces(apiClient_t *apiClient, int allowWatchB char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -19901,11 +19901,11 @@ CoreV1API_listLimitRangeForAllNamespaces(apiClient_t *apiClient, int allowWatchB char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -19950,11 +19950,11 @@ CoreV1API_listLimitRangeForAllNamespaces(apiClient_t *apiClient, int allowWatchB char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -19963,11 +19963,11 @@ CoreV1API_listLimitRangeForAllNamespaces(apiClient_t *apiClient, int allowWatchB char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -19976,11 +19976,11 @@ CoreV1API_listLimitRangeForAllNamespaces(apiClient_t *apiClient, int allowWatchB char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -20169,7 +20169,7 @@ CoreV1API_listLimitRangeForAllNamespaces(apiClient_t *apiClient, int allowWatchB // list or watch objects of kind Namespace // v1_namespace_list_t* -CoreV1API_listNamespace(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +CoreV1API_listNamespace(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -20202,11 +20202,11 @@ CoreV1API_listNamespace(apiClient_t *apiClient, char * pretty , int allowWatchBo char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -20251,11 +20251,11 @@ CoreV1API_listNamespace(apiClient_t *apiClient, char * pretty , int allowWatchBo char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -20288,11 +20288,11 @@ CoreV1API_listNamespace(apiClient_t *apiClient, char * pretty , int allowWatchBo char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -20301,11 +20301,11 @@ CoreV1API_listNamespace(apiClient_t *apiClient, char * pretty , int allowWatchBo char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -20314,11 +20314,11 @@ CoreV1API_listNamespace(apiClient_t *apiClient, char * pretty , int allowWatchBo char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -20507,7 +20507,7 @@ CoreV1API_listNamespace(apiClient_t *apiClient, char * pretty , int allowWatchBo // list or watch objects of kind ConfigMap // v1_config_map_list_t* -CoreV1API_listNamespacedConfigMap(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +CoreV1API_listNamespacedConfigMap(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -20550,11 +20550,11 @@ CoreV1API_listNamespacedConfigMap(apiClient_t *apiClient, char * _namespace , ch char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -20599,11 +20599,11 @@ CoreV1API_listNamespacedConfigMap(apiClient_t *apiClient, char * _namespace , ch char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -20636,11 +20636,11 @@ CoreV1API_listNamespacedConfigMap(apiClient_t *apiClient, char * _namespace , ch char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -20649,11 +20649,11 @@ CoreV1API_listNamespacedConfigMap(apiClient_t *apiClient, char * _namespace , ch char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -20662,11 +20662,11 @@ CoreV1API_listNamespacedConfigMap(apiClient_t *apiClient, char * _namespace , ch char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -20856,7 +20856,7 @@ CoreV1API_listNamespacedConfigMap(apiClient_t *apiClient, char * _namespace , ch // list or watch objects of kind Endpoints // v1_endpoints_list_t* -CoreV1API_listNamespacedEndpoints(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +CoreV1API_listNamespacedEndpoints(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -20899,11 +20899,11 @@ CoreV1API_listNamespacedEndpoints(apiClient_t *apiClient, char * _namespace , ch char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -20948,11 +20948,11 @@ CoreV1API_listNamespacedEndpoints(apiClient_t *apiClient, char * _namespace , ch char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -20985,11 +20985,11 @@ CoreV1API_listNamespacedEndpoints(apiClient_t *apiClient, char * _namespace , ch char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -20998,11 +20998,11 @@ CoreV1API_listNamespacedEndpoints(apiClient_t *apiClient, char * _namespace , ch char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -21011,11 +21011,11 @@ CoreV1API_listNamespacedEndpoints(apiClient_t *apiClient, char * _namespace , ch char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -21205,7 +21205,7 @@ CoreV1API_listNamespacedEndpoints(apiClient_t *apiClient, char * _namespace , ch // list or watch objects of kind Event // core_v1_event_list_t* -CoreV1API_listNamespacedEvent(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +CoreV1API_listNamespacedEvent(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -21248,11 +21248,11 @@ CoreV1API_listNamespacedEvent(apiClient_t *apiClient, char * _namespace , char * char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -21297,11 +21297,11 @@ CoreV1API_listNamespacedEvent(apiClient_t *apiClient, char * _namespace , char * char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -21334,11 +21334,11 @@ CoreV1API_listNamespacedEvent(apiClient_t *apiClient, char * _namespace , char * char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -21347,11 +21347,11 @@ CoreV1API_listNamespacedEvent(apiClient_t *apiClient, char * _namespace , char * char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -21360,11 +21360,11 @@ CoreV1API_listNamespacedEvent(apiClient_t *apiClient, char * _namespace , char * char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -21554,7 +21554,7 @@ CoreV1API_listNamespacedEvent(apiClient_t *apiClient, char * _namespace , char * // list or watch objects of kind LimitRange // v1_limit_range_list_t* -CoreV1API_listNamespacedLimitRange(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +CoreV1API_listNamespacedLimitRange(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -21597,11 +21597,11 @@ CoreV1API_listNamespacedLimitRange(apiClient_t *apiClient, char * _namespace , c char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -21646,11 +21646,11 @@ CoreV1API_listNamespacedLimitRange(apiClient_t *apiClient, char * _namespace , c char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -21683,11 +21683,11 @@ CoreV1API_listNamespacedLimitRange(apiClient_t *apiClient, char * _namespace , c char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -21696,11 +21696,11 @@ CoreV1API_listNamespacedLimitRange(apiClient_t *apiClient, char * _namespace , c char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -21709,11 +21709,11 @@ CoreV1API_listNamespacedLimitRange(apiClient_t *apiClient, char * _namespace , c char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -21903,7 +21903,7 @@ CoreV1API_listNamespacedLimitRange(apiClient_t *apiClient, char * _namespace , c // list or watch objects of kind PersistentVolumeClaim // v1_persistent_volume_claim_list_t* -CoreV1API_listNamespacedPersistentVolumeClaim(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +CoreV1API_listNamespacedPersistentVolumeClaim(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -21946,11 +21946,11 @@ CoreV1API_listNamespacedPersistentVolumeClaim(apiClient_t *apiClient, char * _na char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -21995,11 +21995,11 @@ CoreV1API_listNamespacedPersistentVolumeClaim(apiClient_t *apiClient, char * _na char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -22032,11 +22032,11 @@ CoreV1API_listNamespacedPersistentVolumeClaim(apiClient_t *apiClient, char * _na char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -22045,11 +22045,11 @@ CoreV1API_listNamespacedPersistentVolumeClaim(apiClient_t *apiClient, char * _na char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -22058,11 +22058,11 @@ CoreV1API_listNamespacedPersistentVolumeClaim(apiClient_t *apiClient, char * _na char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -22252,7 +22252,7 @@ CoreV1API_listNamespacedPersistentVolumeClaim(apiClient_t *apiClient, char * _na // list or watch objects of kind Pod // v1_pod_list_t* -CoreV1API_listNamespacedPod(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +CoreV1API_listNamespacedPod(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -22295,11 +22295,11 @@ CoreV1API_listNamespacedPod(apiClient_t *apiClient, char * _namespace , char * p char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -22344,11 +22344,11 @@ CoreV1API_listNamespacedPod(apiClient_t *apiClient, char * _namespace , char * p char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -22381,11 +22381,11 @@ CoreV1API_listNamespacedPod(apiClient_t *apiClient, char * _namespace , char * p char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -22394,11 +22394,11 @@ CoreV1API_listNamespacedPod(apiClient_t *apiClient, char * _namespace , char * p char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -22407,11 +22407,11 @@ CoreV1API_listNamespacedPod(apiClient_t *apiClient, char * _namespace , char * p char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -22601,7 +22601,7 @@ CoreV1API_listNamespacedPod(apiClient_t *apiClient, char * _namespace , char * p // list or watch objects of kind PodTemplate // v1_pod_template_list_t* -CoreV1API_listNamespacedPodTemplate(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +CoreV1API_listNamespacedPodTemplate(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -22644,11 +22644,11 @@ CoreV1API_listNamespacedPodTemplate(apiClient_t *apiClient, char * _namespace , char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -22693,11 +22693,11 @@ CoreV1API_listNamespacedPodTemplate(apiClient_t *apiClient, char * _namespace , char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -22730,11 +22730,11 @@ CoreV1API_listNamespacedPodTemplate(apiClient_t *apiClient, char * _namespace , char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -22743,11 +22743,11 @@ CoreV1API_listNamespacedPodTemplate(apiClient_t *apiClient, char * _namespace , char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -22756,11 +22756,11 @@ CoreV1API_listNamespacedPodTemplate(apiClient_t *apiClient, char * _namespace , char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -22950,7 +22950,7 @@ CoreV1API_listNamespacedPodTemplate(apiClient_t *apiClient, char * _namespace , // list or watch objects of kind ReplicationController // v1_replication_controller_list_t* -CoreV1API_listNamespacedReplicationController(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +CoreV1API_listNamespacedReplicationController(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -22993,11 +22993,11 @@ CoreV1API_listNamespacedReplicationController(apiClient_t *apiClient, char * _na char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -23042,11 +23042,11 @@ CoreV1API_listNamespacedReplicationController(apiClient_t *apiClient, char * _na char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -23079,11 +23079,11 @@ CoreV1API_listNamespacedReplicationController(apiClient_t *apiClient, char * _na char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -23092,11 +23092,11 @@ CoreV1API_listNamespacedReplicationController(apiClient_t *apiClient, char * _na char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -23105,11 +23105,11 @@ CoreV1API_listNamespacedReplicationController(apiClient_t *apiClient, char * _na char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -23299,7 +23299,7 @@ CoreV1API_listNamespacedReplicationController(apiClient_t *apiClient, char * _na // list or watch objects of kind ResourceQuota // v1_resource_quota_list_t* -CoreV1API_listNamespacedResourceQuota(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +CoreV1API_listNamespacedResourceQuota(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -23342,11 +23342,11 @@ CoreV1API_listNamespacedResourceQuota(apiClient_t *apiClient, char * _namespace char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -23391,11 +23391,11 @@ CoreV1API_listNamespacedResourceQuota(apiClient_t *apiClient, char * _namespace char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -23428,11 +23428,11 @@ CoreV1API_listNamespacedResourceQuota(apiClient_t *apiClient, char * _namespace char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -23441,11 +23441,11 @@ CoreV1API_listNamespacedResourceQuota(apiClient_t *apiClient, char * _namespace char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -23454,11 +23454,11 @@ CoreV1API_listNamespacedResourceQuota(apiClient_t *apiClient, char * _namespace char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -23648,7 +23648,7 @@ CoreV1API_listNamespacedResourceQuota(apiClient_t *apiClient, char * _namespace // list or watch objects of kind Secret // v1_secret_list_t* -CoreV1API_listNamespacedSecret(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +CoreV1API_listNamespacedSecret(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -23691,11 +23691,11 @@ CoreV1API_listNamespacedSecret(apiClient_t *apiClient, char * _namespace , char char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -23740,11 +23740,11 @@ CoreV1API_listNamespacedSecret(apiClient_t *apiClient, char * _namespace , char char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -23777,11 +23777,11 @@ CoreV1API_listNamespacedSecret(apiClient_t *apiClient, char * _namespace , char char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -23790,11 +23790,11 @@ CoreV1API_listNamespacedSecret(apiClient_t *apiClient, char * _namespace , char char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -23803,11 +23803,11 @@ CoreV1API_listNamespacedSecret(apiClient_t *apiClient, char * _namespace , char char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -23997,7 +23997,7 @@ CoreV1API_listNamespacedSecret(apiClient_t *apiClient, char * _namespace , char // list or watch objects of kind Service // v1_service_list_t* -CoreV1API_listNamespacedService(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +CoreV1API_listNamespacedService(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -24040,11 +24040,11 @@ CoreV1API_listNamespacedService(apiClient_t *apiClient, char * _namespace , char char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -24089,11 +24089,11 @@ CoreV1API_listNamespacedService(apiClient_t *apiClient, char * _namespace , char char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -24126,11 +24126,11 @@ CoreV1API_listNamespacedService(apiClient_t *apiClient, char * _namespace , char char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -24139,11 +24139,11 @@ CoreV1API_listNamespacedService(apiClient_t *apiClient, char * _namespace , char char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -24152,11 +24152,11 @@ CoreV1API_listNamespacedService(apiClient_t *apiClient, char * _namespace , char char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -24346,7 +24346,7 @@ CoreV1API_listNamespacedService(apiClient_t *apiClient, char * _namespace , char // list or watch objects of kind ServiceAccount // v1_service_account_list_t* -CoreV1API_listNamespacedServiceAccount(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +CoreV1API_listNamespacedServiceAccount(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -24389,11 +24389,11 @@ CoreV1API_listNamespacedServiceAccount(apiClient_t *apiClient, char * _namespace char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -24438,11 +24438,11 @@ CoreV1API_listNamespacedServiceAccount(apiClient_t *apiClient, char * _namespace char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -24475,11 +24475,11 @@ CoreV1API_listNamespacedServiceAccount(apiClient_t *apiClient, char * _namespace char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -24488,11 +24488,11 @@ CoreV1API_listNamespacedServiceAccount(apiClient_t *apiClient, char * _namespace char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -24501,11 +24501,11 @@ CoreV1API_listNamespacedServiceAccount(apiClient_t *apiClient, char * _namespace char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -24695,7 +24695,7 @@ CoreV1API_listNamespacedServiceAccount(apiClient_t *apiClient, char * _namespace // list or watch objects of kind Node // v1_node_list_t* -CoreV1API_listNode(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +CoreV1API_listNode(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -24728,11 +24728,11 @@ CoreV1API_listNode(apiClient_t *apiClient, char * pretty , int allowWatchBookmar char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -24777,11 +24777,11 @@ CoreV1API_listNode(apiClient_t *apiClient, char * pretty , int allowWatchBookmar char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -24814,11 +24814,11 @@ CoreV1API_listNode(apiClient_t *apiClient, char * pretty , int allowWatchBookmar char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -24827,11 +24827,11 @@ CoreV1API_listNode(apiClient_t *apiClient, char * pretty , int allowWatchBookmar char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -24840,11 +24840,11 @@ CoreV1API_listNode(apiClient_t *apiClient, char * pretty , int allowWatchBookmar char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -25033,7 +25033,7 @@ CoreV1API_listNode(apiClient_t *apiClient, char * pretty , int allowWatchBookmar // list or watch objects of kind PersistentVolume // v1_persistent_volume_list_t* -CoreV1API_listPersistentVolume(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +CoreV1API_listPersistentVolume(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -25066,11 +25066,11 @@ CoreV1API_listPersistentVolume(apiClient_t *apiClient, char * pretty , int allow char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -25115,11 +25115,11 @@ CoreV1API_listPersistentVolume(apiClient_t *apiClient, char * pretty , int allow char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -25152,11 +25152,11 @@ CoreV1API_listPersistentVolume(apiClient_t *apiClient, char * pretty , int allow char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -25165,11 +25165,11 @@ CoreV1API_listPersistentVolume(apiClient_t *apiClient, char * pretty , int allow char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -25178,11 +25178,11 @@ CoreV1API_listPersistentVolume(apiClient_t *apiClient, char * pretty , int allow char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -25371,7 +25371,7 @@ CoreV1API_listPersistentVolume(apiClient_t *apiClient, char * pretty , int allow // list or watch objects of kind PersistentVolumeClaim // v1_persistent_volume_claim_list_t* -CoreV1API_listPersistentVolumeClaimForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +CoreV1API_listPersistentVolumeClaimForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -25392,11 +25392,11 @@ CoreV1API_listPersistentVolumeClaimForAllNamespaces(apiClient_t *apiClient, int char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -25441,11 +25441,11 @@ CoreV1API_listPersistentVolumeClaimForAllNamespaces(apiClient_t *apiClient, int char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -25490,11 +25490,11 @@ CoreV1API_listPersistentVolumeClaimForAllNamespaces(apiClient_t *apiClient, int char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -25503,11 +25503,11 @@ CoreV1API_listPersistentVolumeClaimForAllNamespaces(apiClient_t *apiClient, int char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -25516,11 +25516,11 @@ CoreV1API_listPersistentVolumeClaimForAllNamespaces(apiClient_t *apiClient, int char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -25709,7 +25709,7 @@ CoreV1API_listPersistentVolumeClaimForAllNamespaces(apiClient_t *apiClient, int // list or watch objects of kind Pod // v1_pod_list_t* -CoreV1API_listPodForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +CoreV1API_listPodForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -25730,11 +25730,11 @@ CoreV1API_listPodForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmark char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -25779,11 +25779,11 @@ CoreV1API_listPodForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmark char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -25828,11 +25828,11 @@ CoreV1API_listPodForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmark char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -25841,11 +25841,11 @@ CoreV1API_listPodForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmark char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -25854,11 +25854,11 @@ CoreV1API_listPodForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmark char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -26047,7 +26047,7 @@ CoreV1API_listPodForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmark // list or watch objects of kind PodTemplate // v1_pod_template_list_t* -CoreV1API_listPodTemplateForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +CoreV1API_listPodTemplateForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -26068,11 +26068,11 @@ CoreV1API_listPodTemplateForAllNamespaces(apiClient_t *apiClient, int allowWatch char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -26117,11 +26117,11 @@ CoreV1API_listPodTemplateForAllNamespaces(apiClient_t *apiClient, int allowWatch char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -26166,11 +26166,11 @@ CoreV1API_listPodTemplateForAllNamespaces(apiClient_t *apiClient, int allowWatch char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -26179,11 +26179,11 @@ CoreV1API_listPodTemplateForAllNamespaces(apiClient_t *apiClient, int allowWatch char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -26192,11 +26192,11 @@ CoreV1API_listPodTemplateForAllNamespaces(apiClient_t *apiClient, int allowWatch char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -26385,7 +26385,7 @@ CoreV1API_listPodTemplateForAllNamespaces(apiClient_t *apiClient, int allowWatch // list or watch objects of kind ReplicationController // v1_replication_controller_list_t* -CoreV1API_listReplicationControllerForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +CoreV1API_listReplicationControllerForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -26406,11 +26406,11 @@ CoreV1API_listReplicationControllerForAllNamespaces(apiClient_t *apiClient, int char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -26455,11 +26455,11 @@ CoreV1API_listReplicationControllerForAllNamespaces(apiClient_t *apiClient, int char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -26504,11 +26504,11 @@ CoreV1API_listReplicationControllerForAllNamespaces(apiClient_t *apiClient, int char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -26517,11 +26517,11 @@ CoreV1API_listReplicationControllerForAllNamespaces(apiClient_t *apiClient, int char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -26530,11 +26530,11 @@ CoreV1API_listReplicationControllerForAllNamespaces(apiClient_t *apiClient, int char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -26723,7 +26723,7 @@ CoreV1API_listReplicationControllerForAllNamespaces(apiClient_t *apiClient, int // list or watch objects of kind ResourceQuota // v1_resource_quota_list_t* -CoreV1API_listResourceQuotaForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +CoreV1API_listResourceQuotaForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -26744,11 +26744,11 @@ CoreV1API_listResourceQuotaForAllNamespaces(apiClient_t *apiClient, int allowWat char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -26793,11 +26793,11 @@ CoreV1API_listResourceQuotaForAllNamespaces(apiClient_t *apiClient, int allowWat char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -26842,11 +26842,11 @@ CoreV1API_listResourceQuotaForAllNamespaces(apiClient_t *apiClient, int allowWat char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -26855,11 +26855,11 @@ CoreV1API_listResourceQuotaForAllNamespaces(apiClient_t *apiClient, int allowWat char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -26868,11 +26868,11 @@ CoreV1API_listResourceQuotaForAllNamespaces(apiClient_t *apiClient, int allowWat char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -27061,7 +27061,7 @@ CoreV1API_listResourceQuotaForAllNamespaces(apiClient_t *apiClient, int allowWat // list or watch objects of kind Secret // v1_secret_list_t* -CoreV1API_listSecretForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +CoreV1API_listSecretForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -27082,11 +27082,11 @@ CoreV1API_listSecretForAllNamespaces(apiClient_t *apiClient, int allowWatchBookm char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -27131,11 +27131,11 @@ CoreV1API_listSecretForAllNamespaces(apiClient_t *apiClient, int allowWatchBookm char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -27180,11 +27180,11 @@ CoreV1API_listSecretForAllNamespaces(apiClient_t *apiClient, int allowWatchBookm char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -27193,11 +27193,11 @@ CoreV1API_listSecretForAllNamespaces(apiClient_t *apiClient, int allowWatchBookm char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -27206,11 +27206,11 @@ CoreV1API_listSecretForAllNamespaces(apiClient_t *apiClient, int allowWatchBookm char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -27399,7 +27399,7 @@ CoreV1API_listSecretForAllNamespaces(apiClient_t *apiClient, int allowWatchBookm // list or watch objects of kind ServiceAccount // v1_service_account_list_t* -CoreV1API_listServiceAccountForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +CoreV1API_listServiceAccountForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -27420,11 +27420,11 @@ CoreV1API_listServiceAccountForAllNamespaces(apiClient_t *apiClient, int allowWa char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -27469,11 +27469,11 @@ CoreV1API_listServiceAccountForAllNamespaces(apiClient_t *apiClient, int allowWa char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -27518,11 +27518,11 @@ CoreV1API_listServiceAccountForAllNamespaces(apiClient_t *apiClient, int allowWa char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -27531,11 +27531,11 @@ CoreV1API_listServiceAccountForAllNamespaces(apiClient_t *apiClient, int allowWa char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -27544,11 +27544,11 @@ CoreV1API_listServiceAccountForAllNamespaces(apiClient_t *apiClient, int allowWa char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -27737,7 +27737,7 @@ CoreV1API_listServiceAccountForAllNamespaces(apiClient_t *apiClient, int allowWa // list or watch objects of kind Service // v1_service_list_t* -CoreV1API_listServiceForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +CoreV1API_listServiceForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -27758,11 +27758,11 @@ CoreV1API_listServiceForAllNamespaces(apiClient_t *apiClient, int allowWatchBook char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -27807,11 +27807,11 @@ CoreV1API_listServiceForAllNamespaces(apiClient_t *apiClient, int allowWatchBook char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -27856,11 +27856,11 @@ CoreV1API_listServiceForAllNamespaces(apiClient_t *apiClient, int allowWatchBook char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -27869,11 +27869,11 @@ CoreV1API_listServiceForAllNamespaces(apiClient_t *apiClient, int allowWatchBook char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -27882,11 +27882,11 @@ CoreV1API_listServiceForAllNamespaces(apiClient_t *apiClient, int allowWatchBook char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -28075,7 +28075,7 @@ CoreV1API_listServiceForAllNamespaces(apiClient_t *apiClient, int allowWatchBook // partially update the specified Namespace // v1_namespace_t* -CoreV1API_patchNamespace(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +CoreV1API_patchNamespace(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -28154,11 +28154,11 @@ CoreV1API_patchNamespace(apiClient_t *apiClient, char * name , object_t * body , char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -28296,7 +28296,7 @@ CoreV1API_patchNamespace(apiClient_t *apiClient, char * name , object_t * body , // partially update status of the specified Namespace // v1_namespace_t* -CoreV1API_patchNamespaceStatus(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +CoreV1API_patchNamespaceStatus(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -28375,11 +28375,11 @@ CoreV1API_patchNamespaceStatus(apiClient_t *apiClient, char * name , object_t * char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -28517,7 +28517,7 @@ CoreV1API_patchNamespaceStatus(apiClient_t *apiClient, char * name , object_t * // partially update the specified ConfigMap // v1_config_map_t* -CoreV1API_patchNamespacedConfigMap(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +CoreV1API_patchNamespacedConfigMap(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -28606,11 +28606,11 @@ CoreV1API_patchNamespacedConfigMap(apiClient_t *apiClient, char * name , char * char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -28749,7 +28749,7 @@ CoreV1API_patchNamespacedConfigMap(apiClient_t *apiClient, char * name , char * // partially update the specified Endpoints // v1_endpoints_t* -CoreV1API_patchNamespacedEndpoints(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +CoreV1API_patchNamespacedEndpoints(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -28838,11 +28838,11 @@ CoreV1API_patchNamespacedEndpoints(apiClient_t *apiClient, char * name , char * char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -28981,7 +28981,7 @@ CoreV1API_patchNamespacedEndpoints(apiClient_t *apiClient, char * name , char * // partially update the specified Event // core_v1_event_t* -CoreV1API_patchNamespacedEvent(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +CoreV1API_patchNamespacedEvent(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -29070,11 +29070,11 @@ CoreV1API_patchNamespacedEvent(apiClient_t *apiClient, char * name , char * _nam char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -29213,7 +29213,7 @@ CoreV1API_patchNamespacedEvent(apiClient_t *apiClient, char * name , char * _nam // partially update the specified LimitRange // v1_limit_range_t* -CoreV1API_patchNamespacedLimitRange(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +CoreV1API_patchNamespacedLimitRange(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -29302,11 +29302,11 @@ CoreV1API_patchNamespacedLimitRange(apiClient_t *apiClient, char * name , char * char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -29445,7 +29445,7 @@ CoreV1API_patchNamespacedLimitRange(apiClient_t *apiClient, char * name , char * // partially update the specified PersistentVolumeClaim // v1_persistent_volume_claim_t* -CoreV1API_patchNamespacedPersistentVolumeClaim(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +CoreV1API_patchNamespacedPersistentVolumeClaim(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -29534,11 +29534,11 @@ CoreV1API_patchNamespacedPersistentVolumeClaim(apiClient_t *apiClient, char * na char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -29677,7 +29677,7 @@ CoreV1API_patchNamespacedPersistentVolumeClaim(apiClient_t *apiClient, char * na // partially update status of the specified PersistentVolumeClaim // v1_persistent_volume_claim_t* -CoreV1API_patchNamespacedPersistentVolumeClaimStatus(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +CoreV1API_patchNamespacedPersistentVolumeClaimStatus(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -29766,11 +29766,11 @@ CoreV1API_patchNamespacedPersistentVolumeClaimStatus(apiClient_t *apiClient, cha char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -29909,7 +29909,7 @@ CoreV1API_patchNamespacedPersistentVolumeClaimStatus(apiClient_t *apiClient, cha // partially update the specified Pod // v1_pod_t* -CoreV1API_patchNamespacedPod(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +CoreV1API_patchNamespacedPod(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -29998,11 +29998,11 @@ CoreV1API_patchNamespacedPod(apiClient_t *apiClient, char * name , char * _names char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -30141,7 +30141,7 @@ CoreV1API_patchNamespacedPod(apiClient_t *apiClient, char * name , char * _names // partially update ephemeralcontainers of the specified Pod // v1_pod_t* -CoreV1API_patchNamespacedPodEphemeralcontainers(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +CoreV1API_patchNamespacedPodEphemeralcontainers(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -30230,11 +30230,11 @@ CoreV1API_patchNamespacedPodEphemeralcontainers(apiClient_t *apiClient, char * n char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -30373,7 +30373,7 @@ CoreV1API_patchNamespacedPodEphemeralcontainers(apiClient_t *apiClient, char * n // partially update status of the specified Pod // v1_pod_t* -CoreV1API_patchNamespacedPodStatus(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +CoreV1API_patchNamespacedPodStatus(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -30462,11 +30462,11 @@ CoreV1API_patchNamespacedPodStatus(apiClient_t *apiClient, char * name , char * char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -30605,7 +30605,7 @@ CoreV1API_patchNamespacedPodStatus(apiClient_t *apiClient, char * name , char * // partially update the specified PodTemplate // v1_pod_template_t* -CoreV1API_patchNamespacedPodTemplate(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +CoreV1API_patchNamespacedPodTemplate(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -30694,11 +30694,11 @@ CoreV1API_patchNamespacedPodTemplate(apiClient_t *apiClient, char * name , char char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -30837,7 +30837,7 @@ CoreV1API_patchNamespacedPodTemplate(apiClient_t *apiClient, char * name , char // partially update the specified ReplicationController // v1_replication_controller_t* -CoreV1API_patchNamespacedReplicationController(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +CoreV1API_patchNamespacedReplicationController(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -30926,11 +30926,11 @@ CoreV1API_patchNamespacedReplicationController(apiClient_t *apiClient, char * na char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -31069,7 +31069,7 @@ CoreV1API_patchNamespacedReplicationController(apiClient_t *apiClient, char * na // partially update scale of the specified ReplicationController // v1_scale_t* -CoreV1API_patchNamespacedReplicationControllerScale(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +CoreV1API_patchNamespacedReplicationControllerScale(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -31158,11 +31158,11 @@ CoreV1API_patchNamespacedReplicationControllerScale(apiClient_t *apiClient, char char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -31301,7 +31301,7 @@ CoreV1API_patchNamespacedReplicationControllerScale(apiClient_t *apiClient, char // partially update status of the specified ReplicationController // v1_replication_controller_t* -CoreV1API_patchNamespacedReplicationControllerStatus(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +CoreV1API_patchNamespacedReplicationControllerStatus(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -31390,11 +31390,11 @@ CoreV1API_patchNamespacedReplicationControllerStatus(apiClient_t *apiClient, cha char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -31533,7 +31533,7 @@ CoreV1API_patchNamespacedReplicationControllerStatus(apiClient_t *apiClient, cha // partially update the specified ResourceQuota // v1_resource_quota_t* -CoreV1API_patchNamespacedResourceQuota(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +CoreV1API_patchNamespacedResourceQuota(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -31622,11 +31622,11 @@ CoreV1API_patchNamespacedResourceQuota(apiClient_t *apiClient, char * name , cha char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -31765,7 +31765,7 @@ CoreV1API_patchNamespacedResourceQuota(apiClient_t *apiClient, char * name , cha // partially update status of the specified ResourceQuota // v1_resource_quota_t* -CoreV1API_patchNamespacedResourceQuotaStatus(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +CoreV1API_patchNamespacedResourceQuotaStatus(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -31854,11 +31854,11 @@ CoreV1API_patchNamespacedResourceQuotaStatus(apiClient_t *apiClient, char * name char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -31997,7 +31997,7 @@ CoreV1API_patchNamespacedResourceQuotaStatus(apiClient_t *apiClient, char * name // partially update the specified Secret // v1_secret_t* -CoreV1API_patchNamespacedSecret(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +CoreV1API_patchNamespacedSecret(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -32086,11 +32086,11 @@ CoreV1API_patchNamespacedSecret(apiClient_t *apiClient, char * name , char * _na char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -32229,7 +32229,7 @@ CoreV1API_patchNamespacedSecret(apiClient_t *apiClient, char * name , char * _na // partially update the specified Service // v1_service_t* -CoreV1API_patchNamespacedService(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +CoreV1API_patchNamespacedService(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -32318,11 +32318,11 @@ CoreV1API_patchNamespacedService(apiClient_t *apiClient, char * name , char * _n char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -32461,7 +32461,7 @@ CoreV1API_patchNamespacedService(apiClient_t *apiClient, char * name , char * _n // partially update the specified ServiceAccount // v1_service_account_t* -CoreV1API_patchNamespacedServiceAccount(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +CoreV1API_patchNamespacedServiceAccount(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -32550,11 +32550,11 @@ CoreV1API_patchNamespacedServiceAccount(apiClient_t *apiClient, char * name , ch char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -32693,7 +32693,7 @@ CoreV1API_patchNamespacedServiceAccount(apiClient_t *apiClient, char * name , ch // partially update status of the specified Service // v1_service_t* -CoreV1API_patchNamespacedServiceStatus(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +CoreV1API_patchNamespacedServiceStatus(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -32782,11 +32782,11 @@ CoreV1API_patchNamespacedServiceStatus(apiClient_t *apiClient, char * name , cha char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -32925,7 +32925,7 @@ CoreV1API_patchNamespacedServiceStatus(apiClient_t *apiClient, char * name , cha // partially update the specified Node // v1_node_t* -CoreV1API_patchNode(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +CoreV1API_patchNode(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -33004,11 +33004,11 @@ CoreV1API_patchNode(apiClient_t *apiClient, char * name , object_t * body , char char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -33146,7 +33146,7 @@ CoreV1API_patchNode(apiClient_t *apiClient, char * name , object_t * body , char // partially update status of the specified Node // v1_node_t* -CoreV1API_patchNodeStatus(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +CoreV1API_patchNodeStatus(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -33225,11 +33225,11 @@ CoreV1API_patchNodeStatus(apiClient_t *apiClient, char * name , object_t * body char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -33367,7 +33367,7 @@ CoreV1API_patchNodeStatus(apiClient_t *apiClient, char * name , object_t * body // partially update the specified PersistentVolume // v1_persistent_volume_t* -CoreV1API_patchPersistentVolume(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +CoreV1API_patchPersistentVolume(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -33446,11 +33446,11 @@ CoreV1API_patchPersistentVolume(apiClient_t *apiClient, char * name , object_t * char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -33588,7 +33588,7 @@ CoreV1API_patchPersistentVolume(apiClient_t *apiClient, char * name , object_t * // partially update status of the specified PersistentVolume // v1_persistent_volume_t* -CoreV1API_patchPersistentVolumeStatus(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +CoreV1API_patchPersistentVolumeStatus(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -33667,11 +33667,11 @@ CoreV1API_patchPersistentVolumeStatus(apiClient_t *apiClient, char * name , obje char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -33809,7 +33809,7 @@ CoreV1API_patchPersistentVolumeStatus(apiClient_t *apiClient, char * name , obje // read the specified ComponentStatus // v1_component_status_t* -CoreV1API_readComponentStatus(apiClient_t *apiClient, char * name , char * pretty ) +CoreV1API_readComponentStatus(apiClient_t *apiClient, char *name, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -33911,7 +33911,7 @@ CoreV1API_readComponentStatus(apiClient_t *apiClient, char * name , char * prett // read the specified Namespace // v1_namespace_t* -CoreV1API_readNamespace(apiClient_t *apiClient, char * name , char * pretty ) +CoreV1API_readNamespace(apiClient_t *apiClient, char *name, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -34013,7 +34013,7 @@ CoreV1API_readNamespace(apiClient_t *apiClient, char * name , char * pretty ) // read status of the specified Namespace // v1_namespace_t* -CoreV1API_readNamespaceStatus(apiClient_t *apiClient, char * name , char * pretty ) +CoreV1API_readNamespaceStatus(apiClient_t *apiClient, char *name, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -34115,7 +34115,7 @@ CoreV1API_readNamespaceStatus(apiClient_t *apiClient, char * name , char * prett // read the specified ConfigMap // v1_config_map_t* -CoreV1API_readNamespacedConfigMap(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ) +CoreV1API_readNamespacedConfigMap(apiClient_t *apiClient, char *name, char *_namespace, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -34228,7 +34228,7 @@ CoreV1API_readNamespacedConfigMap(apiClient_t *apiClient, char * name , char * _ // read the specified Endpoints // v1_endpoints_t* -CoreV1API_readNamespacedEndpoints(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ) +CoreV1API_readNamespacedEndpoints(apiClient_t *apiClient, char *name, char *_namespace, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -34341,7 +34341,7 @@ CoreV1API_readNamespacedEndpoints(apiClient_t *apiClient, char * name , char * _ // read the specified Event // core_v1_event_t* -CoreV1API_readNamespacedEvent(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ) +CoreV1API_readNamespacedEvent(apiClient_t *apiClient, char *name, char *_namespace, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -34454,7 +34454,7 @@ CoreV1API_readNamespacedEvent(apiClient_t *apiClient, char * name , char * _name // read the specified LimitRange // v1_limit_range_t* -CoreV1API_readNamespacedLimitRange(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ) +CoreV1API_readNamespacedLimitRange(apiClient_t *apiClient, char *name, char *_namespace, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -34567,7 +34567,7 @@ CoreV1API_readNamespacedLimitRange(apiClient_t *apiClient, char * name , char * // read the specified PersistentVolumeClaim // v1_persistent_volume_claim_t* -CoreV1API_readNamespacedPersistentVolumeClaim(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ) +CoreV1API_readNamespacedPersistentVolumeClaim(apiClient_t *apiClient, char *name, char *_namespace, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -34680,7 +34680,7 @@ CoreV1API_readNamespacedPersistentVolumeClaim(apiClient_t *apiClient, char * nam // read status of the specified PersistentVolumeClaim // v1_persistent_volume_claim_t* -CoreV1API_readNamespacedPersistentVolumeClaimStatus(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ) +CoreV1API_readNamespacedPersistentVolumeClaimStatus(apiClient_t *apiClient, char *name, char *_namespace, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -34793,7 +34793,7 @@ CoreV1API_readNamespacedPersistentVolumeClaimStatus(apiClient_t *apiClient, char // read the specified Pod // v1_pod_t* -CoreV1API_readNamespacedPod(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ) +CoreV1API_readNamespacedPod(apiClient_t *apiClient, char *name, char *_namespace, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -34906,7 +34906,7 @@ CoreV1API_readNamespacedPod(apiClient_t *apiClient, char * name , char * _namesp // read ephemeralcontainers of the specified Pod // v1_pod_t* -CoreV1API_readNamespacedPodEphemeralcontainers(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ) +CoreV1API_readNamespacedPodEphemeralcontainers(apiClient_t *apiClient, char *name, char *_namespace, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -35019,7 +35019,7 @@ CoreV1API_readNamespacedPodEphemeralcontainers(apiClient_t *apiClient, char * na // read log of the specified Pod // char* -CoreV1API_readNamespacedPodLog(apiClient_t *apiClient, char * name , char * _namespace , char * container , int follow , int insecureSkipTLSVerifyBackend , int limitBytes , char * pretty , int previous , int sinceSeconds , int tailLines , int timestamps ) +CoreV1API_readNamespacedPodLog(apiClient_t *apiClient, char *name, char *_namespace, char *container, int *follow, int *insecureSkipTLSVerifyBackend, int *limitBytes, char *pretty, int *previous, int *sinceSeconds, int *tailLines, int *timestamps) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -35072,11 +35072,11 @@ CoreV1API_readNamespacedPodLog(apiClient_t *apiClient, char * name , char * _nam char *keyQuery_follow = NULL; char * valueQuery_follow = NULL; keyValuePair_t *keyPairQuery_follow = 0; - if (1) // Always send boolean parameters to the API server + if (follow) { keyQuery_follow = strdup("follow"); valueQuery_follow = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_follow, MAX_NUMBER_LENGTH, "%d", follow); + snprintf(valueQuery_follow, MAX_NUMBER_LENGTH, "%d", *follow); keyPairQuery_follow = keyValuePair_create(keyQuery_follow, valueQuery_follow); list_addElement(localVarQueryParameters,keyPairQuery_follow); } @@ -35085,11 +35085,11 @@ CoreV1API_readNamespacedPodLog(apiClient_t *apiClient, char * name , char * _nam char *keyQuery_insecureSkipTLSVerifyBackend = NULL; char * valueQuery_insecureSkipTLSVerifyBackend = NULL; keyValuePair_t *keyPairQuery_insecureSkipTLSVerifyBackend = 0; - if (1) // Always send boolean parameters to the API server + if (insecureSkipTLSVerifyBackend) { keyQuery_insecureSkipTLSVerifyBackend = strdup("insecureSkipTLSVerifyBackend"); valueQuery_insecureSkipTLSVerifyBackend = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_insecureSkipTLSVerifyBackend, MAX_NUMBER_LENGTH, "%d", insecureSkipTLSVerifyBackend); + snprintf(valueQuery_insecureSkipTLSVerifyBackend, MAX_NUMBER_LENGTH, "%d", *insecureSkipTLSVerifyBackend); keyPairQuery_insecureSkipTLSVerifyBackend = keyValuePair_create(keyQuery_insecureSkipTLSVerifyBackend, valueQuery_insecureSkipTLSVerifyBackend); list_addElement(localVarQueryParameters,keyPairQuery_insecureSkipTLSVerifyBackend); } @@ -35098,11 +35098,11 @@ CoreV1API_readNamespacedPodLog(apiClient_t *apiClient, char * name , char * _nam char *keyQuery_limitBytes = NULL; char * valueQuery_limitBytes = NULL; keyValuePair_t *keyPairQuery_limitBytes = 0; - if (1) // Always send integer parameters to the API server + if (limitBytes) { keyQuery_limitBytes = strdup("limitBytes"); valueQuery_limitBytes = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limitBytes, MAX_NUMBER_LENGTH, "%d", limitBytes); + snprintf(valueQuery_limitBytes, MAX_NUMBER_LENGTH, "%d", *limitBytes); keyPairQuery_limitBytes = keyValuePair_create(keyQuery_limitBytes, valueQuery_limitBytes); list_addElement(localVarQueryParameters,keyPairQuery_limitBytes); } @@ -35123,11 +35123,11 @@ CoreV1API_readNamespacedPodLog(apiClient_t *apiClient, char * name , char * _nam char *keyQuery_previous = NULL; char * valueQuery_previous = NULL; keyValuePair_t *keyPairQuery_previous = 0; - if (1) // Always send boolean parameters to the API server + if (previous) { keyQuery_previous = strdup("previous"); valueQuery_previous = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_previous, MAX_NUMBER_LENGTH, "%d", previous); + snprintf(valueQuery_previous, MAX_NUMBER_LENGTH, "%d", *previous); keyPairQuery_previous = keyValuePair_create(keyQuery_previous, valueQuery_previous); list_addElement(localVarQueryParameters,keyPairQuery_previous); } @@ -35136,11 +35136,11 @@ CoreV1API_readNamespacedPodLog(apiClient_t *apiClient, char * name , char * _nam char *keyQuery_sinceSeconds = NULL; char * valueQuery_sinceSeconds = NULL; keyValuePair_t *keyPairQuery_sinceSeconds = 0; - if (1) // Always send integer parameters to the API server + if (sinceSeconds) { keyQuery_sinceSeconds = strdup("sinceSeconds"); valueQuery_sinceSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sinceSeconds, MAX_NUMBER_LENGTH, "%d", sinceSeconds); + snprintf(valueQuery_sinceSeconds, MAX_NUMBER_LENGTH, "%d", *sinceSeconds); keyPairQuery_sinceSeconds = keyValuePair_create(keyQuery_sinceSeconds, valueQuery_sinceSeconds); list_addElement(localVarQueryParameters,keyPairQuery_sinceSeconds); } @@ -35149,11 +35149,11 @@ CoreV1API_readNamespacedPodLog(apiClient_t *apiClient, char * name , char * _nam char *keyQuery_tailLines = NULL; char * valueQuery_tailLines = NULL; keyValuePair_t *keyPairQuery_tailLines = 0; - if (1) // Always send integer parameters to the API server + if (tailLines) { keyQuery_tailLines = strdup("tailLines"); valueQuery_tailLines = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_tailLines, MAX_NUMBER_LENGTH, "%d", tailLines); + snprintf(valueQuery_tailLines, MAX_NUMBER_LENGTH, "%d", *tailLines); keyPairQuery_tailLines = keyValuePair_create(keyQuery_tailLines, valueQuery_tailLines); list_addElement(localVarQueryParameters,keyPairQuery_tailLines); } @@ -35162,11 +35162,11 @@ CoreV1API_readNamespacedPodLog(apiClient_t *apiClient, char * name , char * _nam char *keyQuery_timestamps = NULL; char * valueQuery_timestamps = NULL; keyValuePair_t *keyPairQuery_timestamps = 0; - if (1) // Always send boolean parameters to the API server + if (timestamps) { keyQuery_timestamps = strdup("timestamps"); valueQuery_timestamps = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timestamps, MAX_NUMBER_LENGTH, "%d", timestamps); + snprintf(valueQuery_timestamps, MAX_NUMBER_LENGTH, "%d", *timestamps); keyPairQuery_timestamps = keyValuePair_create(keyQuery_timestamps, valueQuery_timestamps); list_addElement(localVarQueryParameters,keyPairQuery_timestamps); } @@ -35326,7 +35326,7 @@ CoreV1API_readNamespacedPodLog(apiClient_t *apiClient, char * name , char * _nam // read status of the specified Pod // v1_pod_t* -CoreV1API_readNamespacedPodStatus(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ) +CoreV1API_readNamespacedPodStatus(apiClient_t *apiClient, char *name, char *_namespace, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -35439,7 +35439,7 @@ CoreV1API_readNamespacedPodStatus(apiClient_t *apiClient, char * name , char * _ // read the specified PodTemplate // v1_pod_template_t* -CoreV1API_readNamespacedPodTemplate(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ) +CoreV1API_readNamespacedPodTemplate(apiClient_t *apiClient, char *name, char *_namespace, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -35552,7 +35552,7 @@ CoreV1API_readNamespacedPodTemplate(apiClient_t *apiClient, char * name , char * // read the specified ReplicationController // v1_replication_controller_t* -CoreV1API_readNamespacedReplicationController(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ) +CoreV1API_readNamespacedReplicationController(apiClient_t *apiClient, char *name, char *_namespace, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -35665,7 +35665,7 @@ CoreV1API_readNamespacedReplicationController(apiClient_t *apiClient, char * nam // read scale of the specified ReplicationController // v1_scale_t* -CoreV1API_readNamespacedReplicationControllerScale(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ) +CoreV1API_readNamespacedReplicationControllerScale(apiClient_t *apiClient, char *name, char *_namespace, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -35778,7 +35778,7 @@ CoreV1API_readNamespacedReplicationControllerScale(apiClient_t *apiClient, char // read status of the specified ReplicationController // v1_replication_controller_t* -CoreV1API_readNamespacedReplicationControllerStatus(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ) +CoreV1API_readNamespacedReplicationControllerStatus(apiClient_t *apiClient, char *name, char *_namespace, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -35891,7 +35891,7 @@ CoreV1API_readNamespacedReplicationControllerStatus(apiClient_t *apiClient, char // read the specified ResourceQuota // v1_resource_quota_t* -CoreV1API_readNamespacedResourceQuota(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ) +CoreV1API_readNamespacedResourceQuota(apiClient_t *apiClient, char *name, char *_namespace, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -36004,7 +36004,7 @@ CoreV1API_readNamespacedResourceQuota(apiClient_t *apiClient, char * name , char // read status of the specified ResourceQuota // v1_resource_quota_t* -CoreV1API_readNamespacedResourceQuotaStatus(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ) +CoreV1API_readNamespacedResourceQuotaStatus(apiClient_t *apiClient, char *name, char *_namespace, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -36117,7 +36117,7 @@ CoreV1API_readNamespacedResourceQuotaStatus(apiClient_t *apiClient, char * name // read the specified Secret // v1_secret_t* -CoreV1API_readNamespacedSecret(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ) +CoreV1API_readNamespacedSecret(apiClient_t *apiClient, char *name, char *_namespace, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -36230,7 +36230,7 @@ CoreV1API_readNamespacedSecret(apiClient_t *apiClient, char * name , char * _nam // read the specified Service // v1_service_t* -CoreV1API_readNamespacedService(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ) +CoreV1API_readNamespacedService(apiClient_t *apiClient, char *name, char *_namespace, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -36343,7 +36343,7 @@ CoreV1API_readNamespacedService(apiClient_t *apiClient, char * name , char * _na // read the specified ServiceAccount // v1_service_account_t* -CoreV1API_readNamespacedServiceAccount(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ) +CoreV1API_readNamespacedServiceAccount(apiClient_t *apiClient, char *name, char *_namespace, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -36456,7 +36456,7 @@ CoreV1API_readNamespacedServiceAccount(apiClient_t *apiClient, char * name , cha // read status of the specified Service // v1_service_t* -CoreV1API_readNamespacedServiceStatus(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ) +CoreV1API_readNamespacedServiceStatus(apiClient_t *apiClient, char *name, char *_namespace, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -36569,7 +36569,7 @@ CoreV1API_readNamespacedServiceStatus(apiClient_t *apiClient, char * name , char // read the specified Node // v1_node_t* -CoreV1API_readNode(apiClient_t *apiClient, char * name , char * pretty ) +CoreV1API_readNode(apiClient_t *apiClient, char *name, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -36671,7 +36671,7 @@ CoreV1API_readNode(apiClient_t *apiClient, char * name , char * pretty ) // read status of the specified Node // v1_node_t* -CoreV1API_readNodeStatus(apiClient_t *apiClient, char * name , char * pretty ) +CoreV1API_readNodeStatus(apiClient_t *apiClient, char *name, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -36773,7 +36773,7 @@ CoreV1API_readNodeStatus(apiClient_t *apiClient, char * name , char * pretty ) // read the specified PersistentVolume // v1_persistent_volume_t* -CoreV1API_readPersistentVolume(apiClient_t *apiClient, char * name , char * pretty ) +CoreV1API_readPersistentVolume(apiClient_t *apiClient, char *name, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -36875,7 +36875,7 @@ CoreV1API_readPersistentVolume(apiClient_t *apiClient, char * name , char * pret // read status of the specified PersistentVolume // v1_persistent_volume_t* -CoreV1API_readPersistentVolumeStatus(apiClient_t *apiClient, char * name , char * pretty ) +CoreV1API_readPersistentVolumeStatus(apiClient_t *apiClient, char *name, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -36977,7 +36977,7 @@ CoreV1API_readPersistentVolumeStatus(apiClient_t *apiClient, char * name , char // replace the specified Namespace // v1_namespace_t* -CoreV1API_replaceNamespace(apiClient_t *apiClient, char * name , v1_namespace_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +CoreV1API_replaceNamespace(apiClient_t *apiClient, char *name, v1_namespace_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -37169,7 +37169,7 @@ CoreV1API_replaceNamespace(apiClient_t *apiClient, char * name , v1_namespace_t // replace finalize of the specified Namespace // v1_namespace_t* -CoreV1API_replaceNamespaceFinalize(apiClient_t *apiClient, char * name , v1_namespace_t * body , char * dryRun , char * fieldManager , char * fieldValidation , char * pretty ) +CoreV1API_replaceNamespaceFinalize(apiClient_t *apiClient, char *name, v1_namespace_t *body, char *dryRun, char *fieldManager, char *fieldValidation, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -37361,7 +37361,7 @@ CoreV1API_replaceNamespaceFinalize(apiClient_t *apiClient, char * name , v1_name // replace status of the specified Namespace // v1_namespace_t* -CoreV1API_replaceNamespaceStatus(apiClient_t *apiClient, char * name , v1_namespace_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +CoreV1API_replaceNamespaceStatus(apiClient_t *apiClient, char *name, v1_namespace_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -37553,7 +37553,7 @@ CoreV1API_replaceNamespaceStatus(apiClient_t *apiClient, char * name , v1_namesp // replace the specified ConfigMap // v1_config_map_t* -CoreV1API_replaceNamespacedConfigMap(apiClient_t *apiClient, char * name , char * _namespace , v1_config_map_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +CoreV1API_replaceNamespacedConfigMap(apiClient_t *apiClient, char *name, char *_namespace, v1_config_map_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -37756,7 +37756,7 @@ CoreV1API_replaceNamespacedConfigMap(apiClient_t *apiClient, char * name , char // replace the specified Endpoints // v1_endpoints_t* -CoreV1API_replaceNamespacedEndpoints(apiClient_t *apiClient, char * name , char * _namespace , v1_endpoints_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +CoreV1API_replaceNamespacedEndpoints(apiClient_t *apiClient, char *name, char *_namespace, v1_endpoints_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -37959,7 +37959,7 @@ CoreV1API_replaceNamespacedEndpoints(apiClient_t *apiClient, char * name , char // replace the specified Event // core_v1_event_t* -CoreV1API_replaceNamespacedEvent(apiClient_t *apiClient, char * name , char * _namespace , core_v1_event_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +CoreV1API_replaceNamespacedEvent(apiClient_t *apiClient, char *name, char *_namespace, core_v1_event_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -38162,7 +38162,7 @@ CoreV1API_replaceNamespacedEvent(apiClient_t *apiClient, char * name , char * _n // replace the specified LimitRange // v1_limit_range_t* -CoreV1API_replaceNamespacedLimitRange(apiClient_t *apiClient, char * name , char * _namespace , v1_limit_range_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +CoreV1API_replaceNamespacedLimitRange(apiClient_t *apiClient, char *name, char *_namespace, v1_limit_range_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -38365,7 +38365,7 @@ CoreV1API_replaceNamespacedLimitRange(apiClient_t *apiClient, char * name , char // replace the specified PersistentVolumeClaim // v1_persistent_volume_claim_t* -CoreV1API_replaceNamespacedPersistentVolumeClaim(apiClient_t *apiClient, char * name , char * _namespace , v1_persistent_volume_claim_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +CoreV1API_replaceNamespacedPersistentVolumeClaim(apiClient_t *apiClient, char *name, char *_namespace, v1_persistent_volume_claim_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -38568,7 +38568,7 @@ CoreV1API_replaceNamespacedPersistentVolumeClaim(apiClient_t *apiClient, char * // replace status of the specified PersistentVolumeClaim // v1_persistent_volume_claim_t* -CoreV1API_replaceNamespacedPersistentVolumeClaimStatus(apiClient_t *apiClient, char * name , char * _namespace , v1_persistent_volume_claim_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +CoreV1API_replaceNamespacedPersistentVolumeClaimStatus(apiClient_t *apiClient, char *name, char *_namespace, v1_persistent_volume_claim_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -38771,7 +38771,7 @@ CoreV1API_replaceNamespacedPersistentVolumeClaimStatus(apiClient_t *apiClient, c // replace the specified Pod // v1_pod_t* -CoreV1API_replaceNamespacedPod(apiClient_t *apiClient, char * name , char * _namespace , v1_pod_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +CoreV1API_replaceNamespacedPod(apiClient_t *apiClient, char *name, char *_namespace, v1_pod_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -38974,7 +38974,7 @@ CoreV1API_replaceNamespacedPod(apiClient_t *apiClient, char * name , char * _nam // replace ephemeralcontainers of the specified Pod // v1_pod_t* -CoreV1API_replaceNamespacedPodEphemeralcontainers(apiClient_t *apiClient, char * name , char * _namespace , v1_pod_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +CoreV1API_replaceNamespacedPodEphemeralcontainers(apiClient_t *apiClient, char *name, char *_namespace, v1_pod_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -39177,7 +39177,7 @@ CoreV1API_replaceNamespacedPodEphemeralcontainers(apiClient_t *apiClient, char * // replace status of the specified Pod // v1_pod_t* -CoreV1API_replaceNamespacedPodStatus(apiClient_t *apiClient, char * name , char * _namespace , v1_pod_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +CoreV1API_replaceNamespacedPodStatus(apiClient_t *apiClient, char *name, char *_namespace, v1_pod_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -39380,7 +39380,7 @@ CoreV1API_replaceNamespacedPodStatus(apiClient_t *apiClient, char * name , char // replace the specified PodTemplate // v1_pod_template_t* -CoreV1API_replaceNamespacedPodTemplate(apiClient_t *apiClient, char * name , char * _namespace , v1_pod_template_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +CoreV1API_replaceNamespacedPodTemplate(apiClient_t *apiClient, char *name, char *_namespace, v1_pod_template_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -39583,7 +39583,7 @@ CoreV1API_replaceNamespacedPodTemplate(apiClient_t *apiClient, char * name , cha // replace the specified ReplicationController // v1_replication_controller_t* -CoreV1API_replaceNamespacedReplicationController(apiClient_t *apiClient, char * name , char * _namespace , v1_replication_controller_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +CoreV1API_replaceNamespacedReplicationController(apiClient_t *apiClient, char *name, char *_namespace, v1_replication_controller_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -39786,7 +39786,7 @@ CoreV1API_replaceNamespacedReplicationController(apiClient_t *apiClient, char * // replace scale of the specified ReplicationController // v1_scale_t* -CoreV1API_replaceNamespacedReplicationControllerScale(apiClient_t *apiClient, char * name , char * _namespace , v1_scale_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +CoreV1API_replaceNamespacedReplicationControllerScale(apiClient_t *apiClient, char *name, char *_namespace, v1_scale_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -39989,7 +39989,7 @@ CoreV1API_replaceNamespacedReplicationControllerScale(apiClient_t *apiClient, ch // replace status of the specified ReplicationController // v1_replication_controller_t* -CoreV1API_replaceNamespacedReplicationControllerStatus(apiClient_t *apiClient, char * name , char * _namespace , v1_replication_controller_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +CoreV1API_replaceNamespacedReplicationControllerStatus(apiClient_t *apiClient, char *name, char *_namespace, v1_replication_controller_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -40192,7 +40192,7 @@ CoreV1API_replaceNamespacedReplicationControllerStatus(apiClient_t *apiClient, c // replace the specified ResourceQuota // v1_resource_quota_t* -CoreV1API_replaceNamespacedResourceQuota(apiClient_t *apiClient, char * name , char * _namespace , v1_resource_quota_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +CoreV1API_replaceNamespacedResourceQuota(apiClient_t *apiClient, char *name, char *_namespace, v1_resource_quota_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -40395,7 +40395,7 @@ CoreV1API_replaceNamespacedResourceQuota(apiClient_t *apiClient, char * name , c // replace status of the specified ResourceQuota // v1_resource_quota_t* -CoreV1API_replaceNamespacedResourceQuotaStatus(apiClient_t *apiClient, char * name , char * _namespace , v1_resource_quota_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +CoreV1API_replaceNamespacedResourceQuotaStatus(apiClient_t *apiClient, char *name, char *_namespace, v1_resource_quota_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -40598,7 +40598,7 @@ CoreV1API_replaceNamespacedResourceQuotaStatus(apiClient_t *apiClient, char * na // replace the specified Secret // v1_secret_t* -CoreV1API_replaceNamespacedSecret(apiClient_t *apiClient, char * name , char * _namespace , v1_secret_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +CoreV1API_replaceNamespacedSecret(apiClient_t *apiClient, char *name, char *_namespace, v1_secret_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -40801,7 +40801,7 @@ CoreV1API_replaceNamespacedSecret(apiClient_t *apiClient, char * name , char * _ // replace the specified Service // v1_service_t* -CoreV1API_replaceNamespacedService(apiClient_t *apiClient, char * name , char * _namespace , v1_service_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +CoreV1API_replaceNamespacedService(apiClient_t *apiClient, char *name, char *_namespace, v1_service_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -41004,7 +41004,7 @@ CoreV1API_replaceNamespacedService(apiClient_t *apiClient, char * name , char * // replace the specified ServiceAccount // v1_service_account_t* -CoreV1API_replaceNamespacedServiceAccount(apiClient_t *apiClient, char * name , char * _namespace , v1_service_account_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +CoreV1API_replaceNamespacedServiceAccount(apiClient_t *apiClient, char *name, char *_namespace, v1_service_account_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -41207,7 +41207,7 @@ CoreV1API_replaceNamespacedServiceAccount(apiClient_t *apiClient, char * name , // replace status of the specified Service // v1_service_t* -CoreV1API_replaceNamespacedServiceStatus(apiClient_t *apiClient, char * name , char * _namespace , v1_service_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +CoreV1API_replaceNamespacedServiceStatus(apiClient_t *apiClient, char *name, char *_namespace, v1_service_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -41410,7 +41410,7 @@ CoreV1API_replaceNamespacedServiceStatus(apiClient_t *apiClient, char * name , c // replace the specified Node // v1_node_t* -CoreV1API_replaceNode(apiClient_t *apiClient, char * name , v1_node_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +CoreV1API_replaceNode(apiClient_t *apiClient, char *name, v1_node_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -41602,7 +41602,7 @@ CoreV1API_replaceNode(apiClient_t *apiClient, char * name , v1_node_t * body , c // replace status of the specified Node // v1_node_t* -CoreV1API_replaceNodeStatus(apiClient_t *apiClient, char * name , v1_node_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +CoreV1API_replaceNodeStatus(apiClient_t *apiClient, char *name, v1_node_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -41794,7 +41794,7 @@ CoreV1API_replaceNodeStatus(apiClient_t *apiClient, char * name , v1_node_t * bo // replace the specified PersistentVolume // v1_persistent_volume_t* -CoreV1API_replacePersistentVolume(apiClient_t *apiClient, char * name , v1_persistent_volume_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +CoreV1API_replacePersistentVolume(apiClient_t *apiClient, char *name, v1_persistent_volume_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -41986,7 +41986,7 @@ CoreV1API_replacePersistentVolume(apiClient_t *apiClient, char * name , v1_persi // replace status of the specified PersistentVolume // v1_persistent_volume_t* -CoreV1API_replacePersistentVolumeStatus(apiClient_t *apiClient, char * name , v1_persistent_volume_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +CoreV1API_replacePersistentVolumeStatus(apiClient_t *apiClient, char *name, v1_persistent_volume_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; diff --git a/kubernetes/api/CoreV1API.h b/kubernetes/api/CoreV1API.h index 70ca8dc0..e88b7812 100644 --- a/kubernetes/api/CoreV1API.h +++ b/kubernetes/api/CoreV1API.h @@ -50,577 +50,577 @@ // connect DELETE requests to proxy of Pod // char* -CoreV1API_connectDeleteNamespacedPodProxy(apiClient_t *apiClient, char * name , char * _namespace , char * path ); +CoreV1API_connectDeleteNamespacedPodProxy(apiClient_t *apiClient, char *name, char *_namespace, char *path); // connect DELETE requests to proxy of Pod // char* -CoreV1API_connectDeleteNamespacedPodProxyWithPath(apiClient_t *apiClient, char * name , char * _namespace , char * path , char * path2 ); +CoreV1API_connectDeleteNamespacedPodProxyWithPath(apiClient_t *apiClient, char *name, char *_namespace, char *path, char *path2); // connect DELETE requests to proxy of Service // char* -CoreV1API_connectDeleteNamespacedServiceProxy(apiClient_t *apiClient, char * name , char * _namespace , char * path ); +CoreV1API_connectDeleteNamespacedServiceProxy(apiClient_t *apiClient, char *name, char *_namespace, char *path); // connect DELETE requests to proxy of Service // char* -CoreV1API_connectDeleteNamespacedServiceProxyWithPath(apiClient_t *apiClient, char * name , char * _namespace , char * path , char * path2 ); +CoreV1API_connectDeleteNamespacedServiceProxyWithPath(apiClient_t *apiClient, char *name, char *_namespace, char *path, char *path2); // connect DELETE requests to proxy of Node // char* -CoreV1API_connectDeleteNodeProxy(apiClient_t *apiClient, char * name , char * path ); +CoreV1API_connectDeleteNodeProxy(apiClient_t *apiClient, char *name, char *path); // connect DELETE requests to proxy of Node // char* -CoreV1API_connectDeleteNodeProxyWithPath(apiClient_t *apiClient, char * name , char * path , char * path2 ); +CoreV1API_connectDeleteNodeProxyWithPath(apiClient_t *apiClient, char *name, char *path, char *path2); // connect GET requests to attach of Pod // char* -CoreV1API_connectGetNamespacedPodAttach(apiClient_t *apiClient, char * name , char * _namespace , char * container , int _stderr , int _stdin , int _stdout , int tty ); +CoreV1API_connectGetNamespacedPodAttach(apiClient_t *apiClient, char *name, char *_namespace, char *container, int *_stderr, int *_stdin, int *_stdout, int *tty); // connect GET requests to exec of Pod // char* -CoreV1API_connectGetNamespacedPodExec(apiClient_t *apiClient, char * name , char * _namespace , char * command , char * container , int _stderr , int _stdin , int _stdout , int tty ); +CoreV1API_connectGetNamespacedPodExec(apiClient_t *apiClient, char *name, char *_namespace, char *command, char *container, int *_stderr, int *_stdin, int *_stdout, int *tty); // connect GET requests to portforward of Pod // char* -CoreV1API_connectGetNamespacedPodPortforward(apiClient_t *apiClient, char * name , char * _namespace , int ports ); +CoreV1API_connectGetNamespacedPodPortforward(apiClient_t *apiClient, char *name, char *_namespace, int *ports); // connect GET requests to proxy of Pod // char* -CoreV1API_connectGetNamespacedPodProxy(apiClient_t *apiClient, char * name , char * _namespace , char * path ); +CoreV1API_connectGetNamespacedPodProxy(apiClient_t *apiClient, char *name, char *_namespace, char *path); // connect GET requests to proxy of Pod // char* -CoreV1API_connectGetNamespacedPodProxyWithPath(apiClient_t *apiClient, char * name , char * _namespace , char * path , char * path2 ); +CoreV1API_connectGetNamespacedPodProxyWithPath(apiClient_t *apiClient, char *name, char *_namespace, char *path, char *path2); // connect GET requests to proxy of Service // char* -CoreV1API_connectGetNamespacedServiceProxy(apiClient_t *apiClient, char * name , char * _namespace , char * path ); +CoreV1API_connectGetNamespacedServiceProxy(apiClient_t *apiClient, char *name, char *_namespace, char *path); // connect GET requests to proxy of Service // char* -CoreV1API_connectGetNamespacedServiceProxyWithPath(apiClient_t *apiClient, char * name , char * _namespace , char * path , char * path2 ); +CoreV1API_connectGetNamespacedServiceProxyWithPath(apiClient_t *apiClient, char *name, char *_namespace, char *path, char *path2); // connect GET requests to proxy of Node // char* -CoreV1API_connectGetNodeProxy(apiClient_t *apiClient, char * name , char * path ); +CoreV1API_connectGetNodeProxy(apiClient_t *apiClient, char *name, char *path); // connect GET requests to proxy of Node // char* -CoreV1API_connectGetNodeProxyWithPath(apiClient_t *apiClient, char * name , char * path , char * path2 ); +CoreV1API_connectGetNodeProxyWithPath(apiClient_t *apiClient, char *name, char *path, char *path2); // connect HEAD requests to proxy of Pod // char* -CoreV1API_connectHeadNamespacedPodProxy(apiClient_t *apiClient, char * name , char * _namespace , char * path ); +CoreV1API_connectHeadNamespacedPodProxy(apiClient_t *apiClient, char *name, char *_namespace, char *path); // connect HEAD requests to proxy of Pod // char* -CoreV1API_connectHeadNamespacedPodProxyWithPath(apiClient_t *apiClient, char * name , char * _namespace , char * path , char * path2 ); +CoreV1API_connectHeadNamespacedPodProxyWithPath(apiClient_t *apiClient, char *name, char *_namespace, char *path, char *path2); // connect HEAD requests to proxy of Service // char* -CoreV1API_connectHeadNamespacedServiceProxy(apiClient_t *apiClient, char * name , char * _namespace , char * path ); +CoreV1API_connectHeadNamespacedServiceProxy(apiClient_t *apiClient, char *name, char *_namespace, char *path); // connect HEAD requests to proxy of Service // char* -CoreV1API_connectHeadNamespacedServiceProxyWithPath(apiClient_t *apiClient, char * name , char * _namespace , char * path , char * path2 ); +CoreV1API_connectHeadNamespacedServiceProxyWithPath(apiClient_t *apiClient, char *name, char *_namespace, char *path, char *path2); // connect HEAD requests to proxy of Node // char* -CoreV1API_connectHeadNodeProxy(apiClient_t *apiClient, char * name , char * path ); +CoreV1API_connectHeadNodeProxy(apiClient_t *apiClient, char *name, char *path); // connect HEAD requests to proxy of Node // char* -CoreV1API_connectHeadNodeProxyWithPath(apiClient_t *apiClient, char * name , char * path , char * path2 ); +CoreV1API_connectHeadNodeProxyWithPath(apiClient_t *apiClient, char *name, char *path, char *path2); // connect OPTIONS requests to proxy of Pod // char* -CoreV1API_connectOptionsNamespacedPodProxy(apiClient_t *apiClient, char * name , char * _namespace , char * path ); +CoreV1API_connectOptionsNamespacedPodProxy(apiClient_t *apiClient, char *name, char *_namespace, char *path); // connect OPTIONS requests to proxy of Pod // char* -CoreV1API_connectOptionsNamespacedPodProxyWithPath(apiClient_t *apiClient, char * name , char * _namespace , char * path , char * path2 ); +CoreV1API_connectOptionsNamespacedPodProxyWithPath(apiClient_t *apiClient, char *name, char *_namespace, char *path, char *path2); // connect OPTIONS requests to proxy of Service // char* -CoreV1API_connectOptionsNamespacedServiceProxy(apiClient_t *apiClient, char * name , char * _namespace , char * path ); +CoreV1API_connectOptionsNamespacedServiceProxy(apiClient_t *apiClient, char *name, char *_namespace, char *path); // connect OPTIONS requests to proxy of Service // char* -CoreV1API_connectOptionsNamespacedServiceProxyWithPath(apiClient_t *apiClient, char * name , char * _namespace , char * path , char * path2 ); +CoreV1API_connectOptionsNamespacedServiceProxyWithPath(apiClient_t *apiClient, char *name, char *_namespace, char *path, char *path2); // connect OPTIONS requests to proxy of Node // char* -CoreV1API_connectOptionsNodeProxy(apiClient_t *apiClient, char * name , char * path ); +CoreV1API_connectOptionsNodeProxy(apiClient_t *apiClient, char *name, char *path); // connect OPTIONS requests to proxy of Node // char* -CoreV1API_connectOptionsNodeProxyWithPath(apiClient_t *apiClient, char * name , char * path , char * path2 ); +CoreV1API_connectOptionsNodeProxyWithPath(apiClient_t *apiClient, char *name, char *path, char *path2); // connect PATCH requests to proxy of Pod // char* -CoreV1API_connectPatchNamespacedPodProxy(apiClient_t *apiClient, char * name , char * _namespace , char * path ); +CoreV1API_connectPatchNamespacedPodProxy(apiClient_t *apiClient, char *name, char *_namespace, char *path); // connect PATCH requests to proxy of Pod // char* -CoreV1API_connectPatchNamespacedPodProxyWithPath(apiClient_t *apiClient, char * name , char * _namespace , char * path , char * path2 ); +CoreV1API_connectPatchNamespacedPodProxyWithPath(apiClient_t *apiClient, char *name, char *_namespace, char *path, char *path2); // connect PATCH requests to proxy of Service // char* -CoreV1API_connectPatchNamespacedServiceProxy(apiClient_t *apiClient, char * name , char * _namespace , char * path ); +CoreV1API_connectPatchNamespacedServiceProxy(apiClient_t *apiClient, char *name, char *_namespace, char *path); // connect PATCH requests to proxy of Service // char* -CoreV1API_connectPatchNamespacedServiceProxyWithPath(apiClient_t *apiClient, char * name , char * _namespace , char * path , char * path2 ); +CoreV1API_connectPatchNamespacedServiceProxyWithPath(apiClient_t *apiClient, char *name, char *_namespace, char *path, char *path2); // connect PATCH requests to proxy of Node // char* -CoreV1API_connectPatchNodeProxy(apiClient_t *apiClient, char * name , char * path ); +CoreV1API_connectPatchNodeProxy(apiClient_t *apiClient, char *name, char *path); // connect PATCH requests to proxy of Node // char* -CoreV1API_connectPatchNodeProxyWithPath(apiClient_t *apiClient, char * name , char * path , char * path2 ); +CoreV1API_connectPatchNodeProxyWithPath(apiClient_t *apiClient, char *name, char *path, char *path2); // connect POST requests to attach of Pod // char* -CoreV1API_connectPostNamespacedPodAttach(apiClient_t *apiClient, char * name , char * _namespace , char * container , int _stderr , int _stdin , int _stdout , int tty ); +CoreV1API_connectPostNamespacedPodAttach(apiClient_t *apiClient, char *name, char *_namespace, char *container, int *_stderr, int *_stdin, int *_stdout, int *tty); // connect POST requests to exec of Pod // char* -CoreV1API_connectPostNamespacedPodExec(apiClient_t *apiClient, char * name , char * _namespace , char * command , char * container , int _stderr , int _stdin , int _stdout , int tty ); +CoreV1API_connectPostNamespacedPodExec(apiClient_t *apiClient, char *name, char *_namespace, char *command, char *container, int *_stderr, int *_stdin, int *_stdout, int *tty); // connect POST requests to portforward of Pod // char* -CoreV1API_connectPostNamespacedPodPortforward(apiClient_t *apiClient, char * name , char * _namespace , int ports ); +CoreV1API_connectPostNamespacedPodPortforward(apiClient_t *apiClient, char *name, char *_namespace, int *ports); // connect POST requests to proxy of Pod // char* -CoreV1API_connectPostNamespacedPodProxy(apiClient_t *apiClient, char * name , char * _namespace , char * path ); +CoreV1API_connectPostNamespacedPodProxy(apiClient_t *apiClient, char *name, char *_namespace, char *path); // connect POST requests to proxy of Pod // char* -CoreV1API_connectPostNamespacedPodProxyWithPath(apiClient_t *apiClient, char * name , char * _namespace , char * path , char * path2 ); +CoreV1API_connectPostNamespacedPodProxyWithPath(apiClient_t *apiClient, char *name, char *_namespace, char *path, char *path2); // connect POST requests to proxy of Service // char* -CoreV1API_connectPostNamespacedServiceProxy(apiClient_t *apiClient, char * name , char * _namespace , char * path ); +CoreV1API_connectPostNamespacedServiceProxy(apiClient_t *apiClient, char *name, char *_namespace, char *path); // connect POST requests to proxy of Service // char* -CoreV1API_connectPostNamespacedServiceProxyWithPath(apiClient_t *apiClient, char * name , char * _namespace , char * path , char * path2 ); +CoreV1API_connectPostNamespacedServiceProxyWithPath(apiClient_t *apiClient, char *name, char *_namespace, char *path, char *path2); // connect POST requests to proxy of Node // char* -CoreV1API_connectPostNodeProxy(apiClient_t *apiClient, char * name , char * path ); +CoreV1API_connectPostNodeProxy(apiClient_t *apiClient, char *name, char *path); // connect POST requests to proxy of Node // char* -CoreV1API_connectPostNodeProxyWithPath(apiClient_t *apiClient, char * name , char * path , char * path2 ); +CoreV1API_connectPostNodeProxyWithPath(apiClient_t *apiClient, char *name, char *path, char *path2); // connect PUT requests to proxy of Pod // char* -CoreV1API_connectPutNamespacedPodProxy(apiClient_t *apiClient, char * name , char * _namespace , char * path ); +CoreV1API_connectPutNamespacedPodProxy(apiClient_t *apiClient, char *name, char *_namespace, char *path); // connect PUT requests to proxy of Pod // char* -CoreV1API_connectPutNamespacedPodProxyWithPath(apiClient_t *apiClient, char * name , char * _namespace , char * path , char * path2 ); +CoreV1API_connectPutNamespacedPodProxyWithPath(apiClient_t *apiClient, char *name, char *_namespace, char *path, char *path2); // connect PUT requests to proxy of Service // char* -CoreV1API_connectPutNamespacedServiceProxy(apiClient_t *apiClient, char * name , char * _namespace , char * path ); +CoreV1API_connectPutNamespacedServiceProxy(apiClient_t *apiClient, char *name, char *_namespace, char *path); // connect PUT requests to proxy of Service // char* -CoreV1API_connectPutNamespacedServiceProxyWithPath(apiClient_t *apiClient, char * name , char * _namespace , char * path , char * path2 ); +CoreV1API_connectPutNamespacedServiceProxyWithPath(apiClient_t *apiClient, char *name, char *_namespace, char *path, char *path2); // connect PUT requests to proxy of Node // char* -CoreV1API_connectPutNodeProxy(apiClient_t *apiClient, char * name , char * path ); +CoreV1API_connectPutNodeProxy(apiClient_t *apiClient, char *name, char *path); // connect PUT requests to proxy of Node // char* -CoreV1API_connectPutNodeProxyWithPath(apiClient_t *apiClient, char * name , char * path , char * path2 ); +CoreV1API_connectPutNodeProxyWithPath(apiClient_t *apiClient, char *name, char *path, char *path2); // create a Namespace // v1_namespace_t* -CoreV1API_createNamespace(apiClient_t *apiClient, v1_namespace_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +CoreV1API_createNamespace(apiClient_t *apiClient, v1_namespace_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // create a Binding // v1_binding_t* -CoreV1API_createNamespacedBinding(apiClient_t *apiClient, char * _namespace , v1_binding_t * body , char * dryRun , char * fieldManager , char * fieldValidation , char * pretty ); +CoreV1API_createNamespacedBinding(apiClient_t *apiClient, char *_namespace, v1_binding_t *body, char *dryRun, char *fieldManager, char *fieldValidation, char *pretty); // create a ConfigMap // v1_config_map_t* -CoreV1API_createNamespacedConfigMap(apiClient_t *apiClient, char * _namespace , v1_config_map_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +CoreV1API_createNamespacedConfigMap(apiClient_t *apiClient, char *_namespace, v1_config_map_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // create Endpoints // v1_endpoints_t* -CoreV1API_createNamespacedEndpoints(apiClient_t *apiClient, char * _namespace , v1_endpoints_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +CoreV1API_createNamespacedEndpoints(apiClient_t *apiClient, char *_namespace, v1_endpoints_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // create an Event // core_v1_event_t* -CoreV1API_createNamespacedEvent(apiClient_t *apiClient, char * _namespace , core_v1_event_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +CoreV1API_createNamespacedEvent(apiClient_t *apiClient, char *_namespace, core_v1_event_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // create a LimitRange // v1_limit_range_t* -CoreV1API_createNamespacedLimitRange(apiClient_t *apiClient, char * _namespace , v1_limit_range_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +CoreV1API_createNamespacedLimitRange(apiClient_t *apiClient, char *_namespace, v1_limit_range_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // create a PersistentVolumeClaim // v1_persistent_volume_claim_t* -CoreV1API_createNamespacedPersistentVolumeClaim(apiClient_t *apiClient, char * _namespace , v1_persistent_volume_claim_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +CoreV1API_createNamespacedPersistentVolumeClaim(apiClient_t *apiClient, char *_namespace, v1_persistent_volume_claim_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // create a Pod // v1_pod_t* -CoreV1API_createNamespacedPod(apiClient_t *apiClient, char * _namespace , v1_pod_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +CoreV1API_createNamespacedPod(apiClient_t *apiClient, char *_namespace, v1_pod_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // create binding of a Pod // v1_binding_t* -CoreV1API_createNamespacedPodBinding(apiClient_t *apiClient, char * name , char * _namespace , v1_binding_t * body , char * dryRun , char * fieldManager , char * fieldValidation , char * pretty ); +CoreV1API_createNamespacedPodBinding(apiClient_t *apiClient, char *name, char *_namespace, v1_binding_t *body, char *dryRun, char *fieldManager, char *fieldValidation, char *pretty); // create eviction of a Pod // v1_eviction_t* -CoreV1API_createNamespacedPodEviction(apiClient_t *apiClient, char * name , char * _namespace , v1_eviction_t * body , char * dryRun , char * fieldManager , char * fieldValidation , char * pretty ); +CoreV1API_createNamespacedPodEviction(apiClient_t *apiClient, char *name, char *_namespace, v1_eviction_t *body, char *dryRun, char *fieldManager, char *fieldValidation, char *pretty); // create a PodTemplate // v1_pod_template_t* -CoreV1API_createNamespacedPodTemplate(apiClient_t *apiClient, char * _namespace , v1_pod_template_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +CoreV1API_createNamespacedPodTemplate(apiClient_t *apiClient, char *_namespace, v1_pod_template_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // create a ReplicationController // v1_replication_controller_t* -CoreV1API_createNamespacedReplicationController(apiClient_t *apiClient, char * _namespace , v1_replication_controller_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +CoreV1API_createNamespacedReplicationController(apiClient_t *apiClient, char *_namespace, v1_replication_controller_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // create a ResourceQuota // v1_resource_quota_t* -CoreV1API_createNamespacedResourceQuota(apiClient_t *apiClient, char * _namespace , v1_resource_quota_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +CoreV1API_createNamespacedResourceQuota(apiClient_t *apiClient, char *_namespace, v1_resource_quota_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // create a Secret // v1_secret_t* -CoreV1API_createNamespacedSecret(apiClient_t *apiClient, char * _namespace , v1_secret_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +CoreV1API_createNamespacedSecret(apiClient_t *apiClient, char *_namespace, v1_secret_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // create a Service // v1_service_t* -CoreV1API_createNamespacedService(apiClient_t *apiClient, char * _namespace , v1_service_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +CoreV1API_createNamespacedService(apiClient_t *apiClient, char *_namespace, v1_service_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // create a ServiceAccount // v1_service_account_t* -CoreV1API_createNamespacedServiceAccount(apiClient_t *apiClient, char * _namespace , v1_service_account_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +CoreV1API_createNamespacedServiceAccount(apiClient_t *apiClient, char *_namespace, v1_service_account_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // create token of a ServiceAccount // authentication_v1_token_request_t* -CoreV1API_createNamespacedServiceAccountToken(apiClient_t *apiClient, char * name , char * _namespace , authentication_v1_token_request_t * body , char * dryRun , char * fieldManager , char * fieldValidation , char * pretty ); +CoreV1API_createNamespacedServiceAccountToken(apiClient_t *apiClient, char *name, char *_namespace, authentication_v1_token_request_t *body, char *dryRun, char *fieldManager, char *fieldValidation, char *pretty); // create a Node // v1_node_t* -CoreV1API_createNode(apiClient_t *apiClient, v1_node_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +CoreV1API_createNode(apiClient_t *apiClient, v1_node_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // create a PersistentVolume // v1_persistent_volume_t* -CoreV1API_createPersistentVolume(apiClient_t *apiClient, v1_persistent_volume_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +CoreV1API_createPersistentVolume(apiClient_t *apiClient, v1_persistent_volume_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // delete collection of ConfigMap // v1_status_t* -CoreV1API_deleteCollectionNamespacedConfigMap(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +CoreV1API_deleteCollectionNamespacedConfigMap(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); // delete collection of Endpoints // v1_status_t* -CoreV1API_deleteCollectionNamespacedEndpoints(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +CoreV1API_deleteCollectionNamespacedEndpoints(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); // delete collection of Event // v1_status_t* -CoreV1API_deleteCollectionNamespacedEvent(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +CoreV1API_deleteCollectionNamespacedEvent(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); // delete collection of LimitRange // v1_status_t* -CoreV1API_deleteCollectionNamespacedLimitRange(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +CoreV1API_deleteCollectionNamespacedLimitRange(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); // delete collection of PersistentVolumeClaim // v1_status_t* -CoreV1API_deleteCollectionNamespacedPersistentVolumeClaim(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +CoreV1API_deleteCollectionNamespacedPersistentVolumeClaim(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); // delete collection of Pod // v1_status_t* -CoreV1API_deleteCollectionNamespacedPod(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +CoreV1API_deleteCollectionNamespacedPod(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); // delete collection of PodTemplate // v1_status_t* -CoreV1API_deleteCollectionNamespacedPodTemplate(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +CoreV1API_deleteCollectionNamespacedPodTemplate(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); // delete collection of ReplicationController // v1_status_t* -CoreV1API_deleteCollectionNamespacedReplicationController(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +CoreV1API_deleteCollectionNamespacedReplicationController(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); // delete collection of ResourceQuota // v1_status_t* -CoreV1API_deleteCollectionNamespacedResourceQuota(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +CoreV1API_deleteCollectionNamespacedResourceQuota(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); // delete collection of Secret // v1_status_t* -CoreV1API_deleteCollectionNamespacedSecret(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +CoreV1API_deleteCollectionNamespacedSecret(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); // delete collection of Service // v1_status_t* -CoreV1API_deleteCollectionNamespacedService(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +CoreV1API_deleteCollectionNamespacedService(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); // delete collection of ServiceAccount // v1_status_t* -CoreV1API_deleteCollectionNamespacedServiceAccount(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +CoreV1API_deleteCollectionNamespacedServiceAccount(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); // delete collection of Node // v1_status_t* -CoreV1API_deleteCollectionNode(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +CoreV1API_deleteCollectionNode(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); // delete collection of PersistentVolume // v1_status_t* -CoreV1API_deleteCollectionPersistentVolume(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +CoreV1API_deleteCollectionPersistentVolume(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); // delete a Namespace // v1_status_t* -CoreV1API_deleteNamespace(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +CoreV1API_deleteNamespace(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // delete a ConfigMap // v1_status_t* -CoreV1API_deleteNamespacedConfigMap(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +CoreV1API_deleteNamespacedConfigMap(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // delete Endpoints // v1_status_t* -CoreV1API_deleteNamespacedEndpoints(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +CoreV1API_deleteNamespacedEndpoints(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // delete an Event // v1_status_t* -CoreV1API_deleteNamespacedEvent(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +CoreV1API_deleteNamespacedEvent(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // delete a LimitRange // v1_status_t* -CoreV1API_deleteNamespacedLimitRange(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +CoreV1API_deleteNamespacedLimitRange(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // delete a PersistentVolumeClaim // v1_persistent_volume_claim_t* -CoreV1API_deleteNamespacedPersistentVolumeClaim(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +CoreV1API_deleteNamespacedPersistentVolumeClaim(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // delete a Pod // v1_pod_t* -CoreV1API_deleteNamespacedPod(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +CoreV1API_deleteNamespacedPod(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // delete a PodTemplate // v1_pod_template_t* -CoreV1API_deleteNamespacedPodTemplate(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +CoreV1API_deleteNamespacedPodTemplate(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // delete a ReplicationController // v1_status_t* -CoreV1API_deleteNamespacedReplicationController(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +CoreV1API_deleteNamespacedReplicationController(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // delete a ResourceQuota // v1_resource_quota_t* -CoreV1API_deleteNamespacedResourceQuota(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +CoreV1API_deleteNamespacedResourceQuota(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // delete a Secret // v1_status_t* -CoreV1API_deleteNamespacedSecret(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +CoreV1API_deleteNamespacedSecret(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // delete a Service // v1_service_t* -CoreV1API_deleteNamespacedService(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +CoreV1API_deleteNamespacedService(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // delete a ServiceAccount // v1_service_account_t* -CoreV1API_deleteNamespacedServiceAccount(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +CoreV1API_deleteNamespacedServiceAccount(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // delete a Node // v1_status_t* -CoreV1API_deleteNode(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +CoreV1API_deleteNode(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // delete a PersistentVolume // v1_persistent_volume_t* -CoreV1API_deletePersistentVolume(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +CoreV1API_deletePersistentVolume(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // get available resources @@ -632,636 +632,636 @@ CoreV1API_getAPIResources(apiClient_t *apiClient); // list objects of kind ComponentStatus // v1_component_status_list_t* -CoreV1API_listComponentStatus(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +CoreV1API_listComponentStatus(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind ConfigMap // v1_config_map_list_t* -CoreV1API_listConfigMapForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +CoreV1API_listConfigMapForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind Endpoints // v1_endpoints_list_t* -CoreV1API_listEndpointsForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +CoreV1API_listEndpointsForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind Event // core_v1_event_list_t* -CoreV1API_listEventForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +CoreV1API_listEventForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind LimitRange // v1_limit_range_list_t* -CoreV1API_listLimitRangeForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +CoreV1API_listLimitRangeForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind Namespace // v1_namespace_list_t* -CoreV1API_listNamespace(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +CoreV1API_listNamespace(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind ConfigMap // v1_config_map_list_t* -CoreV1API_listNamespacedConfigMap(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +CoreV1API_listNamespacedConfigMap(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind Endpoints // v1_endpoints_list_t* -CoreV1API_listNamespacedEndpoints(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +CoreV1API_listNamespacedEndpoints(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind Event // core_v1_event_list_t* -CoreV1API_listNamespacedEvent(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +CoreV1API_listNamespacedEvent(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind LimitRange // v1_limit_range_list_t* -CoreV1API_listNamespacedLimitRange(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +CoreV1API_listNamespacedLimitRange(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind PersistentVolumeClaim // v1_persistent_volume_claim_list_t* -CoreV1API_listNamespacedPersistentVolumeClaim(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +CoreV1API_listNamespacedPersistentVolumeClaim(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind Pod // v1_pod_list_t* -CoreV1API_listNamespacedPod(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +CoreV1API_listNamespacedPod(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind PodTemplate // v1_pod_template_list_t* -CoreV1API_listNamespacedPodTemplate(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +CoreV1API_listNamespacedPodTemplate(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind ReplicationController // v1_replication_controller_list_t* -CoreV1API_listNamespacedReplicationController(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +CoreV1API_listNamespacedReplicationController(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind ResourceQuota // v1_resource_quota_list_t* -CoreV1API_listNamespacedResourceQuota(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +CoreV1API_listNamespacedResourceQuota(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind Secret // v1_secret_list_t* -CoreV1API_listNamespacedSecret(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +CoreV1API_listNamespacedSecret(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind Service // v1_service_list_t* -CoreV1API_listNamespacedService(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +CoreV1API_listNamespacedService(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind ServiceAccount // v1_service_account_list_t* -CoreV1API_listNamespacedServiceAccount(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +CoreV1API_listNamespacedServiceAccount(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind Node // v1_node_list_t* -CoreV1API_listNode(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +CoreV1API_listNode(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind PersistentVolume // v1_persistent_volume_list_t* -CoreV1API_listPersistentVolume(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +CoreV1API_listPersistentVolume(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind PersistentVolumeClaim // v1_persistent_volume_claim_list_t* -CoreV1API_listPersistentVolumeClaimForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +CoreV1API_listPersistentVolumeClaimForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind Pod // v1_pod_list_t* -CoreV1API_listPodForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +CoreV1API_listPodForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind PodTemplate // v1_pod_template_list_t* -CoreV1API_listPodTemplateForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +CoreV1API_listPodTemplateForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind ReplicationController // v1_replication_controller_list_t* -CoreV1API_listReplicationControllerForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +CoreV1API_listReplicationControllerForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind ResourceQuota // v1_resource_quota_list_t* -CoreV1API_listResourceQuotaForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +CoreV1API_listResourceQuotaForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind Secret // v1_secret_list_t* -CoreV1API_listSecretForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +CoreV1API_listSecretForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind ServiceAccount // v1_service_account_list_t* -CoreV1API_listServiceAccountForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +CoreV1API_listServiceAccountForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind Service // v1_service_list_t* -CoreV1API_listServiceForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +CoreV1API_listServiceForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // partially update the specified Namespace // v1_namespace_t* -CoreV1API_patchNamespace(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +CoreV1API_patchNamespace(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update status of the specified Namespace // v1_namespace_t* -CoreV1API_patchNamespaceStatus(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +CoreV1API_patchNamespaceStatus(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update the specified ConfigMap // v1_config_map_t* -CoreV1API_patchNamespacedConfigMap(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +CoreV1API_patchNamespacedConfigMap(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update the specified Endpoints // v1_endpoints_t* -CoreV1API_patchNamespacedEndpoints(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +CoreV1API_patchNamespacedEndpoints(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update the specified Event // core_v1_event_t* -CoreV1API_patchNamespacedEvent(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +CoreV1API_patchNamespacedEvent(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update the specified LimitRange // v1_limit_range_t* -CoreV1API_patchNamespacedLimitRange(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +CoreV1API_patchNamespacedLimitRange(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update the specified PersistentVolumeClaim // v1_persistent_volume_claim_t* -CoreV1API_patchNamespacedPersistentVolumeClaim(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +CoreV1API_patchNamespacedPersistentVolumeClaim(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update status of the specified PersistentVolumeClaim // v1_persistent_volume_claim_t* -CoreV1API_patchNamespacedPersistentVolumeClaimStatus(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +CoreV1API_patchNamespacedPersistentVolumeClaimStatus(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update the specified Pod // v1_pod_t* -CoreV1API_patchNamespacedPod(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +CoreV1API_patchNamespacedPod(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update ephemeralcontainers of the specified Pod // v1_pod_t* -CoreV1API_patchNamespacedPodEphemeralcontainers(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +CoreV1API_patchNamespacedPodEphemeralcontainers(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update status of the specified Pod // v1_pod_t* -CoreV1API_patchNamespacedPodStatus(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +CoreV1API_patchNamespacedPodStatus(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update the specified PodTemplate // v1_pod_template_t* -CoreV1API_patchNamespacedPodTemplate(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +CoreV1API_patchNamespacedPodTemplate(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update the specified ReplicationController // v1_replication_controller_t* -CoreV1API_patchNamespacedReplicationController(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +CoreV1API_patchNamespacedReplicationController(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update scale of the specified ReplicationController // v1_scale_t* -CoreV1API_patchNamespacedReplicationControllerScale(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +CoreV1API_patchNamespacedReplicationControllerScale(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update status of the specified ReplicationController // v1_replication_controller_t* -CoreV1API_patchNamespacedReplicationControllerStatus(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +CoreV1API_patchNamespacedReplicationControllerStatus(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update the specified ResourceQuota // v1_resource_quota_t* -CoreV1API_patchNamespacedResourceQuota(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +CoreV1API_patchNamespacedResourceQuota(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update status of the specified ResourceQuota // v1_resource_quota_t* -CoreV1API_patchNamespacedResourceQuotaStatus(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +CoreV1API_patchNamespacedResourceQuotaStatus(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update the specified Secret // v1_secret_t* -CoreV1API_patchNamespacedSecret(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +CoreV1API_patchNamespacedSecret(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update the specified Service // v1_service_t* -CoreV1API_patchNamespacedService(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +CoreV1API_patchNamespacedService(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update the specified ServiceAccount // v1_service_account_t* -CoreV1API_patchNamespacedServiceAccount(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +CoreV1API_patchNamespacedServiceAccount(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update status of the specified Service // v1_service_t* -CoreV1API_patchNamespacedServiceStatus(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +CoreV1API_patchNamespacedServiceStatus(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update the specified Node // v1_node_t* -CoreV1API_patchNode(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +CoreV1API_patchNode(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update status of the specified Node // v1_node_t* -CoreV1API_patchNodeStatus(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +CoreV1API_patchNodeStatus(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update the specified PersistentVolume // v1_persistent_volume_t* -CoreV1API_patchPersistentVolume(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +CoreV1API_patchPersistentVolume(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update status of the specified PersistentVolume // v1_persistent_volume_t* -CoreV1API_patchPersistentVolumeStatus(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +CoreV1API_patchPersistentVolumeStatus(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // read the specified ComponentStatus // v1_component_status_t* -CoreV1API_readComponentStatus(apiClient_t *apiClient, char * name , char * pretty ); +CoreV1API_readComponentStatus(apiClient_t *apiClient, char *name, char *pretty); // read the specified Namespace // v1_namespace_t* -CoreV1API_readNamespace(apiClient_t *apiClient, char * name , char * pretty ); +CoreV1API_readNamespace(apiClient_t *apiClient, char *name, char *pretty); // read status of the specified Namespace // v1_namespace_t* -CoreV1API_readNamespaceStatus(apiClient_t *apiClient, char * name , char * pretty ); +CoreV1API_readNamespaceStatus(apiClient_t *apiClient, char *name, char *pretty); // read the specified ConfigMap // v1_config_map_t* -CoreV1API_readNamespacedConfigMap(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ); +CoreV1API_readNamespacedConfigMap(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); // read the specified Endpoints // v1_endpoints_t* -CoreV1API_readNamespacedEndpoints(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ); +CoreV1API_readNamespacedEndpoints(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); // read the specified Event // core_v1_event_t* -CoreV1API_readNamespacedEvent(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ); +CoreV1API_readNamespacedEvent(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); // read the specified LimitRange // v1_limit_range_t* -CoreV1API_readNamespacedLimitRange(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ); +CoreV1API_readNamespacedLimitRange(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); // read the specified PersistentVolumeClaim // v1_persistent_volume_claim_t* -CoreV1API_readNamespacedPersistentVolumeClaim(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ); +CoreV1API_readNamespacedPersistentVolumeClaim(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); // read status of the specified PersistentVolumeClaim // v1_persistent_volume_claim_t* -CoreV1API_readNamespacedPersistentVolumeClaimStatus(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ); +CoreV1API_readNamespacedPersistentVolumeClaimStatus(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); // read the specified Pod // v1_pod_t* -CoreV1API_readNamespacedPod(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ); +CoreV1API_readNamespacedPod(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); // read ephemeralcontainers of the specified Pod // v1_pod_t* -CoreV1API_readNamespacedPodEphemeralcontainers(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ); +CoreV1API_readNamespacedPodEphemeralcontainers(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); // read log of the specified Pod // char* -CoreV1API_readNamespacedPodLog(apiClient_t *apiClient, char * name , char * _namespace , char * container , int follow , int insecureSkipTLSVerifyBackend , int limitBytes , char * pretty , int previous , int sinceSeconds , int tailLines , int timestamps ); +CoreV1API_readNamespacedPodLog(apiClient_t *apiClient, char *name, char *_namespace, char *container, int *follow, int *insecureSkipTLSVerifyBackend, int *limitBytes, char *pretty, int *previous, int *sinceSeconds, int *tailLines, int *timestamps); // read status of the specified Pod // v1_pod_t* -CoreV1API_readNamespacedPodStatus(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ); +CoreV1API_readNamespacedPodStatus(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); // read the specified PodTemplate // v1_pod_template_t* -CoreV1API_readNamespacedPodTemplate(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ); +CoreV1API_readNamespacedPodTemplate(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); // read the specified ReplicationController // v1_replication_controller_t* -CoreV1API_readNamespacedReplicationController(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ); +CoreV1API_readNamespacedReplicationController(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); // read scale of the specified ReplicationController // v1_scale_t* -CoreV1API_readNamespacedReplicationControllerScale(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ); +CoreV1API_readNamespacedReplicationControllerScale(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); // read status of the specified ReplicationController // v1_replication_controller_t* -CoreV1API_readNamespacedReplicationControllerStatus(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ); +CoreV1API_readNamespacedReplicationControllerStatus(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); // read the specified ResourceQuota // v1_resource_quota_t* -CoreV1API_readNamespacedResourceQuota(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ); +CoreV1API_readNamespacedResourceQuota(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); // read status of the specified ResourceQuota // v1_resource_quota_t* -CoreV1API_readNamespacedResourceQuotaStatus(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ); +CoreV1API_readNamespacedResourceQuotaStatus(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); // read the specified Secret // v1_secret_t* -CoreV1API_readNamespacedSecret(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ); +CoreV1API_readNamespacedSecret(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); // read the specified Service // v1_service_t* -CoreV1API_readNamespacedService(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ); +CoreV1API_readNamespacedService(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); // read the specified ServiceAccount // v1_service_account_t* -CoreV1API_readNamespacedServiceAccount(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ); +CoreV1API_readNamespacedServiceAccount(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); // read status of the specified Service // v1_service_t* -CoreV1API_readNamespacedServiceStatus(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ); +CoreV1API_readNamespacedServiceStatus(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); // read the specified Node // v1_node_t* -CoreV1API_readNode(apiClient_t *apiClient, char * name , char * pretty ); +CoreV1API_readNode(apiClient_t *apiClient, char *name, char *pretty); // read status of the specified Node // v1_node_t* -CoreV1API_readNodeStatus(apiClient_t *apiClient, char * name , char * pretty ); +CoreV1API_readNodeStatus(apiClient_t *apiClient, char *name, char *pretty); // read the specified PersistentVolume // v1_persistent_volume_t* -CoreV1API_readPersistentVolume(apiClient_t *apiClient, char * name , char * pretty ); +CoreV1API_readPersistentVolume(apiClient_t *apiClient, char *name, char *pretty); // read status of the specified PersistentVolume // v1_persistent_volume_t* -CoreV1API_readPersistentVolumeStatus(apiClient_t *apiClient, char * name , char * pretty ); +CoreV1API_readPersistentVolumeStatus(apiClient_t *apiClient, char *name, char *pretty); // replace the specified Namespace // v1_namespace_t* -CoreV1API_replaceNamespace(apiClient_t *apiClient, char * name , v1_namespace_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +CoreV1API_replaceNamespace(apiClient_t *apiClient, char *name, v1_namespace_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace finalize of the specified Namespace // v1_namespace_t* -CoreV1API_replaceNamespaceFinalize(apiClient_t *apiClient, char * name , v1_namespace_t * body , char * dryRun , char * fieldManager , char * fieldValidation , char * pretty ); +CoreV1API_replaceNamespaceFinalize(apiClient_t *apiClient, char *name, v1_namespace_t *body, char *dryRun, char *fieldManager, char *fieldValidation, char *pretty); // replace status of the specified Namespace // v1_namespace_t* -CoreV1API_replaceNamespaceStatus(apiClient_t *apiClient, char * name , v1_namespace_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +CoreV1API_replaceNamespaceStatus(apiClient_t *apiClient, char *name, v1_namespace_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace the specified ConfigMap // v1_config_map_t* -CoreV1API_replaceNamespacedConfigMap(apiClient_t *apiClient, char * name , char * _namespace , v1_config_map_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +CoreV1API_replaceNamespacedConfigMap(apiClient_t *apiClient, char *name, char *_namespace, v1_config_map_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace the specified Endpoints // v1_endpoints_t* -CoreV1API_replaceNamespacedEndpoints(apiClient_t *apiClient, char * name , char * _namespace , v1_endpoints_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +CoreV1API_replaceNamespacedEndpoints(apiClient_t *apiClient, char *name, char *_namespace, v1_endpoints_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace the specified Event // core_v1_event_t* -CoreV1API_replaceNamespacedEvent(apiClient_t *apiClient, char * name , char * _namespace , core_v1_event_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +CoreV1API_replaceNamespacedEvent(apiClient_t *apiClient, char *name, char *_namespace, core_v1_event_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace the specified LimitRange // v1_limit_range_t* -CoreV1API_replaceNamespacedLimitRange(apiClient_t *apiClient, char * name , char * _namespace , v1_limit_range_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +CoreV1API_replaceNamespacedLimitRange(apiClient_t *apiClient, char *name, char *_namespace, v1_limit_range_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace the specified PersistentVolumeClaim // v1_persistent_volume_claim_t* -CoreV1API_replaceNamespacedPersistentVolumeClaim(apiClient_t *apiClient, char * name , char * _namespace , v1_persistent_volume_claim_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +CoreV1API_replaceNamespacedPersistentVolumeClaim(apiClient_t *apiClient, char *name, char *_namespace, v1_persistent_volume_claim_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace status of the specified PersistentVolumeClaim // v1_persistent_volume_claim_t* -CoreV1API_replaceNamespacedPersistentVolumeClaimStatus(apiClient_t *apiClient, char * name , char * _namespace , v1_persistent_volume_claim_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +CoreV1API_replaceNamespacedPersistentVolumeClaimStatus(apiClient_t *apiClient, char *name, char *_namespace, v1_persistent_volume_claim_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace the specified Pod // v1_pod_t* -CoreV1API_replaceNamespacedPod(apiClient_t *apiClient, char * name , char * _namespace , v1_pod_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +CoreV1API_replaceNamespacedPod(apiClient_t *apiClient, char *name, char *_namespace, v1_pod_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace ephemeralcontainers of the specified Pod // v1_pod_t* -CoreV1API_replaceNamespacedPodEphemeralcontainers(apiClient_t *apiClient, char * name , char * _namespace , v1_pod_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +CoreV1API_replaceNamespacedPodEphemeralcontainers(apiClient_t *apiClient, char *name, char *_namespace, v1_pod_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace status of the specified Pod // v1_pod_t* -CoreV1API_replaceNamespacedPodStatus(apiClient_t *apiClient, char * name , char * _namespace , v1_pod_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +CoreV1API_replaceNamespacedPodStatus(apiClient_t *apiClient, char *name, char *_namespace, v1_pod_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace the specified PodTemplate // v1_pod_template_t* -CoreV1API_replaceNamespacedPodTemplate(apiClient_t *apiClient, char * name , char * _namespace , v1_pod_template_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +CoreV1API_replaceNamespacedPodTemplate(apiClient_t *apiClient, char *name, char *_namespace, v1_pod_template_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace the specified ReplicationController // v1_replication_controller_t* -CoreV1API_replaceNamespacedReplicationController(apiClient_t *apiClient, char * name , char * _namespace , v1_replication_controller_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +CoreV1API_replaceNamespacedReplicationController(apiClient_t *apiClient, char *name, char *_namespace, v1_replication_controller_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace scale of the specified ReplicationController // v1_scale_t* -CoreV1API_replaceNamespacedReplicationControllerScale(apiClient_t *apiClient, char * name , char * _namespace , v1_scale_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +CoreV1API_replaceNamespacedReplicationControllerScale(apiClient_t *apiClient, char *name, char *_namespace, v1_scale_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace status of the specified ReplicationController // v1_replication_controller_t* -CoreV1API_replaceNamespacedReplicationControllerStatus(apiClient_t *apiClient, char * name , char * _namespace , v1_replication_controller_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +CoreV1API_replaceNamespacedReplicationControllerStatus(apiClient_t *apiClient, char *name, char *_namespace, v1_replication_controller_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace the specified ResourceQuota // v1_resource_quota_t* -CoreV1API_replaceNamespacedResourceQuota(apiClient_t *apiClient, char * name , char * _namespace , v1_resource_quota_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +CoreV1API_replaceNamespacedResourceQuota(apiClient_t *apiClient, char *name, char *_namespace, v1_resource_quota_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace status of the specified ResourceQuota // v1_resource_quota_t* -CoreV1API_replaceNamespacedResourceQuotaStatus(apiClient_t *apiClient, char * name , char * _namespace , v1_resource_quota_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +CoreV1API_replaceNamespacedResourceQuotaStatus(apiClient_t *apiClient, char *name, char *_namespace, v1_resource_quota_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace the specified Secret // v1_secret_t* -CoreV1API_replaceNamespacedSecret(apiClient_t *apiClient, char * name , char * _namespace , v1_secret_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +CoreV1API_replaceNamespacedSecret(apiClient_t *apiClient, char *name, char *_namespace, v1_secret_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace the specified Service // v1_service_t* -CoreV1API_replaceNamespacedService(apiClient_t *apiClient, char * name , char * _namespace , v1_service_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +CoreV1API_replaceNamespacedService(apiClient_t *apiClient, char *name, char *_namespace, v1_service_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace the specified ServiceAccount // v1_service_account_t* -CoreV1API_replaceNamespacedServiceAccount(apiClient_t *apiClient, char * name , char * _namespace , v1_service_account_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +CoreV1API_replaceNamespacedServiceAccount(apiClient_t *apiClient, char *name, char *_namespace, v1_service_account_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace status of the specified Service // v1_service_t* -CoreV1API_replaceNamespacedServiceStatus(apiClient_t *apiClient, char * name , char * _namespace , v1_service_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +CoreV1API_replaceNamespacedServiceStatus(apiClient_t *apiClient, char *name, char *_namespace, v1_service_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace the specified Node // v1_node_t* -CoreV1API_replaceNode(apiClient_t *apiClient, char * name , v1_node_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +CoreV1API_replaceNode(apiClient_t *apiClient, char *name, v1_node_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace status of the specified Node // v1_node_t* -CoreV1API_replaceNodeStatus(apiClient_t *apiClient, char * name , v1_node_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +CoreV1API_replaceNodeStatus(apiClient_t *apiClient, char *name, v1_node_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace the specified PersistentVolume // v1_persistent_volume_t* -CoreV1API_replacePersistentVolume(apiClient_t *apiClient, char * name , v1_persistent_volume_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +CoreV1API_replacePersistentVolume(apiClient_t *apiClient, char *name, v1_persistent_volume_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace status of the specified PersistentVolume // v1_persistent_volume_t* -CoreV1API_replacePersistentVolumeStatus(apiClient_t *apiClient, char * name , v1_persistent_volume_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +CoreV1API_replacePersistentVolumeStatus(apiClient_t *apiClient, char *name, v1_persistent_volume_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); diff --git a/kubernetes/api/CustomObjectsAPI.c b/kubernetes/api/CustomObjectsAPI.c index 35409f46..9a3e58f3 100644 --- a/kubernetes/api/CustomObjectsAPI.c +++ b/kubernetes/api/CustomObjectsAPI.c @@ -15,7 +15,7 @@ // Creates a cluster scoped Custom object // object_t* -CustomObjectsAPI_createClusterCustomObject(apiClient_t *apiClient, char * group , char * version , char * plural , object_t * body , char * pretty , char * dryRun , char * fieldManager ) +CustomObjectsAPI_createClusterCustomObject(apiClient_t *apiClient, char *group, char *version, char *plural, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -98,6 +98,18 @@ CustomObjectsAPI_createClusterCustomObject(apiClient_t *apiClient, char * group list_addElement(localVarQueryParameters,keyPairQuery_fieldManager); } + // query parameters + char *keyQuery_fieldValidation = NULL; + char * valueQuery_fieldValidation = NULL; + keyValuePair_t *keyPairQuery_fieldValidation = 0; + if (fieldValidation) + { + keyQuery_fieldValidation = strdup("fieldValidation"); + valueQuery_fieldValidation = strdup((fieldValidation)); + keyPairQuery_fieldValidation = keyValuePair_create(keyQuery_fieldValidation, valueQuery_fieldValidation); + list_addElement(localVarQueryParameters,keyPairQuery_fieldValidation); + } + // Body Param cJSON *localVarSingleItemJSON_body = NULL; if (body != NULL) @@ -189,6 +201,18 @@ CustomObjectsAPI_createClusterCustomObject(apiClient_t *apiClient, char * group keyValuePair_free(keyPairQuery_fieldManager); keyPairQuery_fieldManager = NULL; } + if(keyQuery_fieldValidation){ + free(keyQuery_fieldValidation); + keyQuery_fieldValidation = NULL; + } + if(valueQuery_fieldValidation){ + free(valueQuery_fieldValidation); + valueQuery_fieldValidation = NULL; + } + if(keyPairQuery_fieldValidation){ + keyValuePair_free(keyPairQuery_fieldValidation); + keyPairQuery_fieldValidation = NULL; + } return elementToReturn; end: free(localVarPath); @@ -199,7 +223,7 @@ CustomObjectsAPI_createClusterCustomObject(apiClient_t *apiClient, char * group // Creates a namespace scoped Custom object // object_t* -CustomObjectsAPI_createNamespacedCustomObject(apiClient_t *apiClient, char * group , char * version , char * _namespace , char * plural , object_t * body , char * pretty , char * dryRun , char * fieldManager ) +CustomObjectsAPI_createNamespacedCustomObject(apiClient_t *apiClient, char *group, char *version, char *_namespace, char *plural, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -292,6 +316,18 @@ CustomObjectsAPI_createNamespacedCustomObject(apiClient_t *apiClient, char * gro list_addElement(localVarQueryParameters,keyPairQuery_fieldManager); } + // query parameters + char *keyQuery_fieldValidation = NULL; + char * valueQuery_fieldValidation = NULL; + keyValuePair_t *keyPairQuery_fieldValidation = 0; + if (fieldValidation) + { + keyQuery_fieldValidation = strdup("fieldValidation"); + valueQuery_fieldValidation = strdup((fieldValidation)); + keyPairQuery_fieldValidation = keyValuePair_create(keyQuery_fieldValidation, valueQuery_fieldValidation); + list_addElement(localVarQueryParameters,keyPairQuery_fieldValidation); + } + // Body Param cJSON *localVarSingleItemJSON_body = NULL; if (body != NULL) @@ -384,6 +420,18 @@ CustomObjectsAPI_createNamespacedCustomObject(apiClient_t *apiClient, char * gro keyValuePair_free(keyPairQuery_fieldManager); keyPairQuery_fieldManager = NULL; } + if(keyQuery_fieldValidation){ + free(keyQuery_fieldValidation); + keyQuery_fieldValidation = NULL; + } + if(valueQuery_fieldValidation){ + free(valueQuery_fieldValidation); + valueQuery_fieldValidation = NULL; + } + if(keyPairQuery_fieldValidation){ + keyValuePair_free(keyPairQuery_fieldValidation); + keyPairQuery_fieldValidation = NULL; + } return elementToReturn; end: free(localVarPath); @@ -394,7 +442,7 @@ CustomObjectsAPI_createNamespacedCustomObject(apiClient_t *apiClient, char * gro // Deletes the specified cluster scoped custom object // object_t* -CustomObjectsAPI_deleteClusterCustomObject(apiClient_t *apiClient, char * group , char * version , char * plural , char * name , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , char * dryRun , v1_delete_options_t * body ) +CustomObjectsAPI_deleteClusterCustomObject(apiClient_t *apiClient, char *group, char *version, char *plural, char *name, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, char *dryRun, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -455,11 +503,11 @@ CustomObjectsAPI_deleteClusterCustomObject(apiClient_t *apiClient, char * group char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -468,11 +516,11 @@ CustomObjectsAPI_deleteClusterCustomObject(apiClient_t *apiClient, char * group char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -615,7 +663,7 @@ CustomObjectsAPI_deleteClusterCustomObject(apiClient_t *apiClient, char * group // Delete collection of cluster scoped custom objects // object_t* -CustomObjectsAPI_deleteCollectionClusterCustomObject(apiClient_t *apiClient, char * group , char * version , char * plural , char * pretty , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , char * dryRun , v1_delete_options_t * body ) +CustomObjectsAPI_deleteCollectionClusterCustomObject(apiClient_t *apiClient, char *group, char *version, char *plural, char *pretty, char *labelSelector, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, char *dryRun, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -674,15 +722,27 @@ CustomObjectsAPI_deleteCollectionClusterCustomObject(apiClient_t *apiClient, cha list_addElement(localVarQueryParameters,keyPairQuery_pretty); } + // query parameters + char *keyQuery_labelSelector = NULL; + char * valueQuery_labelSelector = NULL; + keyValuePair_t *keyPairQuery_labelSelector = 0; + if (labelSelector) + { + keyQuery_labelSelector = strdup("labelSelector"); + valueQuery_labelSelector = strdup((labelSelector)); + keyPairQuery_labelSelector = keyValuePair_create(keyQuery_labelSelector, valueQuery_labelSelector); + list_addElement(localVarQueryParameters,keyPairQuery_labelSelector); + } + // query parameters char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -691,11 +751,11 @@ CustomObjectsAPI_deleteCollectionClusterCustomObject(apiClient_t *apiClient, cha char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -791,6 +851,18 @@ CustomObjectsAPI_deleteCollectionClusterCustomObject(apiClient_t *apiClient, cha keyValuePair_free(keyPairQuery_pretty); keyPairQuery_pretty = NULL; } + if(keyQuery_labelSelector){ + free(keyQuery_labelSelector); + keyQuery_labelSelector = NULL; + } + if(valueQuery_labelSelector){ + free(valueQuery_labelSelector); + valueQuery_labelSelector = NULL; + } + if(keyPairQuery_labelSelector){ + keyValuePair_free(keyPairQuery_labelSelector); + keyPairQuery_labelSelector = NULL; + } if(keyQuery_gracePeriodSeconds){ free(keyQuery_gracePeriodSeconds); keyQuery_gracePeriodSeconds = NULL; @@ -849,7 +921,7 @@ CustomObjectsAPI_deleteCollectionClusterCustomObject(apiClient_t *apiClient, cha // Delete collection of namespace scoped custom objects // object_t* -CustomObjectsAPI_deleteCollectionNamespacedCustomObject(apiClient_t *apiClient, char * group , char * version , char * _namespace , char * plural , char * pretty , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , char * dryRun , v1_delete_options_t * body ) +CustomObjectsAPI_deleteCollectionNamespacedCustomObject(apiClient_t *apiClient, char *group, char *version, char *_namespace, char *plural, char *pretty, char *labelSelector, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, char *dryRun, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -918,15 +990,27 @@ CustomObjectsAPI_deleteCollectionNamespacedCustomObject(apiClient_t *apiClient, list_addElement(localVarQueryParameters,keyPairQuery_pretty); } + // query parameters + char *keyQuery_labelSelector = NULL; + char * valueQuery_labelSelector = NULL; + keyValuePair_t *keyPairQuery_labelSelector = 0; + if (labelSelector) + { + keyQuery_labelSelector = strdup("labelSelector"); + valueQuery_labelSelector = strdup((labelSelector)); + keyPairQuery_labelSelector = keyValuePair_create(keyQuery_labelSelector, valueQuery_labelSelector); + list_addElement(localVarQueryParameters,keyPairQuery_labelSelector); + } + // query parameters char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -935,11 +1019,11 @@ CustomObjectsAPI_deleteCollectionNamespacedCustomObject(apiClient_t *apiClient, char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -1036,6 +1120,18 @@ CustomObjectsAPI_deleteCollectionNamespacedCustomObject(apiClient_t *apiClient, keyValuePair_free(keyPairQuery_pretty); keyPairQuery_pretty = NULL; } + if(keyQuery_labelSelector){ + free(keyQuery_labelSelector); + keyQuery_labelSelector = NULL; + } + if(valueQuery_labelSelector){ + free(valueQuery_labelSelector); + valueQuery_labelSelector = NULL; + } + if(keyPairQuery_labelSelector){ + keyValuePair_free(keyPairQuery_labelSelector); + keyPairQuery_labelSelector = NULL; + } if(keyQuery_gracePeriodSeconds){ free(keyQuery_gracePeriodSeconds); keyQuery_gracePeriodSeconds = NULL; @@ -1094,7 +1190,7 @@ CustomObjectsAPI_deleteCollectionNamespacedCustomObject(apiClient_t *apiClient, // Deletes the specified namespace scoped custom object // object_t* -CustomObjectsAPI_deleteNamespacedCustomObject(apiClient_t *apiClient, char * group , char * version , char * _namespace , char * plural , char * name , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , char * dryRun , v1_delete_options_t * body ) +CustomObjectsAPI_deleteNamespacedCustomObject(apiClient_t *apiClient, char *group, char *version, char *_namespace, char *plural, char *name, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, char *dryRun, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1165,11 +1261,11 @@ CustomObjectsAPI_deleteNamespacedCustomObject(apiClient_t *apiClient, char * gro char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -1178,11 +1274,11 @@ CustomObjectsAPI_deleteNamespacedCustomObject(apiClient_t *apiClient, char * gro char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -1326,7 +1422,7 @@ CustomObjectsAPI_deleteNamespacedCustomObject(apiClient_t *apiClient, char * gro // get available resources // v1_api_resource_list_t* -CustomObjectsAPI_getAPIResources(apiClient_t *apiClient, char * group , char * version ) +CustomObjectsAPI_getAPIResources(apiClient_t *apiClient, char *group, char *version) { list_t *localVarQueryParameters = NULL; list_t *localVarHeaderParameters = NULL; @@ -1413,7 +1509,7 @@ CustomObjectsAPI_getAPIResources(apiClient_t *apiClient, char * group , char * v // Returns a cluster scoped custom object // object_t* -CustomObjectsAPI_getClusterCustomObject(apiClient_t *apiClient, char * group , char * version , char * plural , char * name ) +CustomObjectsAPI_getClusterCustomObject(apiClient_t *apiClient, char *group, char *version, char *plural, char *name) { list_t *localVarQueryParameters = NULL; list_t *localVarHeaderParameters = NULL; @@ -1522,7 +1618,7 @@ CustomObjectsAPI_getClusterCustomObject(apiClient_t *apiClient, char * group , c // read scale of the specified custom object // object_t* -CustomObjectsAPI_getClusterCustomObjectScale(apiClient_t *apiClient, char * group , char * version , char * plural , char * name ) +CustomObjectsAPI_getClusterCustomObjectScale(apiClient_t *apiClient, char *group, char *version, char *plural, char *name) { list_t *localVarQueryParameters = NULL; list_t *localVarHeaderParameters = NULL; @@ -1633,7 +1729,7 @@ CustomObjectsAPI_getClusterCustomObjectScale(apiClient_t *apiClient, char * grou // read status of the specified cluster scoped custom object // object_t* -CustomObjectsAPI_getClusterCustomObjectStatus(apiClient_t *apiClient, char * group , char * version , char * plural , char * name ) +CustomObjectsAPI_getClusterCustomObjectStatus(apiClient_t *apiClient, char *group, char *version, char *plural, char *name) { list_t *localVarQueryParameters = NULL; list_t *localVarHeaderParameters = NULL; @@ -1744,7 +1840,7 @@ CustomObjectsAPI_getClusterCustomObjectStatus(apiClient_t *apiClient, char * gro // Returns a namespace scoped custom object // object_t* -CustomObjectsAPI_getNamespacedCustomObject(apiClient_t *apiClient, char * group , char * version , char * _namespace , char * plural , char * name ) +CustomObjectsAPI_getNamespacedCustomObject(apiClient_t *apiClient, char *group, char *version, char *_namespace, char *plural, char *name) { list_t *localVarQueryParameters = NULL; list_t *localVarHeaderParameters = NULL; @@ -1864,7 +1960,7 @@ CustomObjectsAPI_getNamespacedCustomObject(apiClient_t *apiClient, char * group // read scale of the specified namespace scoped custom object // object_t* -CustomObjectsAPI_getNamespacedCustomObjectScale(apiClient_t *apiClient, char * group , char * version , char * _namespace , char * plural , char * name ) +CustomObjectsAPI_getNamespacedCustomObjectScale(apiClient_t *apiClient, char *group, char *version, char *_namespace, char *plural, char *name) { list_t *localVarQueryParameters = NULL; list_t *localVarHeaderParameters = NULL; @@ -1986,7 +2082,7 @@ CustomObjectsAPI_getNamespacedCustomObjectScale(apiClient_t *apiClient, char * g // read status of the specified namespace scoped custom object // object_t* -CustomObjectsAPI_getNamespacedCustomObjectStatus(apiClient_t *apiClient, char * group , char * version , char * _namespace , char * plural , char * name ) +CustomObjectsAPI_getNamespacedCustomObjectStatus(apiClient_t *apiClient, char *group, char *version, char *_namespace, char *plural, char *name) { list_t *localVarQueryParameters = NULL; list_t *localVarHeaderParameters = NULL; @@ -2108,7 +2204,7 @@ CustomObjectsAPI_getNamespacedCustomObjectStatus(apiClient_t *apiClient, char * // list or watch cluster scoped custom objects // object_t* -CustomObjectsAPI_listClusterCustomObject(apiClient_t *apiClient, char * group , char * version , char * plural , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int timeoutSeconds , int watch ) +CustomObjectsAPI_listClusterCustomObject(apiClient_t *apiClient, char *group, char *version, char *plural, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2171,11 +2267,11 @@ CustomObjectsAPI_listClusterCustomObject(apiClient_t *apiClient, char * group , char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -2220,11 +2316,11 @@ CustomObjectsAPI_listClusterCustomObject(apiClient_t *apiClient, char * group , char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -2257,11 +2353,11 @@ CustomObjectsAPI_listClusterCustomObject(apiClient_t *apiClient, char * group , char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -2270,11 +2366,11 @@ CustomObjectsAPI_listClusterCustomObject(apiClient_t *apiClient, char * group , char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -2451,7 +2547,7 @@ CustomObjectsAPI_listClusterCustomObject(apiClient_t *apiClient, char * group , // list or watch namespace scoped custom objects // object_t* -CustomObjectsAPI_listNamespacedCustomObject(apiClient_t *apiClient, char * group , char * version , char * _namespace , char * plural , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int timeoutSeconds , int watch ) +CustomObjectsAPI_listNamespacedCustomObject(apiClient_t *apiClient, char *group, char *version, char *_namespace, char *plural, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2524,11 +2620,11 @@ CustomObjectsAPI_listNamespacedCustomObject(apiClient_t *apiClient, char * group char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -2573,11 +2669,11 @@ CustomObjectsAPI_listNamespacedCustomObject(apiClient_t *apiClient, char * group char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -2610,11 +2706,11 @@ CustomObjectsAPI_listNamespacedCustomObject(apiClient_t *apiClient, char * group char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -2623,11 +2719,11 @@ CustomObjectsAPI_listNamespacedCustomObject(apiClient_t *apiClient, char * group char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -2805,7 +2901,7 @@ CustomObjectsAPI_listNamespacedCustomObject(apiClient_t *apiClient, char * group // patch the specified cluster scoped custom object // object_t* -CustomObjectsAPI_patchClusterCustomObject(apiClient_t *apiClient, char * group , char * version , char * plural , char * name , object_t * body , char * dryRun , char * fieldManager , int force ) +CustomObjectsAPI_patchClusterCustomObject(apiClient_t *apiClient, char *group, char *version, char *plural, char *name, object_t *body, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2886,15 +2982,27 @@ CustomObjectsAPI_patchClusterCustomObject(apiClient_t *apiClient, char * group , list_addElement(localVarQueryParameters,keyPairQuery_fieldManager); } + // query parameters + char *keyQuery_fieldValidation = NULL; + char * valueQuery_fieldValidation = NULL; + keyValuePair_t *keyPairQuery_fieldValidation = 0; + if (fieldValidation) + { + keyQuery_fieldValidation = strdup("fieldValidation"); + valueQuery_fieldValidation = strdup((fieldValidation)); + keyPairQuery_fieldValidation = keyValuePair_create(keyQuery_fieldValidation, valueQuery_fieldValidation); + list_addElement(localVarQueryParameters,keyPairQuery_fieldValidation); + } + // query parameters char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -2981,6 +3089,18 @@ CustomObjectsAPI_patchClusterCustomObject(apiClient_t *apiClient, char * group , keyValuePair_free(keyPairQuery_fieldManager); keyPairQuery_fieldManager = NULL; } + if(keyQuery_fieldValidation){ + free(keyQuery_fieldValidation); + keyQuery_fieldValidation = NULL; + } + if(valueQuery_fieldValidation){ + free(valueQuery_fieldValidation); + valueQuery_fieldValidation = NULL; + } + if(keyPairQuery_fieldValidation){ + keyValuePair_free(keyPairQuery_fieldValidation); + keyPairQuery_fieldValidation = NULL; + } if(keyQuery_force){ free(keyQuery_force); keyQuery_force = NULL; @@ -3003,7 +3123,7 @@ CustomObjectsAPI_patchClusterCustomObject(apiClient_t *apiClient, char * group , // partially update scale of the specified cluster scoped custom object // object_t* -CustomObjectsAPI_patchClusterCustomObjectScale(apiClient_t *apiClient, char * group , char * version , char * plural , char * name , object_t * body , char * dryRun , char * fieldManager , int force ) +CustomObjectsAPI_patchClusterCustomObjectScale(apiClient_t *apiClient, char *group, char *version, char *plural, char *name, object_t *body, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3084,15 +3204,27 @@ CustomObjectsAPI_patchClusterCustomObjectScale(apiClient_t *apiClient, char * gr list_addElement(localVarQueryParameters,keyPairQuery_fieldManager); } + // query parameters + char *keyQuery_fieldValidation = NULL; + char * valueQuery_fieldValidation = NULL; + keyValuePair_t *keyPairQuery_fieldValidation = 0; + if (fieldValidation) + { + keyQuery_fieldValidation = strdup("fieldValidation"); + valueQuery_fieldValidation = strdup((fieldValidation)); + keyPairQuery_fieldValidation = keyValuePair_create(keyQuery_fieldValidation, valueQuery_fieldValidation); + list_addElement(localVarQueryParameters,keyPairQuery_fieldValidation); + } + // query parameters char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -3181,6 +3313,18 @@ CustomObjectsAPI_patchClusterCustomObjectScale(apiClient_t *apiClient, char * gr keyValuePair_free(keyPairQuery_fieldManager); keyPairQuery_fieldManager = NULL; } + if(keyQuery_fieldValidation){ + free(keyQuery_fieldValidation); + keyQuery_fieldValidation = NULL; + } + if(valueQuery_fieldValidation){ + free(valueQuery_fieldValidation); + valueQuery_fieldValidation = NULL; + } + if(keyPairQuery_fieldValidation){ + keyValuePair_free(keyPairQuery_fieldValidation); + keyPairQuery_fieldValidation = NULL; + } if(keyQuery_force){ free(keyQuery_force); keyQuery_force = NULL; @@ -3203,7 +3347,7 @@ CustomObjectsAPI_patchClusterCustomObjectScale(apiClient_t *apiClient, char * gr // partially update status of the specified cluster scoped custom object // object_t* -CustomObjectsAPI_patchClusterCustomObjectStatus(apiClient_t *apiClient, char * group , char * version , char * plural , char * name , object_t * body , char * dryRun , char * fieldManager , int force ) +CustomObjectsAPI_patchClusterCustomObjectStatus(apiClient_t *apiClient, char *group, char *version, char *plural, char *name, object_t *body, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3284,15 +3428,27 @@ CustomObjectsAPI_patchClusterCustomObjectStatus(apiClient_t *apiClient, char * g list_addElement(localVarQueryParameters,keyPairQuery_fieldManager); } + // query parameters + char *keyQuery_fieldValidation = NULL; + char * valueQuery_fieldValidation = NULL; + keyValuePair_t *keyPairQuery_fieldValidation = 0; + if (fieldValidation) + { + keyQuery_fieldValidation = strdup("fieldValidation"); + valueQuery_fieldValidation = strdup((fieldValidation)); + keyPairQuery_fieldValidation = keyValuePair_create(keyQuery_fieldValidation, valueQuery_fieldValidation); + list_addElement(localVarQueryParameters,keyPairQuery_fieldValidation); + } + // query parameters char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -3381,6 +3537,18 @@ CustomObjectsAPI_patchClusterCustomObjectStatus(apiClient_t *apiClient, char * g keyValuePair_free(keyPairQuery_fieldManager); keyPairQuery_fieldManager = NULL; } + if(keyQuery_fieldValidation){ + free(keyQuery_fieldValidation); + keyQuery_fieldValidation = NULL; + } + if(valueQuery_fieldValidation){ + free(valueQuery_fieldValidation); + valueQuery_fieldValidation = NULL; + } + if(keyPairQuery_fieldValidation){ + keyValuePair_free(keyPairQuery_fieldValidation); + keyPairQuery_fieldValidation = NULL; + } if(keyQuery_force){ free(keyQuery_force); keyQuery_force = NULL; @@ -3403,7 +3571,7 @@ CustomObjectsAPI_patchClusterCustomObjectStatus(apiClient_t *apiClient, char * g // patch the specified namespace scoped custom object // object_t* -CustomObjectsAPI_patchNamespacedCustomObject(apiClient_t *apiClient, char * group , char * version , char * _namespace , char * plural , char * name , object_t * body , char * dryRun , char * fieldManager , int force ) +CustomObjectsAPI_patchNamespacedCustomObject(apiClient_t *apiClient, char *group, char *version, char *_namespace, char *plural, char *name, object_t *body, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3494,15 +3662,27 @@ CustomObjectsAPI_patchNamespacedCustomObject(apiClient_t *apiClient, char * grou list_addElement(localVarQueryParameters,keyPairQuery_fieldManager); } + // query parameters + char *keyQuery_fieldValidation = NULL; + char * valueQuery_fieldValidation = NULL; + keyValuePair_t *keyPairQuery_fieldValidation = 0; + if (fieldValidation) + { + keyQuery_fieldValidation = strdup("fieldValidation"); + valueQuery_fieldValidation = strdup((fieldValidation)); + keyPairQuery_fieldValidation = keyValuePair_create(keyQuery_fieldValidation, valueQuery_fieldValidation); + list_addElement(localVarQueryParameters,keyPairQuery_fieldValidation); + } + // query parameters char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -3590,6 +3770,18 @@ CustomObjectsAPI_patchNamespacedCustomObject(apiClient_t *apiClient, char * grou keyValuePair_free(keyPairQuery_fieldManager); keyPairQuery_fieldManager = NULL; } + if(keyQuery_fieldValidation){ + free(keyQuery_fieldValidation); + keyQuery_fieldValidation = NULL; + } + if(valueQuery_fieldValidation){ + free(valueQuery_fieldValidation); + valueQuery_fieldValidation = NULL; + } + if(keyPairQuery_fieldValidation){ + keyValuePair_free(keyPairQuery_fieldValidation); + keyPairQuery_fieldValidation = NULL; + } if(keyQuery_force){ free(keyQuery_force); keyQuery_force = NULL; @@ -3612,7 +3804,7 @@ CustomObjectsAPI_patchNamespacedCustomObject(apiClient_t *apiClient, char * grou // partially update scale of the specified namespace scoped custom object // object_t* -CustomObjectsAPI_patchNamespacedCustomObjectScale(apiClient_t *apiClient, char * group , char * version , char * _namespace , char * plural , char * name , object_t * body , char * dryRun , char * fieldManager , int force ) +CustomObjectsAPI_patchNamespacedCustomObjectScale(apiClient_t *apiClient, char *group, char *version, char *_namespace, char *plural, char *name, object_t *body, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3703,15 +3895,27 @@ CustomObjectsAPI_patchNamespacedCustomObjectScale(apiClient_t *apiClient, char * list_addElement(localVarQueryParameters,keyPairQuery_fieldManager); } + // query parameters + char *keyQuery_fieldValidation = NULL; + char * valueQuery_fieldValidation = NULL; + keyValuePair_t *keyPairQuery_fieldValidation = 0; + if (fieldValidation) + { + keyQuery_fieldValidation = strdup("fieldValidation"); + valueQuery_fieldValidation = strdup((fieldValidation)); + keyPairQuery_fieldValidation = keyValuePair_create(keyQuery_fieldValidation, valueQuery_fieldValidation); + list_addElement(localVarQueryParameters,keyPairQuery_fieldValidation); + } + // query parameters char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -3802,6 +4006,18 @@ CustomObjectsAPI_patchNamespacedCustomObjectScale(apiClient_t *apiClient, char * keyValuePair_free(keyPairQuery_fieldManager); keyPairQuery_fieldManager = NULL; } + if(keyQuery_fieldValidation){ + free(keyQuery_fieldValidation); + keyQuery_fieldValidation = NULL; + } + if(valueQuery_fieldValidation){ + free(valueQuery_fieldValidation); + valueQuery_fieldValidation = NULL; + } + if(keyPairQuery_fieldValidation){ + keyValuePair_free(keyPairQuery_fieldValidation); + keyPairQuery_fieldValidation = NULL; + } if(keyQuery_force){ free(keyQuery_force); keyQuery_force = NULL; @@ -3824,7 +4040,7 @@ CustomObjectsAPI_patchNamespacedCustomObjectScale(apiClient_t *apiClient, char * // partially update status of the specified namespace scoped custom object // object_t* -CustomObjectsAPI_patchNamespacedCustomObjectStatus(apiClient_t *apiClient, char * group , char * version , char * _namespace , char * plural , char * name , object_t * body , char * dryRun , char * fieldManager , int force ) +CustomObjectsAPI_patchNamespacedCustomObjectStatus(apiClient_t *apiClient, char *group, char *version, char *_namespace, char *plural, char *name, object_t *body, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3915,15 +4131,27 @@ CustomObjectsAPI_patchNamespacedCustomObjectStatus(apiClient_t *apiClient, char list_addElement(localVarQueryParameters,keyPairQuery_fieldManager); } + // query parameters + char *keyQuery_fieldValidation = NULL; + char * valueQuery_fieldValidation = NULL; + keyValuePair_t *keyPairQuery_fieldValidation = 0; + if (fieldValidation) + { + keyQuery_fieldValidation = strdup("fieldValidation"); + valueQuery_fieldValidation = strdup((fieldValidation)); + keyPairQuery_fieldValidation = keyValuePair_create(keyQuery_fieldValidation, valueQuery_fieldValidation); + list_addElement(localVarQueryParameters,keyPairQuery_fieldValidation); + } + // query parameters char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -4014,6 +4242,18 @@ CustomObjectsAPI_patchNamespacedCustomObjectStatus(apiClient_t *apiClient, char keyValuePair_free(keyPairQuery_fieldManager); keyPairQuery_fieldManager = NULL; } + if(keyQuery_fieldValidation){ + free(keyQuery_fieldValidation); + keyQuery_fieldValidation = NULL; + } + if(valueQuery_fieldValidation){ + free(valueQuery_fieldValidation); + valueQuery_fieldValidation = NULL; + } + if(keyPairQuery_fieldValidation){ + keyValuePair_free(keyPairQuery_fieldValidation); + keyPairQuery_fieldValidation = NULL; + } if(keyQuery_force){ free(keyQuery_force); keyQuery_force = NULL; @@ -4036,7 +4276,7 @@ CustomObjectsAPI_patchNamespacedCustomObjectStatus(apiClient_t *apiClient, char // replace the specified cluster scoped custom object // object_t* -CustomObjectsAPI_replaceClusterCustomObject(apiClient_t *apiClient, char * group , char * version , char * plural , char * name , object_t * body , char * dryRun , char * fieldManager ) +CustomObjectsAPI_replaceClusterCustomObject(apiClient_t *apiClient, char *group, char *version, char *plural, char *name, object_t *body, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -4117,6 +4357,18 @@ CustomObjectsAPI_replaceClusterCustomObject(apiClient_t *apiClient, char * group list_addElement(localVarQueryParameters,keyPairQuery_fieldManager); } + // query parameters + char *keyQuery_fieldValidation = NULL; + char * valueQuery_fieldValidation = NULL; + keyValuePair_t *keyPairQuery_fieldValidation = 0; + if (fieldValidation) + { + keyQuery_fieldValidation = strdup("fieldValidation"); + valueQuery_fieldValidation = strdup((fieldValidation)); + keyPairQuery_fieldValidation = keyValuePair_create(keyQuery_fieldValidation, valueQuery_fieldValidation); + list_addElement(localVarQueryParameters,keyPairQuery_fieldValidation); + } + // Body Param cJSON *localVarSingleItemJSON_body = NULL; if (body != NULL) @@ -4197,6 +4449,18 @@ CustomObjectsAPI_replaceClusterCustomObject(apiClient_t *apiClient, char * group keyValuePair_free(keyPairQuery_fieldManager); keyPairQuery_fieldManager = NULL; } + if(keyQuery_fieldValidation){ + free(keyQuery_fieldValidation); + keyQuery_fieldValidation = NULL; + } + if(valueQuery_fieldValidation){ + free(valueQuery_fieldValidation); + valueQuery_fieldValidation = NULL; + } + if(keyPairQuery_fieldValidation){ + keyValuePair_free(keyPairQuery_fieldValidation); + keyPairQuery_fieldValidation = NULL; + } return elementToReturn; end: free(localVarPath); @@ -4207,7 +4471,7 @@ CustomObjectsAPI_replaceClusterCustomObject(apiClient_t *apiClient, char * group // replace scale of the specified cluster scoped custom object // object_t* -CustomObjectsAPI_replaceClusterCustomObjectScale(apiClient_t *apiClient, char * group , char * version , char * plural , char * name , object_t * body , char * dryRun , char * fieldManager ) +CustomObjectsAPI_replaceClusterCustomObjectScale(apiClient_t *apiClient, char *group, char *version, char *plural, char *name, object_t *body, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -4288,6 +4552,18 @@ CustomObjectsAPI_replaceClusterCustomObjectScale(apiClient_t *apiClient, char * list_addElement(localVarQueryParameters,keyPairQuery_fieldManager); } + // query parameters + char *keyQuery_fieldValidation = NULL; + char * valueQuery_fieldValidation = NULL; + keyValuePair_t *keyPairQuery_fieldValidation = 0; + if (fieldValidation) + { + keyQuery_fieldValidation = strdup("fieldValidation"); + valueQuery_fieldValidation = strdup((fieldValidation)); + keyPairQuery_fieldValidation = keyValuePair_create(keyQuery_fieldValidation, valueQuery_fieldValidation); + list_addElement(localVarQueryParameters,keyPairQuery_fieldValidation); + } + // Body Param cJSON *localVarSingleItemJSON_body = NULL; if (body != NULL) @@ -4374,6 +4650,18 @@ CustomObjectsAPI_replaceClusterCustomObjectScale(apiClient_t *apiClient, char * keyValuePair_free(keyPairQuery_fieldManager); keyPairQuery_fieldManager = NULL; } + if(keyQuery_fieldValidation){ + free(keyQuery_fieldValidation); + keyQuery_fieldValidation = NULL; + } + if(valueQuery_fieldValidation){ + free(valueQuery_fieldValidation); + valueQuery_fieldValidation = NULL; + } + if(keyPairQuery_fieldValidation){ + keyValuePair_free(keyPairQuery_fieldValidation); + keyPairQuery_fieldValidation = NULL; + } return elementToReturn; end: free(localVarPath); @@ -4384,7 +4672,7 @@ CustomObjectsAPI_replaceClusterCustomObjectScale(apiClient_t *apiClient, char * // replace status of the cluster scoped specified custom object // object_t* -CustomObjectsAPI_replaceClusterCustomObjectStatus(apiClient_t *apiClient, char * group , char * version , char * plural , char * name , object_t * body , char * dryRun , char * fieldManager ) +CustomObjectsAPI_replaceClusterCustomObjectStatus(apiClient_t *apiClient, char *group, char *version, char *plural, char *name, object_t *body, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -4465,6 +4753,18 @@ CustomObjectsAPI_replaceClusterCustomObjectStatus(apiClient_t *apiClient, char * list_addElement(localVarQueryParameters,keyPairQuery_fieldManager); } + // query parameters + char *keyQuery_fieldValidation = NULL; + char * valueQuery_fieldValidation = NULL; + keyValuePair_t *keyPairQuery_fieldValidation = 0; + if (fieldValidation) + { + keyQuery_fieldValidation = strdup("fieldValidation"); + valueQuery_fieldValidation = strdup((fieldValidation)); + keyPairQuery_fieldValidation = keyValuePair_create(keyQuery_fieldValidation, valueQuery_fieldValidation); + list_addElement(localVarQueryParameters,keyPairQuery_fieldValidation); + } + // Body Param cJSON *localVarSingleItemJSON_body = NULL; if (body != NULL) @@ -4551,6 +4851,18 @@ CustomObjectsAPI_replaceClusterCustomObjectStatus(apiClient_t *apiClient, char * keyValuePair_free(keyPairQuery_fieldManager); keyPairQuery_fieldManager = NULL; } + if(keyQuery_fieldValidation){ + free(keyQuery_fieldValidation); + keyQuery_fieldValidation = NULL; + } + if(valueQuery_fieldValidation){ + free(valueQuery_fieldValidation); + valueQuery_fieldValidation = NULL; + } + if(keyPairQuery_fieldValidation){ + keyValuePair_free(keyPairQuery_fieldValidation); + keyPairQuery_fieldValidation = NULL; + } return elementToReturn; end: free(localVarPath); @@ -4561,7 +4873,7 @@ CustomObjectsAPI_replaceClusterCustomObjectStatus(apiClient_t *apiClient, char * // replace the specified namespace scoped custom object // object_t* -CustomObjectsAPI_replaceNamespacedCustomObject(apiClient_t *apiClient, char * group , char * version , char * _namespace , char * plural , char * name , object_t * body , char * dryRun , char * fieldManager ) +CustomObjectsAPI_replaceNamespacedCustomObject(apiClient_t *apiClient, char *group, char *version, char *_namespace, char *plural, char *name, object_t *body, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -4652,6 +4964,18 @@ CustomObjectsAPI_replaceNamespacedCustomObject(apiClient_t *apiClient, char * gr list_addElement(localVarQueryParameters,keyPairQuery_fieldManager); } + // query parameters + char *keyQuery_fieldValidation = NULL; + char * valueQuery_fieldValidation = NULL; + keyValuePair_t *keyPairQuery_fieldValidation = 0; + if (fieldValidation) + { + keyQuery_fieldValidation = strdup("fieldValidation"); + valueQuery_fieldValidation = strdup((fieldValidation)); + keyPairQuery_fieldValidation = keyValuePair_create(keyQuery_fieldValidation, valueQuery_fieldValidation); + list_addElement(localVarQueryParameters,keyPairQuery_fieldValidation); + } + // Body Param cJSON *localVarSingleItemJSON_body = NULL; if (body != NULL) @@ -4733,6 +5057,18 @@ CustomObjectsAPI_replaceNamespacedCustomObject(apiClient_t *apiClient, char * gr keyValuePair_free(keyPairQuery_fieldManager); keyPairQuery_fieldManager = NULL; } + if(keyQuery_fieldValidation){ + free(keyQuery_fieldValidation); + keyQuery_fieldValidation = NULL; + } + if(valueQuery_fieldValidation){ + free(valueQuery_fieldValidation); + valueQuery_fieldValidation = NULL; + } + if(keyPairQuery_fieldValidation){ + keyValuePair_free(keyPairQuery_fieldValidation); + keyPairQuery_fieldValidation = NULL; + } return elementToReturn; end: free(localVarPath); @@ -4743,7 +5079,7 @@ CustomObjectsAPI_replaceNamespacedCustomObject(apiClient_t *apiClient, char * gr // replace scale of the specified namespace scoped custom object // object_t* -CustomObjectsAPI_replaceNamespacedCustomObjectScale(apiClient_t *apiClient, char * group , char * version , char * _namespace , char * plural , char * name , object_t * body , char * dryRun , char * fieldManager ) +CustomObjectsAPI_replaceNamespacedCustomObjectScale(apiClient_t *apiClient, char *group, char *version, char *_namespace, char *plural, char *name, object_t *body, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -4834,6 +5170,18 @@ CustomObjectsAPI_replaceNamespacedCustomObjectScale(apiClient_t *apiClient, char list_addElement(localVarQueryParameters,keyPairQuery_fieldManager); } + // query parameters + char *keyQuery_fieldValidation = NULL; + char * valueQuery_fieldValidation = NULL; + keyValuePair_t *keyPairQuery_fieldValidation = 0; + if (fieldValidation) + { + keyQuery_fieldValidation = strdup("fieldValidation"); + valueQuery_fieldValidation = strdup((fieldValidation)); + keyPairQuery_fieldValidation = keyValuePair_create(keyQuery_fieldValidation, valueQuery_fieldValidation); + list_addElement(localVarQueryParameters,keyPairQuery_fieldValidation); + } + // Body Param cJSON *localVarSingleItemJSON_body = NULL; if (body != NULL) @@ -4921,6 +5269,18 @@ CustomObjectsAPI_replaceNamespacedCustomObjectScale(apiClient_t *apiClient, char keyValuePair_free(keyPairQuery_fieldManager); keyPairQuery_fieldManager = NULL; } + if(keyQuery_fieldValidation){ + free(keyQuery_fieldValidation); + keyQuery_fieldValidation = NULL; + } + if(valueQuery_fieldValidation){ + free(valueQuery_fieldValidation); + valueQuery_fieldValidation = NULL; + } + if(keyPairQuery_fieldValidation){ + keyValuePair_free(keyPairQuery_fieldValidation); + keyPairQuery_fieldValidation = NULL; + } return elementToReturn; end: free(localVarPath); @@ -4931,7 +5291,7 @@ CustomObjectsAPI_replaceNamespacedCustomObjectScale(apiClient_t *apiClient, char // replace status of the specified namespace scoped custom object // object_t* -CustomObjectsAPI_replaceNamespacedCustomObjectStatus(apiClient_t *apiClient, char * group , char * version , char * _namespace , char * plural , char * name , object_t * body , char * dryRun , char * fieldManager ) +CustomObjectsAPI_replaceNamespacedCustomObjectStatus(apiClient_t *apiClient, char *group, char *version, char *_namespace, char *plural, char *name, object_t *body, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -5022,6 +5382,18 @@ CustomObjectsAPI_replaceNamespacedCustomObjectStatus(apiClient_t *apiClient, cha list_addElement(localVarQueryParameters,keyPairQuery_fieldManager); } + // query parameters + char *keyQuery_fieldValidation = NULL; + char * valueQuery_fieldValidation = NULL; + keyValuePair_t *keyPairQuery_fieldValidation = 0; + if (fieldValidation) + { + keyQuery_fieldValidation = strdup("fieldValidation"); + valueQuery_fieldValidation = strdup((fieldValidation)); + keyPairQuery_fieldValidation = keyValuePair_create(keyQuery_fieldValidation, valueQuery_fieldValidation); + list_addElement(localVarQueryParameters,keyPairQuery_fieldValidation); + } + // Body Param cJSON *localVarSingleItemJSON_body = NULL; if (body != NULL) @@ -5109,6 +5481,18 @@ CustomObjectsAPI_replaceNamespacedCustomObjectStatus(apiClient_t *apiClient, cha keyValuePair_free(keyPairQuery_fieldManager); keyPairQuery_fieldManager = NULL; } + if(keyQuery_fieldValidation){ + free(keyQuery_fieldValidation); + keyQuery_fieldValidation = NULL; + } + if(valueQuery_fieldValidation){ + free(valueQuery_fieldValidation); + valueQuery_fieldValidation = NULL; + } + if(keyPairQuery_fieldValidation){ + keyValuePair_free(keyPairQuery_fieldValidation); + keyPairQuery_fieldValidation = NULL; + } return elementToReturn; end: free(localVarPath); diff --git a/kubernetes/api/CustomObjectsAPI.h b/kubernetes/api/CustomObjectsAPI.h index ce468704..6c66d694 100644 --- a/kubernetes/api/CustomObjectsAPI.h +++ b/kubernetes/api/CustomObjectsAPI.h @@ -13,162 +13,162 @@ // Creates a cluster scoped Custom object // object_t* -CustomObjectsAPI_createClusterCustomObject(apiClient_t *apiClient, char * group , char * version , char * plural , object_t * body , char * pretty , char * dryRun , char * fieldManager ); +CustomObjectsAPI_createClusterCustomObject(apiClient_t *apiClient, char *group, char *version, char *plural, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // Creates a namespace scoped Custom object // object_t* -CustomObjectsAPI_createNamespacedCustomObject(apiClient_t *apiClient, char * group , char * version , char * _namespace , char * plural , object_t * body , char * pretty , char * dryRun , char * fieldManager ); +CustomObjectsAPI_createNamespacedCustomObject(apiClient_t *apiClient, char *group, char *version, char *_namespace, char *plural, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // Deletes the specified cluster scoped custom object // object_t* -CustomObjectsAPI_deleteClusterCustomObject(apiClient_t *apiClient, char * group , char * version , char * plural , char * name , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , char * dryRun , v1_delete_options_t * body ); +CustomObjectsAPI_deleteClusterCustomObject(apiClient_t *apiClient, char *group, char *version, char *plural, char *name, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, char *dryRun, v1_delete_options_t *body); // Delete collection of cluster scoped custom objects // object_t* -CustomObjectsAPI_deleteCollectionClusterCustomObject(apiClient_t *apiClient, char * group , char * version , char * plural , char * pretty , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , char * dryRun , v1_delete_options_t * body ); +CustomObjectsAPI_deleteCollectionClusterCustomObject(apiClient_t *apiClient, char *group, char *version, char *plural, char *pretty, char *labelSelector, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, char *dryRun, v1_delete_options_t *body); // Delete collection of namespace scoped custom objects // object_t* -CustomObjectsAPI_deleteCollectionNamespacedCustomObject(apiClient_t *apiClient, char * group , char * version , char * _namespace , char * plural , char * pretty , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , char * dryRun , v1_delete_options_t * body ); +CustomObjectsAPI_deleteCollectionNamespacedCustomObject(apiClient_t *apiClient, char *group, char *version, char *_namespace, char *plural, char *pretty, char *labelSelector, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, char *dryRun, v1_delete_options_t *body); // Deletes the specified namespace scoped custom object // object_t* -CustomObjectsAPI_deleteNamespacedCustomObject(apiClient_t *apiClient, char * group , char * version , char * _namespace , char * plural , char * name , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , char * dryRun , v1_delete_options_t * body ); +CustomObjectsAPI_deleteNamespacedCustomObject(apiClient_t *apiClient, char *group, char *version, char *_namespace, char *plural, char *name, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, char *dryRun, v1_delete_options_t *body); // get available resources // v1_api_resource_list_t* -CustomObjectsAPI_getAPIResources(apiClient_t *apiClient, char * group , char * version ); +CustomObjectsAPI_getAPIResources(apiClient_t *apiClient, char *group, char *version); // Returns a cluster scoped custom object // object_t* -CustomObjectsAPI_getClusterCustomObject(apiClient_t *apiClient, char * group , char * version , char * plural , char * name ); +CustomObjectsAPI_getClusterCustomObject(apiClient_t *apiClient, char *group, char *version, char *plural, char *name); // read scale of the specified custom object // object_t* -CustomObjectsAPI_getClusterCustomObjectScale(apiClient_t *apiClient, char * group , char * version , char * plural , char * name ); +CustomObjectsAPI_getClusterCustomObjectScale(apiClient_t *apiClient, char *group, char *version, char *plural, char *name); // read status of the specified cluster scoped custom object // object_t* -CustomObjectsAPI_getClusterCustomObjectStatus(apiClient_t *apiClient, char * group , char * version , char * plural , char * name ); +CustomObjectsAPI_getClusterCustomObjectStatus(apiClient_t *apiClient, char *group, char *version, char *plural, char *name); // Returns a namespace scoped custom object // object_t* -CustomObjectsAPI_getNamespacedCustomObject(apiClient_t *apiClient, char * group , char * version , char * _namespace , char * plural , char * name ); +CustomObjectsAPI_getNamespacedCustomObject(apiClient_t *apiClient, char *group, char *version, char *_namespace, char *plural, char *name); // read scale of the specified namespace scoped custom object // object_t* -CustomObjectsAPI_getNamespacedCustomObjectScale(apiClient_t *apiClient, char * group , char * version , char * _namespace , char * plural , char * name ); +CustomObjectsAPI_getNamespacedCustomObjectScale(apiClient_t *apiClient, char *group, char *version, char *_namespace, char *plural, char *name); // read status of the specified namespace scoped custom object // object_t* -CustomObjectsAPI_getNamespacedCustomObjectStatus(apiClient_t *apiClient, char * group , char * version , char * _namespace , char * plural , char * name ); +CustomObjectsAPI_getNamespacedCustomObjectStatus(apiClient_t *apiClient, char *group, char *version, char *_namespace, char *plural, char *name); // list or watch cluster scoped custom objects // object_t* -CustomObjectsAPI_listClusterCustomObject(apiClient_t *apiClient, char * group , char * version , char * plural , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int timeoutSeconds , int watch ); +CustomObjectsAPI_listClusterCustomObject(apiClient_t *apiClient, char *group, char *version, char *plural, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *timeoutSeconds, int *watch); // list or watch namespace scoped custom objects // object_t* -CustomObjectsAPI_listNamespacedCustomObject(apiClient_t *apiClient, char * group , char * version , char * _namespace , char * plural , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int timeoutSeconds , int watch ); +CustomObjectsAPI_listNamespacedCustomObject(apiClient_t *apiClient, char *group, char *version, char *_namespace, char *plural, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *timeoutSeconds, int *watch); // patch the specified cluster scoped custom object // object_t* -CustomObjectsAPI_patchClusterCustomObject(apiClient_t *apiClient, char * group , char * version , char * plural , char * name , object_t * body , char * dryRun , char * fieldManager , int force ); +CustomObjectsAPI_patchClusterCustomObject(apiClient_t *apiClient, char *group, char *version, char *plural, char *name, object_t *body, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update scale of the specified cluster scoped custom object // object_t* -CustomObjectsAPI_patchClusterCustomObjectScale(apiClient_t *apiClient, char * group , char * version , char * plural , char * name , object_t * body , char * dryRun , char * fieldManager , int force ); +CustomObjectsAPI_patchClusterCustomObjectScale(apiClient_t *apiClient, char *group, char *version, char *plural, char *name, object_t *body, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update status of the specified cluster scoped custom object // object_t* -CustomObjectsAPI_patchClusterCustomObjectStatus(apiClient_t *apiClient, char * group , char * version , char * plural , char * name , object_t * body , char * dryRun , char * fieldManager , int force ); +CustomObjectsAPI_patchClusterCustomObjectStatus(apiClient_t *apiClient, char *group, char *version, char *plural, char *name, object_t *body, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // patch the specified namespace scoped custom object // object_t* -CustomObjectsAPI_patchNamespacedCustomObject(apiClient_t *apiClient, char * group , char * version , char * _namespace , char * plural , char * name , object_t * body , char * dryRun , char * fieldManager , int force ); +CustomObjectsAPI_patchNamespacedCustomObject(apiClient_t *apiClient, char *group, char *version, char *_namespace, char *plural, char *name, object_t *body, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update scale of the specified namespace scoped custom object // object_t* -CustomObjectsAPI_patchNamespacedCustomObjectScale(apiClient_t *apiClient, char * group , char * version , char * _namespace , char * plural , char * name , object_t * body , char * dryRun , char * fieldManager , int force ); +CustomObjectsAPI_patchNamespacedCustomObjectScale(apiClient_t *apiClient, char *group, char *version, char *_namespace, char *plural, char *name, object_t *body, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update status of the specified namespace scoped custom object // object_t* -CustomObjectsAPI_patchNamespacedCustomObjectStatus(apiClient_t *apiClient, char * group , char * version , char * _namespace , char * plural , char * name , object_t * body , char * dryRun , char * fieldManager , int force ); +CustomObjectsAPI_patchNamespacedCustomObjectStatus(apiClient_t *apiClient, char *group, char *version, char *_namespace, char *plural, char *name, object_t *body, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // replace the specified cluster scoped custom object // object_t* -CustomObjectsAPI_replaceClusterCustomObject(apiClient_t *apiClient, char * group , char * version , char * plural , char * name , object_t * body , char * dryRun , char * fieldManager ); +CustomObjectsAPI_replaceClusterCustomObject(apiClient_t *apiClient, char *group, char *version, char *plural, char *name, object_t *body, char *dryRun, char *fieldManager, char *fieldValidation); // replace scale of the specified cluster scoped custom object // object_t* -CustomObjectsAPI_replaceClusterCustomObjectScale(apiClient_t *apiClient, char * group , char * version , char * plural , char * name , object_t * body , char * dryRun , char * fieldManager ); +CustomObjectsAPI_replaceClusterCustomObjectScale(apiClient_t *apiClient, char *group, char *version, char *plural, char *name, object_t *body, char *dryRun, char *fieldManager, char *fieldValidation); // replace status of the cluster scoped specified custom object // object_t* -CustomObjectsAPI_replaceClusterCustomObjectStatus(apiClient_t *apiClient, char * group , char * version , char * plural , char * name , object_t * body , char * dryRun , char * fieldManager ); +CustomObjectsAPI_replaceClusterCustomObjectStatus(apiClient_t *apiClient, char *group, char *version, char *plural, char *name, object_t *body, char *dryRun, char *fieldManager, char *fieldValidation); // replace the specified namespace scoped custom object // object_t* -CustomObjectsAPI_replaceNamespacedCustomObject(apiClient_t *apiClient, char * group , char * version , char * _namespace , char * plural , char * name , object_t * body , char * dryRun , char * fieldManager ); +CustomObjectsAPI_replaceNamespacedCustomObject(apiClient_t *apiClient, char *group, char *version, char *_namespace, char *plural, char *name, object_t *body, char *dryRun, char *fieldManager, char *fieldValidation); // replace scale of the specified namespace scoped custom object // object_t* -CustomObjectsAPI_replaceNamespacedCustomObjectScale(apiClient_t *apiClient, char * group , char * version , char * _namespace , char * plural , char * name , object_t * body , char * dryRun , char * fieldManager ); +CustomObjectsAPI_replaceNamespacedCustomObjectScale(apiClient_t *apiClient, char *group, char *version, char *_namespace, char *plural, char *name, object_t *body, char *dryRun, char *fieldManager, char *fieldValidation); // replace status of the specified namespace scoped custom object // object_t* -CustomObjectsAPI_replaceNamespacedCustomObjectStatus(apiClient_t *apiClient, char * group , char * version , char * _namespace , char * plural , char * name , object_t * body , char * dryRun , char * fieldManager ); +CustomObjectsAPI_replaceNamespacedCustomObjectStatus(apiClient_t *apiClient, char *group, char *version, char *_namespace, char *plural, char *name, object_t *body, char *dryRun, char *fieldManager, char *fieldValidation); diff --git a/kubernetes/api/DiscoveryV1API.c b/kubernetes/api/DiscoveryV1API.c index ec2cad97..ad94d4a1 100644 --- a/kubernetes/api/DiscoveryV1API.c +++ b/kubernetes/api/DiscoveryV1API.c @@ -15,7 +15,7 @@ // create an EndpointSlice // v1_endpoint_slice_t* -DiscoveryV1API_createNamespacedEndpointSlice(apiClient_t *apiClient, char * _namespace , v1_endpoint_slice_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +DiscoveryV1API_createNamespacedEndpointSlice(apiClient_t *apiClient, char *_namespace, v1_endpoint_slice_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -211,7 +211,7 @@ DiscoveryV1API_createNamespacedEndpointSlice(apiClient_t *apiClient, char * _nam // delete collection of EndpointSlice // v1_status_t* -DiscoveryV1API_deleteCollectionNamespacedEndpointSlice(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +DiscoveryV1API_deleteCollectionNamespacedEndpointSlice(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -290,11 +290,11 @@ DiscoveryV1API_deleteCollectionNamespacedEndpointSlice(apiClient_t *apiClient, c char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -315,11 +315,11 @@ DiscoveryV1API_deleteCollectionNamespacedEndpointSlice(apiClient_t *apiClient, c char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -328,11 +328,11 @@ DiscoveryV1API_deleteCollectionNamespacedEndpointSlice(apiClient_t *apiClient, c char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -377,11 +377,11 @@ DiscoveryV1API_deleteCollectionNamespacedEndpointSlice(apiClient_t *apiClient, c char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -390,11 +390,11 @@ DiscoveryV1API_deleteCollectionNamespacedEndpointSlice(apiClient_t *apiClient, c char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -620,7 +620,7 @@ DiscoveryV1API_deleteCollectionNamespacedEndpointSlice(apiClient_t *apiClient, c // delete an EndpointSlice // v1_status_t* -DiscoveryV1API_deleteNamespacedEndpointSlice(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +DiscoveryV1API_deleteNamespacedEndpointSlice(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -685,11 +685,11 @@ DiscoveryV1API_deleteNamespacedEndpointSlice(apiClient_t *apiClient, char * name char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -698,11 +698,11 @@ DiscoveryV1API_deleteNamespacedEndpointSlice(apiClient_t *apiClient, char * name char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -916,7 +916,7 @@ DiscoveryV1API_getAPIResources(apiClient_t *apiClient) // list or watch objects of kind EndpointSlice // v1_endpoint_slice_list_t* -DiscoveryV1API_listEndpointSliceForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +DiscoveryV1API_listEndpointSliceForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -937,11 +937,11 @@ DiscoveryV1API_listEndpointSliceForAllNamespaces(apiClient_t *apiClient, int all char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -986,11 +986,11 @@ DiscoveryV1API_listEndpointSliceForAllNamespaces(apiClient_t *apiClient, int all char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -1035,11 +1035,11 @@ DiscoveryV1API_listEndpointSliceForAllNamespaces(apiClient_t *apiClient, int all char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -1048,11 +1048,11 @@ DiscoveryV1API_listEndpointSliceForAllNamespaces(apiClient_t *apiClient, int all char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -1061,11 +1061,11 @@ DiscoveryV1API_listEndpointSliceForAllNamespaces(apiClient_t *apiClient, int all char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -1254,7 +1254,7 @@ DiscoveryV1API_listEndpointSliceForAllNamespaces(apiClient_t *apiClient, int all // list or watch objects of kind EndpointSlice // v1_endpoint_slice_list_t* -DiscoveryV1API_listNamespacedEndpointSlice(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +DiscoveryV1API_listNamespacedEndpointSlice(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1297,11 +1297,11 @@ DiscoveryV1API_listNamespacedEndpointSlice(apiClient_t *apiClient, char * _names char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -1346,11 +1346,11 @@ DiscoveryV1API_listNamespacedEndpointSlice(apiClient_t *apiClient, char * _names char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -1383,11 +1383,11 @@ DiscoveryV1API_listNamespacedEndpointSlice(apiClient_t *apiClient, char * _names char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -1396,11 +1396,11 @@ DiscoveryV1API_listNamespacedEndpointSlice(apiClient_t *apiClient, char * _names char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -1409,11 +1409,11 @@ DiscoveryV1API_listNamespacedEndpointSlice(apiClient_t *apiClient, char * _names char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -1603,7 +1603,7 @@ DiscoveryV1API_listNamespacedEndpointSlice(apiClient_t *apiClient, char * _names // partially update the specified EndpointSlice // v1_endpoint_slice_t* -DiscoveryV1API_patchNamespacedEndpointSlice(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +DiscoveryV1API_patchNamespacedEndpointSlice(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1692,11 +1692,11 @@ DiscoveryV1API_patchNamespacedEndpointSlice(apiClient_t *apiClient, char * name char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -1835,7 +1835,7 @@ DiscoveryV1API_patchNamespacedEndpointSlice(apiClient_t *apiClient, char * name // read the specified EndpointSlice // v1_endpoint_slice_t* -DiscoveryV1API_readNamespacedEndpointSlice(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ) +DiscoveryV1API_readNamespacedEndpointSlice(apiClient_t *apiClient, char *name, char *_namespace, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1948,7 +1948,7 @@ DiscoveryV1API_readNamespacedEndpointSlice(apiClient_t *apiClient, char * name , // replace the specified EndpointSlice // v1_endpoint_slice_t* -DiscoveryV1API_replaceNamespacedEndpointSlice(apiClient_t *apiClient, char * name , char * _namespace , v1_endpoint_slice_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +DiscoveryV1API_replaceNamespacedEndpointSlice(apiClient_t *apiClient, char *name, char *_namespace, v1_endpoint_slice_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; diff --git a/kubernetes/api/DiscoveryV1API.h b/kubernetes/api/DiscoveryV1API.h index dd5117cc..f3f49beb 100644 --- a/kubernetes/api/DiscoveryV1API.h +++ b/kubernetes/api/DiscoveryV1API.h @@ -16,19 +16,19 @@ // create an EndpointSlice // v1_endpoint_slice_t* -DiscoveryV1API_createNamespacedEndpointSlice(apiClient_t *apiClient, char * _namespace , v1_endpoint_slice_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +DiscoveryV1API_createNamespacedEndpointSlice(apiClient_t *apiClient, char *_namespace, v1_endpoint_slice_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // delete collection of EndpointSlice // v1_status_t* -DiscoveryV1API_deleteCollectionNamespacedEndpointSlice(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +DiscoveryV1API_deleteCollectionNamespacedEndpointSlice(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); // delete an EndpointSlice // v1_status_t* -DiscoveryV1API_deleteNamespacedEndpointSlice(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +DiscoveryV1API_deleteNamespacedEndpointSlice(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // get available resources @@ -40,30 +40,30 @@ DiscoveryV1API_getAPIResources(apiClient_t *apiClient); // list or watch objects of kind EndpointSlice // v1_endpoint_slice_list_t* -DiscoveryV1API_listEndpointSliceForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +DiscoveryV1API_listEndpointSliceForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind EndpointSlice // v1_endpoint_slice_list_t* -DiscoveryV1API_listNamespacedEndpointSlice(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +DiscoveryV1API_listNamespacedEndpointSlice(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // partially update the specified EndpointSlice // v1_endpoint_slice_t* -DiscoveryV1API_patchNamespacedEndpointSlice(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +DiscoveryV1API_patchNamespacedEndpointSlice(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // read the specified EndpointSlice // v1_endpoint_slice_t* -DiscoveryV1API_readNamespacedEndpointSlice(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ); +DiscoveryV1API_readNamespacedEndpointSlice(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); // replace the specified EndpointSlice // v1_endpoint_slice_t* -DiscoveryV1API_replaceNamespacedEndpointSlice(apiClient_t *apiClient, char * name , char * _namespace , v1_endpoint_slice_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +DiscoveryV1API_replaceNamespacedEndpointSlice(apiClient_t *apiClient, char *name, char *_namespace, v1_endpoint_slice_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); diff --git a/kubernetes/api/EventsV1API.c b/kubernetes/api/EventsV1API.c index 0bee61b6..ab73e39e 100644 --- a/kubernetes/api/EventsV1API.c +++ b/kubernetes/api/EventsV1API.c @@ -15,7 +15,7 @@ // create an Event // events_v1_event_t* -EventsV1API_createNamespacedEvent(apiClient_t *apiClient, char * _namespace , events_v1_event_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +EventsV1API_createNamespacedEvent(apiClient_t *apiClient, char *_namespace, events_v1_event_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -211,7 +211,7 @@ EventsV1API_createNamespacedEvent(apiClient_t *apiClient, char * _namespace , ev // delete collection of Event // v1_status_t* -EventsV1API_deleteCollectionNamespacedEvent(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +EventsV1API_deleteCollectionNamespacedEvent(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -290,11 +290,11 @@ EventsV1API_deleteCollectionNamespacedEvent(apiClient_t *apiClient, char * _name char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -315,11 +315,11 @@ EventsV1API_deleteCollectionNamespacedEvent(apiClient_t *apiClient, char * _name char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -328,11 +328,11 @@ EventsV1API_deleteCollectionNamespacedEvent(apiClient_t *apiClient, char * _name char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -377,11 +377,11 @@ EventsV1API_deleteCollectionNamespacedEvent(apiClient_t *apiClient, char * _name char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -390,11 +390,11 @@ EventsV1API_deleteCollectionNamespacedEvent(apiClient_t *apiClient, char * _name char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -620,7 +620,7 @@ EventsV1API_deleteCollectionNamespacedEvent(apiClient_t *apiClient, char * _name // delete an Event // v1_status_t* -EventsV1API_deleteNamespacedEvent(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +EventsV1API_deleteNamespacedEvent(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -685,11 +685,11 @@ EventsV1API_deleteNamespacedEvent(apiClient_t *apiClient, char * name , char * _ char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -698,11 +698,11 @@ EventsV1API_deleteNamespacedEvent(apiClient_t *apiClient, char * name , char * _ char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -916,7 +916,7 @@ EventsV1API_getAPIResources(apiClient_t *apiClient) // list or watch objects of kind Event // events_v1_event_list_t* -EventsV1API_listEventForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +EventsV1API_listEventForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -937,11 +937,11 @@ EventsV1API_listEventForAllNamespaces(apiClient_t *apiClient, int allowWatchBook char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -986,11 +986,11 @@ EventsV1API_listEventForAllNamespaces(apiClient_t *apiClient, int allowWatchBook char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -1035,11 +1035,11 @@ EventsV1API_listEventForAllNamespaces(apiClient_t *apiClient, int allowWatchBook char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -1048,11 +1048,11 @@ EventsV1API_listEventForAllNamespaces(apiClient_t *apiClient, int allowWatchBook char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -1061,11 +1061,11 @@ EventsV1API_listEventForAllNamespaces(apiClient_t *apiClient, int allowWatchBook char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -1254,7 +1254,7 @@ EventsV1API_listEventForAllNamespaces(apiClient_t *apiClient, int allowWatchBook // list or watch objects of kind Event // events_v1_event_list_t* -EventsV1API_listNamespacedEvent(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +EventsV1API_listNamespacedEvent(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1297,11 +1297,11 @@ EventsV1API_listNamespacedEvent(apiClient_t *apiClient, char * _namespace , char char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -1346,11 +1346,11 @@ EventsV1API_listNamespacedEvent(apiClient_t *apiClient, char * _namespace , char char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -1383,11 +1383,11 @@ EventsV1API_listNamespacedEvent(apiClient_t *apiClient, char * _namespace , char char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -1396,11 +1396,11 @@ EventsV1API_listNamespacedEvent(apiClient_t *apiClient, char * _namespace , char char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -1409,11 +1409,11 @@ EventsV1API_listNamespacedEvent(apiClient_t *apiClient, char * _namespace , char char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -1603,7 +1603,7 @@ EventsV1API_listNamespacedEvent(apiClient_t *apiClient, char * _namespace , char // partially update the specified Event // events_v1_event_t* -EventsV1API_patchNamespacedEvent(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +EventsV1API_patchNamespacedEvent(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1692,11 +1692,11 @@ EventsV1API_patchNamespacedEvent(apiClient_t *apiClient, char * name , char * _n char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -1835,7 +1835,7 @@ EventsV1API_patchNamespacedEvent(apiClient_t *apiClient, char * name , char * _n // read the specified Event // events_v1_event_t* -EventsV1API_readNamespacedEvent(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ) +EventsV1API_readNamespacedEvent(apiClient_t *apiClient, char *name, char *_namespace, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1948,7 +1948,7 @@ EventsV1API_readNamespacedEvent(apiClient_t *apiClient, char * name , char * _na // replace the specified Event // events_v1_event_t* -EventsV1API_replaceNamespacedEvent(apiClient_t *apiClient, char * name , char * _namespace , events_v1_event_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +EventsV1API_replaceNamespacedEvent(apiClient_t *apiClient, char *name, char *_namespace, events_v1_event_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; diff --git a/kubernetes/api/EventsV1API.h b/kubernetes/api/EventsV1API.h index 2fb468b4..17b69d53 100644 --- a/kubernetes/api/EventsV1API.h +++ b/kubernetes/api/EventsV1API.h @@ -16,19 +16,19 @@ // create an Event // events_v1_event_t* -EventsV1API_createNamespacedEvent(apiClient_t *apiClient, char * _namespace , events_v1_event_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +EventsV1API_createNamespacedEvent(apiClient_t *apiClient, char *_namespace, events_v1_event_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // delete collection of Event // v1_status_t* -EventsV1API_deleteCollectionNamespacedEvent(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +EventsV1API_deleteCollectionNamespacedEvent(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); // delete an Event // v1_status_t* -EventsV1API_deleteNamespacedEvent(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +EventsV1API_deleteNamespacedEvent(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // get available resources @@ -40,30 +40,30 @@ EventsV1API_getAPIResources(apiClient_t *apiClient); // list or watch objects of kind Event // events_v1_event_list_t* -EventsV1API_listEventForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +EventsV1API_listEventForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind Event // events_v1_event_list_t* -EventsV1API_listNamespacedEvent(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +EventsV1API_listNamespacedEvent(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // partially update the specified Event // events_v1_event_t* -EventsV1API_patchNamespacedEvent(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +EventsV1API_patchNamespacedEvent(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // read the specified Event // events_v1_event_t* -EventsV1API_readNamespacedEvent(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ); +EventsV1API_readNamespacedEvent(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); // replace the specified Event // events_v1_event_t* -EventsV1API_replaceNamespacedEvent(apiClient_t *apiClient, char * name , char * _namespace , events_v1_event_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +EventsV1API_replaceNamespacedEvent(apiClient_t *apiClient, char *name, char *_namespace, events_v1_event_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); diff --git a/kubernetes/api/FlowcontrolApiserverV1beta2API.c b/kubernetes/api/FlowcontrolApiserverV1API.c similarity index 89% rename from kubernetes/api/FlowcontrolApiserverV1beta2API.c rename to kubernetes/api/FlowcontrolApiserverV1API.c index 5fb6a49a..325b098f 100644 --- a/kubernetes/api/FlowcontrolApiserverV1beta2API.c +++ b/kubernetes/api/FlowcontrolApiserverV1API.c @@ -1,7 +1,7 @@ #include #include #include -#include "FlowcontrolApiserverV1beta2API.h" +#include "FlowcontrolApiserverV1API.h" #define MAX_NUMBER_LENGTH 16 #define MAX_BUFFER_LENGTH 4096 @@ -14,8 +14,8 @@ // create a FlowSchema // -v1beta2_flow_schema_t* -FlowcontrolApiserverV1beta2API_createFlowSchema(apiClient_t *apiClient, v1beta2_flow_schema_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +v1_flow_schema_t* +FlowcontrolApiserverV1API_createFlowSchema(apiClient_t *apiClient, v1_flow_schema_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -25,9 +25,9 @@ FlowcontrolApiserverV1beta2API_createFlowSchema(apiClient_t *apiClient, v1beta2_ char *localVarBodyParameters = NULL; // create the path - long sizeOfPath = strlen("/apis/flowcontrol.apiserver.k8s.io/v1beta2/flowschemas")+1; + long sizeOfPath = strlen("/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas")+1; char *localVarPath = malloc(sizeOfPath); - snprintf(localVarPath, sizeOfPath, "/apis/flowcontrol.apiserver.k8s.io/v1beta2/flowschemas"); + snprintf(localVarPath, sizeOfPath, "/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas"); @@ -85,7 +85,7 @@ FlowcontrolApiserverV1beta2API_createFlowSchema(apiClient_t *apiClient, v1beta2_ if (body != NULL) { //string - localVarSingleItemJSON_body = v1beta2_flow_schema_convertToJSON(body); + localVarSingleItemJSON_body = v1_flow_schema_convertToJSON(body); localVarBodyParameters = cJSON_Print(localVarSingleItemJSON_body); } list_addElement(localVarHeaderType,"application/json"); //produces @@ -118,9 +118,9 @@ FlowcontrolApiserverV1beta2API_createFlowSchema(apiClient_t *apiClient, v1beta2_ // printf("%s\n","Unauthorized"); //} //nonprimitive not container - cJSON *FlowcontrolApiserverV1beta2APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); - v1beta2_flow_schema_t *elementToReturn = v1beta2_flow_schema_parseFromJSON(FlowcontrolApiserverV1beta2APIlocalVarJSON); - cJSON_Delete(FlowcontrolApiserverV1beta2APIlocalVarJSON); + cJSON *FlowcontrolApiserverV1APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); + v1_flow_schema_t *elementToReturn = v1_flow_schema_parseFromJSON(FlowcontrolApiserverV1APIlocalVarJSON); + cJSON_Delete(FlowcontrolApiserverV1APIlocalVarJSON); if(elementToReturn == NULL) { // return 0; } @@ -199,8 +199,8 @@ FlowcontrolApiserverV1beta2API_createFlowSchema(apiClient_t *apiClient, v1beta2_ // create a PriorityLevelConfiguration // -v1beta2_priority_level_configuration_t* -FlowcontrolApiserverV1beta2API_createPriorityLevelConfiguration(apiClient_t *apiClient, v1beta2_priority_level_configuration_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +v1_priority_level_configuration_t* +FlowcontrolApiserverV1API_createPriorityLevelConfiguration(apiClient_t *apiClient, v1_priority_level_configuration_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -210,9 +210,9 @@ FlowcontrolApiserverV1beta2API_createPriorityLevelConfiguration(apiClient_t *api char *localVarBodyParameters = NULL; // create the path - long sizeOfPath = strlen("/apis/flowcontrol.apiserver.k8s.io/v1beta2/prioritylevelconfigurations")+1; + long sizeOfPath = strlen("/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations")+1; char *localVarPath = malloc(sizeOfPath); - snprintf(localVarPath, sizeOfPath, "/apis/flowcontrol.apiserver.k8s.io/v1beta2/prioritylevelconfigurations"); + snprintf(localVarPath, sizeOfPath, "/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations"); @@ -270,7 +270,7 @@ FlowcontrolApiserverV1beta2API_createPriorityLevelConfiguration(apiClient_t *api if (body != NULL) { //string - localVarSingleItemJSON_body = v1beta2_priority_level_configuration_convertToJSON(body); + localVarSingleItemJSON_body = v1_priority_level_configuration_convertToJSON(body); localVarBodyParameters = cJSON_Print(localVarSingleItemJSON_body); } list_addElement(localVarHeaderType,"application/json"); //produces @@ -303,9 +303,9 @@ FlowcontrolApiserverV1beta2API_createPriorityLevelConfiguration(apiClient_t *api // printf("%s\n","Unauthorized"); //} //nonprimitive not container - cJSON *FlowcontrolApiserverV1beta2APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); - v1beta2_priority_level_configuration_t *elementToReturn = v1beta2_priority_level_configuration_parseFromJSON(FlowcontrolApiserverV1beta2APIlocalVarJSON); - cJSON_Delete(FlowcontrolApiserverV1beta2APIlocalVarJSON); + cJSON *FlowcontrolApiserverV1APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); + v1_priority_level_configuration_t *elementToReturn = v1_priority_level_configuration_parseFromJSON(FlowcontrolApiserverV1APIlocalVarJSON); + cJSON_Delete(FlowcontrolApiserverV1APIlocalVarJSON); if(elementToReturn == NULL) { // return 0; } @@ -385,7 +385,7 @@ FlowcontrolApiserverV1beta2API_createPriorityLevelConfiguration(apiClient_t *api // delete collection of FlowSchema // v1_status_t* -FlowcontrolApiserverV1beta2API_deleteCollectionFlowSchema(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +FlowcontrolApiserverV1API_deleteCollectionFlowSchema(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -395,9 +395,9 @@ FlowcontrolApiserverV1beta2API_deleteCollectionFlowSchema(apiClient_t *apiClient char *localVarBodyParameters = NULL; // create the path - long sizeOfPath = strlen("/apis/flowcontrol.apiserver.k8s.io/v1beta2/flowschemas")+1; + long sizeOfPath = strlen("/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas")+1; char *localVarPath = malloc(sizeOfPath); - snprintf(localVarPath, sizeOfPath, "/apis/flowcontrol.apiserver.k8s.io/v1beta2/flowschemas"); + snprintf(localVarPath, sizeOfPath, "/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas"); @@ -454,11 +454,11 @@ FlowcontrolApiserverV1beta2API_deleteCollectionFlowSchema(apiClient_t *apiClient char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -479,11 +479,11 @@ FlowcontrolApiserverV1beta2API_deleteCollectionFlowSchema(apiClient_t *apiClient char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -492,11 +492,11 @@ FlowcontrolApiserverV1beta2API_deleteCollectionFlowSchema(apiClient_t *apiClient char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -541,11 +541,11 @@ FlowcontrolApiserverV1beta2API_deleteCollectionFlowSchema(apiClient_t *apiClient char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -554,11 +554,11 @@ FlowcontrolApiserverV1beta2API_deleteCollectionFlowSchema(apiClient_t *apiClient char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -593,9 +593,9 @@ FlowcontrolApiserverV1beta2API_deleteCollectionFlowSchema(apiClient_t *apiClient // printf("%s\n","Unauthorized"); //} //nonprimitive not container - cJSON *FlowcontrolApiserverV1beta2APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); - v1_status_t *elementToReturn = v1_status_parseFromJSON(FlowcontrolApiserverV1beta2APIlocalVarJSON); - cJSON_Delete(FlowcontrolApiserverV1beta2APIlocalVarJSON); + cJSON *FlowcontrolApiserverV1APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); + v1_status_t *elementToReturn = v1_status_parseFromJSON(FlowcontrolApiserverV1APIlocalVarJSON); + cJSON_Delete(FlowcontrolApiserverV1APIlocalVarJSON); if(elementToReturn == NULL) { // return 0; } @@ -783,7 +783,7 @@ FlowcontrolApiserverV1beta2API_deleteCollectionFlowSchema(apiClient_t *apiClient // delete collection of PriorityLevelConfiguration // v1_status_t* -FlowcontrolApiserverV1beta2API_deleteCollectionPriorityLevelConfiguration(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +FlowcontrolApiserverV1API_deleteCollectionPriorityLevelConfiguration(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -793,9 +793,9 @@ FlowcontrolApiserverV1beta2API_deleteCollectionPriorityLevelConfiguration(apiCli char *localVarBodyParameters = NULL; // create the path - long sizeOfPath = strlen("/apis/flowcontrol.apiserver.k8s.io/v1beta2/prioritylevelconfigurations")+1; + long sizeOfPath = strlen("/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations")+1; char *localVarPath = malloc(sizeOfPath); - snprintf(localVarPath, sizeOfPath, "/apis/flowcontrol.apiserver.k8s.io/v1beta2/prioritylevelconfigurations"); + snprintf(localVarPath, sizeOfPath, "/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations"); @@ -852,11 +852,11 @@ FlowcontrolApiserverV1beta2API_deleteCollectionPriorityLevelConfiguration(apiCli char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -877,11 +877,11 @@ FlowcontrolApiserverV1beta2API_deleteCollectionPriorityLevelConfiguration(apiCli char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -890,11 +890,11 @@ FlowcontrolApiserverV1beta2API_deleteCollectionPriorityLevelConfiguration(apiCli char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -939,11 +939,11 @@ FlowcontrolApiserverV1beta2API_deleteCollectionPriorityLevelConfiguration(apiCli char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -952,11 +952,11 @@ FlowcontrolApiserverV1beta2API_deleteCollectionPriorityLevelConfiguration(apiCli char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -991,9 +991,9 @@ FlowcontrolApiserverV1beta2API_deleteCollectionPriorityLevelConfiguration(apiCli // printf("%s\n","Unauthorized"); //} //nonprimitive not container - cJSON *FlowcontrolApiserverV1beta2APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); - v1_status_t *elementToReturn = v1_status_parseFromJSON(FlowcontrolApiserverV1beta2APIlocalVarJSON); - cJSON_Delete(FlowcontrolApiserverV1beta2APIlocalVarJSON); + cJSON *FlowcontrolApiserverV1APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); + v1_status_t *elementToReturn = v1_status_parseFromJSON(FlowcontrolApiserverV1APIlocalVarJSON); + cJSON_Delete(FlowcontrolApiserverV1APIlocalVarJSON); if(elementToReturn == NULL) { // return 0; } @@ -1181,7 +1181,7 @@ FlowcontrolApiserverV1beta2API_deleteCollectionPriorityLevelConfiguration(apiCli // delete a FlowSchema // v1_status_t* -FlowcontrolApiserverV1beta2API_deleteFlowSchema(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +FlowcontrolApiserverV1API_deleteFlowSchema(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1191,9 +1191,9 @@ FlowcontrolApiserverV1beta2API_deleteFlowSchema(apiClient_t *apiClient, char * n char *localVarBodyParameters = NULL; // create the path - long sizeOfPath = strlen("/apis/flowcontrol.apiserver.k8s.io/v1beta2/flowschemas/{name}")+1; + long sizeOfPath = strlen("/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name}")+1; char *localVarPath = malloc(sizeOfPath); - snprintf(localVarPath, sizeOfPath, "/apis/flowcontrol.apiserver.k8s.io/v1beta2/flowschemas/{name}"); + snprintf(localVarPath, sizeOfPath, "/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name}"); // Path Params @@ -1236,11 +1236,11 @@ FlowcontrolApiserverV1beta2API_deleteFlowSchema(apiClient_t *apiClient, char * n char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -1249,11 +1249,11 @@ FlowcontrolApiserverV1beta2API_deleteFlowSchema(apiClient_t *apiClient, char * n char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -1304,9 +1304,9 @@ FlowcontrolApiserverV1beta2API_deleteFlowSchema(apiClient_t *apiClient, char * n // printf("%s\n","Unauthorized"); //} //nonprimitive not container - cJSON *FlowcontrolApiserverV1beta2APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); - v1_status_t *elementToReturn = v1_status_parseFromJSON(FlowcontrolApiserverV1beta2APIlocalVarJSON); - cJSON_Delete(FlowcontrolApiserverV1beta2APIlocalVarJSON); + cJSON *FlowcontrolApiserverV1APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); + v1_status_t *elementToReturn = v1_status_parseFromJSON(FlowcontrolApiserverV1APIlocalVarJSON); + cJSON_Delete(FlowcontrolApiserverV1APIlocalVarJSON); if(elementToReturn == NULL) { // return 0; } @@ -1399,7 +1399,7 @@ FlowcontrolApiserverV1beta2API_deleteFlowSchema(apiClient_t *apiClient, char * n // delete a PriorityLevelConfiguration // v1_status_t* -FlowcontrolApiserverV1beta2API_deletePriorityLevelConfiguration(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +FlowcontrolApiserverV1API_deletePriorityLevelConfiguration(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1409,9 +1409,9 @@ FlowcontrolApiserverV1beta2API_deletePriorityLevelConfiguration(apiClient_t *api char *localVarBodyParameters = NULL; // create the path - long sizeOfPath = strlen("/apis/flowcontrol.apiserver.k8s.io/v1beta2/prioritylevelconfigurations/{name}")+1; + long sizeOfPath = strlen("/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name}")+1; char *localVarPath = malloc(sizeOfPath); - snprintf(localVarPath, sizeOfPath, "/apis/flowcontrol.apiserver.k8s.io/v1beta2/prioritylevelconfigurations/{name}"); + snprintf(localVarPath, sizeOfPath, "/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name}"); // Path Params @@ -1454,11 +1454,11 @@ FlowcontrolApiserverV1beta2API_deletePriorityLevelConfiguration(apiClient_t *api char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -1467,11 +1467,11 @@ FlowcontrolApiserverV1beta2API_deletePriorityLevelConfiguration(apiClient_t *api char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -1522,9 +1522,9 @@ FlowcontrolApiserverV1beta2API_deletePriorityLevelConfiguration(apiClient_t *api // printf("%s\n","Unauthorized"); //} //nonprimitive not container - cJSON *FlowcontrolApiserverV1beta2APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); - v1_status_t *elementToReturn = v1_status_parseFromJSON(FlowcontrolApiserverV1beta2APIlocalVarJSON); - cJSON_Delete(FlowcontrolApiserverV1beta2APIlocalVarJSON); + cJSON *FlowcontrolApiserverV1APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); + v1_status_t *elementToReturn = v1_status_parseFromJSON(FlowcontrolApiserverV1APIlocalVarJSON); + cJSON_Delete(FlowcontrolApiserverV1APIlocalVarJSON); if(elementToReturn == NULL) { // return 0; } @@ -1617,7 +1617,7 @@ FlowcontrolApiserverV1beta2API_deletePriorityLevelConfiguration(apiClient_t *api // get available resources // v1_api_resource_list_t* -FlowcontrolApiserverV1beta2API_getAPIResources(apiClient_t *apiClient) +FlowcontrolApiserverV1API_getAPIResources(apiClient_t *apiClient) { list_t *localVarQueryParameters = NULL; list_t *localVarHeaderParameters = NULL; @@ -1627,9 +1627,9 @@ FlowcontrolApiserverV1beta2API_getAPIResources(apiClient_t *apiClient) char *localVarBodyParameters = NULL; // create the path - long sizeOfPath = strlen("/apis/flowcontrol.apiserver.k8s.io/v1beta2/")+1; + long sizeOfPath = strlen("/apis/flowcontrol.apiserver.k8s.io/v1/")+1; char *localVarPath = malloc(sizeOfPath); - snprintf(localVarPath, sizeOfPath, "/apis/flowcontrol.apiserver.k8s.io/v1beta2/"); + snprintf(localVarPath, sizeOfPath, "/apis/flowcontrol.apiserver.k8s.io/v1/"); @@ -1655,9 +1655,9 @@ FlowcontrolApiserverV1beta2API_getAPIResources(apiClient_t *apiClient) // printf("%s\n","Unauthorized"); //} //nonprimitive not container - cJSON *FlowcontrolApiserverV1beta2APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); - v1_api_resource_list_t *elementToReturn = v1_api_resource_list_parseFromJSON(FlowcontrolApiserverV1beta2APIlocalVarJSON); - cJSON_Delete(FlowcontrolApiserverV1beta2APIlocalVarJSON); + cJSON *FlowcontrolApiserverV1APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); + v1_api_resource_list_t *elementToReturn = v1_api_resource_list_parseFromJSON(FlowcontrolApiserverV1APIlocalVarJSON); + cJSON_Delete(FlowcontrolApiserverV1APIlocalVarJSON); if(elementToReturn == NULL) { // return 0; } @@ -1683,8 +1683,8 @@ FlowcontrolApiserverV1beta2API_getAPIResources(apiClient_t *apiClient) // list or watch objects of kind FlowSchema // -v1beta2_flow_schema_list_t* -FlowcontrolApiserverV1beta2API_listFlowSchema(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +v1_flow_schema_list_t* +FlowcontrolApiserverV1API_listFlowSchema(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1694,9 +1694,9 @@ FlowcontrolApiserverV1beta2API_listFlowSchema(apiClient_t *apiClient, char * pre char *localVarBodyParameters = NULL; // create the path - long sizeOfPath = strlen("/apis/flowcontrol.apiserver.k8s.io/v1beta2/flowschemas")+1; + long sizeOfPath = strlen("/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas")+1; char *localVarPath = malloc(sizeOfPath); - snprintf(localVarPath, sizeOfPath, "/apis/flowcontrol.apiserver.k8s.io/v1beta2/flowschemas"); + snprintf(localVarPath, sizeOfPath, "/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas"); @@ -1717,11 +1717,11 @@ FlowcontrolApiserverV1beta2API_listFlowSchema(apiClient_t *apiClient, char * pre char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -1766,11 +1766,11 @@ FlowcontrolApiserverV1beta2API_listFlowSchema(apiClient_t *apiClient, char * pre char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -1803,11 +1803,11 @@ FlowcontrolApiserverV1beta2API_listFlowSchema(apiClient_t *apiClient, char * pre char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -1816,11 +1816,11 @@ FlowcontrolApiserverV1beta2API_listFlowSchema(apiClient_t *apiClient, char * pre char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -1829,11 +1829,11 @@ FlowcontrolApiserverV1beta2API_listFlowSchema(apiClient_t *apiClient, char * pre char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -1861,9 +1861,9 @@ FlowcontrolApiserverV1beta2API_listFlowSchema(apiClient_t *apiClient, char * pre // printf("%s\n","Unauthorized"); //} //nonprimitive not container - cJSON *FlowcontrolApiserverV1beta2APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); - v1beta2_flow_schema_list_t *elementToReturn = v1beta2_flow_schema_list_parseFromJSON(FlowcontrolApiserverV1beta2APIlocalVarJSON); - cJSON_Delete(FlowcontrolApiserverV1beta2APIlocalVarJSON); + cJSON *FlowcontrolApiserverV1APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); + v1_flow_schema_list_t *elementToReturn = v1_flow_schema_list_parseFromJSON(FlowcontrolApiserverV1APIlocalVarJSON); + cJSON_Delete(FlowcontrolApiserverV1APIlocalVarJSON); if(elementToReturn == NULL) { // return 0; } @@ -2021,8 +2021,8 @@ FlowcontrolApiserverV1beta2API_listFlowSchema(apiClient_t *apiClient, char * pre // list or watch objects of kind PriorityLevelConfiguration // -v1beta2_priority_level_configuration_list_t* -FlowcontrolApiserverV1beta2API_listPriorityLevelConfiguration(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +v1_priority_level_configuration_list_t* +FlowcontrolApiserverV1API_listPriorityLevelConfiguration(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2032,9 +2032,9 @@ FlowcontrolApiserverV1beta2API_listPriorityLevelConfiguration(apiClient_t *apiCl char *localVarBodyParameters = NULL; // create the path - long sizeOfPath = strlen("/apis/flowcontrol.apiserver.k8s.io/v1beta2/prioritylevelconfigurations")+1; + long sizeOfPath = strlen("/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations")+1; char *localVarPath = malloc(sizeOfPath); - snprintf(localVarPath, sizeOfPath, "/apis/flowcontrol.apiserver.k8s.io/v1beta2/prioritylevelconfigurations"); + snprintf(localVarPath, sizeOfPath, "/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations"); @@ -2055,11 +2055,11 @@ FlowcontrolApiserverV1beta2API_listPriorityLevelConfiguration(apiClient_t *apiCl char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -2104,11 +2104,11 @@ FlowcontrolApiserverV1beta2API_listPriorityLevelConfiguration(apiClient_t *apiCl char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -2141,11 +2141,11 @@ FlowcontrolApiserverV1beta2API_listPriorityLevelConfiguration(apiClient_t *apiCl char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -2154,11 +2154,11 @@ FlowcontrolApiserverV1beta2API_listPriorityLevelConfiguration(apiClient_t *apiCl char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -2167,11 +2167,11 @@ FlowcontrolApiserverV1beta2API_listPriorityLevelConfiguration(apiClient_t *apiCl char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -2199,9 +2199,9 @@ FlowcontrolApiserverV1beta2API_listPriorityLevelConfiguration(apiClient_t *apiCl // printf("%s\n","Unauthorized"); //} //nonprimitive not container - cJSON *FlowcontrolApiserverV1beta2APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); - v1beta2_priority_level_configuration_list_t *elementToReturn = v1beta2_priority_level_configuration_list_parseFromJSON(FlowcontrolApiserverV1beta2APIlocalVarJSON); - cJSON_Delete(FlowcontrolApiserverV1beta2APIlocalVarJSON); + cJSON *FlowcontrolApiserverV1APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); + v1_priority_level_configuration_list_t *elementToReturn = v1_priority_level_configuration_list_parseFromJSON(FlowcontrolApiserverV1APIlocalVarJSON); + cJSON_Delete(FlowcontrolApiserverV1APIlocalVarJSON); if(elementToReturn == NULL) { // return 0; } @@ -2359,8 +2359,8 @@ FlowcontrolApiserverV1beta2API_listPriorityLevelConfiguration(apiClient_t *apiCl // partially update the specified FlowSchema // -v1beta2_flow_schema_t* -FlowcontrolApiserverV1beta2API_patchFlowSchema(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +v1_flow_schema_t* +FlowcontrolApiserverV1API_patchFlowSchema(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2370,9 +2370,9 @@ FlowcontrolApiserverV1beta2API_patchFlowSchema(apiClient_t *apiClient, char * na char *localVarBodyParameters = NULL; // create the path - long sizeOfPath = strlen("/apis/flowcontrol.apiserver.k8s.io/v1beta2/flowschemas/{name}")+1; + long sizeOfPath = strlen("/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name}")+1; char *localVarPath = malloc(sizeOfPath); - snprintf(localVarPath, sizeOfPath, "/apis/flowcontrol.apiserver.k8s.io/v1beta2/flowschemas/{name}"); + snprintf(localVarPath, sizeOfPath, "/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name}"); // Path Params @@ -2439,11 +2439,11 @@ FlowcontrolApiserverV1beta2API_patchFlowSchema(apiClient_t *apiClient, char * na char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -2486,9 +2486,9 @@ FlowcontrolApiserverV1beta2API_patchFlowSchema(apiClient_t *apiClient, char * na // printf("%s\n","Unauthorized"); //} //nonprimitive not container - cJSON *FlowcontrolApiserverV1beta2APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); - v1beta2_flow_schema_t *elementToReturn = v1beta2_flow_schema_parseFromJSON(FlowcontrolApiserverV1beta2APIlocalVarJSON); - cJSON_Delete(FlowcontrolApiserverV1beta2APIlocalVarJSON); + cJSON *FlowcontrolApiserverV1APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); + v1_flow_schema_t *elementToReturn = v1_flow_schema_parseFromJSON(FlowcontrolApiserverV1APIlocalVarJSON); + cJSON_Delete(FlowcontrolApiserverV1APIlocalVarJSON); if(elementToReturn == NULL) { // return 0; } @@ -2580,8 +2580,8 @@ FlowcontrolApiserverV1beta2API_patchFlowSchema(apiClient_t *apiClient, char * na // partially update status of the specified FlowSchema // -v1beta2_flow_schema_t* -FlowcontrolApiserverV1beta2API_patchFlowSchemaStatus(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +v1_flow_schema_t* +FlowcontrolApiserverV1API_patchFlowSchemaStatus(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2591,9 +2591,9 @@ FlowcontrolApiserverV1beta2API_patchFlowSchemaStatus(apiClient_t *apiClient, cha char *localVarBodyParameters = NULL; // create the path - long sizeOfPath = strlen("/apis/flowcontrol.apiserver.k8s.io/v1beta2/flowschemas/{name}/status")+1; + long sizeOfPath = strlen("/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name}/status")+1; char *localVarPath = malloc(sizeOfPath); - snprintf(localVarPath, sizeOfPath, "/apis/flowcontrol.apiserver.k8s.io/v1beta2/flowschemas/{name}/status"); + snprintf(localVarPath, sizeOfPath, "/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name}/status"); // Path Params @@ -2660,11 +2660,11 @@ FlowcontrolApiserverV1beta2API_patchFlowSchemaStatus(apiClient_t *apiClient, cha char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -2707,9 +2707,9 @@ FlowcontrolApiserverV1beta2API_patchFlowSchemaStatus(apiClient_t *apiClient, cha // printf("%s\n","Unauthorized"); //} //nonprimitive not container - cJSON *FlowcontrolApiserverV1beta2APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); - v1beta2_flow_schema_t *elementToReturn = v1beta2_flow_schema_parseFromJSON(FlowcontrolApiserverV1beta2APIlocalVarJSON); - cJSON_Delete(FlowcontrolApiserverV1beta2APIlocalVarJSON); + cJSON *FlowcontrolApiserverV1APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); + v1_flow_schema_t *elementToReturn = v1_flow_schema_parseFromJSON(FlowcontrolApiserverV1APIlocalVarJSON); + cJSON_Delete(FlowcontrolApiserverV1APIlocalVarJSON); if(elementToReturn == NULL) { // return 0; } @@ -2801,8 +2801,8 @@ FlowcontrolApiserverV1beta2API_patchFlowSchemaStatus(apiClient_t *apiClient, cha // partially update the specified PriorityLevelConfiguration // -v1beta2_priority_level_configuration_t* -FlowcontrolApiserverV1beta2API_patchPriorityLevelConfiguration(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +v1_priority_level_configuration_t* +FlowcontrolApiserverV1API_patchPriorityLevelConfiguration(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2812,9 +2812,9 @@ FlowcontrolApiserverV1beta2API_patchPriorityLevelConfiguration(apiClient_t *apiC char *localVarBodyParameters = NULL; // create the path - long sizeOfPath = strlen("/apis/flowcontrol.apiserver.k8s.io/v1beta2/prioritylevelconfigurations/{name}")+1; + long sizeOfPath = strlen("/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name}")+1; char *localVarPath = malloc(sizeOfPath); - snprintf(localVarPath, sizeOfPath, "/apis/flowcontrol.apiserver.k8s.io/v1beta2/prioritylevelconfigurations/{name}"); + snprintf(localVarPath, sizeOfPath, "/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name}"); // Path Params @@ -2881,11 +2881,11 @@ FlowcontrolApiserverV1beta2API_patchPriorityLevelConfiguration(apiClient_t *apiC char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -2928,9 +2928,9 @@ FlowcontrolApiserverV1beta2API_patchPriorityLevelConfiguration(apiClient_t *apiC // printf("%s\n","Unauthorized"); //} //nonprimitive not container - cJSON *FlowcontrolApiserverV1beta2APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); - v1beta2_priority_level_configuration_t *elementToReturn = v1beta2_priority_level_configuration_parseFromJSON(FlowcontrolApiserverV1beta2APIlocalVarJSON); - cJSON_Delete(FlowcontrolApiserverV1beta2APIlocalVarJSON); + cJSON *FlowcontrolApiserverV1APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); + v1_priority_level_configuration_t *elementToReturn = v1_priority_level_configuration_parseFromJSON(FlowcontrolApiserverV1APIlocalVarJSON); + cJSON_Delete(FlowcontrolApiserverV1APIlocalVarJSON); if(elementToReturn == NULL) { // return 0; } @@ -3022,8 +3022,8 @@ FlowcontrolApiserverV1beta2API_patchPriorityLevelConfiguration(apiClient_t *apiC // partially update status of the specified PriorityLevelConfiguration // -v1beta2_priority_level_configuration_t* -FlowcontrolApiserverV1beta2API_patchPriorityLevelConfigurationStatus(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +v1_priority_level_configuration_t* +FlowcontrolApiserverV1API_patchPriorityLevelConfigurationStatus(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3033,9 +3033,9 @@ FlowcontrolApiserverV1beta2API_patchPriorityLevelConfigurationStatus(apiClient_t char *localVarBodyParameters = NULL; // create the path - long sizeOfPath = strlen("/apis/flowcontrol.apiserver.k8s.io/v1beta2/prioritylevelconfigurations/{name}/status")+1; + long sizeOfPath = strlen("/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name}/status")+1; char *localVarPath = malloc(sizeOfPath); - snprintf(localVarPath, sizeOfPath, "/apis/flowcontrol.apiserver.k8s.io/v1beta2/prioritylevelconfigurations/{name}/status"); + snprintf(localVarPath, sizeOfPath, "/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name}/status"); // Path Params @@ -3102,11 +3102,11 @@ FlowcontrolApiserverV1beta2API_patchPriorityLevelConfigurationStatus(apiClient_t char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -3149,9 +3149,9 @@ FlowcontrolApiserverV1beta2API_patchPriorityLevelConfigurationStatus(apiClient_t // printf("%s\n","Unauthorized"); //} //nonprimitive not container - cJSON *FlowcontrolApiserverV1beta2APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); - v1beta2_priority_level_configuration_t *elementToReturn = v1beta2_priority_level_configuration_parseFromJSON(FlowcontrolApiserverV1beta2APIlocalVarJSON); - cJSON_Delete(FlowcontrolApiserverV1beta2APIlocalVarJSON); + cJSON *FlowcontrolApiserverV1APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); + v1_priority_level_configuration_t *elementToReturn = v1_priority_level_configuration_parseFromJSON(FlowcontrolApiserverV1APIlocalVarJSON); + cJSON_Delete(FlowcontrolApiserverV1APIlocalVarJSON); if(elementToReturn == NULL) { // return 0; } @@ -3243,8 +3243,8 @@ FlowcontrolApiserverV1beta2API_patchPriorityLevelConfigurationStatus(apiClient_t // read the specified FlowSchema // -v1beta2_flow_schema_t* -FlowcontrolApiserverV1beta2API_readFlowSchema(apiClient_t *apiClient, char * name , char * pretty ) +v1_flow_schema_t* +FlowcontrolApiserverV1API_readFlowSchema(apiClient_t *apiClient, char *name, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3254,9 +3254,9 @@ FlowcontrolApiserverV1beta2API_readFlowSchema(apiClient_t *apiClient, char * nam char *localVarBodyParameters = NULL; // create the path - long sizeOfPath = strlen("/apis/flowcontrol.apiserver.k8s.io/v1beta2/flowschemas/{name}")+1; + long sizeOfPath = strlen("/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name}")+1; char *localVarPath = malloc(sizeOfPath); - snprintf(localVarPath, sizeOfPath, "/apis/flowcontrol.apiserver.k8s.io/v1beta2/flowschemas/{name}"); + snprintf(localVarPath, sizeOfPath, "/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name}"); // Path Params @@ -3304,9 +3304,9 @@ FlowcontrolApiserverV1beta2API_readFlowSchema(apiClient_t *apiClient, char * nam // printf("%s\n","Unauthorized"); //} //nonprimitive not container - cJSON *FlowcontrolApiserverV1beta2APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); - v1beta2_flow_schema_t *elementToReturn = v1beta2_flow_schema_parseFromJSON(FlowcontrolApiserverV1beta2APIlocalVarJSON); - cJSON_Delete(FlowcontrolApiserverV1beta2APIlocalVarJSON); + cJSON *FlowcontrolApiserverV1APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); + v1_flow_schema_t *elementToReturn = v1_flow_schema_parseFromJSON(FlowcontrolApiserverV1APIlocalVarJSON); + cJSON_Delete(FlowcontrolApiserverV1APIlocalVarJSON); if(elementToReturn == NULL) { // return 0; } @@ -3345,8 +3345,8 @@ FlowcontrolApiserverV1beta2API_readFlowSchema(apiClient_t *apiClient, char * nam // read status of the specified FlowSchema // -v1beta2_flow_schema_t* -FlowcontrolApiserverV1beta2API_readFlowSchemaStatus(apiClient_t *apiClient, char * name , char * pretty ) +v1_flow_schema_t* +FlowcontrolApiserverV1API_readFlowSchemaStatus(apiClient_t *apiClient, char *name, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3356,9 +3356,9 @@ FlowcontrolApiserverV1beta2API_readFlowSchemaStatus(apiClient_t *apiClient, char char *localVarBodyParameters = NULL; // create the path - long sizeOfPath = strlen("/apis/flowcontrol.apiserver.k8s.io/v1beta2/flowschemas/{name}/status")+1; + long sizeOfPath = strlen("/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name}/status")+1; char *localVarPath = malloc(sizeOfPath); - snprintf(localVarPath, sizeOfPath, "/apis/flowcontrol.apiserver.k8s.io/v1beta2/flowschemas/{name}/status"); + snprintf(localVarPath, sizeOfPath, "/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name}/status"); // Path Params @@ -3406,9 +3406,9 @@ FlowcontrolApiserverV1beta2API_readFlowSchemaStatus(apiClient_t *apiClient, char // printf("%s\n","Unauthorized"); //} //nonprimitive not container - cJSON *FlowcontrolApiserverV1beta2APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); - v1beta2_flow_schema_t *elementToReturn = v1beta2_flow_schema_parseFromJSON(FlowcontrolApiserverV1beta2APIlocalVarJSON); - cJSON_Delete(FlowcontrolApiserverV1beta2APIlocalVarJSON); + cJSON *FlowcontrolApiserverV1APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); + v1_flow_schema_t *elementToReturn = v1_flow_schema_parseFromJSON(FlowcontrolApiserverV1APIlocalVarJSON); + cJSON_Delete(FlowcontrolApiserverV1APIlocalVarJSON); if(elementToReturn == NULL) { // return 0; } @@ -3447,8 +3447,8 @@ FlowcontrolApiserverV1beta2API_readFlowSchemaStatus(apiClient_t *apiClient, char // read the specified PriorityLevelConfiguration // -v1beta2_priority_level_configuration_t* -FlowcontrolApiserverV1beta2API_readPriorityLevelConfiguration(apiClient_t *apiClient, char * name , char * pretty ) +v1_priority_level_configuration_t* +FlowcontrolApiserverV1API_readPriorityLevelConfiguration(apiClient_t *apiClient, char *name, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3458,9 +3458,9 @@ FlowcontrolApiserverV1beta2API_readPriorityLevelConfiguration(apiClient_t *apiCl char *localVarBodyParameters = NULL; // create the path - long sizeOfPath = strlen("/apis/flowcontrol.apiserver.k8s.io/v1beta2/prioritylevelconfigurations/{name}")+1; + long sizeOfPath = strlen("/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name}")+1; char *localVarPath = malloc(sizeOfPath); - snprintf(localVarPath, sizeOfPath, "/apis/flowcontrol.apiserver.k8s.io/v1beta2/prioritylevelconfigurations/{name}"); + snprintf(localVarPath, sizeOfPath, "/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name}"); // Path Params @@ -3508,9 +3508,9 @@ FlowcontrolApiserverV1beta2API_readPriorityLevelConfiguration(apiClient_t *apiCl // printf("%s\n","Unauthorized"); //} //nonprimitive not container - cJSON *FlowcontrolApiserverV1beta2APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); - v1beta2_priority_level_configuration_t *elementToReturn = v1beta2_priority_level_configuration_parseFromJSON(FlowcontrolApiserverV1beta2APIlocalVarJSON); - cJSON_Delete(FlowcontrolApiserverV1beta2APIlocalVarJSON); + cJSON *FlowcontrolApiserverV1APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); + v1_priority_level_configuration_t *elementToReturn = v1_priority_level_configuration_parseFromJSON(FlowcontrolApiserverV1APIlocalVarJSON); + cJSON_Delete(FlowcontrolApiserverV1APIlocalVarJSON); if(elementToReturn == NULL) { // return 0; } @@ -3549,8 +3549,8 @@ FlowcontrolApiserverV1beta2API_readPriorityLevelConfiguration(apiClient_t *apiCl // read status of the specified PriorityLevelConfiguration // -v1beta2_priority_level_configuration_t* -FlowcontrolApiserverV1beta2API_readPriorityLevelConfigurationStatus(apiClient_t *apiClient, char * name , char * pretty ) +v1_priority_level_configuration_t* +FlowcontrolApiserverV1API_readPriorityLevelConfigurationStatus(apiClient_t *apiClient, char *name, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3560,9 +3560,9 @@ FlowcontrolApiserverV1beta2API_readPriorityLevelConfigurationStatus(apiClient_t char *localVarBodyParameters = NULL; // create the path - long sizeOfPath = strlen("/apis/flowcontrol.apiserver.k8s.io/v1beta2/prioritylevelconfigurations/{name}/status")+1; + long sizeOfPath = strlen("/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name}/status")+1; char *localVarPath = malloc(sizeOfPath); - snprintf(localVarPath, sizeOfPath, "/apis/flowcontrol.apiserver.k8s.io/v1beta2/prioritylevelconfigurations/{name}/status"); + snprintf(localVarPath, sizeOfPath, "/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name}/status"); // Path Params @@ -3610,9 +3610,9 @@ FlowcontrolApiserverV1beta2API_readPriorityLevelConfigurationStatus(apiClient_t // printf("%s\n","Unauthorized"); //} //nonprimitive not container - cJSON *FlowcontrolApiserverV1beta2APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); - v1beta2_priority_level_configuration_t *elementToReturn = v1beta2_priority_level_configuration_parseFromJSON(FlowcontrolApiserverV1beta2APIlocalVarJSON); - cJSON_Delete(FlowcontrolApiserverV1beta2APIlocalVarJSON); + cJSON *FlowcontrolApiserverV1APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); + v1_priority_level_configuration_t *elementToReturn = v1_priority_level_configuration_parseFromJSON(FlowcontrolApiserverV1APIlocalVarJSON); + cJSON_Delete(FlowcontrolApiserverV1APIlocalVarJSON); if(elementToReturn == NULL) { // return 0; } @@ -3651,8 +3651,8 @@ FlowcontrolApiserverV1beta2API_readPriorityLevelConfigurationStatus(apiClient_t // replace the specified FlowSchema // -v1beta2_flow_schema_t* -FlowcontrolApiserverV1beta2API_replaceFlowSchema(apiClient_t *apiClient, char * name , v1beta2_flow_schema_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +v1_flow_schema_t* +FlowcontrolApiserverV1API_replaceFlowSchema(apiClient_t *apiClient, char *name, v1_flow_schema_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3662,9 +3662,9 @@ FlowcontrolApiserverV1beta2API_replaceFlowSchema(apiClient_t *apiClient, char * char *localVarBodyParameters = NULL; // create the path - long sizeOfPath = strlen("/apis/flowcontrol.apiserver.k8s.io/v1beta2/flowschemas/{name}")+1; + long sizeOfPath = strlen("/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name}")+1; char *localVarPath = malloc(sizeOfPath); - snprintf(localVarPath, sizeOfPath, "/apis/flowcontrol.apiserver.k8s.io/v1beta2/flowschemas/{name}"); + snprintf(localVarPath, sizeOfPath, "/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name}"); // Path Params @@ -3732,7 +3732,7 @@ FlowcontrolApiserverV1beta2API_replaceFlowSchema(apiClient_t *apiClient, char * if (body != NULL) { //string - localVarSingleItemJSON_body = v1beta2_flow_schema_convertToJSON(body); + localVarSingleItemJSON_body = v1_flow_schema_convertToJSON(body); localVarBodyParameters = cJSON_Print(localVarSingleItemJSON_body); } list_addElement(localVarHeaderType,"application/json"); //produces @@ -3761,9 +3761,9 @@ FlowcontrolApiserverV1beta2API_replaceFlowSchema(apiClient_t *apiClient, char * // printf("%s\n","Unauthorized"); //} //nonprimitive not container - cJSON *FlowcontrolApiserverV1beta2APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); - v1beta2_flow_schema_t *elementToReturn = v1beta2_flow_schema_parseFromJSON(FlowcontrolApiserverV1beta2APIlocalVarJSON); - cJSON_Delete(FlowcontrolApiserverV1beta2APIlocalVarJSON); + cJSON *FlowcontrolApiserverV1APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); + v1_flow_schema_t *elementToReturn = v1_flow_schema_parseFromJSON(FlowcontrolApiserverV1APIlocalVarJSON); + cJSON_Delete(FlowcontrolApiserverV1APIlocalVarJSON); if(elementToReturn == NULL) { // return 0; } @@ -3843,8 +3843,8 @@ FlowcontrolApiserverV1beta2API_replaceFlowSchema(apiClient_t *apiClient, char * // replace status of the specified FlowSchema // -v1beta2_flow_schema_t* -FlowcontrolApiserverV1beta2API_replaceFlowSchemaStatus(apiClient_t *apiClient, char * name , v1beta2_flow_schema_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +v1_flow_schema_t* +FlowcontrolApiserverV1API_replaceFlowSchemaStatus(apiClient_t *apiClient, char *name, v1_flow_schema_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3854,9 +3854,9 @@ FlowcontrolApiserverV1beta2API_replaceFlowSchemaStatus(apiClient_t *apiClient, c char *localVarBodyParameters = NULL; // create the path - long sizeOfPath = strlen("/apis/flowcontrol.apiserver.k8s.io/v1beta2/flowschemas/{name}/status")+1; + long sizeOfPath = strlen("/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name}/status")+1; char *localVarPath = malloc(sizeOfPath); - snprintf(localVarPath, sizeOfPath, "/apis/flowcontrol.apiserver.k8s.io/v1beta2/flowschemas/{name}/status"); + snprintf(localVarPath, sizeOfPath, "/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name}/status"); // Path Params @@ -3924,7 +3924,7 @@ FlowcontrolApiserverV1beta2API_replaceFlowSchemaStatus(apiClient_t *apiClient, c if (body != NULL) { //string - localVarSingleItemJSON_body = v1beta2_flow_schema_convertToJSON(body); + localVarSingleItemJSON_body = v1_flow_schema_convertToJSON(body); localVarBodyParameters = cJSON_Print(localVarSingleItemJSON_body); } list_addElement(localVarHeaderType,"application/json"); //produces @@ -3953,9 +3953,9 @@ FlowcontrolApiserverV1beta2API_replaceFlowSchemaStatus(apiClient_t *apiClient, c // printf("%s\n","Unauthorized"); //} //nonprimitive not container - cJSON *FlowcontrolApiserverV1beta2APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); - v1beta2_flow_schema_t *elementToReturn = v1beta2_flow_schema_parseFromJSON(FlowcontrolApiserverV1beta2APIlocalVarJSON); - cJSON_Delete(FlowcontrolApiserverV1beta2APIlocalVarJSON); + cJSON *FlowcontrolApiserverV1APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); + v1_flow_schema_t *elementToReturn = v1_flow_schema_parseFromJSON(FlowcontrolApiserverV1APIlocalVarJSON); + cJSON_Delete(FlowcontrolApiserverV1APIlocalVarJSON); if(elementToReturn == NULL) { // return 0; } @@ -4035,8 +4035,8 @@ FlowcontrolApiserverV1beta2API_replaceFlowSchemaStatus(apiClient_t *apiClient, c // replace the specified PriorityLevelConfiguration // -v1beta2_priority_level_configuration_t* -FlowcontrolApiserverV1beta2API_replacePriorityLevelConfiguration(apiClient_t *apiClient, char * name , v1beta2_priority_level_configuration_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +v1_priority_level_configuration_t* +FlowcontrolApiserverV1API_replacePriorityLevelConfiguration(apiClient_t *apiClient, char *name, v1_priority_level_configuration_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -4046,9 +4046,9 @@ FlowcontrolApiserverV1beta2API_replacePriorityLevelConfiguration(apiClient_t *ap char *localVarBodyParameters = NULL; // create the path - long sizeOfPath = strlen("/apis/flowcontrol.apiserver.k8s.io/v1beta2/prioritylevelconfigurations/{name}")+1; + long sizeOfPath = strlen("/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name}")+1; char *localVarPath = malloc(sizeOfPath); - snprintf(localVarPath, sizeOfPath, "/apis/flowcontrol.apiserver.k8s.io/v1beta2/prioritylevelconfigurations/{name}"); + snprintf(localVarPath, sizeOfPath, "/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name}"); // Path Params @@ -4116,7 +4116,7 @@ FlowcontrolApiserverV1beta2API_replacePriorityLevelConfiguration(apiClient_t *ap if (body != NULL) { //string - localVarSingleItemJSON_body = v1beta2_priority_level_configuration_convertToJSON(body); + localVarSingleItemJSON_body = v1_priority_level_configuration_convertToJSON(body); localVarBodyParameters = cJSON_Print(localVarSingleItemJSON_body); } list_addElement(localVarHeaderType,"application/json"); //produces @@ -4145,9 +4145,9 @@ FlowcontrolApiserverV1beta2API_replacePriorityLevelConfiguration(apiClient_t *ap // printf("%s\n","Unauthorized"); //} //nonprimitive not container - cJSON *FlowcontrolApiserverV1beta2APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); - v1beta2_priority_level_configuration_t *elementToReturn = v1beta2_priority_level_configuration_parseFromJSON(FlowcontrolApiserverV1beta2APIlocalVarJSON); - cJSON_Delete(FlowcontrolApiserverV1beta2APIlocalVarJSON); + cJSON *FlowcontrolApiserverV1APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); + v1_priority_level_configuration_t *elementToReturn = v1_priority_level_configuration_parseFromJSON(FlowcontrolApiserverV1APIlocalVarJSON); + cJSON_Delete(FlowcontrolApiserverV1APIlocalVarJSON); if(elementToReturn == NULL) { // return 0; } @@ -4227,8 +4227,8 @@ FlowcontrolApiserverV1beta2API_replacePriorityLevelConfiguration(apiClient_t *ap // replace status of the specified PriorityLevelConfiguration // -v1beta2_priority_level_configuration_t* -FlowcontrolApiserverV1beta2API_replacePriorityLevelConfigurationStatus(apiClient_t *apiClient, char * name , v1beta2_priority_level_configuration_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +v1_priority_level_configuration_t* +FlowcontrolApiserverV1API_replacePriorityLevelConfigurationStatus(apiClient_t *apiClient, char *name, v1_priority_level_configuration_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -4238,9 +4238,9 @@ FlowcontrolApiserverV1beta2API_replacePriorityLevelConfigurationStatus(apiClient char *localVarBodyParameters = NULL; // create the path - long sizeOfPath = strlen("/apis/flowcontrol.apiserver.k8s.io/v1beta2/prioritylevelconfigurations/{name}/status")+1; + long sizeOfPath = strlen("/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name}/status")+1; char *localVarPath = malloc(sizeOfPath); - snprintf(localVarPath, sizeOfPath, "/apis/flowcontrol.apiserver.k8s.io/v1beta2/prioritylevelconfigurations/{name}/status"); + snprintf(localVarPath, sizeOfPath, "/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name}/status"); // Path Params @@ -4308,7 +4308,7 @@ FlowcontrolApiserverV1beta2API_replacePriorityLevelConfigurationStatus(apiClient if (body != NULL) { //string - localVarSingleItemJSON_body = v1beta2_priority_level_configuration_convertToJSON(body); + localVarSingleItemJSON_body = v1_priority_level_configuration_convertToJSON(body); localVarBodyParameters = cJSON_Print(localVarSingleItemJSON_body); } list_addElement(localVarHeaderType,"application/json"); //produces @@ -4337,9 +4337,9 @@ FlowcontrolApiserverV1beta2API_replacePriorityLevelConfigurationStatus(apiClient // printf("%s\n","Unauthorized"); //} //nonprimitive not container - cJSON *FlowcontrolApiserverV1beta2APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); - v1beta2_priority_level_configuration_t *elementToReturn = v1beta2_priority_level_configuration_parseFromJSON(FlowcontrolApiserverV1beta2APIlocalVarJSON); - cJSON_Delete(FlowcontrolApiserverV1beta2APIlocalVarJSON); + cJSON *FlowcontrolApiserverV1APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); + v1_priority_level_configuration_t *elementToReturn = v1_priority_level_configuration_parseFromJSON(FlowcontrolApiserverV1APIlocalVarJSON); + cJSON_Delete(FlowcontrolApiserverV1APIlocalVarJSON); if(elementToReturn == NULL) { // return 0; } diff --git a/kubernetes/api/FlowcontrolApiserverV1API.h b/kubernetes/api/FlowcontrolApiserverV1API.h new file mode 100644 index 00000000..548a2182 --- /dev/null +++ b/kubernetes/api/FlowcontrolApiserverV1API.h @@ -0,0 +1,143 @@ +#include +#include +#include "../include/apiClient.h" +#include "../include/list.h" +#include "../external/cJSON.h" +#include "../include/keyValuePair.h" +#include "../include/binary.h" +#include "../model/object.h" +#include "../model/v1_api_resource_list.h" +#include "../model/v1_delete_options.h" +#include "../model/v1_flow_schema.h" +#include "../model/v1_flow_schema_list.h" +#include "../model/v1_priority_level_configuration.h" +#include "../model/v1_priority_level_configuration_list.h" +#include "../model/v1_status.h" + + +// create a FlowSchema +// +v1_flow_schema_t* +FlowcontrolApiserverV1API_createFlowSchema(apiClient_t *apiClient, v1_flow_schema_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); + + +// create a PriorityLevelConfiguration +// +v1_priority_level_configuration_t* +FlowcontrolApiserverV1API_createPriorityLevelConfiguration(apiClient_t *apiClient, v1_priority_level_configuration_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); + + +// delete collection of FlowSchema +// +v1_status_t* +FlowcontrolApiserverV1API_deleteCollectionFlowSchema(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); + + +// delete collection of PriorityLevelConfiguration +// +v1_status_t* +FlowcontrolApiserverV1API_deleteCollectionPriorityLevelConfiguration(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); + + +// delete a FlowSchema +// +v1_status_t* +FlowcontrolApiserverV1API_deleteFlowSchema(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); + + +// delete a PriorityLevelConfiguration +// +v1_status_t* +FlowcontrolApiserverV1API_deletePriorityLevelConfiguration(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); + + +// get available resources +// +v1_api_resource_list_t* +FlowcontrolApiserverV1API_getAPIResources(apiClient_t *apiClient); + + +// list or watch objects of kind FlowSchema +// +v1_flow_schema_list_t* +FlowcontrolApiserverV1API_listFlowSchema(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); + + +// list or watch objects of kind PriorityLevelConfiguration +// +v1_priority_level_configuration_list_t* +FlowcontrolApiserverV1API_listPriorityLevelConfiguration(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); + + +// partially update the specified FlowSchema +// +v1_flow_schema_t* +FlowcontrolApiserverV1API_patchFlowSchema(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); + + +// partially update status of the specified FlowSchema +// +v1_flow_schema_t* +FlowcontrolApiserverV1API_patchFlowSchemaStatus(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); + + +// partially update the specified PriorityLevelConfiguration +// +v1_priority_level_configuration_t* +FlowcontrolApiserverV1API_patchPriorityLevelConfiguration(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); + + +// partially update status of the specified PriorityLevelConfiguration +// +v1_priority_level_configuration_t* +FlowcontrolApiserverV1API_patchPriorityLevelConfigurationStatus(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); + + +// read the specified FlowSchema +// +v1_flow_schema_t* +FlowcontrolApiserverV1API_readFlowSchema(apiClient_t *apiClient, char *name, char *pretty); + + +// read status of the specified FlowSchema +// +v1_flow_schema_t* +FlowcontrolApiserverV1API_readFlowSchemaStatus(apiClient_t *apiClient, char *name, char *pretty); + + +// read the specified PriorityLevelConfiguration +// +v1_priority_level_configuration_t* +FlowcontrolApiserverV1API_readPriorityLevelConfiguration(apiClient_t *apiClient, char *name, char *pretty); + + +// read status of the specified PriorityLevelConfiguration +// +v1_priority_level_configuration_t* +FlowcontrolApiserverV1API_readPriorityLevelConfigurationStatus(apiClient_t *apiClient, char *name, char *pretty); + + +// replace the specified FlowSchema +// +v1_flow_schema_t* +FlowcontrolApiserverV1API_replaceFlowSchema(apiClient_t *apiClient, char *name, v1_flow_schema_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); + + +// replace status of the specified FlowSchema +// +v1_flow_schema_t* +FlowcontrolApiserverV1API_replaceFlowSchemaStatus(apiClient_t *apiClient, char *name, v1_flow_schema_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); + + +// replace the specified PriorityLevelConfiguration +// +v1_priority_level_configuration_t* +FlowcontrolApiserverV1API_replacePriorityLevelConfiguration(apiClient_t *apiClient, char *name, v1_priority_level_configuration_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); + + +// replace status of the specified PriorityLevelConfiguration +// +v1_priority_level_configuration_t* +FlowcontrolApiserverV1API_replacePriorityLevelConfigurationStatus(apiClient_t *apiClient, char *name, v1_priority_level_configuration_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); + + diff --git a/kubernetes/api/FlowcontrolApiserverV1beta2API.h b/kubernetes/api/FlowcontrolApiserverV1beta2API.h deleted file mode 100644 index e648cf56..00000000 --- a/kubernetes/api/FlowcontrolApiserverV1beta2API.h +++ /dev/null @@ -1,143 +0,0 @@ -#include -#include -#include "../include/apiClient.h" -#include "../include/list.h" -#include "../external/cJSON.h" -#include "../include/keyValuePair.h" -#include "../include/binary.h" -#include "../model/object.h" -#include "../model/v1_api_resource_list.h" -#include "../model/v1_delete_options.h" -#include "../model/v1_status.h" -#include "../model/v1beta2_flow_schema.h" -#include "../model/v1beta2_flow_schema_list.h" -#include "../model/v1beta2_priority_level_configuration.h" -#include "../model/v1beta2_priority_level_configuration_list.h" - - -// create a FlowSchema -// -v1beta2_flow_schema_t* -FlowcontrolApiserverV1beta2API_createFlowSchema(apiClient_t *apiClient, v1beta2_flow_schema_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); - - -// create a PriorityLevelConfiguration -// -v1beta2_priority_level_configuration_t* -FlowcontrolApiserverV1beta2API_createPriorityLevelConfiguration(apiClient_t *apiClient, v1beta2_priority_level_configuration_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); - - -// delete collection of FlowSchema -// -v1_status_t* -FlowcontrolApiserverV1beta2API_deleteCollectionFlowSchema(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); - - -// delete collection of PriorityLevelConfiguration -// -v1_status_t* -FlowcontrolApiserverV1beta2API_deleteCollectionPriorityLevelConfiguration(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); - - -// delete a FlowSchema -// -v1_status_t* -FlowcontrolApiserverV1beta2API_deleteFlowSchema(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); - - -// delete a PriorityLevelConfiguration -// -v1_status_t* -FlowcontrolApiserverV1beta2API_deletePriorityLevelConfiguration(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); - - -// get available resources -// -v1_api_resource_list_t* -FlowcontrolApiserverV1beta2API_getAPIResources(apiClient_t *apiClient); - - -// list or watch objects of kind FlowSchema -// -v1beta2_flow_schema_list_t* -FlowcontrolApiserverV1beta2API_listFlowSchema(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); - - -// list or watch objects of kind PriorityLevelConfiguration -// -v1beta2_priority_level_configuration_list_t* -FlowcontrolApiserverV1beta2API_listPriorityLevelConfiguration(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); - - -// partially update the specified FlowSchema -// -v1beta2_flow_schema_t* -FlowcontrolApiserverV1beta2API_patchFlowSchema(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); - - -// partially update status of the specified FlowSchema -// -v1beta2_flow_schema_t* -FlowcontrolApiserverV1beta2API_patchFlowSchemaStatus(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); - - -// partially update the specified PriorityLevelConfiguration -// -v1beta2_priority_level_configuration_t* -FlowcontrolApiserverV1beta2API_patchPriorityLevelConfiguration(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); - - -// partially update status of the specified PriorityLevelConfiguration -// -v1beta2_priority_level_configuration_t* -FlowcontrolApiserverV1beta2API_patchPriorityLevelConfigurationStatus(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); - - -// read the specified FlowSchema -// -v1beta2_flow_schema_t* -FlowcontrolApiserverV1beta2API_readFlowSchema(apiClient_t *apiClient, char * name , char * pretty ); - - -// read status of the specified FlowSchema -// -v1beta2_flow_schema_t* -FlowcontrolApiserverV1beta2API_readFlowSchemaStatus(apiClient_t *apiClient, char * name , char * pretty ); - - -// read the specified PriorityLevelConfiguration -// -v1beta2_priority_level_configuration_t* -FlowcontrolApiserverV1beta2API_readPriorityLevelConfiguration(apiClient_t *apiClient, char * name , char * pretty ); - - -// read status of the specified PriorityLevelConfiguration -// -v1beta2_priority_level_configuration_t* -FlowcontrolApiserverV1beta2API_readPriorityLevelConfigurationStatus(apiClient_t *apiClient, char * name , char * pretty ); - - -// replace the specified FlowSchema -// -v1beta2_flow_schema_t* -FlowcontrolApiserverV1beta2API_replaceFlowSchema(apiClient_t *apiClient, char * name , v1beta2_flow_schema_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); - - -// replace status of the specified FlowSchema -// -v1beta2_flow_schema_t* -FlowcontrolApiserverV1beta2API_replaceFlowSchemaStatus(apiClient_t *apiClient, char * name , v1beta2_flow_schema_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); - - -// replace the specified PriorityLevelConfiguration -// -v1beta2_priority_level_configuration_t* -FlowcontrolApiserverV1beta2API_replacePriorityLevelConfiguration(apiClient_t *apiClient, char * name , v1beta2_priority_level_configuration_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); - - -// replace status of the specified PriorityLevelConfiguration -// -v1beta2_priority_level_configuration_t* -FlowcontrolApiserverV1beta2API_replacePriorityLevelConfigurationStatus(apiClient_t *apiClient, char * name , v1beta2_priority_level_configuration_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); - - diff --git a/kubernetes/api/FlowcontrolApiserverV1beta3API.c b/kubernetes/api/FlowcontrolApiserverV1beta3API.c index a7c41cd2..4278fe37 100644 --- a/kubernetes/api/FlowcontrolApiserverV1beta3API.c +++ b/kubernetes/api/FlowcontrolApiserverV1beta3API.c @@ -15,7 +15,7 @@ // create a FlowSchema // v1beta3_flow_schema_t* -FlowcontrolApiserverV1beta3API_createFlowSchema(apiClient_t *apiClient, v1beta3_flow_schema_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +FlowcontrolApiserverV1beta3API_createFlowSchema(apiClient_t *apiClient, v1beta3_flow_schema_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -200,7 +200,7 @@ FlowcontrolApiserverV1beta3API_createFlowSchema(apiClient_t *apiClient, v1beta3_ // create a PriorityLevelConfiguration // v1beta3_priority_level_configuration_t* -FlowcontrolApiserverV1beta3API_createPriorityLevelConfiguration(apiClient_t *apiClient, v1beta3_priority_level_configuration_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +FlowcontrolApiserverV1beta3API_createPriorityLevelConfiguration(apiClient_t *apiClient, v1beta3_priority_level_configuration_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -385,7 +385,7 @@ FlowcontrolApiserverV1beta3API_createPriorityLevelConfiguration(apiClient_t *api // delete collection of FlowSchema // v1_status_t* -FlowcontrolApiserverV1beta3API_deleteCollectionFlowSchema(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +FlowcontrolApiserverV1beta3API_deleteCollectionFlowSchema(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -454,11 +454,11 @@ FlowcontrolApiserverV1beta3API_deleteCollectionFlowSchema(apiClient_t *apiClient char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -479,11 +479,11 @@ FlowcontrolApiserverV1beta3API_deleteCollectionFlowSchema(apiClient_t *apiClient char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -492,11 +492,11 @@ FlowcontrolApiserverV1beta3API_deleteCollectionFlowSchema(apiClient_t *apiClient char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -541,11 +541,11 @@ FlowcontrolApiserverV1beta3API_deleteCollectionFlowSchema(apiClient_t *apiClient char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -554,11 +554,11 @@ FlowcontrolApiserverV1beta3API_deleteCollectionFlowSchema(apiClient_t *apiClient char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -783,7 +783,7 @@ FlowcontrolApiserverV1beta3API_deleteCollectionFlowSchema(apiClient_t *apiClient // delete collection of PriorityLevelConfiguration // v1_status_t* -FlowcontrolApiserverV1beta3API_deleteCollectionPriorityLevelConfiguration(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +FlowcontrolApiserverV1beta3API_deleteCollectionPriorityLevelConfiguration(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -852,11 +852,11 @@ FlowcontrolApiserverV1beta3API_deleteCollectionPriorityLevelConfiguration(apiCli char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -877,11 +877,11 @@ FlowcontrolApiserverV1beta3API_deleteCollectionPriorityLevelConfiguration(apiCli char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -890,11 +890,11 @@ FlowcontrolApiserverV1beta3API_deleteCollectionPriorityLevelConfiguration(apiCli char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -939,11 +939,11 @@ FlowcontrolApiserverV1beta3API_deleteCollectionPriorityLevelConfiguration(apiCli char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -952,11 +952,11 @@ FlowcontrolApiserverV1beta3API_deleteCollectionPriorityLevelConfiguration(apiCli char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -1181,7 +1181,7 @@ FlowcontrolApiserverV1beta3API_deleteCollectionPriorityLevelConfiguration(apiCli // delete a FlowSchema // v1_status_t* -FlowcontrolApiserverV1beta3API_deleteFlowSchema(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +FlowcontrolApiserverV1beta3API_deleteFlowSchema(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1236,11 +1236,11 @@ FlowcontrolApiserverV1beta3API_deleteFlowSchema(apiClient_t *apiClient, char * n char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -1249,11 +1249,11 @@ FlowcontrolApiserverV1beta3API_deleteFlowSchema(apiClient_t *apiClient, char * n char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -1399,7 +1399,7 @@ FlowcontrolApiserverV1beta3API_deleteFlowSchema(apiClient_t *apiClient, char * n // delete a PriorityLevelConfiguration // v1_status_t* -FlowcontrolApiserverV1beta3API_deletePriorityLevelConfiguration(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +FlowcontrolApiserverV1beta3API_deletePriorityLevelConfiguration(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1454,11 +1454,11 @@ FlowcontrolApiserverV1beta3API_deletePriorityLevelConfiguration(apiClient_t *api char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -1467,11 +1467,11 @@ FlowcontrolApiserverV1beta3API_deletePriorityLevelConfiguration(apiClient_t *api char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -1684,7 +1684,7 @@ FlowcontrolApiserverV1beta3API_getAPIResources(apiClient_t *apiClient) // list or watch objects of kind FlowSchema // v1beta3_flow_schema_list_t* -FlowcontrolApiserverV1beta3API_listFlowSchema(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +FlowcontrolApiserverV1beta3API_listFlowSchema(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1717,11 +1717,11 @@ FlowcontrolApiserverV1beta3API_listFlowSchema(apiClient_t *apiClient, char * pre char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -1766,11 +1766,11 @@ FlowcontrolApiserverV1beta3API_listFlowSchema(apiClient_t *apiClient, char * pre char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -1803,11 +1803,11 @@ FlowcontrolApiserverV1beta3API_listFlowSchema(apiClient_t *apiClient, char * pre char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -1816,11 +1816,11 @@ FlowcontrolApiserverV1beta3API_listFlowSchema(apiClient_t *apiClient, char * pre char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -1829,11 +1829,11 @@ FlowcontrolApiserverV1beta3API_listFlowSchema(apiClient_t *apiClient, char * pre char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -2022,7 +2022,7 @@ FlowcontrolApiserverV1beta3API_listFlowSchema(apiClient_t *apiClient, char * pre // list or watch objects of kind PriorityLevelConfiguration // v1beta3_priority_level_configuration_list_t* -FlowcontrolApiserverV1beta3API_listPriorityLevelConfiguration(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +FlowcontrolApiserverV1beta3API_listPriorityLevelConfiguration(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2055,11 +2055,11 @@ FlowcontrolApiserverV1beta3API_listPriorityLevelConfiguration(apiClient_t *apiCl char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -2104,11 +2104,11 @@ FlowcontrolApiserverV1beta3API_listPriorityLevelConfiguration(apiClient_t *apiCl char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -2141,11 +2141,11 @@ FlowcontrolApiserverV1beta3API_listPriorityLevelConfiguration(apiClient_t *apiCl char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -2154,11 +2154,11 @@ FlowcontrolApiserverV1beta3API_listPriorityLevelConfiguration(apiClient_t *apiCl char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -2167,11 +2167,11 @@ FlowcontrolApiserverV1beta3API_listPriorityLevelConfiguration(apiClient_t *apiCl char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -2360,7 +2360,7 @@ FlowcontrolApiserverV1beta3API_listPriorityLevelConfiguration(apiClient_t *apiCl // partially update the specified FlowSchema // v1beta3_flow_schema_t* -FlowcontrolApiserverV1beta3API_patchFlowSchema(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +FlowcontrolApiserverV1beta3API_patchFlowSchema(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2439,11 +2439,11 @@ FlowcontrolApiserverV1beta3API_patchFlowSchema(apiClient_t *apiClient, char * na char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -2581,7 +2581,7 @@ FlowcontrolApiserverV1beta3API_patchFlowSchema(apiClient_t *apiClient, char * na // partially update status of the specified FlowSchema // v1beta3_flow_schema_t* -FlowcontrolApiserverV1beta3API_patchFlowSchemaStatus(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +FlowcontrolApiserverV1beta3API_patchFlowSchemaStatus(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2660,11 +2660,11 @@ FlowcontrolApiserverV1beta3API_patchFlowSchemaStatus(apiClient_t *apiClient, cha char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -2802,7 +2802,7 @@ FlowcontrolApiserverV1beta3API_patchFlowSchemaStatus(apiClient_t *apiClient, cha // partially update the specified PriorityLevelConfiguration // v1beta3_priority_level_configuration_t* -FlowcontrolApiserverV1beta3API_patchPriorityLevelConfiguration(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +FlowcontrolApiserverV1beta3API_patchPriorityLevelConfiguration(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2881,11 +2881,11 @@ FlowcontrolApiserverV1beta3API_patchPriorityLevelConfiguration(apiClient_t *apiC char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -3023,7 +3023,7 @@ FlowcontrolApiserverV1beta3API_patchPriorityLevelConfiguration(apiClient_t *apiC // partially update status of the specified PriorityLevelConfiguration // v1beta3_priority_level_configuration_t* -FlowcontrolApiserverV1beta3API_patchPriorityLevelConfigurationStatus(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +FlowcontrolApiserverV1beta3API_patchPriorityLevelConfigurationStatus(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3102,11 +3102,11 @@ FlowcontrolApiserverV1beta3API_patchPriorityLevelConfigurationStatus(apiClient_t char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -3244,7 +3244,7 @@ FlowcontrolApiserverV1beta3API_patchPriorityLevelConfigurationStatus(apiClient_t // read the specified FlowSchema // v1beta3_flow_schema_t* -FlowcontrolApiserverV1beta3API_readFlowSchema(apiClient_t *apiClient, char * name , char * pretty ) +FlowcontrolApiserverV1beta3API_readFlowSchema(apiClient_t *apiClient, char *name, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3346,7 +3346,7 @@ FlowcontrolApiserverV1beta3API_readFlowSchema(apiClient_t *apiClient, char * nam // read status of the specified FlowSchema // v1beta3_flow_schema_t* -FlowcontrolApiserverV1beta3API_readFlowSchemaStatus(apiClient_t *apiClient, char * name , char * pretty ) +FlowcontrolApiserverV1beta3API_readFlowSchemaStatus(apiClient_t *apiClient, char *name, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3448,7 +3448,7 @@ FlowcontrolApiserverV1beta3API_readFlowSchemaStatus(apiClient_t *apiClient, char // read the specified PriorityLevelConfiguration // v1beta3_priority_level_configuration_t* -FlowcontrolApiserverV1beta3API_readPriorityLevelConfiguration(apiClient_t *apiClient, char * name , char * pretty ) +FlowcontrolApiserverV1beta3API_readPriorityLevelConfiguration(apiClient_t *apiClient, char *name, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3550,7 +3550,7 @@ FlowcontrolApiserverV1beta3API_readPriorityLevelConfiguration(apiClient_t *apiCl // read status of the specified PriorityLevelConfiguration // v1beta3_priority_level_configuration_t* -FlowcontrolApiserverV1beta3API_readPriorityLevelConfigurationStatus(apiClient_t *apiClient, char * name , char * pretty ) +FlowcontrolApiserverV1beta3API_readPriorityLevelConfigurationStatus(apiClient_t *apiClient, char *name, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3652,7 +3652,7 @@ FlowcontrolApiserverV1beta3API_readPriorityLevelConfigurationStatus(apiClient_t // replace the specified FlowSchema // v1beta3_flow_schema_t* -FlowcontrolApiserverV1beta3API_replaceFlowSchema(apiClient_t *apiClient, char * name , v1beta3_flow_schema_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +FlowcontrolApiserverV1beta3API_replaceFlowSchema(apiClient_t *apiClient, char *name, v1beta3_flow_schema_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3844,7 +3844,7 @@ FlowcontrolApiserverV1beta3API_replaceFlowSchema(apiClient_t *apiClient, char * // replace status of the specified FlowSchema // v1beta3_flow_schema_t* -FlowcontrolApiserverV1beta3API_replaceFlowSchemaStatus(apiClient_t *apiClient, char * name , v1beta3_flow_schema_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +FlowcontrolApiserverV1beta3API_replaceFlowSchemaStatus(apiClient_t *apiClient, char *name, v1beta3_flow_schema_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -4036,7 +4036,7 @@ FlowcontrolApiserverV1beta3API_replaceFlowSchemaStatus(apiClient_t *apiClient, c // replace the specified PriorityLevelConfiguration // v1beta3_priority_level_configuration_t* -FlowcontrolApiserverV1beta3API_replacePriorityLevelConfiguration(apiClient_t *apiClient, char * name , v1beta3_priority_level_configuration_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +FlowcontrolApiserverV1beta3API_replacePriorityLevelConfiguration(apiClient_t *apiClient, char *name, v1beta3_priority_level_configuration_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -4228,7 +4228,7 @@ FlowcontrolApiserverV1beta3API_replacePriorityLevelConfiguration(apiClient_t *ap // replace status of the specified PriorityLevelConfiguration // v1beta3_priority_level_configuration_t* -FlowcontrolApiserverV1beta3API_replacePriorityLevelConfigurationStatus(apiClient_t *apiClient, char * name , v1beta3_priority_level_configuration_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +FlowcontrolApiserverV1beta3API_replacePriorityLevelConfigurationStatus(apiClient_t *apiClient, char *name, v1beta3_priority_level_configuration_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; diff --git a/kubernetes/api/FlowcontrolApiserverV1beta3API.h b/kubernetes/api/FlowcontrolApiserverV1beta3API.h index 31306b92..ef27e6ec 100644 --- a/kubernetes/api/FlowcontrolApiserverV1beta3API.h +++ b/kubernetes/api/FlowcontrolApiserverV1beta3API.h @@ -18,37 +18,37 @@ // create a FlowSchema // v1beta3_flow_schema_t* -FlowcontrolApiserverV1beta3API_createFlowSchema(apiClient_t *apiClient, v1beta3_flow_schema_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +FlowcontrolApiserverV1beta3API_createFlowSchema(apiClient_t *apiClient, v1beta3_flow_schema_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // create a PriorityLevelConfiguration // v1beta3_priority_level_configuration_t* -FlowcontrolApiserverV1beta3API_createPriorityLevelConfiguration(apiClient_t *apiClient, v1beta3_priority_level_configuration_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +FlowcontrolApiserverV1beta3API_createPriorityLevelConfiguration(apiClient_t *apiClient, v1beta3_priority_level_configuration_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // delete collection of FlowSchema // v1_status_t* -FlowcontrolApiserverV1beta3API_deleteCollectionFlowSchema(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +FlowcontrolApiserverV1beta3API_deleteCollectionFlowSchema(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); // delete collection of PriorityLevelConfiguration // v1_status_t* -FlowcontrolApiserverV1beta3API_deleteCollectionPriorityLevelConfiguration(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +FlowcontrolApiserverV1beta3API_deleteCollectionPriorityLevelConfiguration(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); // delete a FlowSchema // v1_status_t* -FlowcontrolApiserverV1beta3API_deleteFlowSchema(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +FlowcontrolApiserverV1beta3API_deleteFlowSchema(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // delete a PriorityLevelConfiguration // v1_status_t* -FlowcontrolApiserverV1beta3API_deletePriorityLevelConfiguration(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +FlowcontrolApiserverV1beta3API_deletePriorityLevelConfiguration(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // get available resources @@ -60,84 +60,84 @@ FlowcontrolApiserverV1beta3API_getAPIResources(apiClient_t *apiClient); // list or watch objects of kind FlowSchema // v1beta3_flow_schema_list_t* -FlowcontrolApiserverV1beta3API_listFlowSchema(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +FlowcontrolApiserverV1beta3API_listFlowSchema(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind PriorityLevelConfiguration // v1beta3_priority_level_configuration_list_t* -FlowcontrolApiserverV1beta3API_listPriorityLevelConfiguration(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +FlowcontrolApiserverV1beta3API_listPriorityLevelConfiguration(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // partially update the specified FlowSchema // v1beta3_flow_schema_t* -FlowcontrolApiserverV1beta3API_patchFlowSchema(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +FlowcontrolApiserverV1beta3API_patchFlowSchema(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update status of the specified FlowSchema // v1beta3_flow_schema_t* -FlowcontrolApiserverV1beta3API_patchFlowSchemaStatus(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +FlowcontrolApiserverV1beta3API_patchFlowSchemaStatus(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update the specified PriorityLevelConfiguration // v1beta3_priority_level_configuration_t* -FlowcontrolApiserverV1beta3API_patchPriorityLevelConfiguration(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +FlowcontrolApiserverV1beta3API_patchPriorityLevelConfiguration(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update status of the specified PriorityLevelConfiguration // v1beta3_priority_level_configuration_t* -FlowcontrolApiserverV1beta3API_patchPriorityLevelConfigurationStatus(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +FlowcontrolApiserverV1beta3API_patchPriorityLevelConfigurationStatus(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // read the specified FlowSchema // v1beta3_flow_schema_t* -FlowcontrolApiserverV1beta3API_readFlowSchema(apiClient_t *apiClient, char * name , char * pretty ); +FlowcontrolApiserverV1beta3API_readFlowSchema(apiClient_t *apiClient, char *name, char *pretty); // read status of the specified FlowSchema // v1beta3_flow_schema_t* -FlowcontrolApiserverV1beta3API_readFlowSchemaStatus(apiClient_t *apiClient, char * name , char * pretty ); +FlowcontrolApiserverV1beta3API_readFlowSchemaStatus(apiClient_t *apiClient, char *name, char *pretty); // read the specified PriorityLevelConfiguration // v1beta3_priority_level_configuration_t* -FlowcontrolApiserverV1beta3API_readPriorityLevelConfiguration(apiClient_t *apiClient, char * name , char * pretty ); +FlowcontrolApiserverV1beta3API_readPriorityLevelConfiguration(apiClient_t *apiClient, char *name, char *pretty); // read status of the specified PriorityLevelConfiguration // v1beta3_priority_level_configuration_t* -FlowcontrolApiserverV1beta3API_readPriorityLevelConfigurationStatus(apiClient_t *apiClient, char * name , char * pretty ); +FlowcontrolApiserverV1beta3API_readPriorityLevelConfigurationStatus(apiClient_t *apiClient, char *name, char *pretty); // replace the specified FlowSchema // v1beta3_flow_schema_t* -FlowcontrolApiserverV1beta3API_replaceFlowSchema(apiClient_t *apiClient, char * name , v1beta3_flow_schema_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +FlowcontrolApiserverV1beta3API_replaceFlowSchema(apiClient_t *apiClient, char *name, v1beta3_flow_schema_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace status of the specified FlowSchema // v1beta3_flow_schema_t* -FlowcontrolApiserverV1beta3API_replaceFlowSchemaStatus(apiClient_t *apiClient, char * name , v1beta3_flow_schema_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +FlowcontrolApiserverV1beta3API_replaceFlowSchemaStatus(apiClient_t *apiClient, char *name, v1beta3_flow_schema_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace the specified PriorityLevelConfiguration // v1beta3_priority_level_configuration_t* -FlowcontrolApiserverV1beta3API_replacePriorityLevelConfiguration(apiClient_t *apiClient, char * name , v1beta3_priority_level_configuration_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +FlowcontrolApiserverV1beta3API_replacePriorityLevelConfiguration(apiClient_t *apiClient, char *name, v1beta3_priority_level_configuration_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace status of the specified PriorityLevelConfiguration // v1beta3_priority_level_configuration_t* -FlowcontrolApiserverV1beta3API_replacePriorityLevelConfigurationStatus(apiClient_t *apiClient, char * name , v1beta3_priority_level_configuration_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +FlowcontrolApiserverV1beta3API_replacePriorityLevelConfigurationStatus(apiClient_t *apiClient, char *name, v1beta3_priority_level_configuration_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); diff --git a/kubernetes/api/InternalApiserverV1alpha1API.c b/kubernetes/api/InternalApiserverV1alpha1API.c index 6e82096c..ad93611e 100644 --- a/kubernetes/api/InternalApiserverV1alpha1API.c +++ b/kubernetes/api/InternalApiserverV1alpha1API.c @@ -15,7 +15,7 @@ // create a StorageVersion // v1alpha1_storage_version_t* -InternalApiserverV1alpha1API_createStorageVersion(apiClient_t *apiClient, v1alpha1_storage_version_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +InternalApiserverV1alpha1API_createStorageVersion(apiClient_t *apiClient, v1alpha1_storage_version_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -200,7 +200,7 @@ InternalApiserverV1alpha1API_createStorageVersion(apiClient_t *apiClient, v1alph // delete collection of StorageVersion // v1_status_t* -InternalApiserverV1alpha1API_deleteCollectionStorageVersion(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +InternalApiserverV1alpha1API_deleteCollectionStorageVersion(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -269,11 +269,11 @@ InternalApiserverV1alpha1API_deleteCollectionStorageVersion(apiClient_t *apiClie char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -294,11 +294,11 @@ InternalApiserverV1alpha1API_deleteCollectionStorageVersion(apiClient_t *apiClie char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -307,11 +307,11 @@ InternalApiserverV1alpha1API_deleteCollectionStorageVersion(apiClient_t *apiClie char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -356,11 +356,11 @@ InternalApiserverV1alpha1API_deleteCollectionStorageVersion(apiClient_t *apiClie char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -369,11 +369,11 @@ InternalApiserverV1alpha1API_deleteCollectionStorageVersion(apiClient_t *apiClie char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -598,7 +598,7 @@ InternalApiserverV1alpha1API_deleteCollectionStorageVersion(apiClient_t *apiClie // delete a StorageVersion // v1_status_t* -InternalApiserverV1alpha1API_deleteStorageVersion(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +InternalApiserverV1alpha1API_deleteStorageVersion(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -653,11 +653,11 @@ InternalApiserverV1alpha1API_deleteStorageVersion(apiClient_t *apiClient, char * char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -666,11 +666,11 @@ InternalApiserverV1alpha1API_deleteStorageVersion(apiClient_t *apiClient, char * char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -883,7 +883,7 @@ InternalApiserverV1alpha1API_getAPIResources(apiClient_t *apiClient) // list or watch objects of kind StorageVersion // v1alpha1_storage_version_list_t* -InternalApiserverV1alpha1API_listStorageVersion(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +InternalApiserverV1alpha1API_listStorageVersion(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -916,11 +916,11 @@ InternalApiserverV1alpha1API_listStorageVersion(apiClient_t *apiClient, char * p char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -965,11 +965,11 @@ InternalApiserverV1alpha1API_listStorageVersion(apiClient_t *apiClient, char * p char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -1002,11 +1002,11 @@ InternalApiserverV1alpha1API_listStorageVersion(apiClient_t *apiClient, char * p char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -1015,11 +1015,11 @@ InternalApiserverV1alpha1API_listStorageVersion(apiClient_t *apiClient, char * p char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -1028,11 +1028,11 @@ InternalApiserverV1alpha1API_listStorageVersion(apiClient_t *apiClient, char * p char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -1221,7 +1221,7 @@ InternalApiserverV1alpha1API_listStorageVersion(apiClient_t *apiClient, char * p // partially update the specified StorageVersion // v1alpha1_storage_version_t* -InternalApiserverV1alpha1API_patchStorageVersion(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +InternalApiserverV1alpha1API_patchStorageVersion(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1300,11 +1300,11 @@ InternalApiserverV1alpha1API_patchStorageVersion(apiClient_t *apiClient, char * char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -1442,7 +1442,7 @@ InternalApiserverV1alpha1API_patchStorageVersion(apiClient_t *apiClient, char * // partially update status of the specified StorageVersion // v1alpha1_storage_version_t* -InternalApiserverV1alpha1API_patchStorageVersionStatus(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +InternalApiserverV1alpha1API_patchStorageVersionStatus(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1521,11 +1521,11 @@ InternalApiserverV1alpha1API_patchStorageVersionStatus(apiClient_t *apiClient, c char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -1663,7 +1663,7 @@ InternalApiserverV1alpha1API_patchStorageVersionStatus(apiClient_t *apiClient, c // read the specified StorageVersion // v1alpha1_storage_version_t* -InternalApiserverV1alpha1API_readStorageVersion(apiClient_t *apiClient, char * name , char * pretty ) +InternalApiserverV1alpha1API_readStorageVersion(apiClient_t *apiClient, char *name, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1765,7 +1765,7 @@ InternalApiserverV1alpha1API_readStorageVersion(apiClient_t *apiClient, char * n // read status of the specified StorageVersion // v1alpha1_storage_version_t* -InternalApiserverV1alpha1API_readStorageVersionStatus(apiClient_t *apiClient, char * name , char * pretty ) +InternalApiserverV1alpha1API_readStorageVersionStatus(apiClient_t *apiClient, char *name, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1867,7 +1867,7 @@ InternalApiserverV1alpha1API_readStorageVersionStatus(apiClient_t *apiClient, ch // replace the specified StorageVersion // v1alpha1_storage_version_t* -InternalApiserverV1alpha1API_replaceStorageVersion(apiClient_t *apiClient, char * name , v1alpha1_storage_version_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +InternalApiserverV1alpha1API_replaceStorageVersion(apiClient_t *apiClient, char *name, v1alpha1_storage_version_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2059,7 +2059,7 @@ InternalApiserverV1alpha1API_replaceStorageVersion(apiClient_t *apiClient, char // replace status of the specified StorageVersion // v1alpha1_storage_version_t* -InternalApiserverV1alpha1API_replaceStorageVersionStatus(apiClient_t *apiClient, char * name , v1alpha1_storage_version_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +InternalApiserverV1alpha1API_replaceStorageVersionStatus(apiClient_t *apiClient, char *name, v1alpha1_storage_version_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; diff --git a/kubernetes/api/InternalApiserverV1alpha1API.h b/kubernetes/api/InternalApiserverV1alpha1API.h index 13d2c49e..ef42ef08 100644 --- a/kubernetes/api/InternalApiserverV1alpha1API.h +++ b/kubernetes/api/InternalApiserverV1alpha1API.h @@ -16,19 +16,19 @@ // create a StorageVersion // v1alpha1_storage_version_t* -InternalApiserverV1alpha1API_createStorageVersion(apiClient_t *apiClient, v1alpha1_storage_version_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +InternalApiserverV1alpha1API_createStorageVersion(apiClient_t *apiClient, v1alpha1_storage_version_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // delete collection of StorageVersion // v1_status_t* -InternalApiserverV1alpha1API_deleteCollectionStorageVersion(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +InternalApiserverV1alpha1API_deleteCollectionStorageVersion(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); // delete a StorageVersion // v1_status_t* -InternalApiserverV1alpha1API_deleteStorageVersion(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +InternalApiserverV1alpha1API_deleteStorageVersion(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // get available resources @@ -40,42 +40,42 @@ InternalApiserverV1alpha1API_getAPIResources(apiClient_t *apiClient); // list or watch objects of kind StorageVersion // v1alpha1_storage_version_list_t* -InternalApiserverV1alpha1API_listStorageVersion(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +InternalApiserverV1alpha1API_listStorageVersion(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // partially update the specified StorageVersion // v1alpha1_storage_version_t* -InternalApiserverV1alpha1API_patchStorageVersion(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +InternalApiserverV1alpha1API_patchStorageVersion(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update status of the specified StorageVersion // v1alpha1_storage_version_t* -InternalApiserverV1alpha1API_patchStorageVersionStatus(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +InternalApiserverV1alpha1API_patchStorageVersionStatus(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // read the specified StorageVersion // v1alpha1_storage_version_t* -InternalApiserverV1alpha1API_readStorageVersion(apiClient_t *apiClient, char * name , char * pretty ); +InternalApiserverV1alpha1API_readStorageVersion(apiClient_t *apiClient, char *name, char *pretty); // read status of the specified StorageVersion // v1alpha1_storage_version_t* -InternalApiserverV1alpha1API_readStorageVersionStatus(apiClient_t *apiClient, char * name , char * pretty ); +InternalApiserverV1alpha1API_readStorageVersionStatus(apiClient_t *apiClient, char *name, char *pretty); // replace the specified StorageVersion // v1alpha1_storage_version_t* -InternalApiserverV1alpha1API_replaceStorageVersion(apiClient_t *apiClient, char * name , v1alpha1_storage_version_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +InternalApiserverV1alpha1API_replaceStorageVersion(apiClient_t *apiClient, char *name, v1alpha1_storage_version_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace status of the specified StorageVersion // v1alpha1_storage_version_t* -InternalApiserverV1alpha1API_replaceStorageVersionStatus(apiClient_t *apiClient, char * name , v1alpha1_storage_version_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +InternalApiserverV1alpha1API_replaceStorageVersionStatus(apiClient_t *apiClient, char *name, v1alpha1_storage_version_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); diff --git a/kubernetes/api/LogsAPI.c b/kubernetes/api/LogsAPI.c index 000afef5..b9221ae2 100644 --- a/kubernetes/api/LogsAPI.c +++ b/kubernetes/api/LogsAPI.c @@ -13,7 +13,7 @@ void -LogsAPI_logFileHandler(apiClient_t *apiClient, char * logpath ) +LogsAPI_logFileHandler(apiClient_t *apiClient, char *logpath) { list_t *localVarQueryParameters = NULL; list_t *localVarHeaderParameters = NULL; diff --git a/kubernetes/api/LogsAPI.h b/kubernetes/api/LogsAPI.h index 6db8db3b..6240df10 100644 --- a/kubernetes/api/LogsAPI.h +++ b/kubernetes/api/LogsAPI.h @@ -8,7 +8,7 @@ void -LogsAPI_logFileHandler(apiClient_t *apiClient, char * logpath ); +LogsAPI_logFileHandler(apiClient_t *apiClient, char *logpath); void diff --git a/kubernetes/api/NetworkingV1API.c b/kubernetes/api/NetworkingV1API.c index 989ae855..f8959951 100644 --- a/kubernetes/api/NetworkingV1API.c +++ b/kubernetes/api/NetworkingV1API.c @@ -15,7 +15,7 @@ // create an IngressClass // v1_ingress_class_t* -NetworkingV1API_createIngressClass(apiClient_t *apiClient, v1_ingress_class_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +NetworkingV1API_createIngressClass(apiClient_t *apiClient, v1_ingress_class_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -200,7 +200,7 @@ NetworkingV1API_createIngressClass(apiClient_t *apiClient, v1_ingress_class_t * // create an Ingress // v1_ingress_t* -NetworkingV1API_createNamespacedIngress(apiClient_t *apiClient, char * _namespace , v1_ingress_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +NetworkingV1API_createNamespacedIngress(apiClient_t *apiClient, char *_namespace, v1_ingress_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -396,7 +396,7 @@ NetworkingV1API_createNamespacedIngress(apiClient_t *apiClient, char * _namespac // create a NetworkPolicy // v1_network_policy_t* -NetworkingV1API_createNamespacedNetworkPolicy(apiClient_t *apiClient, char * _namespace , v1_network_policy_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +NetworkingV1API_createNamespacedNetworkPolicy(apiClient_t *apiClient, char *_namespace, v1_network_policy_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -592,7 +592,7 @@ NetworkingV1API_createNamespacedNetworkPolicy(apiClient_t *apiClient, char * _na // delete collection of IngressClass // v1_status_t* -NetworkingV1API_deleteCollectionIngressClass(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +NetworkingV1API_deleteCollectionIngressClass(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -661,11 +661,11 @@ NetworkingV1API_deleteCollectionIngressClass(apiClient_t *apiClient, char * pret char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -686,11 +686,11 @@ NetworkingV1API_deleteCollectionIngressClass(apiClient_t *apiClient, char * pret char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -699,11 +699,11 @@ NetworkingV1API_deleteCollectionIngressClass(apiClient_t *apiClient, char * pret char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -748,11 +748,11 @@ NetworkingV1API_deleteCollectionIngressClass(apiClient_t *apiClient, char * pret char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -761,11 +761,11 @@ NetworkingV1API_deleteCollectionIngressClass(apiClient_t *apiClient, char * pret char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -990,7 +990,7 @@ NetworkingV1API_deleteCollectionIngressClass(apiClient_t *apiClient, char * pret // delete collection of Ingress // v1_status_t* -NetworkingV1API_deleteCollectionNamespacedIngress(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +NetworkingV1API_deleteCollectionNamespacedIngress(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1069,11 +1069,11 @@ NetworkingV1API_deleteCollectionNamespacedIngress(apiClient_t *apiClient, char * char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -1094,11 +1094,11 @@ NetworkingV1API_deleteCollectionNamespacedIngress(apiClient_t *apiClient, char * char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -1107,11 +1107,11 @@ NetworkingV1API_deleteCollectionNamespacedIngress(apiClient_t *apiClient, char * char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -1156,11 +1156,11 @@ NetworkingV1API_deleteCollectionNamespacedIngress(apiClient_t *apiClient, char * char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -1169,11 +1169,11 @@ NetworkingV1API_deleteCollectionNamespacedIngress(apiClient_t *apiClient, char * char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -1399,7 +1399,7 @@ NetworkingV1API_deleteCollectionNamespacedIngress(apiClient_t *apiClient, char * // delete collection of NetworkPolicy // v1_status_t* -NetworkingV1API_deleteCollectionNamespacedNetworkPolicy(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +NetworkingV1API_deleteCollectionNamespacedNetworkPolicy(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1478,11 +1478,11 @@ NetworkingV1API_deleteCollectionNamespacedNetworkPolicy(apiClient_t *apiClient, char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -1503,11 +1503,11 @@ NetworkingV1API_deleteCollectionNamespacedNetworkPolicy(apiClient_t *apiClient, char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -1516,11 +1516,11 @@ NetworkingV1API_deleteCollectionNamespacedNetworkPolicy(apiClient_t *apiClient, char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -1565,11 +1565,11 @@ NetworkingV1API_deleteCollectionNamespacedNetworkPolicy(apiClient_t *apiClient, char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -1578,11 +1578,11 @@ NetworkingV1API_deleteCollectionNamespacedNetworkPolicy(apiClient_t *apiClient, char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -1808,7 +1808,7 @@ NetworkingV1API_deleteCollectionNamespacedNetworkPolicy(apiClient_t *apiClient, // delete an IngressClass // v1_status_t* -NetworkingV1API_deleteIngressClass(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +NetworkingV1API_deleteIngressClass(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1863,11 +1863,11 @@ NetworkingV1API_deleteIngressClass(apiClient_t *apiClient, char * name , char * char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -1876,11 +1876,11 @@ NetworkingV1API_deleteIngressClass(apiClient_t *apiClient, char * name , char * char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -2026,7 +2026,7 @@ NetworkingV1API_deleteIngressClass(apiClient_t *apiClient, char * name , char * // delete an Ingress // v1_status_t* -NetworkingV1API_deleteNamespacedIngress(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +NetworkingV1API_deleteNamespacedIngress(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2091,11 +2091,11 @@ NetworkingV1API_deleteNamespacedIngress(apiClient_t *apiClient, char * name , ch char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -2104,11 +2104,11 @@ NetworkingV1API_deleteNamespacedIngress(apiClient_t *apiClient, char * name , ch char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -2255,7 +2255,7 @@ NetworkingV1API_deleteNamespacedIngress(apiClient_t *apiClient, char * name , ch // delete a NetworkPolicy // v1_status_t* -NetworkingV1API_deleteNamespacedNetworkPolicy(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +NetworkingV1API_deleteNamespacedNetworkPolicy(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2320,11 +2320,11 @@ NetworkingV1API_deleteNamespacedNetworkPolicy(apiClient_t *apiClient, char * nam char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -2333,11 +2333,11 @@ NetworkingV1API_deleteNamespacedNetworkPolicy(apiClient_t *apiClient, char * nam char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -2551,7 +2551,7 @@ NetworkingV1API_getAPIResources(apiClient_t *apiClient) // list or watch objects of kind IngressClass // v1_ingress_class_list_t* -NetworkingV1API_listIngressClass(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +NetworkingV1API_listIngressClass(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2584,11 +2584,11 @@ NetworkingV1API_listIngressClass(apiClient_t *apiClient, char * pretty , int all char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -2633,11 +2633,11 @@ NetworkingV1API_listIngressClass(apiClient_t *apiClient, char * pretty , int all char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -2670,11 +2670,11 @@ NetworkingV1API_listIngressClass(apiClient_t *apiClient, char * pretty , int all char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -2683,11 +2683,11 @@ NetworkingV1API_listIngressClass(apiClient_t *apiClient, char * pretty , int all char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -2696,11 +2696,11 @@ NetworkingV1API_listIngressClass(apiClient_t *apiClient, char * pretty , int all char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -2889,7 +2889,7 @@ NetworkingV1API_listIngressClass(apiClient_t *apiClient, char * pretty , int all // list or watch objects of kind Ingress // v1_ingress_list_t* -NetworkingV1API_listIngressForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +NetworkingV1API_listIngressForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2910,11 +2910,11 @@ NetworkingV1API_listIngressForAllNamespaces(apiClient_t *apiClient, int allowWat char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -2959,11 +2959,11 @@ NetworkingV1API_listIngressForAllNamespaces(apiClient_t *apiClient, int allowWat char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -3008,11 +3008,11 @@ NetworkingV1API_listIngressForAllNamespaces(apiClient_t *apiClient, int allowWat char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -3021,11 +3021,11 @@ NetworkingV1API_listIngressForAllNamespaces(apiClient_t *apiClient, int allowWat char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -3034,11 +3034,11 @@ NetworkingV1API_listIngressForAllNamespaces(apiClient_t *apiClient, int allowWat char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -3227,7 +3227,7 @@ NetworkingV1API_listIngressForAllNamespaces(apiClient_t *apiClient, int allowWat // list or watch objects of kind Ingress // v1_ingress_list_t* -NetworkingV1API_listNamespacedIngress(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +NetworkingV1API_listNamespacedIngress(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3270,11 +3270,11 @@ NetworkingV1API_listNamespacedIngress(apiClient_t *apiClient, char * _namespace char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -3319,11 +3319,11 @@ NetworkingV1API_listNamespacedIngress(apiClient_t *apiClient, char * _namespace char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -3356,11 +3356,11 @@ NetworkingV1API_listNamespacedIngress(apiClient_t *apiClient, char * _namespace char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -3369,11 +3369,11 @@ NetworkingV1API_listNamespacedIngress(apiClient_t *apiClient, char * _namespace char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -3382,11 +3382,11 @@ NetworkingV1API_listNamespacedIngress(apiClient_t *apiClient, char * _namespace char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -3576,7 +3576,7 @@ NetworkingV1API_listNamespacedIngress(apiClient_t *apiClient, char * _namespace // list or watch objects of kind NetworkPolicy // v1_network_policy_list_t* -NetworkingV1API_listNamespacedNetworkPolicy(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +NetworkingV1API_listNamespacedNetworkPolicy(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3619,11 +3619,11 @@ NetworkingV1API_listNamespacedNetworkPolicy(apiClient_t *apiClient, char * _name char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -3668,11 +3668,11 @@ NetworkingV1API_listNamespacedNetworkPolicy(apiClient_t *apiClient, char * _name char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -3705,11 +3705,11 @@ NetworkingV1API_listNamespacedNetworkPolicy(apiClient_t *apiClient, char * _name char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -3718,11 +3718,11 @@ NetworkingV1API_listNamespacedNetworkPolicy(apiClient_t *apiClient, char * _name char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -3731,11 +3731,11 @@ NetworkingV1API_listNamespacedNetworkPolicy(apiClient_t *apiClient, char * _name char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -3925,7 +3925,7 @@ NetworkingV1API_listNamespacedNetworkPolicy(apiClient_t *apiClient, char * _name // list or watch objects of kind NetworkPolicy // v1_network_policy_list_t* -NetworkingV1API_listNetworkPolicyForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +NetworkingV1API_listNetworkPolicyForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3946,11 +3946,11 @@ NetworkingV1API_listNetworkPolicyForAllNamespaces(apiClient_t *apiClient, int al char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -3995,11 +3995,11 @@ NetworkingV1API_listNetworkPolicyForAllNamespaces(apiClient_t *apiClient, int al char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -4044,11 +4044,11 @@ NetworkingV1API_listNetworkPolicyForAllNamespaces(apiClient_t *apiClient, int al char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -4057,11 +4057,11 @@ NetworkingV1API_listNetworkPolicyForAllNamespaces(apiClient_t *apiClient, int al char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -4070,11 +4070,11 @@ NetworkingV1API_listNetworkPolicyForAllNamespaces(apiClient_t *apiClient, int al char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -4263,7 +4263,7 @@ NetworkingV1API_listNetworkPolicyForAllNamespaces(apiClient_t *apiClient, int al // partially update the specified IngressClass // v1_ingress_class_t* -NetworkingV1API_patchIngressClass(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +NetworkingV1API_patchIngressClass(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -4342,11 +4342,11 @@ NetworkingV1API_patchIngressClass(apiClient_t *apiClient, char * name , object_t char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -4484,7 +4484,7 @@ NetworkingV1API_patchIngressClass(apiClient_t *apiClient, char * name , object_t // partially update the specified Ingress // v1_ingress_t* -NetworkingV1API_patchNamespacedIngress(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +NetworkingV1API_patchNamespacedIngress(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -4573,11 +4573,11 @@ NetworkingV1API_patchNamespacedIngress(apiClient_t *apiClient, char * name , cha char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -4716,7 +4716,7 @@ NetworkingV1API_patchNamespacedIngress(apiClient_t *apiClient, char * name , cha // partially update status of the specified Ingress // v1_ingress_t* -NetworkingV1API_patchNamespacedIngressStatus(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +NetworkingV1API_patchNamespacedIngressStatus(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -4805,11 +4805,11 @@ NetworkingV1API_patchNamespacedIngressStatus(apiClient_t *apiClient, char * name char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -4948,7 +4948,7 @@ NetworkingV1API_patchNamespacedIngressStatus(apiClient_t *apiClient, char * name // partially update the specified NetworkPolicy // v1_network_policy_t* -NetworkingV1API_patchNamespacedNetworkPolicy(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +NetworkingV1API_patchNamespacedNetworkPolicy(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -5037,11 +5037,11 @@ NetworkingV1API_patchNamespacedNetworkPolicy(apiClient_t *apiClient, char * name char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -5180,7 +5180,7 @@ NetworkingV1API_patchNamespacedNetworkPolicy(apiClient_t *apiClient, char * name // read the specified IngressClass // v1_ingress_class_t* -NetworkingV1API_readIngressClass(apiClient_t *apiClient, char * name , char * pretty ) +NetworkingV1API_readIngressClass(apiClient_t *apiClient, char *name, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -5282,7 +5282,7 @@ NetworkingV1API_readIngressClass(apiClient_t *apiClient, char * name , char * pr // read the specified Ingress // v1_ingress_t* -NetworkingV1API_readNamespacedIngress(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ) +NetworkingV1API_readNamespacedIngress(apiClient_t *apiClient, char *name, char *_namespace, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -5395,7 +5395,7 @@ NetworkingV1API_readNamespacedIngress(apiClient_t *apiClient, char * name , char // read status of the specified Ingress // v1_ingress_t* -NetworkingV1API_readNamespacedIngressStatus(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ) +NetworkingV1API_readNamespacedIngressStatus(apiClient_t *apiClient, char *name, char *_namespace, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -5508,7 +5508,7 @@ NetworkingV1API_readNamespacedIngressStatus(apiClient_t *apiClient, char * name // read the specified NetworkPolicy // v1_network_policy_t* -NetworkingV1API_readNamespacedNetworkPolicy(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ) +NetworkingV1API_readNamespacedNetworkPolicy(apiClient_t *apiClient, char *name, char *_namespace, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -5621,7 +5621,7 @@ NetworkingV1API_readNamespacedNetworkPolicy(apiClient_t *apiClient, char * name // replace the specified IngressClass // v1_ingress_class_t* -NetworkingV1API_replaceIngressClass(apiClient_t *apiClient, char * name , v1_ingress_class_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +NetworkingV1API_replaceIngressClass(apiClient_t *apiClient, char *name, v1_ingress_class_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -5813,7 +5813,7 @@ NetworkingV1API_replaceIngressClass(apiClient_t *apiClient, char * name , v1_ing // replace the specified Ingress // v1_ingress_t* -NetworkingV1API_replaceNamespacedIngress(apiClient_t *apiClient, char * name , char * _namespace , v1_ingress_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +NetworkingV1API_replaceNamespacedIngress(apiClient_t *apiClient, char *name, char *_namespace, v1_ingress_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -6016,7 +6016,7 @@ NetworkingV1API_replaceNamespacedIngress(apiClient_t *apiClient, char * name , c // replace status of the specified Ingress // v1_ingress_t* -NetworkingV1API_replaceNamespacedIngressStatus(apiClient_t *apiClient, char * name , char * _namespace , v1_ingress_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +NetworkingV1API_replaceNamespacedIngressStatus(apiClient_t *apiClient, char *name, char *_namespace, v1_ingress_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -6219,7 +6219,7 @@ NetworkingV1API_replaceNamespacedIngressStatus(apiClient_t *apiClient, char * na // replace the specified NetworkPolicy // v1_network_policy_t* -NetworkingV1API_replaceNamespacedNetworkPolicy(apiClient_t *apiClient, char * name , char * _namespace , v1_network_policy_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +NetworkingV1API_replaceNamespacedNetworkPolicy(apiClient_t *apiClient, char *name, char *_namespace, v1_network_policy_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; diff --git a/kubernetes/api/NetworkingV1API.h b/kubernetes/api/NetworkingV1API.h index cc952ce1..277e9a26 100644 --- a/kubernetes/api/NetworkingV1API.h +++ b/kubernetes/api/NetworkingV1API.h @@ -20,55 +20,55 @@ // create an IngressClass // v1_ingress_class_t* -NetworkingV1API_createIngressClass(apiClient_t *apiClient, v1_ingress_class_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +NetworkingV1API_createIngressClass(apiClient_t *apiClient, v1_ingress_class_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // create an Ingress // v1_ingress_t* -NetworkingV1API_createNamespacedIngress(apiClient_t *apiClient, char * _namespace , v1_ingress_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +NetworkingV1API_createNamespacedIngress(apiClient_t *apiClient, char *_namespace, v1_ingress_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // create a NetworkPolicy // v1_network_policy_t* -NetworkingV1API_createNamespacedNetworkPolicy(apiClient_t *apiClient, char * _namespace , v1_network_policy_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +NetworkingV1API_createNamespacedNetworkPolicy(apiClient_t *apiClient, char *_namespace, v1_network_policy_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // delete collection of IngressClass // v1_status_t* -NetworkingV1API_deleteCollectionIngressClass(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +NetworkingV1API_deleteCollectionIngressClass(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); // delete collection of Ingress // v1_status_t* -NetworkingV1API_deleteCollectionNamespacedIngress(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +NetworkingV1API_deleteCollectionNamespacedIngress(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); // delete collection of NetworkPolicy // v1_status_t* -NetworkingV1API_deleteCollectionNamespacedNetworkPolicy(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +NetworkingV1API_deleteCollectionNamespacedNetworkPolicy(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); // delete an IngressClass // v1_status_t* -NetworkingV1API_deleteIngressClass(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +NetworkingV1API_deleteIngressClass(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // delete an Ingress // v1_status_t* -NetworkingV1API_deleteNamespacedIngress(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +NetworkingV1API_deleteNamespacedIngress(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // delete a NetworkPolicy // v1_status_t* -NetworkingV1API_deleteNamespacedNetworkPolicy(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +NetworkingV1API_deleteNamespacedNetworkPolicy(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // get available resources @@ -80,102 +80,102 @@ NetworkingV1API_getAPIResources(apiClient_t *apiClient); // list or watch objects of kind IngressClass // v1_ingress_class_list_t* -NetworkingV1API_listIngressClass(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +NetworkingV1API_listIngressClass(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind Ingress // v1_ingress_list_t* -NetworkingV1API_listIngressForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +NetworkingV1API_listIngressForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind Ingress // v1_ingress_list_t* -NetworkingV1API_listNamespacedIngress(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +NetworkingV1API_listNamespacedIngress(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind NetworkPolicy // v1_network_policy_list_t* -NetworkingV1API_listNamespacedNetworkPolicy(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +NetworkingV1API_listNamespacedNetworkPolicy(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind NetworkPolicy // v1_network_policy_list_t* -NetworkingV1API_listNetworkPolicyForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +NetworkingV1API_listNetworkPolicyForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // partially update the specified IngressClass // v1_ingress_class_t* -NetworkingV1API_patchIngressClass(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +NetworkingV1API_patchIngressClass(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update the specified Ingress // v1_ingress_t* -NetworkingV1API_patchNamespacedIngress(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +NetworkingV1API_patchNamespacedIngress(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update status of the specified Ingress // v1_ingress_t* -NetworkingV1API_patchNamespacedIngressStatus(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +NetworkingV1API_patchNamespacedIngressStatus(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update the specified NetworkPolicy // v1_network_policy_t* -NetworkingV1API_patchNamespacedNetworkPolicy(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +NetworkingV1API_patchNamespacedNetworkPolicy(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // read the specified IngressClass // v1_ingress_class_t* -NetworkingV1API_readIngressClass(apiClient_t *apiClient, char * name , char * pretty ); +NetworkingV1API_readIngressClass(apiClient_t *apiClient, char *name, char *pretty); // read the specified Ingress // v1_ingress_t* -NetworkingV1API_readNamespacedIngress(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ); +NetworkingV1API_readNamespacedIngress(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); // read status of the specified Ingress // v1_ingress_t* -NetworkingV1API_readNamespacedIngressStatus(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ); +NetworkingV1API_readNamespacedIngressStatus(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); // read the specified NetworkPolicy // v1_network_policy_t* -NetworkingV1API_readNamespacedNetworkPolicy(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ); +NetworkingV1API_readNamespacedNetworkPolicy(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); // replace the specified IngressClass // v1_ingress_class_t* -NetworkingV1API_replaceIngressClass(apiClient_t *apiClient, char * name , v1_ingress_class_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +NetworkingV1API_replaceIngressClass(apiClient_t *apiClient, char *name, v1_ingress_class_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace the specified Ingress // v1_ingress_t* -NetworkingV1API_replaceNamespacedIngress(apiClient_t *apiClient, char * name , char * _namespace , v1_ingress_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +NetworkingV1API_replaceNamespacedIngress(apiClient_t *apiClient, char *name, char *_namespace, v1_ingress_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace status of the specified Ingress // v1_ingress_t* -NetworkingV1API_replaceNamespacedIngressStatus(apiClient_t *apiClient, char * name , char * _namespace , v1_ingress_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +NetworkingV1API_replaceNamespacedIngressStatus(apiClient_t *apiClient, char *name, char *_namespace, v1_ingress_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace the specified NetworkPolicy // v1_network_policy_t* -NetworkingV1API_replaceNamespacedNetworkPolicy(apiClient_t *apiClient, char * name , char * _namespace , v1_network_policy_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +NetworkingV1API_replaceNamespacedNetworkPolicy(apiClient_t *apiClient, char *name, char *_namespace, v1_network_policy_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); diff --git a/kubernetes/api/NetworkingV1alpha1API.c b/kubernetes/api/NetworkingV1alpha1API.c index 43dc2dc0..f068e0dc 100644 --- a/kubernetes/api/NetworkingV1alpha1API.c +++ b/kubernetes/api/NetworkingV1alpha1API.c @@ -12,10 +12,10 @@ }while(0) -// create a ClusterCIDR +// create an IPAddress // -v1alpha1_cluster_cidr_t* -NetworkingV1alpha1API_createClusterCIDR(apiClient_t *apiClient, v1alpha1_cluster_cidr_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +v1alpha1_ip_address_t* +NetworkingV1alpha1API_createIPAddress(apiClient_t *apiClient, v1alpha1_ip_address_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -25,9 +25,9 @@ NetworkingV1alpha1API_createClusterCIDR(apiClient_t *apiClient, v1alpha1_cluster char *localVarBodyParameters = NULL; // create the path - long sizeOfPath = strlen("/apis/networking.k8s.io/v1alpha1/clustercidrs")+1; + long sizeOfPath = strlen("/apis/networking.k8s.io/v1alpha1/ipaddresses")+1; char *localVarPath = malloc(sizeOfPath); - snprintf(localVarPath, sizeOfPath, "/apis/networking.k8s.io/v1alpha1/clustercidrs"); + snprintf(localVarPath, sizeOfPath, "/apis/networking.k8s.io/v1alpha1/ipaddresses"); @@ -85,7 +85,7 @@ NetworkingV1alpha1API_createClusterCIDR(apiClient_t *apiClient, v1alpha1_cluster if (body != NULL) { //string - localVarSingleItemJSON_body = v1alpha1_cluster_cidr_convertToJSON(body); + localVarSingleItemJSON_body = v1alpha1_ip_address_convertToJSON(body); localVarBodyParameters = cJSON_Print(localVarSingleItemJSON_body); } list_addElement(localVarHeaderType,"application/json"); //produces @@ -119,7 +119,7 @@ NetworkingV1alpha1API_createClusterCIDR(apiClient_t *apiClient, v1alpha1_cluster //} //nonprimitive not container cJSON *NetworkingV1alpha1APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); - v1alpha1_cluster_cidr_t *elementToReturn = v1alpha1_cluster_cidr_parseFromJSON(NetworkingV1alpha1APIlocalVarJSON); + v1alpha1_ip_address_t *elementToReturn = v1alpha1_ip_address_parseFromJSON(NetworkingV1alpha1APIlocalVarJSON); cJSON_Delete(NetworkingV1alpha1APIlocalVarJSON); if(elementToReturn == NULL) { // return 0; @@ -197,10 +197,10 @@ NetworkingV1alpha1API_createClusterCIDR(apiClient_t *apiClient, v1alpha1_cluster } -// create an IPAddress +// create a ServiceCIDR // -v1alpha1_ip_address_t* -NetworkingV1alpha1API_createIPAddress(apiClient_t *apiClient, v1alpha1_ip_address_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +v1alpha1_service_cidr_t* +NetworkingV1alpha1API_createServiceCIDR(apiClient_t *apiClient, v1alpha1_service_cidr_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -210,9 +210,9 @@ NetworkingV1alpha1API_createIPAddress(apiClient_t *apiClient, v1alpha1_ip_addres char *localVarBodyParameters = NULL; // create the path - long sizeOfPath = strlen("/apis/networking.k8s.io/v1alpha1/ipaddresses")+1; + long sizeOfPath = strlen("/apis/networking.k8s.io/v1alpha1/servicecidrs")+1; char *localVarPath = malloc(sizeOfPath); - snprintf(localVarPath, sizeOfPath, "/apis/networking.k8s.io/v1alpha1/ipaddresses"); + snprintf(localVarPath, sizeOfPath, "/apis/networking.k8s.io/v1alpha1/servicecidrs"); @@ -270,7 +270,7 @@ NetworkingV1alpha1API_createIPAddress(apiClient_t *apiClient, v1alpha1_ip_addres if (body != NULL) { //string - localVarSingleItemJSON_body = v1alpha1_ip_address_convertToJSON(body); + localVarSingleItemJSON_body = v1alpha1_service_cidr_convertToJSON(body); localVarBodyParameters = cJSON_Print(localVarSingleItemJSON_body); } list_addElement(localVarHeaderType,"application/json"); //produces @@ -304,7 +304,7 @@ NetworkingV1alpha1API_createIPAddress(apiClient_t *apiClient, v1alpha1_ip_addres //} //nonprimitive not container cJSON *NetworkingV1alpha1APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); - v1alpha1_ip_address_t *elementToReturn = v1alpha1_ip_address_parseFromJSON(NetworkingV1alpha1APIlocalVarJSON); + v1alpha1_service_cidr_t *elementToReturn = v1alpha1_service_cidr_parseFromJSON(NetworkingV1alpha1APIlocalVarJSON); cJSON_Delete(NetworkingV1alpha1APIlocalVarJSON); if(elementToReturn == NULL) { // return 0; @@ -382,228 +382,10 @@ NetworkingV1alpha1API_createIPAddress(apiClient_t *apiClient, v1alpha1_ip_addres } -// delete a ClusterCIDR -// -v1_status_t* -NetworkingV1alpha1API_deleteClusterCIDR(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) -{ - list_t *localVarQueryParameters = list_createList(); - list_t *localVarHeaderParameters = NULL; - list_t *localVarFormParameters = NULL; - list_t *localVarHeaderType = list_createList(); - list_t *localVarContentType = NULL; - char *localVarBodyParameters = NULL; - - // create the path - long sizeOfPath = strlen("/apis/networking.k8s.io/v1alpha1/clustercidrs/{name}")+1; - char *localVarPath = malloc(sizeOfPath); - snprintf(localVarPath, sizeOfPath, "/apis/networking.k8s.io/v1alpha1/clustercidrs/{name}"); - - - // Path Params - long sizeOfPathParams_name = strlen(name)+3 + strlen("{ name }"); - if(name == NULL) { - goto end; - } - char* localVarToReplace_name = malloc(sizeOfPathParams_name); - sprintf(localVarToReplace_name, "{%s}", "name"); - - localVarPath = strReplace(localVarPath, localVarToReplace_name, name); - - - - // query parameters - char *keyQuery_pretty = NULL; - char * valueQuery_pretty = NULL; - keyValuePair_t *keyPairQuery_pretty = 0; - if (pretty) - { - keyQuery_pretty = strdup("pretty"); - valueQuery_pretty = strdup((pretty)); - keyPairQuery_pretty = keyValuePair_create(keyQuery_pretty, valueQuery_pretty); - list_addElement(localVarQueryParameters,keyPairQuery_pretty); - } - - // query parameters - char *keyQuery_dryRun = NULL; - char * valueQuery_dryRun = NULL; - keyValuePair_t *keyPairQuery_dryRun = 0; - if (dryRun) - { - keyQuery_dryRun = strdup("dryRun"); - valueQuery_dryRun = strdup((dryRun)); - keyPairQuery_dryRun = keyValuePair_create(keyQuery_dryRun, valueQuery_dryRun); - list_addElement(localVarQueryParameters,keyPairQuery_dryRun); - } - - // query parameters - char *keyQuery_gracePeriodSeconds = NULL; - char * valueQuery_gracePeriodSeconds = NULL; - keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server - { - keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); - valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); - keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); - list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); - } - - // query parameters - char *keyQuery_orphanDependents = NULL; - char * valueQuery_orphanDependents = NULL; - keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server - { - keyQuery_orphanDependents = strdup("orphanDependents"); - valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); - keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); - list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); - } - - // query parameters - char *keyQuery_propagationPolicy = NULL; - char * valueQuery_propagationPolicy = NULL; - keyValuePair_t *keyPairQuery_propagationPolicy = 0; - if (propagationPolicy) - { - keyQuery_propagationPolicy = strdup("propagationPolicy"); - valueQuery_propagationPolicy = strdup((propagationPolicy)); - keyPairQuery_propagationPolicy = keyValuePair_create(keyQuery_propagationPolicy, valueQuery_propagationPolicy); - list_addElement(localVarQueryParameters,keyPairQuery_propagationPolicy); - } - - // Body Param - cJSON *localVarSingleItemJSON_body = NULL; - if (body != NULL) - { - //string - localVarSingleItemJSON_body = v1_delete_options_convertToJSON(body); - localVarBodyParameters = cJSON_Print(localVarSingleItemJSON_body); - } - list_addElement(localVarHeaderType,"application/json"); //produces - list_addElement(localVarHeaderType,"application/yaml"); //produces - list_addElement(localVarHeaderType,"application/vnd.kubernetes.protobuf"); //produces - apiClient_invoke(apiClient, - localVarPath, - localVarQueryParameters, - localVarHeaderParameters, - localVarFormParameters, - localVarHeaderType, - localVarContentType, - localVarBodyParameters, - "DELETE"); - - // uncomment below to debug the error response - //if (apiClient->response_code == 200) { - // printf("%s\n","OK"); - //} - // uncomment below to debug the error response - //if (apiClient->response_code == 202) { - // printf("%s\n","Accepted"); - //} - // uncomment below to debug the error response - //if (apiClient->response_code == 401) { - // printf("%s\n","Unauthorized"); - //} - //nonprimitive not container - cJSON *NetworkingV1alpha1APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); - v1_status_t *elementToReturn = v1_status_parseFromJSON(NetworkingV1alpha1APIlocalVarJSON); - cJSON_Delete(NetworkingV1alpha1APIlocalVarJSON); - if(elementToReturn == NULL) { - // return 0; - } - - //return type - if (apiClient->dataReceived) { - free(apiClient->dataReceived); - apiClient->dataReceived = NULL; - apiClient->dataReceivedLen = 0; - } - list_freeList(localVarQueryParameters); - - - list_freeList(localVarHeaderType); - - free(localVarPath); - free(localVarToReplace_name); - if (localVarSingleItemJSON_body) { - cJSON_Delete(localVarSingleItemJSON_body); - localVarSingleItemJSON_body = NULL; - } - free(localVarBodyParameters); - if(keyQuery_pretty){ - free(keyQuery_pretty); - keyQuery_pretty = NULL; - } - if(valueQuery_pretty){ - free(valueQuery_pretty); - valueQuery_pretty = NULL; - } - if(keyPairQuery_pretty){ - keyValuePair_free(keyPairQuery_pretty); - keyPairQuery_pretty = NULL; - } - if(keyQuery_dryRun){ - free(keyQuery_dryRun); - keyQuery_dryRun = NULL; - } - if(valueQuery_dryRun){ - free(valueQuery_dryRun); - valueQuery_dryRun = NULL; - } - if(keyPairQuery_dryRun){ - keyValuePair_free(keyPairQuery_dryRun); - keyPairQuery_dryRun = NULL; - } - if(keyQuery_gracePeriodSeconds){ - free(keyQuery_gracePeriodSeconds); - keyQuery_gracePeriodSeconds = NULL; - } - if(valueQuery_gracePeriodSeconds){ - free(valueQuery_gracePeriodSeconds); - valueQuery_gracePeriodSeconds = NULL; - } - if(keyPairQuery_gracePeriodSeconds){ - keyValuePair_free(keyPairQuery_gracePeriodSeconds); - keyPairQuery_gracePeriodSeconds = NULL; - } - if(keyQuery_orphanDependents){ - free(keyQuery_orphanDependents); - keyQuery_orphanDependents = NULL; - } - if(valueQuery_orphanDependents){ - free(valueQuery_orphanDependents); - valueQuery_orphanDependents = NULL; - } - if(keyPairQuery_orphanDependents){ - keyValuePair_free(keyPairQuery_orphanDependents); - keyPairQuery_orphanDependents = NULL; - } - if(keyQuery_propagationPolicy){ - free(keyQuery_propagationPolicy); - keyQuery_propagationPolicy = NULL; - } - if(valueQuery_propagationPolicy){ - free(valueQuery_propagationPolicy); - valueQuery_propagationPolicy = NULL; - } - if(keyPairQuery_propagationPolicy){ - keyValuePair_free(keyPairQuery_propagationPolicy); - keyPairQuery_propagationPolicy = NULL; - } - return elementToReturn; -end: - free(localVarPath); - return NULL; - -} - -// delete collection of ClusterCIDR +// delete collection of IPAddress // v1_status_t* -NetworkingV1alpha1API_deleteCollectionClusterCIDR(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +NetworkingV1alpha1API_deleteCollectionIPAddress(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -613,9 +395,9 @@ NetworkingV1alpha1API_deleteCollectionClusterCIDR(apiClient_t *apiClient, char * char *localVarBodyParameters = NULL; // create the path - long sizeOfPath = strlen("/apis/networking.k8s.io/v1alpha1/clustercidrs")+1; + long sizeOfPath = strlen("/apis/networking.k8s.io/v1alpha1/ipaddresses")+1; char *localVarPath = malloc(sizeOfPath); - snprintf(localVarPath, sizeOfPath, "/apis/networking.k8s.io/v1alpha1/clustercidrs"); + snprintf(localVarPath, sizeOfPath, "/apis/networking.k8s.io/v1alpha1/ipaddresses"); @@ -672,11 +454,11 @@ NetworkingV1alpha1API_deleteCollectionClusterCIDR(apiClient_t *apiClient, char * char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -697,11 +479,11 @@ NetworkingV1alpha1API_deleteCollectionClusterCIDR(apiClient_t *apiClient, char * char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -710,11 +492,11 @@ NetworkingV1alpha1API_deleteCollectionClusterCIDR(apiClient_t *apiClient, char * char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -759,11 +541,11 @@ NetworkingV1alpha1API_deleteCollectionClusterCIDR(apiClient_t *apiClient, char * char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -772,11 +554,11 @@ NetworkingV1alpha1API_deleteCollectionClusterCIDR(apiClient_t *apiClient, char * char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -998,10 +780,10 @@ NetworkingV1alpha1API_deleteCollectionClusterCIDR(apiClient_t *apiClient, char * } -// delete collection of IPAddress +// delete collection of ServiceCIDR // v1_status_t* -NetworkingV1alpha1API_deleteCollectionIPAddress(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +NetworkingV1alpha1API_deleteCollectionServiceCIDR(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1011,9 +793,9 @@ NetworkingV1alpha1API_deleteCollectionIPAddress(apiClient_t *apiClient, char * p char *localVarBodyParameters = NULL; // create the path - long sizeOfPath = strlen("/apis/networking.k8s.io/v1alpha1/ipaddresses")+1; + long sizeOfPath = strlen("/apis/networking.k8s.io/v1alpha1/servicecidrs")+1; char *localVarPath = malloc(sizeOfPath); - snprintf(localVarPath, sizeOfPath, "/apis/networking.k8s.io/v1alpha1/ipaddresses"); + snprintf(localVarPath, sizeOfPath, "/apis/networking.k8s.io/v1alpha1/servicecidrs"); @@ -1070,11 +852,11 @@ NetworkingV1alpha1API_deleteCollectionIPAddress(apiClient_t *apiClient, char * p char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -1095,11 +877,11 @@ NetworkingV1alpha1API_deleteCollectionIPAddress(apiClient_t *apiClient, char * p char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -1108,11 +890,11 @@ NetworkingV1alpha1API_deleteCollectionIPAddress(apiClient_t *apiClient, char * p char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -1157,11 +939,11 @@ NetworkingV1alpha1API_deleteCollectionIPAddress(apiClient_t *apiClient, char * p char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -1170,11 +952,11 @@ NetworkingV1alpha1API_deleteCollectionIPAddress(apiClient_t *apiClient, char * p char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -1399,7 +1181,7 @@ NetworkingV1alpha1API_deleteCollectionIPAddress(apiClient_t *apiClient, char * p // delete an IPAddress // v1_status_t* -NetworkingV1alpha1API_deleteIPAddress(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +NetworkingV1alpha1API_deleteIPAddress(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1454,11 +1236,11 @@ NetworkingV1alpha1API_deleteIPAddress(apiClient_t *apiClient, char * name , char char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -1467,11 +1249,11 @@ NetworkingV1alpha1API_deleteIPAddress(apiClient_t *apiClient, char * name , char char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -1614,12 +1396,12 @@ NetworkingV1alpha1API_deleteIPAddress(apiClient_t *apiClient, char * name , char } -// get available resources +// delete a ServiceCIDR // -v1_api_resource_list_t* -NetworkingV1alpha1API_getAPIResources(apiClient_t *apiClient) +v1_status_t* +NetworkingV1alpha1API_deleteServiceCIDR(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { - list_t *localVarQueryParameters = NULL; + list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; list_t *localVarFormParameters = NULL; list_t *localVarHeaderType = list_createList(); @@ -1627,24 +1409,242 @@ NetworkingV1alpha1API_getAPIResources(apiClient_t *apiClient) char *localVarBodyParameters = NULL; // create the path - long sizeOfPath = strlen("/apis/networking.k8s.io/v1alpha1/")+1; + long sizeOfPath = strlen("/apis/networking.k8s.io/v1alpha1/servicecidrs/{name}")+1; char *localVarPath = malloc(sizeOfPath); - snprintf(localVarPath, sizeOfPath, "/apis/networking.k8s.io/v1alpha1/"); + snprintf(localVarPath, sizeOfPath, "/apis/networking.k8s.io/v1alpha1/servicecidrs/{name}"); + // Path Params + long sizeOfPathParams_name = strlen(name)+3 + strlen("{ name }"); + if(name == NULL) { + goto end; + } + char* localVarToReplace_name = malloc(sizeOfPathParams_name); + sprintf(localVarToReplace_name, "{%s}", "name"); - list_addElement(localVarHeaderType,"application/json"); //produces - list_addElement(localVarHeaderType,"application/yaml"); //produces - list_addElement(localVarHeaderType,"application/vnd.kubernetes.protobuf"); //produces - apiClient_invoke(apiClient, - localVarPath, - localVarQueryParameters, - localVarHeaderParameters, - localVarFormParameters, - localVarHeaderType, - localVarContentType, - localVarBodyParameters, - "GET"); + localVarPath = strReplace(localVarPath, localVarToReplace_name, name); + + + + // query parameters + char *keyQuery_pretty = NULL; + char * valueQuery_pretty = NULL; + keyValuePair_t *keyPairQuery_pretty = 0; + if (pretty) + { + keyQuery_pretty = strdup("pretty"); + valueQuery_pretty = strdup((pretty)); + keyPairQuery_pretty = keyValuePair_create(keyQuery_pretty, valueQuery_pretty); + list_addElement(localVarQueryParameters,keyPairQuery_pretty); + } + + // query parameters + char *keyQuery_dryRun = NULL; + char * valueQuery_dryRun = NULL; + keyValuePair_t *keyPairQuery_dryRun = 0; + if (dryRun) + { + keyQuery_dryRun = strdup("dryRun"); + valueQuery_dryRun = strdup((dryRun)); + keyPairQuery_dryRun = keyValuePair_create(keyQuery_dryRun, valueQuery_dryRun); + list_addElement(localVarQueryParameters,keyPairQuery_dryRun); + } + + // query parameters + char *keyQuery_gracePeriodSeconds = NULL; + char * valueQuery_gracePeriodSeconds = NULL; + keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; + if (gracePeriodSeconds) + { + keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); + valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); + keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); + list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); + } + + // query parameters + char *keyQuery_orphanDependents = NULL; + char * valueQuery_orphanDependents = NULL; + keyValuePair_t *keyPairQuery_orphanDependents = 0; + if (orphanDependents) + { + keyQuery_orphanDependents = strdup("orphanDependents"); + valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); + keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); + list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); + } + + // query parameters + char *keyQuery_propagationPolicy = NULL; + char * valueQuery_propagationPolicy = NULL; + keyValuePair_t *keyPairQuery_propagationPolicy = 0; + if (propagationPolicy) + { + keyQuery_propagationPolicy = strdup("propagationPolicy"); + valueQuery_propagationPolicy = strdup((propagationPolicy)); + keyPairQuery_propagationPolicy = keyValuePair_create(keyQuery_propagationPolicy, valueQuery_propagationPolicy); + list_addElement(localVarQueryParameters,keyPairQuery_propagationPolicy); + } + + // Body Param + cJSON *localVarSingleItemJSON_body = NULL; + if (body != NULL) + { + //string + localVarSingleItemJSON_body = v1_delete_options_convertToJSON(body); + localVarBodyParameters = cJSON_Print(localVarSingleItemJSON_body); + } + list_addElement(localVarHeaderType,"application/json"); //produces + list_addElement(localVarHeaderType,"application/yaml"); //produces + list_addElement(localVarHeaderType,"application/vnd.kubernetes.protobuf"); //produces + apiClient_invoke(apiClient, + localVarPath, + localVarQueryParameters, + localVarHeaderParameters, + localVarFormParameters, + localVarHeaderType, + localVarContentType, + localVarBodyParameters, + "DELETE"); + + // uncomment below to debug the error response + //if (apiClient->response_code == 200) { + // printf("%s\n","OK"); + //} + // uncomment below to debug the error response + //if (apiClient->response_code == 202) { + // printf("%s\n","Accepted"); + //} + // uncomment below to debug the error response + //if (apiClient->response_code == 401) { + // printf("%s\n","Unauthorized"); + //} + //nonprimitive not container + cJSON *NetworkingV1alpha1APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); + v1_status_t *elementToReturn = v1_status_parseFromJSON(NetworkingV1alpha1APIlocalVarJSON); + cJSON_Delete(NetworkingV1alpha1APIlocalVarJSON); + if(elementToReturn == NULL) { + // return 0; + } + + //return type + if (apiClient->dataReceived) { + free(apiClient->dataReceived); + apiClient->dataReceived = NULL; + apiClient->dataReceivedLen = 0; + } + list_freeList(localVarQueryParameters); + + + list_freeList(localVarHeaderType); + + free(localVarPath); + free(localVarToReplace_name); + if (localVarSingleItemJSON_body) { + cJSON_Delete(localVarSingleItemJSON_body); + localVarSingleItemJSON_body = NULL; + } + free(localVarBodyParameters); + if(keyQuery_pretty){ + free(keyQuery_pretty); + keyQuery_pretty = NULL; + } + if(valueQuery_pretty){ + free(valueQuery_pretty); + valueQuery_pretty = NULL; + } + if(keyPairQuery_pretty){ + keyValuePair_free(keyPairQuery_pretty); + keyPairQuery_pretty = NULL; + } + if(keyQuery_dryRun){ + free(keyQuery_dryRun); + keyQuery_dryRun = NULL; + } + if(valueQuery_dryRun){ + free(valueQuery_dryRun); + valueQuery_dryRun = NULL; + } + if(keyPairQuery_dryRun){ + keyValuePair_free(keyPairQuery_dryRun); + keyPairQuery_dryRun = NULL; + } + if(keyQuery_gracePeriodSeconds){ + free(keyQuery_gracePeriodSeconds); + keyQuery_gracePeriodSeconds = NULL; + } + if(valueQuery_gracePeriodSeconds){ + free(valueQuery_gracePeriodSeconds); + valueQuery_gracePeriodSeconds = NULL; + } + if(keyPairQuery_gracePeriodSeconds){ + keyValuePair_free(keyPairQuery_gracePeriodSeconds); + keyPairQuery_gracePeriodSeconds = NULL; + } + if(keyQuery_orphanDependents){ + free(keyQuery_orphanDependents); + keyQuery_orphanDependents = NULL; + } + if(valueQuery_orphanDependents){ + free(valueQuery_orphanDependents); + valueQuery_orphanDependents = NULL; + } + if(keyPairQuery_orphanDependents){ + keyValuePair_free(keyPairQuery_orphanDependents); + keyPairQuery_orphanDependents = NULL; + } + if(keyQuery_propagationPolicy){ + free(keyQuery_propagationPolicy); + keyQuery_propagationPolicy = NULL; + } + if(valueQuery_propagationPolicy){ + free(valueQuery_propagationPolicy); + valueQuery_propagationPolicy = NULL; + } + if(keyPairQuery_propagationPolicy){ + keyValuePair_free(keyPairQuery_propagationPolicy); + keyPairQuery_propagationPolicy = NULL; + } + return elementToReturn; +end: + free(localVarPath); + return NULL; + +} + +// get available resources +// +v1_api_resource_list_t* +NetworkingV1alpha1API_getAPIResources(apiClient_t *apiClient) +{ + list_t *localVarQueryParameters = NULL; + list_t *localVarHeaderParameters = NULL; + list_t *localVarFormParameters = NULL; + list_t *localVarHeaderType = list_createList(); + list_t *localVarContentType = NULL; + char *localVarBodyParameters = NULL; + + // create the path + long sizeOfPath = strlen("/apis/networking.k8s.io/v1alpha1/")+1; + char *localVarPath = malloc(sizeOfPath); + snprintf(localVarPath, sizeOfPath, "/apis/networking.k8s.io/v1alpha1/"); + + + + list_addElement(localVarHeaderType,"application/json"); //produces + list_addElement(localVarHeaderType,"application/yaml"); //produces + list_addElement(localVarHeaderType,"application/vnd.kubernetes.protobuf"); //produces + apiClient_invoke(apiClient, + localVarPath, + localVarQueryParameters, + localVarHeaderParameters, + localVarFormParameters, + localVarHeaderType, + localVarContentType, + localVarBodyParameters, + "GET"); // uncomment below to debug the error response //if (apiClient->response_code == 200) { @@ -1681,10 +1681,10 @@ NetworkingV1alpha1API_getAPIResources(apiClient_t *apiClient) } -// list or watch objects of kind ClusterCIDR +// list or watch objects of kind IPAddress // -v1alpha1_cluster_cidr_list_t* -NetworkingV1alpha1API_listClusterCIDR(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +v1alpha1_ip_address_list_t* +NetworkingV1alpha1API_listIPAddress(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1694,9 +1694,9 @@ NetworkingV1alpha1API_listClusterCIDR(apiClient_t *apiClient, char * pretty , in char *localVarBodyParameters = NULL; // create the path - long sizeOfPath = strlen("/apis/networking.k8s.io/v1alpha1/clustercidrs")+1; + long sizeOfPath = strlen("/apis/networking.k8s.io/v1alpha1/ipaddresses")+1; char *localVarPath = malloc(sizeOfPath); - snprintf(localVarPath, sizeOfPath, "/apis/networking.k8s.io/v1alpha1/clustercidrs"); + snprintf(localVarPath, sizeOfPath, "/apis/networking.k8s.io/v1alpha1/ipaddresses"); @@ -1717,11 +1717,11 @@ NetworkingV1alpha1API_listClusterCIDR(apiClient_t *apiClient, char * pretty , in char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -1766,11 +1766,11 @@ NetworkingV1alpha1API_listClusterCIDR(apiClient_t *apiClient, char * pretty , in char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -1803,11 +1803,11 @@ NetworkingV1alpha1API_listClusterCIDR(apiClient_t *apiClient, char * pretty , in char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -1816,11 +1816,11 @@ NetworkingV1alpha1API_listClusterCIDR(apiClient_t *apiClient, char * pretty , in char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -1829,11 +1829,11 @@ NetworkingV1alpha1API_listClusterCIDR(apiClient_t *apiClient, char * pretty , in char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -1862,7 +1862,7 @@ NetworkingV1alpha1API_listClusterCIDR(apiClient_t *apiClient, char * pretty , in //} //nonprimitive not container cJSON *NetworkingV1alpha1APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); - v1alpha1_cluster_cidr_list_t *elementToReturn = v1alpha1_cluster_cidr_list_parseFromJSON(NetworkingV1alpha1APIlocalVarJSON); + v1alpha1_ip_address_list_t *elementToReturn = v1alpha1_ip_address_list_parseFromJSON(NetworkingV1alpha1APIlocalVarJSON); cJSON_Delete(NetworkingV1alpha1APIlocalVarJSON); if(elementToReturn == NULL) { // return 0; @@ -2019,10 +2019,10 @@ NetworkingV1alpha1API_listClusterCIDR(apiClient_t *apiClient, char * pretty , in } -// list or watch objects of kind IPAddress +// list or watch objects of kind ServiceCIDR // -v1alpha1_ip_address_list_t* -NetworkingV1alpha1API_listIPAddress(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +v1alpha1_service_cidr_list_t* +NetworkingV1alpha1API_listServiceCIDR(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2032,9 +2032,9 @@ NetworkingV1alpha1API_listIPAddress(apiClient_t *apiClient, char * pretty , int char *localVarBodyParameters = NULL; // create the path - long sizeOfPath = strlen("/apis/networking.k8s.io/v1alpha1/ipaddresses")+1; + long sizeOfPath = strlen("/apis/networking.k8s.io/v1alpha1/servicecidrs")+1; char *localVarPath = malloc(sizeOfPath); - snprintf(localVarPath, sizeOfPath, "/apis/networking.k8s.io/v1alpha1/ipaddresses"); + snprintf(localVarPath, sizeOfPath, "/apis/networking.k8s.io/v1alpha1/servicecidrs"); @@ -2055,11 +2055,11 @@ NetworkingV1alpha1API_listIPAddress(apiClient_t *apiClient, char * pretty , int char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -2104,11 +2104,11 @@ NetworkingV1alpha1API_listIPAddress(apiClient_t *apiClient, char * pretty , int char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -2141,11 +2141,11 @@ NetworkingV1alpha1API_listIPAddress(apiClient_t *apiClient, char * pretty , int char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -2154,11 +2154,11 @@ NetworkingV1alpha1API_listIPAddress(apiClient_t *apiClient, char * pretty , int char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -2167,11 +2167,11 @@ NetworkingV1alpha1API_listIPAddress(apiClient_t *apiClient, char * pretty , int char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -2200,7 +2200,7 @@ NetworkingV1alpha1API_listIPAddress(apiClient_t *apiClient, char * pretty , int //} //nonprimitive not container cJSON *NetworkingV1alpha1APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); - v1alpha1_ip_address_list_t *elementToReturn = v1alpha1_ip_address_list_parseFromJSON(NetworkingV1alpha1APIlocalVarJSON); + v1alpha1_service_cidr_list_t *elementToReturn = v1alpha1_service_cidr_list_parseFromJSON(NetworkingV1alpha1APIlocalVarJSON); cJSON_Delete(NetworkingV1alpha1APIlocalVarJSON); if(elementToReturn == NULL) { // return 0; @@ -2357,10 +2357,10 @@ NetworkingV1alpha1API_listIPAddress(apiClient_t *apiClient, char * pretty , int } -// partially update the specified ClusterCIDR +// partially update the specified IPAddress // -v1alpha1_cluster_cidr_t* -NetworkingV1alpha1API_patchClusterCIDR(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +v1alpha1_ip_address_t* +NetworkingV1alpha1API_patchIPAddress(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2370,9 +2370,9 @@ NetworkingV1alpha1API_patchClusterCIDR(apiClient_t *apiClient, char * name , obj char *localVarBodyParameters = NULL; // create the path - long sizeOfPath = strlen("/apis/networking.k8s.io/v1alpha1/clustercidrs/{name}")+1; + long sizeOfPath = strlen("/apis/networking.k8s.io/v1alpha1/ipaddresses/{name}")+1; char *localVarPath = malloc(sizeOfPath); - snprintf(localVarPath, sizeOfPath, "/apis/networking.k8s.io/v1alpha1/clustercidrs/{name}"); + snprintf(localVarPath, sizeOfPath, "/apis/networking.k8s.io/v1alpha1/ipaddresses/{name}"); // Path Params @@ -2439,11 +2439,11 @@ NetworkingV1alpha1API_patchClusterCIDR(apiClient_t *apiClient, char * name , obj char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -2487,7 +2487,7 @@ NetworkingV1alpha1API_patchClusterCIDR(apiClient_t *apiClient, char * name , obj //} //nonprimitive not container cJSON *NetworkingV1alpha1APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); - v1alpha1_cluster_cidr_t *elementToReturn = v1alpha1_cluster_cidr_parseFromJSON(NetworkingV1alpha1APIlocalVarJSON); + v1alpha1_ip_address_t *elementToReturn = v1alpha1_ip_address_parseFromJSON(NetworkingV1alpha1APIlocalVarJSON); cJSON_Delete(NetworkingV1alpha1APIlocalVarJSON); if(elementToReturn == NULL) { // return 0; @@ -2578,10 +2578,10 @@ NetworkingV1alpha1API_patchClusterCIDR(apiClient_t *apiClient, char * name , obj } -// partially update the specified IPAddress +// partially update the specified ServiceCIDR // -v1alpha1_ip_address_t* -NetworkingV1alpha1API_patchIPAddress(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +v1alpha1_service_cidr_t* +NetworkingV1alpha1API_patchServiceCIDR(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2591,9 +2591,9 @@ NetworkingV1alpha1API_patchIPAddress(apiClient_t *apiClient, char * name , objec char *localVarBodyParameters = NULL; // create the path - long sizeOfPath = strlen("/apis/networking.k8s.io/v1alpha1/ipaddresses/{name}")+1; + long sizeOfPath = strlen("/apis/networking.k8s.io/v1alpha1/servicecidrs/{name}")+1; char *localVarPath = malloc(sizeOfPath); - snprintf(localVarPath, sizeOfPath, "/apis/networking.k8s.io/v1alpha1/ipaddresses/{name}"); + snprintf(localVarPath, sizeOfPath, "/apis/networking.k8s.io/v1alpha1/servicecidrs/{name}"); // Path Params @@ -2660,11 +2660,11 @@ NetworkingV1alpha1API_patchIPAddress(apiClient_t *apiClient, char * name , objec char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -2708,7 +2708,7 @@ NetworkingV1alpha1API_patchIPAddress(apiClient_t *apiClient, char * name , objec //} //nonprimitive not container cJSON *NetworkingV1alpha1APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); - v1alpha1_ip_address_t *elementToReturn = v1alpha1_ip_address_parseFromJSON(NetworkingV1alpha1APIlocalVarJSON); + v1alpha1_service_cidr_t *elementToReturn = v1alpha1_service_cidr_parseFromJSON(NetworkingV1alpha1APIlocalVarJSON); cJSON_Delete(NetworkingV1alpha1APIlocalVarJSON); if(elementToReturn == NULL) { // return 0; @@ -2799,22 +2799,22 @@ NetworkingV1alpha1API_patchIPAddress(apiClient_t *apiClient, char * name , objec } -// read the specified ClusterCIDR +// partially update status of the specified ServiceCIDR // -v1alpha1_cluster_cidr_t* -NetworkingV1alpha1API_readClusterCIDR(apiClient_t *apiClient, char * name , char * pretty ) +v1alpha1_service_cidr_t* +NetworkingV1alpha1API_patchServiceCIDRStatus(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; list_t *localVarFormParameters = NULL; list_t *localVarHeaderType = list_createList(); - list_t *localVarContentType = NULL; + list_t *localVarContentType = list_createList(); char *localVarBodyParameters = NULL; // create the path - long sizeOfPath = strlen("/apis/networking.k8s.io/v1alpha1/clustercidrs/{name}")+1; + long sizeOfPath = strlen("/apis/networking.k8s.io/v1alpha1/servicecidrs/{name}/status")+1; char *localVarPath = malloc(sizeOfPath); - snprintf(localVarPath, sizeOfPath, "/apis/networking.k8s.io/v1alpha1/clustercidrs/{name}"); + snprintf(localVarPath, sizeOfPath, "/apis/networking.k8s.io/v1alpha1/servicecidrs/{name}/status"); // Path Params @@ -2840,30 +2840,353 @@ NetworkingV1alpha1API_readClusterCIDR(apiClient_t *apiClient, char * name , char keyPairQuery_pretty = keyValuePair_create(keyQuery_pretty, valueQuery_pretty); list_addElement(localVarQueryParameters,keyPairQuery_pretty); } - list_addElement(localVarHeaderType,"application/json"); //produces - list_addElement(localVarHeaderType,"application/yaml"); //produces - list_addElement(localVarHeaderType,"application/vnd.kubernetes.protobuf"); //produces - apiClient_invoke(apiClient, - localVarPath, - localVarQueryParameters, - localVarHeaderParameters, - localVarFormParameters, - localVarHeaderType, - localVarContentType, - localVarBodyParameters, - "GET"); + + // query parameters + char *keyQuery_dryRun = NULL; + char * valueQuery_dryRun = NULL; + keyValuePair_t *keyPairQuery_dryRun = 0; + if (dryRun) + { + keyQuery_dryRun = strdup("dryRun"); + valueQuery_dryRun = strdup((dryRun)); + keyPairQuery_dryRun = keyValuePair_create(keyQuery_dryRun, valueQuery_dryRun); + list_addElement(localVarQueryParameters,keyPairQuery_dryRun); + } + + // query parameters + char *keyQuery_fieldManager = NULL; + char * valueQuery_fieldManager = NULL; + keyValuePair_t *keyPairQuery_fieldManager = 0; + if (fieldManager) + { + keyQuery_fieldManager = strdup("fieldManager"); + valueQuery_fieldManager = strdup((fieldManager)); + keyPairQuery_fieldManager = keyValuePair_create(keyQuery_fieldManager, valueQuery_fieldManager); + list_addElement(localVarQueryParameters,keyPairQuery_fieldManager); + } + + // query parameters + char *keyQuery_fieldValidation = NULL; + char * valueQuery_fieldValidation = NULL; + keyValuePair_t *keyPairQuery_fieldValidation = 0; + if (fieldValidation) + { + keyQuery_fieldValidation = strdup("fieldValidation"); + valueQuery_fieldValidation = strdup((fieldValidation)); + keyPairQuery_fieldValidation = keyValuePair_create(keyQuery_fieldValidation, valueQuery_fieldValidation); + list_addElement(localVarQueryParameters,keyPairQuery_fieldValidation); + } + + // query parameters + char *keyQuery_force = NULL; + char * valueQuery_force = NULL; + keyValuePair_t *keyPairQuery_force = 0; + if (force) + { + keyQuery_force = strdup("force"); + valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); + keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); + list_addElement(localVarQueryParameters,keyPairQuery_force); + } + + // Body Param + cJSON *localVarSingleItemJSON_body = NULL; + if (body != NULL) + { + //string + localVarSingleItemJSON_body = object_convertToJSON(body); + localVarBodyParameters = cJSON_Print(localVarSingleItemJSON_body); + } + list_addElement(localVarHeaderType,"application/json"); //produces + list_addElement(localVarHeaderType,"application/yaml"); //produces + list_addElement(localVarHeaderType,"application/vnd.kubernetes.protobuf"); //produces + list_addElement(localVarContentType,"application/json-patch+json"); //consumes + list_addElement(localVarContentType,"application/merge-patch+json"); //consumes + list_addElement(localVarContentType,"application/strategic-merge-patch+json"); //consumes + list_addElement(localVarContentType,"application/apply-patch+yaml"); //consumes + apiClient_invoke(apiClient, + localVarPath, + localVarQueryParameters, + localVarHeaderParameters, + localVarFormParameters, + localVarHeaderType, + localVarContentType, + localVarBodyParameters, + "PATCH"); + + // uncomment below to debug the error response + //if (apiClient->response_code == 200) { + // printf("%s\n","OK"); + //} + // uncomment below to debug the error response + //if (apiClient->response_code == 201) { + // printf("%s\n","Created"); + //} + // uncomment below to debug the error response + //if (apiClient->response_code == 401) { + // printf("%s\n","Unauthorized"); + //} + //nonprimitive not container + cJSON *NetworkingV1alpha1APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); + v1alpha1_service_cidr_t *elementToReturn = v1alpha1_service_cidr_parseFromJSON(NetworkingV1alpha1APIlocalVarJSON); + cJSON_Delete(NetworkingV1alpha1APIlocalVarJSON); + if(elementToReturn == NULL) { + // return 0; + } + + //return type + if (apiClient->dataReceived) { + free(apiClient->dataReceived); + apiClient->dataReceived = NULL; + apiClient->dataReceivedLen = 0; + } + list_freeList(localVarQueryParameters); + + + list_freeList(localVarHeaderType); + list_freeList(localVarContentType); + free(localVarPath); + free(localVarToReplace_name); + if (localVarSingleItemJSON_body) { + cJSON_Delete(localVarSingleItemJSON_body); + localVarSingleItemJSON_body = NULL; + } + free(localVarBodyParameters); + if(keyQuery_pretty){ + free(keyQuery_pretty); + keyQuery_pretty = NULL; + } + if(valueQuery_pretty){ + free(valueQuery_pretty); + valueQuery_pretty = NULL; + } + if(keyPairQuery_pretty){ + keyValuePair_free(keyPairQuery_pretty); + keyPairQuery_pretty = NULL; + } + if(keyQuery_dryRun){ + free(keyQuery_dryRun); + keyQuery_dryRun = NULL; + } + if(valueQuery_dryRun){ + free(valueQuery_dryRun); + valueQuery_dryRun = NULL; + } + if(keyPairQuery_dryRun){ + keyValuePair_free(keyPairQuery_dryRun); + keyPairQuery_dryRun = NULL; + } + if(keyQuery_fieldManager){ + free(keyQuery_fieldManager); + keyQuery_fieldManager = NULL; + } + if(valueQuery_fieldManager){ + free(valueQuery_fieldManager); + valueQuery_fieldManager = NULL; + } + if(keyPairQuery_fieldManager){ + keyValuePair_free(keyPairQuery_fieldManager); + keyPairQuery_fieldManager = NULL; + } + if(keyQuery_fieldValidation){ + free(keyQuery_fieldValidation); + keyQuery_fieldValidation = NULL; + } + if(valueQuery_fieldValidation){ + free(valueQuery_fieldValidation); + valueQuery_fieldValidation = NULL; + } + if(keyPairQuery_fieldValidation){ + keyValuePair_free(keyPairQuery_fieldValidation); + keyPairQuery_fieldValidation = NULL; + } + if(keyQuery_force){ + free(keyQuery_force); + keyQuery_force = NULL; + } + if(valueQuery_force){ + free(valueQuery_force); + valueQuery_force = NULL; + } + if(keyPairQuery_force){ + keyValuePair_free(keyPairQuery_force); + keyPairQuery_force = NULL; + } + return elementToReturn; +end: + free(localVarPath); + return NULL; + +} + +// read the specified IPAddress +// +v1alpha1_ip_address_t* +NetworkingV1alpha1API_readIPAddress(apiClient_t *apiClient, char *name, char *pretty) +{ + list_t *localVarQueryParameters = list_createList(); + list_t *localVarHeaderParameters = NULL; + list_t *localVarFormParameters = NULL; + list_t *localVarHeaderType = list_createList(); + list_t *localVarContentType = NULL; + char *localVarBodyParameters = NULL; + + // create the path + long sizeOfPath = strlen("/apis/networking.k8s.io/v1alpha1/ipaddresses/{name}")+1; + char *localVarPath = malloc(sizeOfPath); + snprintf(localVarPath, sizeOfPath, "/apis/networking.k8s.io/v1alpha1/ipaddresses/{name}"); + + + // Path Params + long sizeOfPathParams_name = strlen(name)+3 + strlen("{ name }"); + if(name == NULL) { + goto end; + } + char* localVarToReplace_name = malloc(sizeOfPathParams_name); + sprintf(localVarToReplace_name, "{%s}", "name"); + + localVarPath = strReplace(localVarPath, localVarToReplace_name, name); + + + + // query parameters + char *keyQuery_pretty = NULL; + char * valueQuery_pretty = NULL; + keyValuePair_t *keyPairQuery_pretty = 0; + if (pretty) + { + keyQuery_pretty = strdup("pretty"); + valueQuery_pretty = strdup((pretty)); + keyPairQuery_pretty = keyValuePair_create(keyQuery_pretty, valueQuery_pretty); + list_addElement(localVarQueryParameters,keyPairQuery_pretty); + } + list_addElement(localVarHeaderType,"application/json"); //produces + list_addElement(localVarHeaderType,"application/yaml"); //produces + list_addElement(localVarHeaderType,"application/vnd.kubernetes.protobuf"); //produces + apiClient_invoke(apiClient, + localVarPath, + localVarQueryParameters, + localVarHeaderParameters, + localVarFormParameters, + localVarHeaderType, + localVarContentType, + localVarBodyParameters, + "GET"); + + // uncomment below to debug the error response + //if (apiClient->response_code == 200) { + // printf("%s\n","OK"); + //} + // uncomment below to debug the error response + //if (apiClient->response_code == 401) { + // printf("%s\n","Unauthorized"); + //} + //nonprimitive not container + cJSON *NetworkingV1alpha1APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); + v1alpha1_ip_address_t *elementToReturn = v1alpha1_ip_address_parseFromJSON(NetworkingV1alpha1APIlocalVarJSON); + cJSON_Delete(NetworkingV1alpha1APIlocalVarJSON); + if(elementToReturn == NULL) { + // return 0; + } + + //return type + if (apiClient->dataReceived) { + free(apiClient->dataReceived); + apiClient->dataReceived = NULL; + apiClient->dataReceivedLen = 0; + } + list_freeList(localVarQueryParameters); + + + list_freeList(localVarHeaderType); + + free(localVarPath); + free(localVarToReplace_name); + if(keyQuery_pretty){ + free(keyQuery_pretty); + keyQuery_pretty = NULL; + } + if(valueQuery_pretty){ + free(valueQuery_pretty); + valueQuery_pretty = NULL; + } + if(keyPairQuery_pretty){ + keyValuePair_free(keyPairQuery_pretty); + keyPairQuery_pretty = NULL; + } + return elementToReturn; +end: + free(localVarPath); + return NULL; + +} + +// read the specified ServiceCIDR +// +v1alpha1_service_cidr_t* +NetworkingV1alpha1API_readServiceCIDR(apiClient_t *apiClient, char *name, char *pretty) +{ + list_t *localVarQueryParameters = list_createList(); + list_t *localVarHeaderParameters = NULL; + list_t *localVarFormParameters = NULL; + list_t *localVarHeaderType = list_createList(); + list_t *localVarContentType = NULL; + char *localVarBodyParameters = NULL; + + // create the path + long sizeOfPath = strlen("/apis/networking.k8s.io/v1alpha1/servicecidrs/{name}")+1; + char *localVarPath = malloc(sizeOfPath); + snprintf(localVarPath, sizeOfPath, "/apis/networking.k8s.io/v1alpha1/servicecidrs/{name}"); + + + // Path Params + long sizeOfPathParams_name = strlen(name)+3 + strlen("{ name }"); + if(name == NULL) { + goto end; + } + char* localVarToReplace_name = malloc(sizeOfPathParams_name); + sprintf(localVarToReplace_name, "{%s}", "name"); + + localVarPath = strReplace(localVarPath, localVarToReplace_name, name); + + + + // query parameters + char *keyQuery_pretty = NULL; + char * valueQuery_pretty = NULL; + keyValuePair_t *keyPairQuery_pretty = 0; + if (pretty) + { + keyQuery_pretty = strdup("pretty"); + valueQuery_pretty = strdup((pretty)); + keyPairQuery_pretty = keyValuePair_create(keyQuery_pretty, valueQuery_pretty); + list_addElement(localVarQueryParameters,keyPairQuery_pretty); + } + list_addElement(localVarHeaderType,"application/json"); //produces + list_addElement(localVarHeaderType,"application/yaml"); //produces + list_addElement(localVarHeaderType,"application/vnd.kubernetes.protobuf"); //produces + apiClient_invoke(apiClient, + localVarPath, + localVarQueryParameters, + localVarHeaderParameters, + localVarFormParameters, + localVarHeaderType, + localVarContentType, + localVarBodyParameters, + "GET"); // uncomment below to debug the error response - //if (apiClient->response_code == 200) { - // printf("%s\n","OK"); - //} - // uncomment below to debug the error response + //if (apiClient->response_code == 200) { + // printf("%s\n","OK"); + //} + // uncomment below to debug the error response //if (apiClient->response_code == 401) { // printf("%s\n","Unauthorized"); //} //nonprimitive not container cJSON *NetworkingV1alpha1APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); - v1alpha1_cluster_cidr_t *elementToReturn = v1alpha1_cluster_cidr_parseFromJSON(NetworkingV1alpha1APIlocalVarJSON); + v1alpha1_service_cidr_t *elementToReturn = v1alpha1_service_cidr_parseFromJSON(NetworkingV1alpha1APIlocalVarJSON); cJSON_Delete(NetworkingV1alpha1APIlocalVarJSON); if(elementToReturn == NULL) { // return 0; @@ -2901,10 +3224,112 @@ NetworkingV1alpha1API_readClusterCIDR(apiClient_t *apiClient, char * name , char } -// read the specified IPAddress +// read status of the specified ServiceCIDR +// +v1alpha1_service_cidr_t* +NetworkingV1alpha1API_readServiceCIDRStatus(apiClient_t *apiClient, char *name, char *pretty) +{ + list_t *localVarQueryParameters = list_createList(); + list_t *localVarHeaderParameters = NULL; + list_t *localVarFormParameters = NULL; + list_t *localVarHeaderType = list_createList(); + list_t *localVarContentType = NULL; + char *localVarBodyParameters = NULL; + + // create the path + long sizeOfPath = strlen("/apis/networking.k8s.io/v1alpha1/servicecidrs/{name}/status")+1; + char *localVarPath = malloc(sizeOfPath); + snprintf(localVarPath, sizeOfPath, "/apis/networking.k8s.io/v1alpha1/servicecidrs/{name}/status"); + + + // Path Params + long sizeOfPathParams_name = strlen(name)+3 + strlen("{ name }"); + if(name == NULL) { + goto end; + } + char* localVarToReplace_name = malloc(sizeOfPathParams_name); + sprintf(localVarToReplace_name, "{%s}", "name"); + + localVarPath = strReplace(localVarPath, localVarToReplace_name, name); + + + + // query parameters + char *keyQuery_pretty = NULL; + char * valueQuery_pretty = NULL; + keyValuePair_t *keyPairQuery_pretty = 0; + if (pretty) + { + keyQuery_pretty = strdup("pretty"); + valueQuery_pretty = strdup((pretty)); + keyPairQuery_pretty = keyValuePair_create(keyQuery_pretty, valueQuery_pretty); + list_addElement(localVarQueryParameters,keyPairQuery_pretty); + } + list_addElement(localVarHeaderType,"application/json"); //produces + list_addElement(localVarHeaderType,"application/yaml"); //produces + list_addElement(localVarHeaderType,"application/vnd.kubernetes.protobuf"); //produces + apiClient_invoke(apiClient, + localVarPath, + localVarQueryParameters, + localVarHeaderParameters, + localVarFormParameters, + localVarHeaderType, + localVarContentType, + localVarBodyParameters, + "GET"); + + // uncomment below to debug the error response + //if (apiClient->response_code == 200) { + // printf("%s\n","OK"); + //} + // uncomment below to debug the error response + //if (apiClient->response_code == 401) { + // printf("%s\n","Unauthorized"); + //} + //nonprimitive not container + cJSON *NetworkingV1alpha1APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); + v1alpha1_service_cidr_t *elementToReturn = v1alpha1_service_cidr_parseFromJSON(NetworkingV1alpha1APIlocalVarJSON); + cJSON_Delete(NetworkingV1alpha1APIlocalVarJSON); + if(elementToReturn == NULL) { + // return 0; + } + + //return type + if (apiClient->dataReceived) { + free(apiClient->dataReceived); + apiClient->dataReceived = NULL; + apiClient->dataReceivedLen = 0; + } + list_freeList(localVarQueryParameters); + + + list_freeList(localVarHeaderType); + + free(localVarPath); + free(localVarToReplace_name); + if(keyQuery_pretty){ + free(keyQuery_pretty); + keyQuery_pretty = NULL; + } + if(valueQuery_pretty){ + free(valueQuery_pretty); + valueQuery_pretty = NULL; + } + if(keyPairQuery_pretty){ + keyValuePair_free(keyPairQuery_pretty); + keyPairQuery_pretty = NULL; + } + return elementToReturn; +end: + free(localVarPath); + return NULL; + +} + +// replace the specified IPAddress // v1alpha1_ip_address_t* -NetworkingV1alpha1API_readIPAddress(apiClient_t *apiClient, char * name , char * pretty ) +NetworkingV1alpha1API_replaceIPAddress(apiClient_t *apiClient, char *name, v1alpha1_ip_address_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2942,6 +3367,51 @@ NetworkingV1alpha1API_readIPAddress(apiClient_t *apiClient, char * name , char * keyPairQuery_pretty = keyValuePair_create(keyQuery_pretty, valueQuery_pretty); list_addElement(localVarQueryParameters,keyPairQuery_pretty); } + + // query parameters + char *keyQuery_dryRun = NULL; + char * valueQuery_dryRun = NULL; + keyValuePair_t *keyPairQuery_dryRun = 0; + if (dryRun) + { + keyQuery_dryRun = strdup("dryRun"); + valueQuery_dryRun = strdup((dryRun)); + keyPairQuery_dryRun = keyValuePair_create(keyQuery_dryRun, valueQuery_dryRun); + list_addElement(localVarQueryParameters,keyPairQuery_dryRun); + } + + // query parameters + char *keyQuery_fieldManager = NULL; + char * valueQuery_fieldManager = NULL; + keyValuePair_t *keyPairQuery_fieldManager = 0; + if (fieldManager) + { + keyQuery_fieldManager = strdup("fieldManager"); + valueQuery_fieldManager = strdup((fieldManager)); + keyPairQuery_fieldManager = keyValuePair_create(keyQuery_fieldManager, valueQuery_fieldManager); + list_addElement(localVarQueryParameters,keyPairQuery_fieldManager); + } + + // query parameters + char *keyQuery_fieldValidation = NULL; + char * valueQuery_fieldValidation = NULL; + keyValuePair_t *keyPairQuery_fieldValidation = 0; + if (fieldValidation) + { + keyQuery_fieldValidation = strdup("fieldValidation"); + valueQuery_fieldValidation = strdup((fieldValidation)); + keyPairQuery_fieldValidation = keyValuePair_create(keyQuery_fieldValidation, valueQuery_fieldValidation); + list_addElement(localVarQueryParameters,keyPairQuery_fieldValidation); + } + + // Body Param + cJSON *localVarSingleItemJSON_body = NULL; + if (body != NULL) + { + //string + localVarSingleItemJSON_body = v1alpha1_ip_address_convertToJSON(body); + localVarBodyParameters = cJSON_Print(localVarSingleItemJSON_body); + } list_addElement(localVarHeaderType,"application/json"); //produces list_addElement(localVarHeaderType,"application/yaml"); //produces list_addElement(localVarHeaderType,"application/vnd.kubernetes.protobuf"); //produces @@ -2953,13 +3423,17 @@ NetworkingV1alpha1API_readIPAddress(apiClient_t *apiClient, char * name , char * localVarHeaderType, localVarContentType, localVarBodyParameters, - "GET"); + "PUT"); // uncomment below to debug the error response //if (apiClient->response_code == 200) { // printf("%s\n","OK"); //} // uncomment below to debug the error response + //if (apiClient->response_code == 201) { + // printf("%s\n","Created"); + //} + // uncomment below to debug the error response //if (apiClient->response_code == 401) { // printf("%s\n","Unauthorized"); //} @@ -2984,6 +3458,11 @@ NetworkingV1alpha1API_readIPAddress(apiClient_t *apiClient, char * name , char * free(localVarPath); free(localVarToReplace_name); + if (localVarSingleItemJSON_body) { + cJSON_Delete(localVarSingleItemJSON_body); + localVarSingleItemJSON_body = NULL; + } + free(localVarBodyParameters); if(keyQuery_pretty){ free(keyQuery_pretty); keyQuery_pretty = NULL; @@ -2996,6 +3475,42 @@ NetworkingV1alpha1API_readIPAddress(apiClient_t *apiClient, char * name , char * keyValuePair_free(keyPairQuery_pretty); keyPairQuery_pretty = NULL; } + if(keyQuery_dryRun){ + free(keyQuery_dryRun); + keyQuery_dryRun = NULL; + } + if(valueQuery_dryRun){ + free(valueQuery_dryRun); + valueQuery_dryRun = NULL; + } + if(keyPairQuery_dryRun){ + keyValuePair_free(keyPairQuery_dryRun); + keyPairQuery_dryRun = NULL; + } + if(keyQuery_fieldManager){ + free(keyQuery_fieldManager); + keyQuery_fieldManager = NULL; + } + if(valueQuery_fieldManager){ + free(valueQuery_fieldManager); + valueQuery_fieldManager = NULL; + } + if(keyPairQuery_fieldManager){ + keyValuePair_free(keyPairQuery_fieldManager); + keyPairQuery_fieldManager = NULL; + } + if(keyQuery_fieldValidation){ + free(keyQuery_fieldValidation); + keyQuery_fieldValidation = NULL; + } + if(valueQuery_fieldValidation){ + free(valueQuery_fieldValidation); + valueQuery_fieldValidation = NULL; + } + if(keyPairQuery_fieldValidation){ + keyValuePair_free(keyPairQuery_fieldValidation); + keyPairQuery_fieldValidation = NULL; + } return elementToReturn; end: free(localVarPath); @@ -3003,10 +3518,10 @@ NetworkingV1alpha1API_readIPAddress(apiClient_t *apiClient, char * name , char * } -// replace the specified ClusterCIDR +// replace the specified ServiceCIDR // -v1alpha1_cluster_cidr_t* -NetworkingV1alpha1API_replaceClusterCIDR(apiClient_t *apiClient, char * name , v1alpha1_cluster_cidr_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +v1alpha1_service_cidr_t* +NetworkingV1alpha1API_replaceServiceCIDR(apiClient_t *apiClient, char *name, v1alpha1_service_cidr_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3016,9 +3531,9 @@ NetworkingV1alpha1API_replaceClusterCIDR(apiClient_t *apiClient, char * name , v char *localVarBodyParameters = NULL; // create the path - long sizeOfPath = strlen("/apis/networking.k8s.io/v1alpha1/clustercidrs/{name}")+1; + long sizeOfPath = strlen("/apis/networking.k8s.io/v1alpha1/servicecidrs/{name}")+1; char *localVarPath = malloc(sizeOfPath); - snprintf(localVarPath, sizeOfPath, "/apis/networking.k8s.io/v1alpha1/clustercidrs/{name}"); + snprintf(localVarPath, sizeOfPath, "/apis/networking.k8s.io/v1alpha1/servicecidrs/{name}"); // Path Params @@ -3086,7 +3601,7 @@ NetworkingV1alpha1API_replaceClusterCIDR(apiClient_t *apiClient, char * name , v if (body != NULL) { //string - localVarSingleItemJSON_body = v1alpha1_cluster_cidr_convertToJSON(body); + localVarSingleItemJSON_body = v1alpha1_service_cidr_convertToJSON(body); localVarBodyParameters = cJSON_Print(localVarSingleItemJSON_body); } list_addElement(localVarHeaderType,"application/json"); //produces @@ -3116,7 +3631,7 @@ NetworkingV1alpha1API_replaceClusterCIDR(apiClient_t *apiClient, char * name , v //} //nonprimitive not container cJSON *NetworkingV1alpha1APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); - v1alpha1_cluster_cidr_t *elementToReturn = v1alpha1_cluster_cidr_parseFromJSON(NetworkingV1alpha1APIlocalVarJSON); + v1alpha1_service_cidr_t *elementToReturn = v1alpha1_service_cidr_parseFromJSON(NetworkingV1alpha1APIlocalVarJSON); cJSON_Delete(NetworkingV1alpha1APIlocalVarJSON); if(elementToReturn == NULL) { // return 0; @@ -3195,10 +3710,10 @@ NetworkingV1alpha1API_replaceClusterCIDR(apiClient_t *apiClient, char * name , v } -// replace the specified IPAddress +// replace status of the specified ServiceCIDR // -v1alpha1_ip_address_t* -NetworkingV1alpha1API_replaceIPAddress(apiClient_t *apiClient, char * name , v1alpha1_ip_address_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +v1alpha1_service_cidr_t* +NetworkingV1alpha1API_replaceServiceCIDRStatus(apiClient_t *apiClient, char *name, v1alpha1_service_cidr_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3208,9 +3723,9 @@ NetworkingV1alpha1API_replaceIPAddress(apiClient_t *apiClient, char * name , v1a char *localVarBodyParameters = NULL; // create the path - long sizeOfPath = strlen("/apis/networking.k8s.io/v1alpha1/ipaddresses/{name}")+1; + long sizeOfPath = strlen("/apis/networking.k8s.io/v1alpha1/servicecidrs/{name}/status")+1; char *localVarPath = malloc(sizeOfPath); - snprintf(localVarPath, sizeOfPath, "/apis/networking.k8s.io/v1alpha1/ipaddresses/{name}"); + snprintf(localVarPath, sizeOfPath, "/apis/networking.k8s.io/v1alpha1/servicecidrs/{name}/status"); // Path Params @@ -3278,7 +3793,7 @@ NetworkingV1alpha1API_replaceIPAddress(apiClient_t *apiClient, char * name , v1a if (body != NULL) { //string - localVarSingleItemJSON_body = v1alpha1_ip_address_convertToJSON(body); + localVarSingleItemJSON_body = v1alpha1_service_cidr_convertToJSON(body); localVarBodyParameters = cJSON_Print(localVarSingleItemJSON_body); } list_addElement(localVarHeaderType,"application/json"); //produces @@ -3308,7 +3823,7 @@ NetworkingV1alpha1API_replaceIPAddress(apiClient_t *apiClient, char * name , v1a //} //nonprimitive not container cJSON *NetworkingV1alpha1APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); - v1alpha1_ip_address_t *elementToReturn = v1alpha1_ip_address_parseFromJSON(NetworkingV1alpha1APIlocalVarJSON); + v1alpha1_service_cidr_t *elementToReturn = v1alpha1_service_cidr_parseFromJSON(NetworkingV1alpha1APIlocalVarJSON); cJSON_Delete(NetworkingV1alpha1APIlocalVarJSON); if(elementToReturn == NULL) { // return 0; diff --git a/kubernetes/api/NetworkingV1alpha1API.h b/kubernetes/api/NetworkingV1alpha1API.h index ad40a5e3..18132b86 100644 --- a/kubernetes/api/NetworkingV1alpha1API.h +++ b/kubernetes/api/NetworkingV1alpha1API.h @@ -9,46 +9,46 @@ #include "../model/v1_api_resource_list.h" #include "../model/v1_delete_options.h" #include "../model/v1_status.h" -#include "../model/v1alpha1_cluster_cidr.h" -#include "../model/v1alpha1_cluster_cidr_list.h" #include "../model/v1alpha1_ip_address.h" #include "../model/v1alpha1_ip_address_list.h" +#include "../model/v1alpha1_service_cidr.h" +#include "../model/v1alpha1_service_cidr_list.h" -// create a ClusterCIDR +// create an IPAddress // -v1alpha1_cluster_cidr_t* -NetworkingV1alpha1API_createClusterCIDR(apiClient_t *apiClient, v1alpha1_cluster_cidr_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +v1alpha1_ip_address_t* +NetworkingV1alpha1API_createIPAddress(apiClient_t *apiClient, v1alpha1_ip_address_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); -// create an IPAddress +// create a ServiceCIDR // -v1alpha1_ip_address_t* -NetworkingV1alpha1API_createIPAddress(apiClient_t *apiClient, v1alpha1_ip_address_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +v1alpha1_service_cidr_t* +NetworkingV1alpha1API_createServiceCIDR(apiClient_t *apiClient, v1alpha1_service_cidr_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); -// delete a ClusterCIDR +// delete collection of IPAddress // v1_status_t* -NetworkingV1alpha1API_deleteClusterCIDR(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +NetworkingV1alpha1API_deleteCollectionIPAddress(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); -// delete collection of ClusterCIDR +// delete collection of ServiceCIDR // v1_status_t* -NetworkingV1alpha1API_deleteCollectionClusterCIDR(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +NetworkingV1alpha1API_deleteCollectionServiceCIDR(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); -// delete collection of IPAddress +// delete an IPAddress // v1_status_t* -NetworkingV1alpha1API_deleteCollectionIPAddress(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +NetworkingV1alpha1API_deleteIPAddress(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); -// delete an IPAddress +// delete a ServiceCIDR // v1_status_t* -NetworkingV1alpha1API_deleteIPAddress(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +NetworkingV1alpha1API_deleteServiceCIDR(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // get available resources @@ -57,51 +57,69 @@ v1_api_resource_list_t* NetworkingV1alpha1API_getAPIResources(apiClient_t *apiClient); -// list or watch objects of kind ClusterCIDR -// -v1alpha1_cluster_cidr_list_t* -NetworkingV1alpha1API_listClusterCIDR(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); - - // list or watch objects of kind IPAddress // v1alpha1_ip_address_list_t* -NetworkingV1alpha1API_listIPAddress(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +NetworkingV1alpha1API_listIPAddress(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); -// partially update the specified ClusterCIDR +// list or watch objects of kind ServiceCIDR // -v1alpha1_cluster_cidr_t* -NetworkingV1alpha1API_patchClusterCIDR(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +v1alpha1_service_cidr_list_t* +NetworkingV1alpha1API_listServiceCIDR(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // partially update the specified IPAddress // v1alpha1_ip_address_t* -NetworkingV1alpha1API_patchIPAddress(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +NetworkingV1alpha1API_patchIPAddress(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); -// read the specified ClusterCIDR +// partially update the specified ServiceCIDR // -v1alpha1_cluster_cidr_t* -NetworkingV1alpha1API_readClusterCIDR(apiClient_t *apiClient, char * name , char * pretty ); +v1alpha1_service_cidr_t* +NetworkingV1alpha1API_patchServiceCIDR(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); + + +// partially update status of the specified ServiceCIDR +// +v1alpha1_service_cidr_t* +NetworkingV1alpha1API_patchServiceCIDRStatus(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // read the specified IPAddress // v1alpha1_ip_address_t* -NetworkingV1alpha1API_readIPAddress(apiClient_t *apiClient, char * name , char * pretty ); +NetworkingV1alpha1API_readIPAddress(apiClient_t *apiClient, char *name, char *pretty); + + +// read the specified ServiceCIDR +// +v1alpha1_service_cidr_t* +NetworkingV1alpha1API_readServiceCIDR(apiClient_t *apiClient, char *name, char *pretty); -// replace the specified ClusterCIDR +// read status of the specified ServiceCIDR // -v1alpha1_cluster_cidr_t* -NetworkingV1alpha1API_replaceClusterCIDR(apiClient_t *apiClient, char * name , v1alpha1_cluster_cidr_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +v1alpha1_service_cidr_t* +NetworkingV1alpha1API_readServiceCIDRStatus(apiClient_t *apiClient, char *name, char *pretty); // replace the specified IPAddress // v1alpha1_ip_address_t* -NetworkingV1alpha1API_replaceIPAddress(apiClient_t *apiClient, char * name , v1alpha1_ip_address_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +NetworkingV1alpha1API_replaceIPAddress(apiClient_t *apiClient, char *name, v1alpha1_ip_address_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); + + +// replace the specified ServiceCIDR +// +v1alpha1_service_cidr_t* +NetworkingV1alpha1API_replaceServiceCIDR(apiClient_t *apiClient, char *name, v1alpha1_service_cidr_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); + + +// replace status of the specified ServiceCIDR +// +v1alpha1_service_cidr_t* +NetworkingV1alpha1API_replaceServiceCIDRStatus(apiClient_t *apiClient, char *name, v1alpha1_service_cidr_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); diff --git a/kubernetes/api/NodeV1API.c b/kubernetes/api/NodeV1API.c index 44bb66ef..31598a81 100644 --- a/kubernetes/api/NodeV1API.c +++ b/kubernetes/api/NodeV1API.c @@ -15,7 +15,7 @@ // create a RuntimeClass // v1_runtime_class_t* -NodeV1API_createRuntimeClass(apiClient_t *apiClient, v1_runtime_class_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +NodeV1API_createRuntimeClass(apiClient_t *apiClient, v1_runtime_class_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -200,7 +200,7 @@ NodeV1API_createRuntimeClass(apiClient_t *apiClient, v1_runtime_class_t * body , // delete collection of RuntimeClass // v1_status_t* -NodeV1API_deleteCollectionRuntimeClass(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +NodeV1API_deleteCollectionRuntimeClass(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -269,11 +269,11 @@ NodeV1API_deleteCollectionRuntimeClass(apiClient_t *apiClient, char * pretty , c char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -294,11 +294,11 @@ NodeV1API_deleteCollectionRuntimeClass(apiClient_t *apiClient, char * pretty , c char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -307,11 +307,11 @@ NodeV1API_deleteCollectionRuntimeClass(apiClient_t *apiClient, char * pretty , c char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -356,11 +356,11 @@ NodeV1API_deleteCollectionRuntimeClass(apiClient_t *apiClient, char * pretty , c char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -369,11 +369,11 @@ NodeV1API_deleteCollectionRuntimeClass(apiClient_t *apiClient, char * pretty , c char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -598,7 +598,7 @@ NodeV1API_deleteCollectionRuntimeClass(apiClient_t *apiClient, char * pretty , c // delete a RuntimeClass // v1_status_t* -NodeV1API_deleteRuntimeClass(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +NodeV1API_deleteRuntimeClass(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -653,11 +653,11 @@ NodeV1API_deleteRuntimeClass(apiClient_t *apiClient, char * name , char * pretty char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -666,11 +666,11 @@ NodeV1API_deleteRuntimeClass(apiClient_t *apiClient, char * name , char * pretty char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -883,7 +883,7 @@ NodeV1API_getAPIResources(apiClient_t *apiClient) // list or watch objects of kind RuntimeClass // v1_runtime_class_list_t* -NodeV1API_listRuntimeClass(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +NodeV1API_listRuntimeClass(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -916,11 +916,11 @@ NodeV1API_listRuntimeClass(apiClient_t *apiClient, char * pretty , int allowWatc char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -965,11 +965,11 @@ NodeV1API_listRuntimeClass(apiClient_t *apiClient, char * pretty , int allowWatc char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -1002,11 +1002,11 @@ NodeV1API_listRuntimeClass(apiClient_t *apiClient, char * pretty , int allowWatc char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -1015,11 +1015,11 @@ NodeV1API_listRuntimeClass(apiClient_t *apiClient, char * pretty , int allowWatc char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -1028,11 +1028,11 @@ NodeV1API_listRuntimeClass(apiClient_t *apiClient, char * pretty , int allowWatc char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -1221,7 +1221,7 @@ NodeV1API_listRuntimeClass(apiClient_t *apiClient, char * pretty , int allowWatc // partially update the specified RuntimeClass // v1_runtime_class_t* -NodeV1API_patchRuntimeClass(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +NodeV1API_patchRuntimeClass(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1300,11 +1300,11 @@ NodeV1API_patchRuntimeClass(apiClient_t *apiClient, char * name , object_t * bod char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -1442,7 +1442,7 @@ NodeV1API_patchRuntimeClass(apiClient_t *apiClient, char * name , object_t * bod // read the specified RuntimeClass // v1_runtime_class_t* -NodeV1API_readRuntimeClass(apiClient_t *apiClient, char * name , char * pretty ) +NodeV1API_readRuntimeClass(apiClient_t *apiClient, char *name, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1544,7 +1544,7 @@ NodeV1API_readRuntimeClass(apiClient_t *apiClient, char * name , char * pretty ) // replace the specified RuntimeClass // v1_runtime_class_t* -NodeV1API_replaceRuntimeClass(apiClient_t *apiClient, char * name , v1_runtime_class_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +NodeV1API_replaceRuntimeClass(apiClient_t *apiClient, char *name, v1_runtime_class_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; diff --git a/kubernetes/api/NodeV1API.h b/kubernetes/api/NodeV1API.h index 2c17d796..131acb91 100644 --- a/kubernetes/api/NodeV1API.h +++ b/kubernetes/api/NodeV1API.h @@ -16,19 +16,19 @@ // create a RuntimeClass // v1_runtime_class_t* -NodeV1API_createRuntimeClass(apiClient_t *apiClient, v1_runtime_class_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +NodeV1API_createRuntimeClass(apiClient_t *apiClient, v1_runtime_class_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // delete collection of RuntimeClass // v1_status_t* -NodeV1API_deleteCollectionRuntimeClass(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +NodeV1API_deleteCollectionRuntimeClass(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); // delete a RuntimeClass // v1_status_t* -NodeV1API_deleteRuntimeClass(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +NodeV1API_deleteRuntimeClass(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // get available resources @@ -40,24 +40,24 @@ NodeV1API_getAPIResources(apiClient_t *apiClient); // list or watch objects of kind RuntimeClass // v1_runtime_class_list_t* -NodeV1API_listRuntimeClass(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +NodeV1API_listRuntimeClass(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // partially update the specified RuntimeClass // v1_runtime_class_t* -NodeV1API_patchRuntimeClass(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +NodeV1API_patchRuntimeClass(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // read the specified RuntimeClass // v1_runtime_class_t* -NodeV1API_readRuntimeClass(apiClient_t *apiClient, char * name , char * pretty ); +NodeV1API_readRuntimeClass(apiClient_t *apiClient, char *name, char *pretty); // replace the specified RuntimeClass // v1_runtime_class_t* -NodeV1API_replaceRuntimeClass(apiClient_t *apiClient, char * name , v1_runtime_class_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +NodeV1API_replaceRuntimeClass(apiClient_t *apiClient, char *name, v1_runtime_class_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); diff --git a/kubernetes/api/PolicyV1API.c b/kubernetes/api/PolicyV1API.c index a06bce2f..87ddbffc 100644 --- a/kubernetes/api/PolicyV1API.c +++ b/kubernetes/api/PolicyV1API.c @@ -15,7 +15,7 @@ // create a PodDisruptionBudget // v1_pod_disruption_budget_t* -PolicyV1API_createNamespacedPodDisruptionBudget(apiClient_t *apiClient, char * _namespace , v1_pod_disruption_budget_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +PolicyV1API_createNamespacedPodDisruptionBudget(apiClient_t *apiClient, char *_namespace, v1_pod_disruption_budget_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -211,7 +211,7 @@ PolicyV1API_createNamespacedPodDisruptionBudget(apiClient_t *apiClient, char * _ // delete collection of PodDisruptionBudget // v1_status_t* -PolicyV1API_deleteCollectionNamespacedPodDisruptionBudget(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +PolicyV1API_deleteCollectionNamespacedPodDisruptionBudget(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -290,11 +290,11 @@ PolicyV1API_deleteCollectionNamespacedPodDisruptionBudget(apiClient_t *apiClient char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -315,11 +315,11 @@ PolicyV1API_deleteCollectionNamespacedPodDisruptionBudget(apiClient_t *apiClient char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -328,11 +328,11 @@ PolicyV1API_deleteCollectionNamespacedPodDisruptionBudget(apiClient_t *apiClient char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -377,11 +377,11 @@ PolicyV1API_deleteCollectionNamespacedPodDisruptionBudget(apiClient_t *apiClient char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -390,11 +390,11 @@ PolicyV1API_deleteCollectionNamespacedPodDisruptionBudget(apiClient_t *apiClient char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -620,7 +620,7 @@ PolicyV1API_deleteCollectionNamespacedPodDisruptionBudget(apiClient_t *apiClient // delete a PodDisruptionBudget // v1_status_t* -PolicyV1API_deleteNamespacedPodDisruptionBudget(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +PolicyV1API_deleteNamespacedPodDisruptionBudget(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -685,11 +685,11 @@ PolicyV1API_deleteNamespacedPodDisruptionBudget(apiClient_t *apiClient, char * n char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -698,11 +698,11 @@ PolicyV1API_deleteNamespacedPodDisruptionBudget(apiClient_t *apiClient, char * n char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -916,7 +916,7 @@ PolicyV1API_getAPIResources(apiClient_t *apiClient) // list or watch objects of kind PodDisruptionBudget // v1_pod_disruption_budget_list_t* -PolicyV1API_listNamespacedPodDisruptionBudget(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +PolicyV1API_listNamespacedPodDisruptionBudget(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -959,11 +959,11 @@ PolicyV1API_listNamespacedPodDisruptionBudget(apiClient_t *apiClient, char * _na char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -1008,11 +1008,11 @@ PolicyV1API_listNamespacedPodDisruptionBudget(apiClient_t *apiClient, char * _na char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -1045,11 +1045,11 @@ PolicyV1API_listNamespacedPodDisruptionBudget(apiClient_t *apiClient, char * _na char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -1058,11 +1058,11 @@ PolicyV1API_listNamespacedPodDisruptionBudget(apiClient_t *apiClient, char * _na char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -1071,11 +1071,11 @@ PolicyV1API_listNamespacedPodDisruptionBudget(apiClient_t *apiClient, char * _na char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -1265,7 +1265,7 @@ PolicyV1API_listNamespacedPodDisruptionBudget(apiClient_t *apiClient, char * _na // list or watch objects of kind PodDisruptionBudget // v1_pod_disruption_budget_list_t* -PolicyV1API_listPodDisruptionBudgetForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +PolicyV1API_listPodDisruptionBudgetForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1286,11 +1286,11 @@ PolicyV1API_listPodDisruptionBudgetForAllNamespaces(apiClient_t *apiClient, int char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -1335,11 +1335,11 @@ PolicyV1API_listPodDisruptionBudgetForAllNamespaces(apiClient_t *apiClient, int char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -1384,11 +1384,11 @@ PolicyV1API_listPodDisruptionBudgetForAllNamespaces(apiClient_t *apiClient, int char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -1397,11 +1397,11 @@ PolicyV1API_listPodDisruptionBudgetForAllNamespaces(apiClient_t *apiClient, int char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -1410,11 +1410,11 @@ PolicyV1API_listPodDisruptionBudgetForAllNamespaces(apiClient_t *apiClient, int char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -1603,7 +1603,7 @@ PolicyV1API_listPodDisruptionBudgetForAllNamespaces(apiClient_t *apiClient, int // partially update the specified PodDisruptionBudget // v1_pod_disruption_budget_t* -PolicyV1API_patchNamespacedPodDisruptionBudget(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +PolicyV1API_patchNamespacedPodDisruptionBudget(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1692,11 +1692,11 @@ PolicyV1API_patchNamespacedPodDisruptionBudget(apiClient_t *apiClient, char * na char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -1835,7 +1835,7 @@ PolicyV1API_patchNamespacedPodDisruptionBudget(apiClient_t *apiClient, char * na // partially update status of the specified PodDisruptionBudget // v1_pod_disruption_budget_t* -PolicyV1API_patchNamespacedPodDisruptionBudgetStatus(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +PolicyV1API_patchNamespacedPodDisruptionBudgetStatus(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1924,11 +1924,11 @@ PolicyV1API_patchNamespacedPodDisruptionBudgetStatus(apiClient_t *apiClient, cha char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -2067,7 +2067,7 @@ PolicyV1API_patchNamespacedPodDisruptionBudgetStatus(apiClient_t *apiClient, cha // read the specified PodDisruptionBudget // v1_pod_disruption_budget_t* -PolicyV1API_readNamespacedPodDisruptionBudget(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ) +PolicyV1API_readNamespacedPodDisruptionBudget(apiClient_t *apiClient, char *name, char *_namespace, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2180,7 +2180,7 @@ PolicyV1API_readNamespacedPodDisruptionBudget(apiClient_t *apiClient, char * nam // read status of the specified PodDisruptionBudget // v1_pod_disruption_budget_t* -PolicyV1API_readNamespacedPodDisruptionBudgetStatus(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ) +PolicyV1API_readNamespacedPodDisruptionBudgetStatus(apiClient_t *apiClient, char *name, char *_namespace, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2293,7 +2293,7 @@ PolicyV1API_readNamespacedPodDisruptionBudgetStatus(apiClient_t *apiClient, char // replace the specified PodDisruptionBudget // v1_pod_disruption_budget_t* -PolicyV1API_replaceNamespacedPodDisruptionBudget(apiClient_t *apiClient, char * name , char * _namespace , v1_pod_disruption_budget_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +PolicyV1API_replaceNamespacedPodDisruptionBudget(apiClient_t *apiClient, char *name, char *_namespace, v1_pod_disruption_budget_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2496,7 +2496,7 @@ PolicyV1API_replaceNamespacedPodDisruptionBudget(apiClient_t *apiClient, char * // replace status of the specified PodDisruptionBudget // v1_pod_disruption_budget_t* -PolicyV1API_replaceNamespacedPodDisruptionBudgetStatus(apiClient_t *apiClient, char * name , char * _namespace , v1_pod_disruption_budget_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +PolicyV1API_replaceNamespacedPodDisruptionBudgetStatus(apiClient_t *apiClient, char *name, char *_namespace, v1_pod_disruption_budget_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; diff --git a/kubernetes/api/PolicyV1API.h b/kubernetes/api/PolicyV1API.h index 807d5f3b..594006a5 100644 --- a/kubernetes/api/PolicyV1API.h +++ b/kubernetes/api/PolicyV1API.h @@ -16,19 +16,19 @@ // create a PodDisruptionBudget // v1_pod_disruption_budget_t* -PolicyV1API_createNamespacedPodDisruptionBudget(apiClient_t *apiClient, char * _namespace , v1_pod_disruption_budget_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +PolicyV1API_createNamespacedPodDisruptionBudget(apiClient_t *apiClient, char *_namespace, v1_pod_disruption_budget_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // delete collection of PodDisruptionBudget // v1_status_t* -PolicyV1API_deleteCollectionNamespacedPodDisruptionBudget(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +PolicyV1API_deleteCollectionNamespacedPodDisruptionBudget(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); // delete a PodDisruptionBudget // v1_status_t* -PolicyV1API_deleteNamespacedPodDisruptionBudget(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +PolicyV1API_deleteNamespacedPodDisruptionBudget(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // get available resources @@ -40,48 +40,48 @@ PolicyV1API_getAPIResources(apiClient_t *apiClient); // list or watch objects of kind PodDisruptionBudget // v1_pod_disruption_budget_list_t* -PolicyV1API_listNamespacedPodDisruptionBudget(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +PolicyV1API_listNamespacedPodDisruptionBudget(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind PodDisruptionBudget // v1_pod_disruption_budget_list_t* -PolicyV1API_listPodDisruptionBudgetForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +PolicyV1API_listPodDisruptionBudgetForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // partially update the specified PodDisruptionBudget // v1_pod_disruption_budget_t* -PolicyV1API_patchNamespacedPodDisruptionBudget(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +PolicyV1API_patchNamespacedPodDisruptionBudget(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update status of the specified PodDisruptionBudget // v1_pod_disruption_budget_t* -PolicyV1API_patchNamespacedPodDisruptionBudgetStatus(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +PolicyV1API_patchNamespacedPodDisruptionBudgetStatus(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // read the specified PodDisruptionBudget // v1_pod_disruption_budget_t* -PolicyV1API_readNamespacedPodDisruptionBudget(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ); +PolicyV1API_readNamespacedPodDisruptionBudget(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); // read status of the specified PodDisruptionBudget // v1_pod_disruption_budget_t* -PolicyV1API_readNamespacedPodDisruptionBudgetStatus(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ); +PolicyV1API_readNamespacedPodDisruptionBudgetStatus(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); // replace the specified PodDisruptionBudget // v1_pod_disruption_budget_t* -PolicyV1API_replaceNamespacedPodDisruptionBudget(apiClient_t *apiClient, char * name , char * _namespace , v1_pod_disruption_budget_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +PolicyV1API_replaceNamespacedPodDisruptionBudget(apiClient_t *apiClient, char *name, char *_namespace, v1_pod_disruption_budget_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace status of the specified PodDisruptionBudget // v1_pod_disruption_budget_t* -PolicyV1API_replaceNamespacedPodDisruptionBudgetStatus(apiClient_t *apiClient, char * name , char * _namespace , v1_pod_disruption_budget_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +PolicyV1API_replaceNamespacedPodDisruptionBudgetStatus(apiClient_t *apiClient, char *name, char *_namespace, v1_pod_disruption_budget_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); diff --git a/kubernetes/api/RbacAuthorizationV1API.c b/kubernetes/api/RbacAuthorizationV1API.c index 2368cbd6..375408e0 100644 --- a/kubernetes/api/RbacAuthorizationV1API.c +++ b/kubernetes/api/RbacAuthorizationV1API.c @@ -15,7 +15,7 @@ // create a ClusterRole // v1_cluster_role_t* -RbacAuthorizationV1API_createClusterRole(apiClient_t *apiClient, v1_cluster_role_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +RbacAuthorizationV1API_createClusterRole(apiClient_t *apiClient, v1_cluster_role_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -200,7 +200,7 @@ RbacAuthorizationV1API_createClusterRole(apiClient_t *apiClient, v1_cluster_role // create a ClusterRoleBinding // v1_cluster_role_binding_t* -RbacAuthorizationV1API_createClusterRoleBinding(apiClient_t *apiClient, v1_cluster_role_binding_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +RbacAuthorizationV1API_createClusterRoleBinding(apiClient_t *apiClient, v1_cluster_role_binding_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -385,7 +385,7 @@ RbacAuthorizationV1API_createClusterRoleBinding(apiClient_t *apiClient, v1_clust // create a Role // v1_role_t* -RbacAuthorizationV1API_createNamespacedRole(apiClient_t *apiClient, char * _namespace , v1_role_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +RbacAuthorizationV1API_createNamespacedRole(apiClient_t *apiClient, char *_namespace, v1_role_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -581,7 +581,7 @@ RbacAuthorizationV1API_createNamespacedRole(apiClient_t *apiClient, char * _name // create a RoleBinding // v1_role_binding_t* -RbacAuthorizationV1API_createNamespacedRoleBinding(apiClient_t *apiClient, char * _namespace , v1_role_binding_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +RbacAuthorizationV1API_createNamespacedRoleBinding(apiClient_t *apiClient, char *_namespace, v1_role_binding_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -777,7 +777,7 @@ RbacAuthorizationV1API_createNamespacedRoleBinding(apiClient_t *apiClient, char // delete a ClusterRole // v1_status_t* -RbacAuthorizationV1API_deleteClusterRole(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +RbacAuthorizationV1API_deleteClusterRole(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -832,11 +832,11 @@ RbacAuthorizationV1API_deleteClusterRole(apiClient_t *apiClient, char * name , c char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -845,11 +845,11 @@ RbacAuthorizationV1API_deleteClusterRole(apiClient_t *apiClient, char * name , c char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -995,7 +995,7 @@ RbacAuthorizationV1API_deleteClusterRole(apiClient_t *apiClient, char * name , c // delete a ClusterRoleBinding // v1_status_t* -RbacAuthorizationV1API_deleteClusterRoleBinding(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +RbacAuthorizationV1API_deleteClusterRoleBinding(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1050,11 +1050,11 @@ RbacAuthorizationV1API_deleteClusterRoleBinding(apiClient_t *apiClient, char * n char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -1063,11 +1063,11 @@ RbacAuthorizationV1API_deleteClusterRoleBinding(apiClient_t *apiClient, char * n char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -1213,7 +1213,7 @@ RbacAuthorizationV1API_deleteClusterRoleBinding(apiClient_t *apiClient, char * n // delete collection of ClusterRole // v1_status_t* -RbacAuthorizationV1API_deleteCollectionClusterRole(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +RbacAuthorizationV1API_deleteCollectionClusterRole(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1282,11 +1282,11 @@ RbacAuthorizationV1API_deleteCollectionClusterRole(apiClient_t *apiClient, char char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -1307,11 +1307,11 @@ RbacAuthorizationV1API_deleteCollectionClusterRole(apiClient_t *apiClient, char char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -1320,11 +1320,11 @@ RbacAuthorizationV1API_deleteCollectionClusterRole(apiClient_t *apiClient, char char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -1369,11 +1369,11 @@ RbacAuthorizationV1API_deleteCollectionClusterRole(apiClient_t *apiClient, char char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -1382,11 +1382,11 @@ RbacAuthorizationV1API_deleteCollectionClusterRole(apiClient_t *apiClient, char char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -1611,7 +1611,7 @@ RbacAuthorizationV1API_deleteCollectionClusterRole(apiClient_t *apiClient, char // delete collection of ClusterRoleBinding // v1_status_t* -RbacAuthorizationV1API_deleteCollectionClusterRoleBinding(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +RbacAuthorizationV1API_deleteCollectionClusterRoleBinding(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1680,11 +1680,11 @@ RbacAuthorizationV1API_deleteCollectionClusterRoleBinding(apiClient_t *apiClient char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -1705,11 +1705,11 @@ RbacAuthorizationV1API_deleteCollectionClusterRoleBinding(apiClient_t *apiClient char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -1718,11 +1718,11 @@ RbacAuthorizationV1API_deleteCollectionClusterRoleBinding(apiClient_t *apiClient char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -1767,11 +1767,11 @@ RbacAuthorizationV1API_deleteCollectionClusterRoleBinding(apiClient_t *apiClient char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -1780,11 +1780,11 @@ RbacAuthorizationV1API_deleteCollectionClusterRoleBinding(apiClient_t *apiClient char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -2009,7 +2009,7 @@ RbacAuthorizationV1API_deleteCollectionClusterRoleBinding(apiClient_t *apiClient // delete collection of Role // v1_status_t* -RbacAuthorizationV1API_deleteCollectionNamespacedRole(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +RbacAuthorizationV1API_deleteCollectionNamespacedRole(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2088,11 +2088,11 @@ RbacAuthorizationV1API_deleteCollectionNamespacedRole(apiClient_t *apiClient, ch char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -2113,11 +2113,11 @@ RbacAuthorizationV1API_deleteCollectionNamespacedRole(apiClient_t *apiClient, ch char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -2126,11 +2126,11 @@ RbacAuthorizationV1API_deleteCollectionNamespacedRole(apiClient_t *apiClient, ch char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -2175,11 +2175,11 @@ RbacAuthorizationV1API_deleteCollectionNamespacedRole(apiClient_t *apiClient, ch char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -2188,11 +2188,11 @@ RbacAuthorizationV1API_deleteCollectionNamespacedRole(apiClient_t *apiClient, ch char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -2418,7 +2418,7 @@ RbacAuthorizationV1API_deleteCollectionNamespacedRole(apiClient_t *apiClient, ch // delete collection of RoleBinding // v1_status_t* -RbacAuthorizationV1API_deleteCollectionNamespacedRoleBinding(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +RbacAuthorizationV1API_deleteCollectionNamespacedRoleBinding(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2497,11 +2497,11 @@ RbacAuthorizationV1API_deleteCollectionNamespacedRoleBinding(apiClient_t *apiCli char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -2522,11 +2522,11 @@ RbacAuthorizationV1API_deleteCollectionNamespacedRoleBinding(apiClient_t *apiCli char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -2535,11 +2535,11 @@ RbacAuthorizationV1API_deleteCollectionNamespacedRoleBinding(apiClient_t *apiCli char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -2584,11 +2584,11 @@ RbacAuthorizationV1API_deleteCollectionNamespacedRoleBinding(apiClient_t *apiCli char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -2597,11 +2597,11 @@ RbacAuthorizationV1API_deleteCollectionNamespacedRoleBinding(apiClient_t *apiCli char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -2827,7 +2827,7 @@ RbacAuthorizationV1API_deleteCollectionNamespacedRoleBinding(apiClient_t *apiCli // delete a Role // v1_status_t* -RbacAuthorizationV1API_deleteNamespacedRole(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +RbacAuthorizationV1API_deleteNamespacedRole(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2892,11 +2892,11 @@ RbacAuthorizationV1API_deleteNamespacedRole(apiClient_t *apiClient, char * name char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -2905,11 +2905,11 @@ RbacAuthorizationV1API_deleteNamespacedRole(apiClient_t *apiClient, char * name char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -3056,7 +3056,7 @@ RbacAuthorizationV1API_deleteNamespacedRole(apiClient_t *apiClient, char * name // delete a RoleBinding // v1_status_t* -RbacAuthorizationV1API_deleteNamespacedRoleBinding(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +RbacAuthorizationV1API_deleteNamespacedRoleBinding(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3121,11 +3121,11 @@ RbacAuthorizationV1API_deleteNamespacedRoleBinding(apiClient_t *apiClient, char char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -3134,11 +3134,11 @@ RbacAuthorizationV1API_deleteNamespacedRoleBinding(apiClient_t *apiClient, char char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -3352,7 +3352,7 @@ RbacAuthorizationV1API_getAPIResources(apiClient_t *apiClient) // list or watch objects of kind ClusterRole // v1_cluster_role_list_t* -RbacAuthorizationV1API_listClusterRole(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +RbacAuthorizationV1API_listClusterRole(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3385,11 +3385,11 @@ RbacAuthorizationV1API_listClusterRole(apiClient_t *apiClient, char * pretty , i char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -3434,11 +3434,11 @@ RbacAuthorizationV1API_listClusterRole(apiClient_t *apiClient, char * pretty , i char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -3471,11 +3471,11 @@ RbacAuthorizationV1API_listClusterRole(apiClient_t *apiClient, char * pretty , i char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -3484,11 +3484,11 @@ RbacAuthorizationV1API_listClusterRole(apiClient_t *apiClient, char * pretty , i char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -3497,11 +3497,11 @@ RbacAuthorizationV1API_listClusterRole(apiClient_t *apiClient, char * pretty , i char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -3690,7 +3690,7 @@ RbacAuthorizationV1API_listClusterRole(apiClient_t *apiClient, char * pretty , i // list or watch objects of kind ClusterRoleBinding // v1_cluster_role_binding_list_t* -RbacAuthorizationV1API_listClusterRoleBinding(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +RbacAuthorizationV1API_listClusterRoleBinding(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3723,11 +3723,11 @@ RbacAuthorizationV1API_listClusterRoleBinding(apiClient_t *apiClient, char * pre char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -3772,11 +3772,11 @@ RbacAuthorizationV1API_listClusterRoleBinding(apiClient_t *apiClient, char * pre char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -3809,11 +3809,11 @@ RbacAuthorizationV1API_listClusterRoleBinding(apiClient_t *apiClient, char * pre char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -3822,11 +3822,11 @@ RbacAuthorizationV1API_listClusterRoleBinding(apiClient_t *apiClient, char * pre char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -3835,11 +3835,11 @@ RbacAuthorizationV1API_listClusterRoleBinding(apiClient_t *apiClient, char * pre char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -4028,7 +4028,7 @@ RbacAuthorizationV1API_listClusterRoleBinding(apiClient_t *apiClient, char * pre // list or watch objects of kind Role // v1_role_list_t* -RbacAuthorizationV1API_listNamespacedRole(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +RbacAuthorizationV1API_listNamespacedRole(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -4071,11 +4071,11 @@ RbacAuthorizationV1API_listNamespacedRole(apiClient_t *apiClient, char * _namesp char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -4120,11 +4120,11 @@ RbacAuthorizationV1API_listNamespacedRole(apiClient_t *apiClient, char * _namesp char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -4157,11 +4157,11 @@ RbacAuthorizationV1API_listNamespacedRole(apiClient_t *apiClient, char * _namesp char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -4170,11 +4170,11 @@ RbacAuthorizationV1API_listNamespacedRole(apiClient_t *apiClient, char * _namesp char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -4183,11 +4183,11 @@ RbacAuthorizationV1API_listNamespacedRole(apiClient_t *apiClient, char * _namesp char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -4377,7 +4377,7 @@ RbacAuthorizationV1API_listNamespacedRole(apiClient_t *apiClient, char * _namesp // list or watch objects of kind RoleBinding // v1_role_binding_list_t* -RbacAuthorizationV1API_listNamespacedRoleBinding(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +RbacAuthorizationV1API_listNamespacedRoleBinding(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -4420,11 +4420,11 @@ RbacAuthorizationV1API_listNamespacedRoleBinding(apiClient_t *apiClient, char * char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -4469,11 +4469,11 @@ RbacAuthorizationV1API_listNamespacedRoleBinding(apiClient_t *apiClient, char * char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -4506,11 +4506,11 @@ RbacAuthorizationV1API_listNamespacedRoleBinding(apiClient_t *apiClient, char * char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -4519,11 +4519,11 @@ RbacAuthorizationV1API_listNamespacedRoleBinding(apiClient_t *apiClient, char * char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -4532,11 +4532,11 @@ RbacAuthorizationV1API_listNamespacedRoleBinding(apiClient_t *apiClient, char * char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -4726,7 +4726,7 @@ RbacAuthorizationV1API_listNamespacedRoleBinding(apiClient_t *apiClient, char * // list or watch objects of kind RoleBinding // v1_role_binding_list_t* -RbacAuthorizationV1API_listRoleBindingForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +RbacAuthorizationV1API_listRoleBindingForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -4747,11 +4747,11 @@ RbacAuthorizationV1API_listRoleBindingForAllNamespaces(apiClient_t *apiClient, i char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -4796,11 +4796,11 @@ RbacAuthorizationV1API_listRoleBindingForAllNamespaces(apiClient_t *apiClient, i char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -4845,11 +4845,11 @@ RbacAuthorizationV1API_listRoleBindingForAllNamespaces(apiClient_t *apiClient, i char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -4858,11 +4858,11 @@ RbacAuthorizationV1API_listRoleBindingForAllNamespaces(apiClient_t *apiClient, i char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -4871,11 +4871,11 @@ RbacAuthorizationV1API_listRoleBindingForAllNamespaces(apiClient_t *apiClient, i char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -5064,7 +5064,7 @@ RbacAuthorizationV1API_listRoleBindingForAllNamespaces(apiClient_t *apiClient, i // list or watch objects of kind Role // v1_role_list_t* -RbacAuthorizationV1API_listRoleForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +RbacAuthorizationV1API_listRoleForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -5085,11 +5085,11 @@ RbacAuthorizationV1API_listRoleForAllNamespaces(apiClient_t *apiClient, int allo char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -5134,11 +5134,11 @@ RbacAuthorizationV1API_listRoleForAllNamespaces(apiClient_t *apiClient, int allo char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -5183,11 +5183,11 @@ RbacAuthorizationV1API_listRoleForAllNamespaces(apiClient_t *apiClient, int allo char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -5196,11 +5196,11 @@ RbacAuthorizationV1API_listRoleForAllNamespaces(apiClient_t *apiClient, int allo char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -5209,11 +5209,11 @@ RbacAuthorizationV1API_listRoleForAllNamespaces(apiClient_t *apiClient, int allo char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -5402,7 +5402,7 @@ RbacAuthorizationV1API_listRoleForAllNamespaces(apiClient_t *apiClient, int allo // partially update the specified ClusterRole // v1_cluster_role_t* -RbacAuthorizationV1API_patchClusterRole(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +RbacAuthorizationV1API_patchClusterRole(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -5481,11 +5481,11 @@ RbacAuthorizationV1API_patchClusterRole(apiClient_t *apiClient, char * name , ob char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -5623,7 +5623,7 @@ RbacAuthorizationV1API_patchClusterRole(apiClient_t *apiClient, char * name , ob // partially update the specified ClusterRoleBinding // v1_cluster_role_binding_t* -RbacAuthorizationV1API_patchClusterRoleBinding(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +RbacAuthorizationV1API_patchClusterRoleBinding(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -5702,11 +5702,11 @@ RbacAuthorizationV1API_patchClusterRoleBinding(apiClient_t *apiClient, char * na char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -5844,7 +5844,7 @@ RbacAuthorizationV1API_patchClusterRoleBinding(apiClient_t *apiClient, char * na // partially update the specified Role // v1_role_t* -RbacAuthorizationV1API_patchNamespacedRole(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +RbacAuthorizationV1API_patchNamespacedRole(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -5933,11 +5933,11 @@ RbacAuthorizationV1API_patchNamespacedRole(apiClient_t *apiClient, char * name , char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -6076,7 +6076,7 @@ RbacAuthorizationV1API_patchNamespacedRole(apiClient_t *apiClient, char * name , // partially update the specified RoleBinding // v1_role_binding_t* -RbacAuthorizationV1API_patchNamespacedRoleBinding(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +RbacAuthorizationV1API_patchNamespacedRoleBinding(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -6165,11 +6165,11 @@ RbacAuthorizationV1API_patchNamespacedRoleBinding(apiClient_t *apiClient, char * char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -6308,7 +6308,7 @@ RbacAuthorizationV1API_patchNamespacedRoleBinding(apiClient_t *apiClient, char * // read the specified ClusterRole // v1_cluster_role_t* -RbacAuthorizationV1API_readClusterRole(apiClient_t *apiClient, char * name , char * pretty ) +RbacAuthorizationV1API_readClusterRole(apiClient_t *apiClient, char *name, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -6410,7 +6410,7 @@ RbacAuthorizationV1API_readClusterRole(apiClient_t *apiClient, char * name , cha // read the specified ClusterRoleBinding // v1_cluster_role_binding_t* -RbacAuthorizationV1API_readClusterRoleBinding(apiClient_t *apiClient, char * name , char * pretty ) +RbacAuthorizationV1API_readClusterRoleBinding(apiClient_t *apiClient, char *name, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -6512,7 +6512,7 @@ RbacAuthorizationV1API_readClusterRoleBinding(apiClient_t *apiClient, char * nam // read the specified Role // v1_role_t* -RbacAuthorizationV1API_readNamespacedRole(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ) +RbacAuthorizationV1API_readNamespacedRole(apiClient_t *apiClient, char *name, char *_namespace, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -6625,7 +6625,7 @@ RbacAuthorizationV1API_readNamespacedRole(apiClient_t *apiClient, char * name , // read the specified RoleBinding // v1_role_binding_t* -RbacAuthorizationV1API_readNamespacedRoleBinding(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ) +RbacAuthorizationV1API_readNamespacedRoleBinding(apiClient_t *apiClient, char *name, char *_namespace, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -6738,7 +6738,7 @@ RbacAuthorizationV1API_readNamespacedRoleBinding(apiClient_t *apiClient, char * // replace the specified ClusterRole // v1_cluster_role_t* -RbacAuthorizationV1API_replaceClusterRole(apiClient_t *apiClient, char * name , v1_cluster_role_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +RbacAuthorizationV1API_replaceClusterRole(apiClient_t *apiClient, char *name, v1_cluster_role_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -6930,7 +6930,7 @@ RbacAuthorizationV1API_replaceClusterRole(apiClient_t *apiClient, char * name , // replace the specified ClusterRoleBinding // v1_cluster_role_binding_t* -RbacAuthorizationV1API_replaceClusterRoleBinding(apiClient_t *apiClient, char * name , v1_cluster_role_binding_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +RbacAuthorizationV1API_replaceClusterRoleBinding(apiClient_t *apiClient, char *name, v1_cluster_role_binding_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -7122,7 +7122,7 @@ RbacAuthorizationV1API_replaceClusterRoleBinding(apiClient_t *apiClient, char * // replace the specified Role // v1_role_t* -RbacAuthorizationV1API_replaceNamespacedRole(apiClient_t *apiClient, char * name , char * _namespace , v1_role_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +RbacAuthorizationV1API_replaceNamespacedRole(apiClient_t *apiClient, char *name, char *_namespace, v1_role_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -7325,7 +7325,7 @@ RbacAuthorizationV1API_replaceNamespacedRole(apiClient_t *apiClient, char * name // replace the specified RoleBinding // v1_role_binding_t* -RbacAuthorizationV1API_replaceNamespacedRoleBinding(apiClient_t *apiClient, char * name , char * _namespace , v1_role_binding_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +RbacAuthorizationV1API_replaceNamespacedRoleBinding(apiClient_t *apiClient, char *name, char *_namespace, v1_role_binding_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; diff --git a/kubernetes/api/RbacAuthorizationV1API.h b/kubernetes/api/RbacAuthorizationV1API.h index 57dbf208..ed439fe0 100644 --- a/kubernetes/api/RbacAuthorizationV1API.h +++ b/kubernetes/api/RbacAuthorizationV1API.h @@ -22,73 +22,73 @@ // create a ClusterRole // v1_cluster_role_t* -RbacAuthorizationV1API_createClusterRole(apiClient_t *apiClient, v1_cluster_role_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +RbacAuthorizationV1API_createClusterRole(apiClient_t *apiClient, v1_cluster_role_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // create a ClusterRoleBinding // v1_cluster_role_binding_t* -RbacAuthorizationV1API_createClusterRoleBinding(apiClient_t *apiClient, v1_cluster_role_binding_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +RbacAuthorizationV1API_createClusterRoleBinding(apiClient_t *apiClient, v1_cluster_role_binding_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // create a Role // v1_role_t* -RbacAuthorizationV1API_createNamespacedRole(apiClient_t *apiClient, char * _namespace , v1_role_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +RbacAuthorizationV1API_createNamespacedRole(apiClient_t *apiClient, char *_namespace, v1_role_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // create a RoleBinding // v1_role_binding_t* -RbacAuthorizationV1API_createNamespacedRoleBinding(apiClient_t *apiClient, char * _namespace , v1_role_binding_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +RbacAuthorizationV1API_createNamespacedRoleBinding(apiClient_t *apiClient, char *_namespace, v1_role_binding_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // delete a ClusterRole // v1_status_t* -RbacAuthorizationV1API_deleteClusterRole(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +RbacAuthorizationV1API_deleteClusterRole(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // delete a ClusterRoleBinding // v1_status_t* -RbacAuthorizationV1API_deleteClusterRoleBinding(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +RbacAuthorizationV1API_deleteClusterRoleBinding(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // delete collection of ClusterRole // v1_status_t* -RbacAuthorizationV1API_deleteCollectionClusterRole(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +RbacAuthorizationV1API_deleteCollectionClusterRole(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); // delete collection of ClusterRoleBinding // v1_status_t* -RbacAuthorizationV1API_deleteCollectionClusterRoleBinding(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +RbacAuthorizationV1API_deleteCollectionClusterRoleBinding(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); // delete collection of Role // v1_status_t* -RbacAuthorizationV1API_deleteCollectionNamespacedRole(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +RbacAuthorizationV1API_deleteCollectionNamespacedRole(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); // delete collection of RoleBinding // v1_status_t* -RbacAuthorizationV1API_deleteCollectionNamespacedRoleBinding(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +RbacAuthorizationV1API_deleteCollectionNamespacedRoleBinding(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); // delete a Role // v1_status_t* -RbacAuthorizationV1API_deleteNamespacedRole(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +RbacAuthorizationV1API_deleteNamespacedRole(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // delete a RoleBinding // v1_status_t* -RbacAuthorizationV1API_deleteNamespacedRoleBinding(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +RbacAuthorizationV1API_deleteNamespacedRoleBinding(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // get available resources @@ -100,108 +100,108 @@ RbacAuthorizationV1API_getAPIResources(apiClient_t *apiClient); // list or watch objects of kind ClusterRole // v1_cluster_role_list_t* -RbacAuthorizationV1API_listClusterRole(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +RbacAuthorizationV1API_listClusterRole(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind ClusterRoleBinding // v1_cluster_role_binding_list_t* -RbacAuthorizationV1API_listClusterRoleBinding(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +RbacAuthorizationV1API_listClusterRoleBinding(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind Role // v1_role_list_t* -RbacAuthorizationV1API_listNamespacedRole(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +RbacAuthorizationV1API_listNamespacedRole(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind RoleBinding // v1_role_binding_list_t* -RbacAuthorizationV1API_listNamespacedRoleBinding(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +RbacAuthorizationV1API_listNamespacedRoleBinding(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind RoleBinding // v1_role_binding_list_t* -RbacAuthorizationV1API_listRoleBindingForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +RbacAuthorizationV1API_listRoleBindingForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind Role // v1_role_list_t* -RbacAuthorizationV1API_listRoleForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +RbacAuthorizationV1API_listRoleForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // partially update the specified ClusterRole // v1_cluster_role_t* -RbacAuthorizationV1API_patchClusterRole(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +RbacAuthorizationV1API_patchClusterRole(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update the specified ClusterRoleBinding // v1_cluster_role_binding_t* -RbacAuthorizationV1API_patchClusterRoleBinding(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +RbacAuthorizationV1API_patchClusterRoleBinding(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update the specified Role // v1_role_t* -RbacAuthorizationV1API_patchNamespacedRole(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +RbacAuthorizationV1API_patchNamespacedRole(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update the specified RoleBinding // v1_role_binding_t* -RbacAuthorizationV1API_patchNamespacedRoleBinding(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +RbacAuthorizationV1API_patchNamespacedRoleBinding(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // read the specified ClusterRole // v1_cluster_role_t* -RbacAuthorizationV1API_readClusterRole(apiClient_t *apiClient, char * name , char * pretty ); +RbacAuthorizationV1API_readClusterRole(apiClient_t *apiClient, char *name, char *pretty); // read the specified ClusterRoleBinding // v1_cluster_role_binding_t* -RbacAuthorizationV1API_readClusterRoleBinding(apiClient_t *apiClient, char * name , char * pretty ); +RbacAuthorizationV1API_readClusterRoleBinding(apiClient_t *apiClient, char *name, char *pretty); // read the specified Role // v1_role_t* -RbacAuthorizationV1API_readNamespacedRole(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ); +RbacAuthorizationV1API_readNamespacedRole(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); // read the specified RoleBinding // v1_role_binding_t* -RbacAuthorizationV1API_readNamespacedRoleBinding(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ); +RbacAuthorizationV1API_readNamespacedRoleBinding(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); // replace the specified ClusterRole // v1_cluster_role_t* -RbacAuthorizationV1API_replaceClusterRole(apiClient_t *apiClient, char * name , v1_cluster_role_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +RbacAuthorizationV1API_replaceClusterRole(apiClient_t *apiClient, char *name, v1_cluster_role_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace the specified ClusterRoleBinding // v1_cluster_role_binding_t* -RbacAuthorizationV1API_replaceClusterRoleBinding(apiClient_t *apiClient, char * name , v1_cluster_role_binding_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +RbacAuthorizationV1API_replaceClusterRoleBinding(apiClient_t *apiClient, char *name, v1_cluster_role_binding_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace the specified Role // v1_role_t* -RbacAuthorizationV1API_replaceNamespacedRole(apiClient_t *apiClient, char * name , char * _namespace , v1_role_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +RbacAuthorizationV1API_replaceNamespacedRole(apiClient_t *apiClient, char *name, char *_namespace, v1_role_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace the specified RoleBinding // v1_role_binding_t* -RbacAuthorizationV1API_replaceNamespacedRoleBinding(apiClient_t *apiClient, char * name , char * _namespace , v1_role_binding_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +RbacAuthorizationV1API_replaceNamespacedRoleBinding(apiClient_t *apiClient, char *name, char *_namespace, v1_role_binding_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); diff --git a/kubernetes/api/ResourceV1alpha2API.c b/kubernetes/api/ResourceV1alpha2API.c index 3c8332fe..af60c83f 100644 --- a/kubernetes/api/ResourceV1alpha2API.c +++ b/kubernetes/api/ResourceV1alpha2API.c @@ -15,7 +15,7 @@ // create a PodSchedulingContext // v1alpha2_pod_scheduling_context_t* -ResourceV1alpha2API_createNamespacedPodSchedulingContext(apiClient_t *apiClient, char * _namespace , v1alpha2_pod_scheduling_context_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +ResourceV1alpha2API_createNamespacedPodSchedulingContext(apiClient_t *apiClient, char *_namespace, v1alpha2_pod_scheduling_context_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -211,7 +211,7 @@ ResourceV1alpha2API_createNamespacedPodSchedulingContext(apiClient_t *apiClient, // create a ResourceClaim // v1alpha2_resource_claim_t* -ResourceV1alpha2API_createNamespacedResourceClaim(apiClient_t *apiClient, char * _namespace , v1alpha2_resource_claim_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +ResourceV1alpha2API_createNamespacedResourceClaim(apiClient_t *apiClient, char *_namespace, v1alpha2_resource_claim_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -407,7 +407,7 @@ ResourceV1alpha2API_createNamespacedResourceClaim(apiClient_t *apiClient, char * // create a ResourceClaimTemplate // v1alpha2_resource_claim_template_t* -ResourceV1alpha2API_createNamespacedResourceClaimTemplate(apiClient_t *apiClient, char * _namespace , v1alpha2_resource_claim_template_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +ResourceV1alpha2API_createNamespacedResourceClaimTemplate(apiClient_t *apiClient, char *_namespace, v1alpha2_resource_claim_template_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -603,7 +603,7 @@ ResourceV1alpha2API_createNamespacedResourceClaimTemplate(apiClient_t *apiClient // create a ResourceClass // v1alpha2_resource_class_t* -ResourceV1alpha2API_createResourceClass(apiClient_t *apiClient, v1alpha2_resource_class_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +ResourceV1alpha2API_createResourceClass(apiClient_t *apiClient, v1alpha2_resource_class_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -788,7 +788,7 @@ ResourceV1alpha2API_createResourceClass(apiClient_t *apiClient, v1alpha2_resourc // delete collection of PodSchedulingContext // v1_status_t* -ResourceV1alpha2API_deleteCollectionNamespacedPodSchedulingContext(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +ResourceV1alpha2API_deleteCollectionNamespacedPodSchedulingContext(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -867,11 +867,11 @@ ResourceV1alpha2API_deleteCollectionNamespacedPodSchedulingContext(apiClient_t * char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -892,11 +892,11 @@ ResourceV1alpha2API_deleteCollectionNamespacedPodSchedulingContext(apiClient_t * char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -905,11 +905,11 @@ ResourceV1alpha2API_deleteCollectionNamespacedPodSchedulingContext(apiClient_t * char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -954,11 +954,11 @@ ResourceV1alpha2API_deleteCollectionNamespacedPodSchedulingContext(apiClient_t * char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -967,11 +967,11 @@ ResourceV1alpha2API_deleteCollectionNamespacedPodSchedulingContext(apiClient_t * char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -1197,7 +1197,7 @@ ResourceV1alpha2API_deleteCollectionNamespacedPodSchedulingContext(apiClient_t * // delete collection of ResourceClaim // v1_status_t* -ResourceV1alpha2API_deleteCollectionNamespacedResourceClaim(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +ResourceV1alpha2API_deleteCollectionNamespacedResourceClaim(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1276,11 +1276,11 @@ ResourceV1alpha2API_deleteCollectionNamespacedResourceClaim(apiClient_t *apiClie char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -1301,11 +1301,11 @@ ResourceV1alpha2API_deleteCollectionNamespacedResourceClaim(apiClient_t *apiClie char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -1314,11 +1314,11 @@ ResourceV1alpha2API_deleteCollectionNamespacedResourceClaim(apiClient_t *apiClie char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -1363,11 +1363,11 @@ ResourceV1alpha2API_deleteCollectionNamespacedResourceClaim(apiClient_t *apiClie char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -1376,11 +1376,11 @@ ResourceV1alpha2API_deleteCollectionNamespacedResourceClaim(apiClient_t *apiClie char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -1606,7 +1606,7 @@ ResourceV1alpha2API_deleteCollectionNamespacedResourceClaim(apiClient_t *apiClie // delete collection of ResourceClaimTemplate // v1_status_t* -ResourceV1alpha2API_deleteCollectionNamespacedResourceClaimTemplate(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +ResourceV1alpha2API_deleteCollectionNamespacedResourceClaimTemplate(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1685,11 +1685,11 @@ ResourceV1alpha2API_deleteCollectionNamespacedResourceClaimTemplate(apiClient_t char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -1710,11 +1710,11 @@ ResourceV1alpha2API_deleteCollectionNamespacedResourceClaimTemplate(apiClient_t char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -1723,11 +1723,11 @@ ResourceV1alpha2API_deleteCollectionNamespacedResourceClaimTemplate(apiClient_t char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -1772,11 +1772,11 @@ ResourceV1alpha2API_deleteCollectionNamespacedResourceClaimTemplate(apiClient_t char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -1785,11 +1785,11 @@ ResourceV1alpha2API_deleteCollectionNamespacedResourceClaimTemplate(apiClient_t char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -2015,7 +2015,7 @@ ResourceV1alpha2API_deleteCollectionNamespacedResourceClaimTemplate(apiClient_t // delete collection of ResourceClass // v1_status_t* -ResourceV1alpha2API_deleteCollectionResourceClass(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +ResourceV1alpha2API_deleteCollectionResourceClass(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2084,11 +2084,11 @@ ResourceV1alpha2API_deleteCollectionResourceClass(apiClient_t *apiClient, char * char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -2109,11 +2109,11 @@ ResourceV1alpha2API_deleteCollectionResourceClass(apiClient_t *apiClient, char * char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -2122,11 +2122,11 @@ ResourceV1alpha2API_deleteCollectionResourceClass(apiClient_t *apiClient, char * char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -2171,11 +2171,11 @@ ResourceV1alpha2API_deleteCollectionResourceClass(apiClient_t *apiClient, char * char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -2184,11 +2184,11 @@ ResourceV1alpha2API_deleteCollectionResourceClass(apiClient_t *apiClient, char * char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -2413,7 +2413,7 @@ ResourceV1alpha2API_deleteCollectionResourceClass(apiClient_t *apiClient, char * // delete a PodSchedulingContext // v1alpha2_pod_scheduling_context_t* -ResourceV1alpha2API_deleteNamespacedPodSchedulingContext(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +ResourceV1alpha2API_deleteNamespacedPodSchedulingContext(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2478,11 +2478,11 @@ ResourceV1alpha2API_deleteNamespacedPodSchedulingContext(apiClient_t *apiClient, char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -2491,11 +2491,11 @@ ResourceV1alpha2API_deleteNamespacedPodSchedulingContext(apiClient_t *apiClient, char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -2642,7 +2642,7 @@ ResourceV1alpha2API_deleteNamespacedPodSchedulingContext(apiClient_t *apiClient, // delete a ResourceClaim // v1alpha2_resource_claim_t* -ResourceV1alpha2API_deleteNamespacedResourceClaim(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +ResourceV1alpha2API_deleteNamespacedResourceClaim(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2707,11 +2707,11 @@ ResourceV1alpha2API_deleteNamespacedResourceClaim(apiClient_t *apiClient, char * char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -2720,11 +2720,11 @@ ResourceV1alpha2API_deleteNamespacedResourceClaim(apiClient_t *apiClient, char * char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -2871,7 +2871,7 @@ ResourceV1alpha2API_deleteNamespacedResourceClaim(apiClient_t *apiClient, char * // delete a ResourceClaimTemplate // v1alpha2_resource_claim_template_t* -ResourceV1alpha2API_deleteNamespacedResourceClaimTemplate(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +ResourceV1alpha2API_deleteNamespacedResourceClaimTemplate(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2936,11 +2936,11 @@ ResourceV1alpha2API_deleteNamespacedResourceClaimTemplate(apiClient_t *apiClient char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -2949,11 +2949,11 @@ ResourceV1alpha2API_deleteNamespacedResourceClaimTemplate(apiClient_t *apiClient char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -3100,7 +3100,7 @@ ResourceV1alpha2API_deleteNamespacedResourceClaimTemplate(apiClient_t *apiClient // delete a ResourceClass // v1alpha2_resource_class_t* -ResourceV1alpha2API_deleteResourceClass(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +ResourceV1alpha2API_deleteResourceClass(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3155,11 +3155,11 @@ ResourceV1alpha2API_deleteResourceClass(apiClient_t *apiClient, char * name , ch char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -3168,11 +3168,11 @@ ResourceV1alpha2API_deleteResourceClass(apiClient_t *apiClient, char * name , ch char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -3385,7 +3385,7 @@ ResourceV1alpha2API_getAPIResources(apiClient_t *apiClient) // list or watch objects of kind PodSchedulingContext // v1alpha2_pod_scheduling_context_list_t* -ResourceV1alpha2API_listNamespacedPodSchedulingContext(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +ResourceV1alpha2API_listNamespacedPodSchedulingContext(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3428,11 +3428,11 @@ ResourceV1alpha2API_listNamespacedPodSchedulingContext(apiClient_t *apiClient, c char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -3477,11 +3477,11 @@ ResourceV1alpha2API_listNamespacedPodSchedulingContext(apiClient_t *apiClient, c char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -3514,11 +3514,11 @@ ResourceV1alpha2API_listNamespacedPodSchedulingContext(apiClient_t *apiClient, c char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -3527,11 +3527,11 @@ ResourceV1alpha2API_listNamespacedPodSchedulingContext(apiClient_t *apiClient, c char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -3540,11 +3540,11 @@ ResourceV1alpha2API_listNamespacedPodSchedulingContext(apiClient_t *apiClient, c char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -3734,7 +3734,7 @@ ResourceV1alpha2API_listNamespacedPodSchedulingContext(apiClient_t *apiClient, c // list or watch objects of kind ResourceClaim // v1alpha2_resource_claim_list_t* -ResourceV1alpha2API_listNamespacedResourceClaim(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +ResourceV1alpha2API_listNamespacedResourceClaim(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3777,11 +3777,11 @@ ResourceV1alpha2API_listNamespacedResourceClaim(apiClient_t *apiClient, char * _ char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -3826,11 +3826,11 @@ ResourceV1alpha2API_listNamespacedResourceClaim(apiClient_t *apiClient, char * _ char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -3863,11 +3863,11 @@ ResourceV1alpha2API_listNamespacedResourceClaim(apiClient_t *apiClient, char * _ char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -3876,11 +3876,11 @@ ResourceV1alpha2API_listNamespacedResourceClaim(apiClient_t *apiClient, char * _ char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -3889,11 +3889,11 @@ ResourceV1alpha2API_listNamespacedResourceClaim(apiClient_t *apiClient, char * _ char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -4083,7 +4083,7 @@ ResourceV1alpha2API_listNamespacedResourceClaim(apiClient_t *apiClient, char * _ // list or watch objects of kind ResourceClaimTemplate // v1alpha2_resource_claim_template_list_t* -ResourceV1alpha2API_listNamespacedResourceClaimTemplate(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +ResourceV1alpha2API_listNamespacedResourceClaimTemplate(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -4126,11 +4126,11 @@ ResourceV1alpha2API_listNamespacedResourceClaimTemplate(apiClient_t *apiClient, char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -4175,11 +4175,11 @@ ResourceV1alpha2API_listNamespacedResourceClaimTemplate(apiClient_t *apiClient, char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -4212,11 +4212,11 @@ ResourceV1alpha2API_listNamespacedResourceClaimTemplate(apiClient_t *apiClient, char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -4225,11 +4225,11 @@ ResourceV1alpha2API_listNamespacedResourceClaimTemplate(apiClient_t *apiClient, char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -4238,11 +4238,11 @@ ResourceV1alpha2API_listNamespacedResourceClaimTemplate(apiClient_t *apiClient, char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -4432,7 +4432,7 @@ ResourceV1alpha2API_listNamespacedResourceClaimTemplate(apiClient_t *apiClient, // list or watch objects of kind PodSchedulingContext // v1alpha2_pod_scheduling_context_list_t* -ResourceV1alpha2API_listPodSchedulingContextForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +ResourceV1alpha2API_listPodSchedulingContextForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -4453,11 +4453,11 @@ ResourceV1alpha2API_listPodSchedulingContextForAllNamespaces(apiClient_t *apiCli char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -4502,11 +4502,11 @@ ResourceV1alpha2API_listPodSchedulingContextForAllNamespaces(apiClient_t *apiCli char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -4551,11 +4551,11 @@ ResourceV1alpha2API_listPodSchedulingContextForAllNamespaces(apiClient_t *apiCli char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -4564,11 +4564,11 @@ ResourceV1alpha2API_listPodSchedulingContextForAllNamespaces(apiClient_t *apiCli char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -4577,11 +4577,11 @@ ResourceV1alpha2API_listPodSchedulingContextForAllNamespaces(apiClient_t *apiCli char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -4770,7 +4770,7 @@ ResourceV1alpha2API_listPodSchedulingContextForAllNamespaces(apiClient_t *apiCli // list or watch objects of kind ResourceClaim // v1alpha2_resource_claim_list_t* -ResourceV1alpha2API_listResourceClaimForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +ResourceV1alpha2API_listResourceClaimForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -4791,11 +4791,11 @@ ResourceV1alpha2API_listResourceClaimForAllNamespaces(apiClient_t *apiClient, in char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -4840,11 +4840,11 @@ ResourceV1alpha2API_listResourceClaimForAllNamespaces(apiClient_t *apiClient, in char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -4889,11 +4889,11 @@ ResourceV1alpha2API_listResourceClaimForAllNamespaces(apiClient_t *apiClient, in char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -4902,11 +4902,11 @@ ResourceV1alpha2API_listResourceClaimForAllNamespaces(apiClient_t *apiClient, in char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -4915,11 +4915,11 @@ ResourceV1alpha2API_listResourceClaimForAllNamespaces(apiClient_t *apiClient, in char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -5108,7 +5108,7 @@ ResourceV1alpha2API_listResourceClaimForAllNamespaces(apiClient_t *apiClient, in // list or watch objects of kind ResourceClaimTemplate // v1alpha2_resource_claim_template_list_t* -ResourceV1alpha2API_listResourceClaimTemplateForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +ResourceV1alpha2API_listResourceClaimTemplateForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -5129,11 +5129,11 @@ ResourceV1alpha2API_listResourceClaimTemplateForAllNamespaces(apiClient_t *apiCl char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -5178,11 +5178,11 @@ ResourceV1alpha2API_listResourceClaimTemplateForAllNamespaces(apiClient_t *apiCl char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -5227,11 +5227,11 @@ ResourceV1alpha2API_listResourceClaimTemplateForAllNamespaces(apiClient_t *apiCl char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -5240,11 +5240,11 @@ ResourceV1alpha2API_listResourceClaimTemplateForAllNamespaces(apiClient_t *apiCl char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -5253,11 +5253,11 @@ ResourceV1alpha2API_listResourceClaimTemplateForAllNamespaces(apiClient_t *apiCl char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -5446,7 +5446,7 @@ ResourceV1alpha2API_listResourceClaimTemplateForAllNamespaces(apiClient_t *apiCl // list or watch objects of kind ResourceClass // v1alpha2_resource_class_list_t* -ResourceV1alpha2API_listResourceClass(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +ResourceV1alpha2API_listResourceClass(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -5479,11 +5479,11 @@ ResourceV1alpha2API_listResourceClass(apiClient_t *apiClient, char * pretty , in char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -5528,11 +5528,11 @@ ResourceV1alpha2API_listResourceClass(apiClient_t *apiClient, char * pretty , in char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -5565,11 +5565,11 @@ ResourceV1alpha2API_listResourceClass(apiClient_t *apiClient, char * pretty , in char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -5578,11 +5578,11 @@ ResourceV1alpha2API_listResourceClass(apiClient_t *apiClient, char * pretty , in char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -5591,11 +5591,11 @@ ResourceV1alpha2API_listResourceClass(apiClient_t *apiClient, char * pretty , in char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -5784,7 +5784,7 @@ ResourceV1alpha2API_listResourceClass(apiClient_t *apiClient, char * pretty , in // partially update the specified PodSchedulingContext // v1alpha2_pod_scheduling_context_t* -ResourceV1alpha2API_patchNamespacedPodSchedulingContext(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +ResourceV1alpha2API_patchNamespacedPodSchedulingContext(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -5873,11 +5873,11 @@ ResourceV1alpha2API_patchNamespacedPodSchedulingContext(apiClient_t *apiClient, char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -6016,7 +6016,7 @@ ResourceV1alpha2API_patchNamespacedPodSchedulingContext(apiClient_t *apiClient, // partially update status of the specified PodSchedulingContext // v1alpha2_pod_scheduling_context_t* -ResourceV1alpha2API_patchNamespacedPodSchedulingContextStatus(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +ResourceV1alpha2API_patchNamespacedPodSchedulingContextStatus(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -6105,11 +6105,11 @@ ResourceV1alpha2API_patchNamespacedPodSchedulingContextStatus(apiClient_t *apiCl char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -6248,7 +6248,7 @@ ResourceV1alpha2API_patchNamespacedPodSchedulingContextStatus(apiClient_t *apiCl // partially update the specified ResourceClaim // v1alpha2_resource_claim_t* -ResourceV1alpha2API_patchNamespacedResourceClaim(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +ResourceV1alpha2API_patchNamespacedResourceClaim(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -6337,11 +6337,11 @@ ResourceV1alpha2API_patchNamespacedResourceClaim(apiClient_t *apiClient, char * char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -6480,7 +6480,7 @@ ResourceV1alpha2API_patchNamespacedResourceClaim(apiClient_t *apiClient, char * // partially update status of the specified ResourceClaim // v1alpha2_resource_claim_t* -ResourceV1alpha2API_patchNamespacedResourceClaimStatus(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +ResourceV1alpha2API_patchNamespacedResourceClaimStatus(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -6569,11 +6569,11 @@ ResourceV1alpha2API_patchNamespacedResourceClaimStatus(apiClient_t *apiClient, c char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -6712,7 +6712,7 @@ ResourceV1alpha2API_patchNamespacedResourceClaimStatus(apiClient_t *apiClient, c // partially update the specified ResourceClaimTemplate // v1alpha2_resource_claim_template_t* -ResourceV1alpha2API_patchNamespacedResourceClaimTemplate(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +ResourceV1alpha2API_patchNamespacedResourceClaimTemplate(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -6801,11 +6801,11 @@ ResourceV1alpha2API_patchNamespacedResourceClaimTemplate(apiClient_t *apiClient, char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -6944,7 +6944,7 @@ ResourceV1alpha2API_patchNamespacedResourceClaimTemplate(apiClient_t *apiClient, // partially update the specified ResourceClass // v1alpha2_resource_class_t* -ResourceV1alpha2API_patchResourceClass(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +ResourceV1alpha2API_patchResourceClass(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -7023,11 +7023,11 @@ ResourceV1alpha2API_patchResourceClass(apiClient_t *apiClient, char * name , obj char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -7165,7 +7165,7 @@ ResourceV1alpha2API_patchResourceClass(apiClient_t *apiClient, char * name , obj // read the specified PodSchedulingContext // v1alpha2_pod_scheduling_context_t* -ResourceV1alpha2API_readNamespacedPodSchedulingContext(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ) +ResourceV1alpha2API_readNamespacedPodSchedulingContext(apiClient_t *apiClient, char *name, char *_namespace, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -7278,7 +7278,7 @@ ResourceV1alpha2API_readNamespacedPodSchedulingContext(apiClient_t *apiClient, c // read status of the specified PodSchedulingContext // v1alpha2_pod_scheduling_context_t* -ResourceV1alpha2API_readNamespacedPodSchedulingContextStatus(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ) +ResourceV1alpha2API_readNamespacedPodSchedulingContextStatus(apiClient_t *apiClient, char *name, char *_namespace, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -7391,7 +7391,7 @@ ResourceV1alpha2API_readNamespacedPodSchedulingContextStatus(apiClient_t *apiCli // read the specified ResourceClaim // v1alpha2_resource_claim_t* -ResourceV1alpha2API_readNamespacedResourceClaim(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ) +ResourceV1alpha2API_readNamespacedResourceClaim(apiClient_t *apiClient, char *name, char *_namespace, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -7504,7 +7504,7 @@ ResourceV1alpha2API_readNamespacedResourceClaim(apiClient_t *apiClient, char * n // read status of the specified ResourceClaim // v1alpha2_resource_claim_t* -ResourceV1alpha2API_readNamespacedResourceClaimStatus(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ) +ResourceV1alpha2API_readNamespacedResourceClaimStatus(apiClient_t *apiClient, char *name, char *_namespace, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -7617,7 +7617,7 @@ ResourceV1alpha2API_readNamespacedResourceClaimStatus(apiClient_t *apiClient, ch // read the specified ResourceClaimTemplate // v1alpha2_resource_claim_template_t* -ResourceV1alpha2API_readNamespacedResourceClaimTemplate(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ) +ResourceV1alpha2API_readNamespacedResourceClaimTemplate(apiClient_t *apiClient, char *name, char *_namespace, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -7730,7 +7730,7 @@ ResourceV1alpha2API_readNamespacedResourceClaimTemplate(apiClient_t *apiClient, // read the specified ResourceClass // v1alpha2_resource_class_t* -ResourceV1alpha2API_readResourceClass(apiClient_t *apiClient, char * name , char * pretty ) +ResourceV1alpha2API_readResourceClass(apiClient_t *apiClient, char *name, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -7832,7 +7832,7 @@ ResourceV1alpha2API_readResourceClass(apiClient_t *apiClient, char * name , char // replace the specified PodSchedulingContext // v1alpha2_pod_scheduling_context_t* -ResourceV1alpha2API_replaceNamespacedPodSchedulingContext(apiClient_t *apiClient, char * name , char * _namespace , v1alpha2_pod_scheduling_context_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +ResourceV1alpha2API_replaceNamespacedPodSchedulingContext(apiClient_t *apiClient, char *name, char *_namespace, v1alpha2_pod_scheduling_context_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -8035,7 +8035,7 @@ ResourceV1alpha2API_replaceNamespacedPodSchedulingContext(apiClient_t *apiClient // replace status of the specified PodSchedulingContext // v1alpha2_pod_scheduling_context_t* -ResourceV1alpha2API_replaceNamespacedPodSchedulingContextStatus(apiClient_t *apiClient, char * name , char * _namespace , v1alpha2_pod_scheduling_context_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +ResourceV1alpha2API_replaceNamespacedPodSchedulingContextStatus(apiClient_t *apiClient, char *name, char *_namespace, v1alpha2_pod_scheduling_context_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -8238,7 +8238,7 @@ ResourceV1alpha2API_replaceNamespacedPodSchedulingContextStatus(apiClient_t *api // replace the specified ResourceClaim // v1alpha2_resource_claim_t* -ResourceV1alpha2API_replaceNamespacedResourceClaim(apiClient_t *apiClient, char * name , char * _namespace , v1alpha2_resource_claim_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +ResourceV1alpha2API_replaceNamespacedResourceClaim(apiClient_t *apiClient, char *name, char *_namespace, v1alpha2_resource_claim_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -8441,7 +8441,7 @@ ResourceV1alpha2API_replaceNamespacedResourceClaim(apiClient_t *apiClient, char // replace status of the specified ResourceClaim // v1alpha2_resource_claim_t* -ResourceV1alpha2API_replaceNamespacedResourceClaimStatus(apiClient_t *apiClient, char * name , char * _namespace , v1alpha2_resource_claim_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +ResourceV1alpha2API_replaceNamespacedResourceClaimStatus(apiClient_t *apiClient, char *name, char *_namespace, v1alpha2_resource_claim_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -8644,7 +8644,7 @@ ResourceV1alpha2API_replaceNamespacedResourceClaimStatus(apiClient_t *apiClient, // replace the specified ResourceClaimTemplate // v1alpha2_resource_claim_template_t* -ResourceV1alpha2API_replaceNamespacedResourceClaimTemplate(apiClient_t *apiClient, char * name , char * _namespace , v1alpha2_resource_claim_template_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +ResourceV1alpha2API_replaceNamespacedResourceClaimTemplate(apiClient_t *apiClient, char *name, char *_namespace, v1alpha2_resource_claim_template_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -8847,7 +8847,7 @@ ResourceV1alpha2API_replaceNamespacedResourceClaimTemplate(apiClient_t *apiClien // replace the specified ResourceClass // v1alpha2_resource_class_t* -ResourceV1alpha2API_replaceResourceClass(apiClient_t *apiClient, char * name , v1alpha2_resource_class_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +ResourceV1alpha2API_replaceResourceClass(apiClient_t *apiClient, char *name, v1alpha2_resource_class_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; diff --git a/kubernetes/api/ResourceV1alpha2API.h b/kubernetes/api/ResourceV1alpha2API.h index cde37e59..c4912dda 100644 --- a/kubernetes/api/ResourceV1alpha2API.h +++ b/kubernetes/api/ResourceV1alpha2API.h @@ -22,73 +22,73 @@ // create a PodSchedulingContext // v1alpha2_pod_scheduling_context_t* -ResourceV1alpha2API_createNamespacedPodSchedulingContext(apiClient_t *apiClient, char * _namespace , v1alpha2_pod_scheduling_context_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +ResourceV1alpha2API_createNamespacedPodSchedulingContext(apiClient_t *apiClient, char *_namespace, v1alpha2_pod_scheduling_context_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // create a ResourceClaim // v1alpha2_resource_claim_t* -ResourceV1alpha2API_createNamespacedResourceClaim(apiClient_t *apiClient, char * _namespace , v1alpha2_resource_claim_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +ResourceV1alpha2API_createNamespacedResourceClaim(apiClient_t *apiClient, char *_namespace, v1alpha2_resource_claim_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // create a ResourceClaimTemplate // v1alpha2_resource_claim_template_t* -ResourceV1alpha2API_createNamespacedResourceClaimTemplate(apiClient_t *apiClient, char * _namespace , v1alpha2_resource_claim_template_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +ResourceV1alpha2API_createNamespacedResourceClaimTemplate(apiClient_t *apiClient, char *_namespace, v1alpha2_resource_claim_template_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // create a ResourceClass // v1alpha2_resource_class_t* -ResourceV1alpha2API_createResourceClass(apiClient_t *apiClient, v1alpha2_resource_class_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +ResourceV1alpha2API_createResourceClass(apiClient_t *apiClient, v1alpha2_resource_class_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // delete collection of PodSchedulingContext // v1_status_t* -ResourceV1alpha2API_deleteCollectionNamespacedPodSchedulingContext(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +ResourceV1alpha2API_deleteCollectionNamespacedPodSchedulingContext(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); // delete collection of ResourceClaim // v1_status_t* -ResourceV1alpha2API_deleteCollectionNamespacedResourceClaim(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +ResourceV1alpha2API_deleteCollectionNamespacedResourceClaim(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); // delete collection of ResourceClaimTemplate // v1_status_t* -ResourceV1alpha2API_deleteCollectionNamespacedResourceClaimTemplate(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +ResourceV1alpha2API_deleteCollectionNamespacedResourceClaimTemplate(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); // delete collection of ResourceClass // v1_status_t* -ResourceV1alpha2API_deleteCollectionResourceClass(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +ResourceV1alpha2API_deleteCollectionResourceClass(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); // delete a PodSchedulingContext // v1alpha2_pod_scheduling_context_t* -ResourceV1alpha2API_deleteNamespacedPodSchedulingContext(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +ResourceV1alpha2API_deleteNamespacedPodSchedulingContext(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // delete a ResourceClaim // v1alpha2_resource_claim_t* -ResourceV1alpha2API_deleteNamespacedResourceClaim(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +ResourceV1alpha2API_deleteNamespacedResourceClaim(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // delete a ResourceClaimTemplate // v1alpha2_resource_claim_template_t* -ResourceV1alpha2API_deleteNamespacedResourceClaimTemplate(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +ResourceV1alpha2API_deleteNamespacedResourceClaimTemplate(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // delete a ResourceClass // v1alpha2_resource_class_t* -ResourceV1alpha2API_deleteResourceClass(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +ResourceV1alpha2API_deleteResourceClass(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // get available resources @@ -100,150 +100,150 @@ ResourceV1alpha2API_getAPIResources(apiClient_t *apiClient); // list or watch objects of kind PodSchedulingContext // v1alpha2_pod_scheduling_context_list_t* -ResourceV1alpha2API_listNamespacedPodSchedulingContext(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +ResourceV1alpha2API_listNamespacedPodSchedulingContext(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind ResourceClaim // v1alpha2_resource_claim_list_t* -ResourceV1alpha2API_listNamespacedResourceClaim(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +ResourceV1alpha2API_listNamespacedResourceClaim(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind ResourceClaimTemplate // v1alpha2_resource_claim_template_list_t* -ResourceV1alpha2API_listNamespacedResourceClaimTemplate(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +ResourceV1alpha2API_listNamespacedResourceClaimTemplate(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind PodSchedulingContext // v1alpha2_pod_scheduling_context_list_t* -ResourceV1alpha2API_listPodSchedulingContextForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +ResourceV1alpha2API_listPodSchedulingContextForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind ResourceClaim // v1alpha2_resource_claim_list_t* -ResourceV1alpha2API_listResourceClaimForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +ResourceV1alpha2API_listResourceClaimForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind ResourceClaimTemplate // v1alpha2_resource_claim_template_list_t* -ResourceV1alpha2API_listResourceClaimTemplateForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +ResourceV1alpha2API_listResourceClaimTemplateForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind ResourceClass // v1alpha2_resource_class_list_t* -ResourceV1alpha2API_listResourceClass(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +ResourceV1alpha2API_listResourceClass(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // partially update the specified PodSchedulingContext // v1alpha2_pod_scheduling_context_t* -ResourceV1alpha2API_patchNamespacedPodSchedulingContext(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +ResourceV1alpha2API_patchNamespacedPodSchedulingContext(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update status of the specified PodSchedulingContext // v1alpha2_pod_scheduling_context_t* -ResourceV1alpha2API_patchNamespacedPodSchedulingContextStatus(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +ResourceV1alpha2API_patchNamespacedPodSchedulingContextStatus(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update the specified ResourceClaim // v1alpha2_resource_claim_t* -ResourceV1alpha2API_patchNamespacedResourceClaim(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +ResourceV1alpha2API_patchNamespacedResourceClaim(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update status of the specified ResourceClaim // v1alpha2_resource_claim_t* -ResourceV1alpha2API_patchNamespacedResourceClaimStatus(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +ResourceV1alpha2API_patchNamespacedResourceClaimStatus(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update the specified ResourceClaimTemplate // v1alpha2_resource_claim_template_t* -ResourceV1alpha2API_patchNamespacedResourceClaimTemplate(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +ResourceV1alpha2API_patchNamespacedResourceClaimTemplate(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update the specified ResourceClass // v1alpha2_resource_class_t* -ResourceV1alpha2API_patchResourceClass(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +ResourceV1alpha2API_patchResourceClass(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // read the specified PodSchedulingContext // v1alpha2_pod_scheduling_context_t* -ResourceV1alpha2API_readNamespacedPodSchedulingContext(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ); +ResourceV1alpha2API_readNamespacedPodSchedulingContext(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); // read status of the specified PodSchedulingContext // v1alpha2_pod_scheduling_context_t* -ResourceV1alpha2API_readNamespacedPodSchedulingContextStatus(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ); +ResourceV1alpha2API_readNamespacedPodSchedulingContextStatus(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); // read the specified ResourceClaim // v1alpha2_resource_claim_t* -ResourceV1alpha2API_readNamespacedResourceClaim(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ); +ResourceV1alpha2API_readNamespacedResourceClaim(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); // read status of the specified ResourceClaim // v1alpha2_resource_claim_t* -ResourceV1alpha2API_readNamespacedResourceClaimStatus(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ); +ResourceV1alpha2API_readNamespacedResourceClaimStatus(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); // read the specified ResourceClaimTemplate // v1alpha2_resource_claim_template_t* -ResourceV1alpha2API_readNamespacedResourceClaimTemplate(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ); +ResourceV1alpha2API_readNamespacedResourceClaimTemplate(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); // read the specified ResourceClass // v1alpha2_resource_class_t* -ResourceV1alpha2API_readResourceClass(apiClient_t *apiClient, char * name , char * pretty ); +ResourceV1alpha2API_readResourceClass(apiClient_t *apiClient, char *name, char *pretty); // replace the specified PodSchedulingContext // v1alpha2_pod_scheduling_context_t* -ResourceV1alpha2API_replaceNamespacedPodSchedulingContext(apiClient_t *apiClient, char * name , char * _namespace , v1alpha2_pod_scheduling_context_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +ResourceV1alpha2API_replaceNamespacedPodSchedulingContext(apiClient_t *apiClient, char *name, char *_namespace, v1alpha2_pod_scheduling_context_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace status of the specified PodSchedulingContext // v1alpha2_pod_scheduling_context_t* -ResourceV1alpha2API_replaceNamespacedPodSchedulingContextStatus(apiClient_t *apiClient, char * name , char * _namespace , v1alpha2_pod_scheduling_context_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +ResourceV1alpha2API_replaceNamespacedPodSchedulingContextStatus(apiClient_t *apiClient, char *name, char *_namespace, v1alpha2_pod_scheduling_context_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace the specified ResourceClaim // v1alpha2_resource_claim_t* -ResourceV1alpha2API_replaceNamespacedResourceClaim(apiClient_t *apiClient, char * name , char * _namespace , v1alpha2_resource_claim_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +ResourceV1alpha2API_replaceNamespacedResourceClaim(apiClient_t *apiClient, char *name, char *_namespace, v1alpha2_resource_claim_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace status of the specified ResourceClaim // v1alpha2_resource_claim_t* -ResourceV1alpha2API_replaceNamespacedResourceClaimStatus(apiClient_t *apiClient, char * name , char * _namespace , v1alpha2_resource_claim_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +ResourceV1alpha2API_replaceNamespacedResourceClaimStatus(apiClient_t *apiClient, char *name, char *_namespace, v1alpha2_resource_claim_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace the specified ResourceClaimTemplate // v1alpha2_resource_claim_template_t* -ResourceV1alpha2API_replaceNamespacedResourceClaimTemplate(apiClient_t *apiClient, char * name , char * _namespace , v1alpha2_resource_claim_template_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +ResourceV1alpha2API_replaceNamespacedResourceClaimTemplate(apiClient_t *apiClient, char *name, char *_namespace, v1alpha2_resource_claim_template_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace the specified ResourceClass // v1alpha2_resource_class_t* -ResourceV1alpha2API_replaceResourceClass(apiClient_t *apiClient, char * name , v1alpha2_resource_class_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +ResourceV1alpha2API_replaceResourceClass(apiClient_t *apiClient, char *name, v1alpha2_resource_class_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); diff --git a/kubernetes/api/SchedulingV1API.c b/kubernetes/api/SchedulingV1API.c index c3041992..b5e60137 100644 --- a/kubernetes/api/SchedulingV1API.c +++ b/kubernetes/api/SchedulingV1API.c @@ -15,7 +15,7 @@ // create a PriorityClass // v1_priority_class_t* -SchedulingV1API_createPriorityClass(apiClient_t *apiClient, v1_priority_class_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +SchedulingV1API_createPriorityClass(apiClient_t *apiClient, v1_priority_class_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -200,7 +200,7 @@ SchedulingV1API_createPriorityClass(apiClient_t *apiClient, v1_priority_class_t // delete collection of PriorityClass // v1_status_t* -SchedulingV1API_deleteCollectionPriorityClass(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +SchedulingV1API_deleteCollectionPriorityClass(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -269,11 +269,11 @@ SchedulingV1API_deleteCollectionPriorityClass(apiClient_t *apiClient, char * pre char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -294,11 +294,11 @@ SchedulingV1API_deleteCollectionPriorityClass(apiClient_t *apiClient, char * pre char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -307,11 +307,11 @@ SchedulingV1API_deleteCollectionPriorityClass(apiClient_t *apiClient, char * pre char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -356,11 +356,11 @@ SchedulingV1API_deleteCollectionPriorityClass(apiClient_t *apiClient, char * pre char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -369,11 +369,11 @@ SchedulingV1API_deleteCollectionPriorityClass(apiClient_t *apiClient, char * pre char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -598,7 +598,7 @@ SchedulingV1API_deleteCollectionPriorityClass(apiClient_t *apiClient, char * pre // delete a PriorityClass // v1_status_t* -SchedulingV1API_deletePriorityClass(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +SchedulingV1API_deletePriorityClass(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -653,11 +653,11 @@ SchedulingV1API_deletePriorityClass(apiClient_t *apiClient, char * name , char * char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -666,11 +666,11 @@ SchedulingV1API_deletePriorityClass(apiClient_t *apiClient, char * name , char * char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -883,7 +883,7 @@ SchedulingV1API_getAPIResources(apiClient_t *apiClient) // list or watch objects of kind PriorityClass // v1_priority_class_list_t* -SchedulingV1API_listPriorityClass(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +SchedulingV1API_listPriorityClass(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -916,11 +916,11 @@ SchedulingV1API_listPriorityClass(apiClient_t *apiClient, char * pretty , int al char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -965,11 +965,11 @@ SchedulingV1API_listPriorityClass(apiClient_t *apiClient, char * pretty , int al char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -1002,11 +1002,11 @@ SchedulingV1API_listPriorityClass(apiClient_t *apiClient, char * pretty , int al char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -1015,11 +1015,11 @@ SchedulingV1API_listPriorityClass(apiClient_t *apiClient, char * pretty , int al char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -1028,11 +1028,11 @@ SchedulingV1API_listPriorityClass(apiClient_t *apiClient, char * pretty , int al char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -1221,7 +1221,7 @@ SchedulingV1API_listPriorityClass(apiClient_t *apiClient, char * pretty , int al // partially update the specified PriorityClass // v1_priority_class_t* -SchedulingV1API_patchPriorityClass(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +SchedulingV1API_patchPriorityClass(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1300,11 +1300,11 @@ SchedulingV1API_patchPriorityClass(apiClient_t *apiClient, char * name , object_ char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -1442,7 +1442,7 @@ SchedulingV1API_patchPriorityClass(apiClient_t *apiClient, char * name , object_ // read the specified PriorityClass // v1_priority_class_t* -SchedulingV1API_readPriorityClass(apiClient_t *apiClient, char * name , char * pretty ) +SchedulingV1API_readPriorityClass(apiClient_t *apiClient, char *name, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1544,7 +1544,7 @@ SchedulingV1API_readPriorityClass(apiClient_t *apiClient, char * name , char * p // replace the specified PriorityClass // v1_priority_class_t* -SchedulingV1API_replacePriorityClass(apiClient_t *apiClient, char * name , v1_priority_class_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +SchedulingV1API_replacePriorityClass(apiClient_t *apiClient, char *name, v1_priority_class_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; diff --git a/kubernetes/api/SchedulingV1API.h b/kubernetes/api/SchedulingV1API.h index 26ba0162..27492a4c 100644 --- a/kubernetes/api/SchedulingV1API.h +++ b/kubernetes/api/SchedulingV1API.h @@ -16,19 +16,19 @@ // create a PriorityClass // v1_priority_class_t* -SchedulingV1API_createPriorityClass(apiClient_t *apiClient, v1_priority_class_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +SchedulingV1API_createPriorityClass(apiClient_t *apiClient, v1_priority_class_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // delete collection of PriorityClass // v1_status_t* -SchedulingV1API_deleteCollectionPriorityClass(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +SchedulingV1API_deleteCollectionPriorityClass(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); // delete a PriorityClass // v1_status_t* -SchedulingV1API_deletePriorityClass(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +SchedulingV1API_deletePriorityClass(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // get available resources @@ -40,24 +40,24 @@ SchedulingV1API_getAPIResources(apiClient_t *apiClient); // list or watch objects of kind PriorityClass // v1_priority_class_list_t* -SchedulingV1API_listPriorityClass(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +SchedulingV1API_listPriorityClass(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // partially update the specified PriorityClass // v1_priority_class_t* -SchedulingV1API_patchPriorityClass(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +SchedulingV1API_patchPriorityClass(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // read the specified PriorityClass // v1_priority_class_t* -SchedulingV1API_readPriorityClass(apiClient_t *apiClient, char * name , char * pretty ); +SchedulingV1API_readPriorityClass(apiClient_t *apiClient, char *name, char *pretty); // replace the specified PriorityClass // v1_priority_class_t* -SchedulingV1API_replacePriorityClass(apiClient_t *apiClient, char * name , v1_priority_class_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +SchedulingV1API_replacePriorityClass(apiClient_t *apiClient, char *name, v1_priority_class_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); diff --git a/kubernetes/api/StorageV1API.c b/kubernetes/api/StorageV1API.c index 115e11a5..4a699d74 100644 --- a/kubernetes/api/StorageV1API.c +++ b/kubernetes/api/StorageV1API.c @@ -15,7 +15,7 @@ // create a CSIDriver // v1_csi_driver_t* -StorageV1API_createCSIDriver(apiClient_t *apiClient, v1_csi_driver_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +StorageV1API_createCSIDriver(apiClient_t *apiClient, v1_csi_driver_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -200,7 +200,7 @@ StorageV1API_createCSIDriver(apiClient_t *apiClient, v1_csi_driver_t * body , ch // create a CSINode // v1_csi_node_t* -StorageV1API_createCSINode(apiClient_t *apiClient, v1_csi_node_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +StorageV1API_createCSINode(apiClient_t *apiClient, v1_csi_node_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -385,7 +385,7 @@ StorageV1API_createCSINode(apiClient_t *apiClient, v1_csi_node_t * body , char * // create a CSIStorageCapacity // v1_csi_storage_capacity_t* -StorageV1API_createNamespacedCSIStorageCapacity(apiClient_t *apiClient, char * _namespace , v1_csi_storage_capacity_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +StorageV1API_createNamespacedCSIStorageCapacity(apiClient_t *apiClient, char *_namespace, v1_csi_storage_capacity_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -581,7 +581,7 @@ StorageV1API_createNamespacedCSIStorageCapacity(apiClient_t *apiClient, char * _ // create a StorageClass // v1_storage_class_t* -StorageV1API_createStorageClass(apiClient_t *apiClient, v1_storage_class_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +StorageV1API_createStorageClass(apiClient_t *apiClient, v1_storage_class_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -766,7 +766,7 @@ StorageV1API_createStorageClass(apiClient_t *apiClient, v1_storage_class_t * bod // create a VolumeAttachment // v1_volume_attachment_t* -StorageV1API_createVolumeAttachment(apiClient_t *apiClient, v1_volume_attachment_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +StorageV1API_createVolumeAttachment(apiClient_t *apiClient, v1_volume_attachment_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -951,7 +951,7 @@ StorageV1API_createVolumeAttachment(apiClient_t *apiClient, v1_volume_attachment // delete a CSIDriver // v1_csi_driver_t* -StorageV1API_deleteCSIDriver(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +StorageV1API_deleteCSIDriver(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1006,11 +1006,11 @@ StorageV1API_deleteCSIDriver(apiClient_t *apiClient, char * name , char * pretty char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -1019,11 +1019,11 @@ StorageV1API_deleteCSIDriver(apiClient_t *apiClient, char * name , char * pretty char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -1169,7 +1169,7 @@ StorageV1API_deleteCSIDriver(apiClient_t *apiClient, char * name , char * pretty // delete a CSINode // v1_csi_node_t* -StorageV1API_deleteCSINode(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +StorageV1API_deleteCSINode(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1224,11 +1224,11 @@ StorageV1API_deleteCSINode(apiClient_t *apiClient, char * name , char * pretty , char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -1237,11 +1237,11 @@ StorageV1API_deleteCSINode(apiClient_t *apiClient, char * name , char * pretty , char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -1387,7 +1387,7 @@ StorageV1API_deleteCSINode(apiClient_t *apiClient, char * name , char * pretty , // delete collection of CSIDriver // v1_status_t* -StorageV1API_deleteCollectionCSIDriver(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +StorageV1API_deleteCollectionCSIDriver(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1456,11 +1456,11 @@ StorageV1API_deleteCollectionCSIDriver(apiClient_t *apiClient, char * pretty , c char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -1481,11 +1481,11 @@ StorageV1API_deleteCollectionCSIDriver(apiClient_t *apiClient, char * pretty , c char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -1494,11 +1494,11 @@ StorageV1API_deleteCollectionCSIDriver(apiClient_t *apiClient, char * pretty , c char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -1543,11 +1543,11 @@ StorageV1API_deleteCollectionCSIDriver(apiClient_t *apiClient, char * pretty , c char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -1556,11 +1556,11 @@ StorageV1API_deleteCollectionCSIDriver(apiClient_t *apiClient, char * pretty , c char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -1785,7 +1785,7 @@ StorageV1API_deleteCollectionCSIDriver(apiClient_t *apiClient, char * pretty , c // delete collection of CSINode // v1_status_t* -StorageV1API_deleteCollectionCSINode(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +StorageV1API_deleteCollectionCSINode(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -1854,11 +1854,11 @@ StorageV1API_deleteCollectionCSINode(apiClient_t *apiClient, char * pretty , cha char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -1879,11 +1879,11 @@ StorageV1API_deleteCollectionCSINode(apiClient_t *apiClient, char * pretty , cha char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -1892,11 +1892,11 @@ StorageV1API_deleteCollectionCSINode(apiClient_t *apiClient, char * pretty , cha char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -1941,11 +1941,11 @@ StorageV1API_deleteCollectionCSINode(apiClient_t *apiClient, char * pretty , cha char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -1954,11 +1954,11 @@ StorageV1API_deleteCollectionCSINode(apiClient_t *apiClient, char * pretty , cha char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -2183,7 +2183,7 @@ StorageV1API_deleteCollectionCSINode(apiClient_t *apiClient, char * pretty , cha // delete collection of CSIStorageCapacity // v1_status_t* -StorageV1API_deleteCollectionNamespacedCSIStorageCapacity(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +StorageV1API_deleteCollectionNamespacedCSIStorageCapacity(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2262,11 +2262,11 @@ StorageV1API_deleteCollectionNamespacedCSIStorageCapacity(apiClient_t *apiClient char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -2287,11 +2287,11 @@ StorageV1API_deleteCollectionNamespacedCSIStorageCapacity(apiClient_t *apiClient char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -2300,11 +2300,11 @@ StorageV1API_deleteCollectionNamespacedCSIStorageCapacity(apiClient_t *apiClient char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -2349,11 +2349,11 @@ StorageV1API_deleteCollectionNamespacedCSIStorageCapacity(apiClient_t *apiClient char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -2362,11 +2362,11 @@ StorageV1API_deleteCollectionNamespacedCSIStorageCapacity(apiClient_t *apiClient char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -2592,7 +2592,7 @@ StorageV1API_deleteCollectionNamespacedCSIStorageCapacity(apiClient_t *apiClient // delete collection of StorageClass // v1_status_t* -StorageV1API_deleteCollectionStorageClass(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +StorageV1API_deleteCollectionStorageClass(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -2661,11 +2661,11 @@ StorageV1API_deleteCollectionStorageClass(apiClient_t *apiClient, char * pretty char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -2686,11 +2686,11 @@ StorageV1API_deleteCollectionStorageClass(apiClient_t *apiClient, char * pretty char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -2699,11 +2699,11 @@ StorageV1API_deleteCollectionStorageClass(apiClient_t *apiClient, char * pretty char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -2748,11 +2748,11 @@ StorageV1API_deleteCollectionStorageClass(apiClient_t *apiClient, char * pretty char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -2761,11 +2761,11 @@ StorageV1API_deleteCollectionStorageClass(apiClient_t *apiClient, char * pretty char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -2990,7 +2990,7 @@ StorageV1API_deleteCollectionStorageClass(apiClient_t *apiClient, char * pretty // delete collection of VolumeAttachment // v1_status_t* -StorageV1API_deleteCollectionVolumeAttachment(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ) +StorageV1API_deleteCollectionVolumeAttachment(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3059,11 +3059,11 @@ StorageV1API_deleteCollectionVolumeAttachment(apiClient_t *apiClient, char * pre char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -3084,11 +3084,11 @@ StorageV1API_deleteCollectionVolumeAttachment(apiClient_t *apiClient, char * pre char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -3097,11 +3097,11 @@ StorageV1API_deleteCollectionVolumeAttachment(apiClient_t *apiClient, char * pre char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -3146,11 +3146,11 @@ StorageV1API_deleteCollectionVolumeAttachment(apiClient_t *apiClient, char * pre char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -3159,11 +3159,11 @@ StorageV1API_deleteCollectionVolumeAttachment(apiClient_t *apiClient, char * pre char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -3388,7 +3388,7 @@ StorageV1API_deleteCollectionVolumeAttachment(apiClient_t *apiClient, char * pre // delete a CSIStorageCapacity // v1_status_t* -StorageV1API_deleteNamespacedCSIStorageCapacity(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +StorageV1API_deleteNamespacedCSIStorageCapacity(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3453,11 +3453,11 @@ StorageV1API_deleteNamespacedCSIStorageCapacity(apiClient_t *apiClient, char * n char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -3466,11 +3466,11 @@ StorageV1API_deleteNamespacedCSIStorageCapacity(apiClient_t *apiClient, char * n char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -3617,7 +3617,7 @@ StorageV1API_deleteNamespacedCSIStorageCapacity(apiClient_t *apiClient, char * n // delete a StorageClass // v1_storage_class_t* -StorageV1API_deleteStorageClass(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +StorageV1API_deleteStorageClass(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3672,11 +3672,11 @@ StorageV1API_deleteStorageClass(apiClient_t *apiClient, char * name , char * pre char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -3685,11 +3685,11 @@ StorageV1API_deleteStorageClass(apiClient_t *apiClient, char * name , char * pre char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -3835,7 +3835,7 @@ StorageV1API_deleteStorageClass(apiClient_t *apiClient, char * name , char * pre // delete a VolumeAttachment // v1_volume_attachment_t* -StorageV1API_deleteVolumeAttachment(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ) +StorageV1API_deleteVolumeAttachment(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -3890,11 +3890,11 @@ StorageV1API_deleteVolumeAttachment(apiClient_t *apiClient, char * name , char * char *keyQuery_gracePeriodSeconds = NULL; char * valueQuery_gracePeriodSeconds = NULL; keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; - if (1) // Always send integer parameters to the API server + if (gracePeriodSeconds) { keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", gracePeriodSeconds); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); } @@ -3903,11 +3903,11 @@ StorageV1API_deleteVolumeAttachment(apiClient_t *apiClient, char * name , char * char *keyQuery_orphanDependents = NULL; char * valueQuery_orphanDependents = NULL; keyValuePair_t *keyPairQuery_orphanDependents = 0; - if (1) // Always send boolean parameters to the API server + if (orphanDependents) { keyQuery_orphanDependents = strdup("orphanDependents"); valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", orphanDependents); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); } @@ -4120,7 +4120,7 @@ StorageV1API_getAPIResources(apiClient_t *apiClient) // list or watch objects of kind CSIDriver // v1_csi_driver_list_t* -StorageV1API_listCSIDriver(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +StorageV1API_listCSIDriver(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -4153,11 +4153,11 @@ StorageV1API_listCSIDriver(apiClient_t *apiClient, char * pretty , int allowWatc char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -4202,11 +4202,11 @@ StorageV1API_listCSIDriver(apiClient_t *apiClient, char * pretty , int allowWatc char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -4239,11 +4239,11 @@ StorageV1API_listCSIDriver(apiClient_t *apiClient, char * pretty , int allowWatc char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -4252,11 +4252,11 @@ StorageV1API_listCSIDriver(apiClient_t *apiClient, char * pretty , int allowWatc char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -4265,11 +4265,11 @@ StorageV1API_listCSIDriver(apiClient_t *apiClient, char * pretty , int allowWatc char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -4458,7 +4458,7 @@ StorageV1API_listCSIDriver(apiClient_t *apiClient, char * pretty , int allowWatc // list or watch objects of kind CSINode // v1_csi_node_list_t* -StorageV1API_listCSINode(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +StorageV1API_listCSINode(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -4491,11 +4491,11 @@ StorageV1API_listCSINode(apiClient_t *apiClient, char * pretty , int allowWatchB char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -4540,11 +4540,11 @@ StorageV1API_listCSINode(apiClient_t *apiClient, char * pretty , int allowWatchB char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -4577,11 +4577,11 @@ StorageV1API_listCSINode(apiClient_t *apiClient, char * pretty , int allowWatchB char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -4590,11 +4590,11 @@ StorageV1API_listCSINode(apiClient_t *apiClient, char * pretty , int allowWatchB char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -4603,11 +4603,11 @@ StorageV1API_listCSINode(apiClient_t *apiClient, char * pretty , int allowWatchB char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -4796,7 +4796,7 @@ StorageV1API_listCSINode(apiClient_t *apiClient, char * pretty , int allowWatchB // list or watch objects of kind CSIStorageCapacity // v1_csi_storage_capacity_list_t* -StorageV1API_listCSIStorageCapacityForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +StorageV1API_listCSIStorageCapacityForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -4817,11 +4817,11 @@ StorageV1API_listCSIStorageCapacityForAllNamespaces(apiClient_t *apiClient, int char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -4866,11 +4866,11 @@ StorageV1API_listCSIStorageCapacityForAllNamespaces(apiClient_t *apiClient, int char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -4915,11 +4915,11 @@ StorageV1API_listCSIStorageCapacityForAllNamespaces(apiClient_t *apiClient, int char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -4928,11 +4928,11 @@ StorageV1API_listCSIStorageCapacityForAllNamespaces(apiClient_t *apiClient, int char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -4941,11 +4941,11 @@ StorageV1API_listCSIStorageCapacityForAllNamespaces(apiClient_t *apiClient, int char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -5134,7 +5134,7 @@ StorageV1API_listCSIStorageCapacityForAllNamespaces(apiClient_t *apiClient, int // list or watch objects of kind CSIStorageCapacity // v1_csi_storage_capacity_list_t* -StorageV1API_listNamespacedCSIStorageCapacity(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +StorageV1API_listNamespacedCSIStorageCapacity(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -5177,11 +5177,11 @@ StorageV1API_listNamespacedCSIStorageCapacity(apiClient_t *apiClient, char * _na char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -5226,11 +5226,11 @@ StorageV1API_listNamespacedCSIStorageCapacity(apiClient_t *apiClient, char * _na char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -5263,11 +5263,11 @@ StorageV1API_listNamespacedCSIStorageCapacity(apiClient_t *apiClient, char * _na char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -5276,11 +5276,11 @@ StorageV1API_listNamespacedCSIStorageCapacity(apiClient_t *apiClient, char * _na char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -5289,11 +5289,11 @@ StorageV1API_listNamespacedCSIStorageCapacity(apiClient_t *apiClient, char * _na char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -5483,7 +5483,7 @@ StorageV1API_listNamespacedCSIStorageCapacity(apiClient_t *apiClient, char * _na // list or watch objects of kind StorageClass // v1_storage_class_list_t* -StorageV1API_listStorageClass(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +StorageV1API_listStorageClass(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -5516,11 +5516,11 @@ StorageV1API_listStorageClass(apiClient_t *apiClient, char * pretty , int allowW char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -5565,11 +5565,11 @@ StorageV1API_listStorageClass(apiClient_t *apiClient, char * pretty , int allowW char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -5602,11 +5602,11 @@ StorageV1API_listStorageClass(apiClient_t *apiClient, char * pretty , int allowW char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -5615,11 +5615,11 @@ StorageV1API_listStorageClass(apiClient_t *apiClient, char * pretty , int allowW char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -5628,11 +5628,11 @@ StorageV1API_listStorageClass(apiClient_t *apiClient, char * pretty , int allowW char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -5821,7 +5821,7 @@ StorageV1API_listStorageClass(apiClient_t *apiClient, char * pretty , int allowW // list or watch objects of kind VolumeAttachment // v1_volume_attachment_list_t* -StorageV1API_listVolumeAttachment(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ) +StorageV1API_listVolumeAttachment(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -5854,11 +5854,11 @@ StorageV1API_listVolumeAttachment(apiClient_t *apiClient, char * pretty , int al char *keyQuery_allowWatchBookmarks = NULL; char * valueQuery_allowWatchBookmarks = NULL; keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; - if (1) // Always send boolean parameters to the API server + if (allowWatchBookmarks) { keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", allowWatchBookmarks); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); } @@ -5903,11 +5903,11 @@ StorageV1API_listVolumeAttachment(apiClient_t *apiClient, char * pretty , int al char *keyQuery_limit = NULL; char * valueQuery_limit = NULL; keyValuePair_t *keyPairQuery_limit = 0; - if (1) // Always send integer parameters to the API server + if (limit) { keyQuery_limit = strdup("limit"); valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", limit); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); list_addElement(localVarQueryParameters,keyPairQuery_limit); } @@ -5940,11 +5940,11 @@ StorageV1API_listVolumeAttachment(apiClient_t *apiClient, char * pretty , int al char *keyQuery_sendInitialEvents = NULL; char * valueQuery_sendInitialEvents = NULL; keyValuePair_t *keyPairQuery_sendInitialEvents = 0; - if (1) // Always send boolean parameters to the API server + if (sendInitialEvents) { keyQuery_sendInitialEvents = strdup("sendInitialEvents"); valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", sendInitialEvents); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); } @@ -5953,11 +5953,11 @@ StorageV1API_listVolumeAttachment(apiClient_t *apiClient, char * pretty , int al char *keyQuery_timeoutSeconds = NULL; char * valueQuery_timeoutSeconds = NULL; keyValuePair_t *keyPairQuery_timeoutSeconds = 0; - if (1) // Always send integer parameters to the API server + if (timeoutSeconds) { keyQuery_timeoutSeconds = strdup("timeoutSeconds"); valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", timeoutSeconds); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); } @@ -5966,11 +5966,11 @@ StorageV1API_listVolumeAttachment(apiClient_t *apiClient, char * pretty , int al char *keyQuery_watch = NULL; char * valueQuery_watch = NULL; keyValuePair_t *keyPairQuery_watch = 0; - if (1) // Always send boolean parameters to the API server + if (watch) { keyQuery_watch = strdup("watch"); valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", watch); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); list_addElement(localVarQueryParameters,keyPairQuery_watch); } @@ -6159,7 +6159,7 @@ StorageV1API_listVolumeAttachment(apiClient_t *apiClient, char * pretty , int al // partially update the specified CSIDriver // v1_csi_driver_t* -StorageV1API_patchCSIDriver(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +StorageV1API_patchCSIDriver(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -6238,11 +6238,11 @@ StorageV1API_patchCSIDriver(apiClient_t *apiClient, char * name , object_t * bod char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -6380,7 +6380,7 @@ StorageV1API_patchCSIDriver(apiClient_t *apiClient, char * name , object_t * bod // partially update the specified CSINode // v1_csi_node_t* -StorageV1API_patchCSINode(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +StorageV1API_patchCSINode(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -6459,11 +6459,11 @@ StorageV1API_patchCSINode(apiClient_t *apiClient, char * name , object_t * body char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -6601,7 +6601,7 @@ StorageV1API_patchCSINode(apiClient_t *apiClient, char * name , object_t * body // partially update the specified CSIStorageCapacity // v1_csi_storage_capacity_t* -StorageV1API_patchNamespacedCSIStorageCapacity(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +StorageV1API_patchNamespacedCSIStorageCapacity(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -6690,11 +6690,11 @@ StorageV1API_patchNamespacedCSIStorageCapacity(apiClient_t *apiClient, char * na char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -6833,7 +6833,7 @@ StorageV1API_patchNamespacedCSIStorageCapacity(apiClient_t *apiClient, char * na // partially update the specified StorageClass // v1_storage_class_t* -StorageV1API_patchStorageClass(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +StorageV1API_patchStorageClass(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -6912,11 +6912,11 @@ StorageV1API_patchStorageClass(apiClient_t *apiClient, char * name , object_t * char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -7054,7 +7054,7 @@ StorageV1API_patchStorageClass(apiClient_t *apiClient, char * name , object_t * // partially update the specified VolumeAttachment // v1_volume_attachment_t* -StorageV1API_patchVolumeAttachment(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +StorageV1API_patchVolumeAttachment(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -7133,11 +7133,11 @@ StorageV1API_patchVolumeAttachment(apiClient_t *apiClient, char * name , object_ char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -7275,7 +7275,7 @@ StorageV1API_patchVolumeAttachment(apiClient_t *apiClient, char * name , object_ // partially update status of the specified VolumeAttachment // v1_volume_attachment_t* -StorageV1API_patchVolumeAttachmentStatus(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ) +StorageV1API_patchVolumeAttachmentStatus(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -7354,11 +7354,11 @@ StorageV1API_patchVolumeAttachmentStatus(apiClient_t *apiClient, char * name , o char *keyQuery_force = NULL; char * valueQuery_force = NULL; keyValuePair_t *keyPairQuery_force = 0; - if (1) // Always send boolean parameters to the API server + if (force) { keyQuery_force = strdup("force"); valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); - snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", force); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); list_addElement(localVarQueryParameters,keyPairQuery_force); } @@ -7496,7 +7496,7 @@ StorageV1API_patchVolumeAttachmentStatus(apiClient_t *apiClient, char * name , o // read the specified CSIDriver // v1_csi_driver_t* -StorageV1API_readCSIDriver(apiClient_t *apiClient, char * name , char * pretty ) +StorageV1API_readCSIDriver(apiClient_t *apiClient, char *name, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -7598,7 +7598,7 @@ StorageV1API_readCSIDriver(apiClient_t *apiClient, char * name , char * pretty ) // read the specified CSINode // v1_csi_node_t* -StorageV1API_readCSINode(apiClient_t *apiClient, char * name , char * pretty ) +StorageV1API_readCSINode(apiClient_t *apiClient, char *name, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -7700,7 +7700,7 @@ StorageV1API_readCSINode(apiClient_t *apiClient, char * name , char * pretty ) // read the specified CSIStorageCapacity // v1_csi_storage_capacity_t* -StorageV1API_readNamespacedCSIStorageCapacity(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ) +StorageV1API_readNamespacedCSIStorageCapacity(apiClient_t *apiClient, char *name, char *_namespace, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -7813,7 +7813,7 @@ StorageV1API_readNamespacedCSIStorageCapacity(apiClient_t *apiClient, char * nam // read the specified StorageClass // v1_storage_class_t* -StorageV1API_readStorageClass(apiClient_t *apiClient, char * name , char * pretty ) +StorageV1API_readStorageClass(apiClient_t *apiClient, char *name, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -7915,7 +7915,7 @@ StorageV1API_readStorageClass(apiClient_t *apiClient, char * name , char * prett // read the specified VolumeAttachment // v1_volume_attachment_t* -StorageV1API_readVolumeAttachment(apiClient_t *apiClient, char * name , char * pretty ) +StorageV1API_readVolumeAttachment(apiClient_t *apiClient, char *name, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -8017,7 +8017,7 @@ StorageV1API_readVolumeAttachment(apiClient_t *apiClient, char * name , char * p // read status of the specified VolumeAttachment // v1_volume_attachment_t* -StorageV1API_readVolumeAttachmentStatus(apiClient_t *apiClient, char * name , char * pretty ) +StorageV1API_readVolumeAttachmentStatus(apiClient_t *apiClient, char *name, char *pretty) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -8119,7 +8119,7 @@ StorageV1API_readVolumeAttachmentStatus(apiClient_t *apiClient, char * name , ch // replace the specified CSIDriver // v1_csi_driver_t* -StorageV1API_replaceCSIDriver(apiClient_t *apiClient, char * name , v1_csi_driver_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +StorageV1API_replaceCSIDriver(apiClient_t *apiClient, char *name, v1_csi_driver_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -8311,7 +8311,7 @@ StorageV1API_replaceCSIDriver(apiClient_t *apiClient, char * name , v1_csi_drive // replace the specified CSINode // v1_csi_node_t* -StorageV1API_replaceCSINode(apiClient_t *apiClient, char * name , v1_csi_node_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +StorageV1API_replaceCSINode(apiClient_t *apiClient, char *name, v1_csi_node_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -8503,7 +8503,7 @@ StorageV1API_replaceCSINode(apiClient_t *apiClient, char * name , v1_csi_node_t // replace the specified CSIStorageCapacity // v1_csi_storage_capacity_t* -StorageV1API_replaceNamespacedCSIStorageCapacity(apiClient_t *apiClient, char * name , char * _namespace , v1_csi_storage_capacity_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +StorageV1API_replaceNamespacedCSIStorageCapacity(apiClient_t *apiClient, char *name, char *_namespace, v1_csi_storage_capacity_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -8706,7 +8706,7 @@ StorageV1API_replaceNamespacedCSIStorageCapacity(apiClient_t *apiClient, char * // replace the specified StorageClass // v1_storage_class_t* -StorageV1API_replaceStorageClass(apiClient_t *apiClient, char * name , v1_storage_class_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +StorageV1API_replaceStorageClass(apiClient_t *apiClient, char *name, v1_storage_class_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -8898,7 +8898,7 @@ StorageV1API_replaceStorageClass(apiClient_t *apiClient, char * name , v1_storag // replace the specified VolumeAttachment // v1_volume_attachment_t* -StorageV1API_replaceVolumeAttachment(apiClient_t *apiClient, char * name , v1_volume_attachment_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +StorageV1API_replaceVolumeAttachment(apiClient_t *apiClient, char *name, v1_volume_attachment_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; @@ -9090,7 +9090,7 @@ StorageV1API_replaceVolumeAttachment(apiClient_t *apiClient, char * name , v1_vo // replace status of the specified VolumeAttachment // v1_volume_attachment_t* -StorageV1API_replaceVolumeAttachmentStatus(apiClient_t *apiClient, char * name , v1_volume_attachment_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ) +StorageV1API_replaceVolumeAttachmentStatus(apiClient_t *apiClient, char *name, v1_volume_attachment_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) { list_t *localVarQueryParameters = list_createList(); list_t *localVarHeaderParameters = NULL; diff --git a/kubernetes/api/StorageV1API.h b/kubernetes/api/StorageV1API.h index e79a305f..4b394ad1 100644 --- a/kubernetes/api/StorageV1API.h +++ b/kubernetes/api/StorageV1API.h @@ -24,91 +24,91 @@ // create a CSIDriver // v1_csi_driver_t* -StorageV1API_createCSIDriver(apiClient_t *apiClient, v1_csi_driver_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +StorageV1API_createCSIDriver(apiClient_t *apiClient, v1_csi_driver_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // create a CSINode // v1_csi_node_t* -StorageV1API_createCSINode(apiClient_t *apiClient, v1_csi_node_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +StorageV1API_createCSINode(apiClient_t *apiClient, v1_csi_node_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // create a CSIStorageCapacity // v1_csi_storage_capacity_t* -StorageV1API_createNamespacedCSIStorageCapacity(apiClient_t *apiClient, char * _namespace , v1_csi_storage_capacity_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +StorageV1API_createNamespacedCSIStorageCapacity(apiClient_t *apiClient, char *_namespace, v1_csi_storage_capacity_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // create a StorageClass // v1_storage_class_t* -StorageV1API_createStorageClass(apiClient_t *apiClient, v1_storage_class_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +StorageV1API_createStorageClass(apiClient_t *apiClient, v1_storage_class_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // create a VolumeAttachment // v1_volume_attachment_t* -StorageV1API_createVolumeAttachment(apiClient_t *apiClient, v1_volume_attachment_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +StorageV1API_createVolumeAttachment(apiClient_t *apiClient, v1_volume_attachment_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // delete a CSIDriver // v1_csi_driver_t* -StorageV1API_deleteCSIDriver(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +StorageV1API_deleteCSIDriver(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // delete a CSINode // v1_csi_node_t* -StorageV1API_deleteCSINode(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +StorageV1API_deleteCSINode(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // delete collection of CSIDriver // v1_status_t* -StorageV1API_deleteCollectionCSIDriver(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +StorageV1API_deleteCollectionCSIDriver(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); // delete collection of CSINode // v1_status_t* -StorageV1API_deleteCollectionCSINode(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +StorageV1API_deleteCollectionCSINode(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); // delete collection of CSIStorageCapacity // v1_status_t* -StorageV1API_deleteCollectionNamespacedCSIStorageCapacity(apiClient_t *apiClient, char * _namespace , char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +StorageV1API_deleteCollectionNamespacedCSIStorageCapacity(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); // delete collection of StorageClass // v1_status_t* -StorageV1API_deleteCollectionStorageClass(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +StorageV1API_deleteCollectionStorageClass(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); // delete collection of VolumeAttachment // v1_status_t* -StorageV1API_deleteCollectionVolumeAttachment(apiClient_t *apiClient, char * pretty , char * _continue , char * dryRun , char * fieldSelector , int gracePeriodSeconds , char * labelSelector , int limit , int orphanDependents , char * propagationPolicy , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , v1_delete_options_t * body ); +StorageV1API_deleteCollectionVolumeAttachment(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); // delete a CSIStorageCapacity // v1_status_t* -StorageV1API_deleteNamespacedCSIStorageCapacity(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +StorageV1API_deleteNamespacedCSIStorageCapacity(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // delete a StorageClass // v1_storage_class_t* -StorageV1API_deleteStorageClass(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +StorageV1API_deleteStorageClass(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // delete a VolumeAttachment // v1_volume_attachment_t* -StorageV1API_deleteVolumeAttachment(apiClient_t *apiClient, char * name , char * pretty , char * dryRun , int gracePeriodSeconds , int orphanDependents , char * propagationPolicy , v1_delete_options_t * body ); +StorageV1API_deleteVolumeAttachment(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); // get available resources @@ -120,144 +120,144 @@ StorageV1API_getAPIResources(apiClient_t *apiClient); // list or watch objects of kind CSIDriver // v1_csi_driver_list_t* -StorageV1API_listCSIDriver(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +StorageV1API_listCSIDriver(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind CSINode // v1_csi_node_list_t* -StorageV1API_listCSINode(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +StorageV1API_listCSINode(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind CSIStorageCapacity // v1_csi_storage_capacity_list_t* -StorageV1API_listCSIStorageCapacityForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * pretty , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +StorageV1API_listCSIStorageCapacityForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind CSIStorageCapacity // v1_csi_storage_capacity_list_t* -StorageV1API_listNamespacedCSIStorageCapacity(apiClient_t *apiClient, char * _namespace , char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +StorageV1API_listNamespacedCSIStorageCapacity(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind StorageClass // v1_storage_class_list_t* -StorageV1API_listStorageClass(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +StorageV1API_listStorageClass(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // list or watch objects of kind VolumeAttachment // v1_volume_attachment_list_t* -StorageV1API_listVolumeAttachment(apiClient_t *apiClient, char * pretty , int allowWatchBookmarks , char * _continue , char * fieldSelector , char * labelSelector , int limit , char * resourceVersion , char * resourceVersionMatch , int sendInitialEvents , int timeoutSeconds , int watch ); +StorageV1API_listVolumeAttachment(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); // partially update the specified CSIDriver // v1_csi_driver_t* -StorageV1API_patchCSIDriver(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +StorageV1API_patchCSIDriver(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update the specified CSINode // v1_csi_node_t* -StorageV1API_patchCSINode(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +StorageV1API_patchCSINode(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update the specified CSIStorageCapacity // v1_csi_storage_capacity_t* -StorageV1API_patchNamespacedCSIStorageCapacity(apiClient_t *apiClient, char * name , char * _namespace , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +StorageV1API_patchNamespacedCSIStorageCapacity(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update the specified StorageClass // v1_storage_class_t* -StorageV1API_patchStorageClass(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +StorageV1API_patchStorageClass(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update the specified VolumeAttachment // v1_volume_attachment_t* -StorageV1API_patchVolumeAttachment(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +StorageV1API_patchVolumeAttachment(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // partially update status of the specified VolumeAttachment // v1_volume_attachment_t* -StorageV1API_patchVolumeAttachmentStatus(apiClient_t *apiClient, char * name , object_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation , int force ); +StorageV1API_patchVolumeAttachmentStatus(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); // read the specified CSIDriver // v1_csi_driver_t* -StorageV1API_readCSIDriver(apiClient_t *apiClient, char * name , char * pretty ); +StorageV1API_readCSIDriver(apiClient_t *apiClient, char *name, char *pretty); // read the specified CSINode // v1_csi_node_t* -StorageV1API_readCSINode(apiClient_t *apiClient, char * name , char * pretty ); +StorageV1API_readCSINode(apiClient_t *apiClient, char *name, char *pretty); // read the specified CSIStorageCapacity // v1_csi_storage_capacity_t* -StorageV1API_readNamespacedCSIStorageCapacity(apiClient_t *apiClient, char * name , char * _namespace , char * pretty ); +StorageV1API_readNamespacedCSIStorageCapacity(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); // read the specified StorageClass // v1_storage_class_t* -StorageV1API_readStorageClass(apiClient_t *apiClient, char * name , char * pretty ); +StorageV1API_readStorageClass(apiClient_t *apiClient, char *name, char *pretty); // read the specified VolumeAttachment // v1_volume_attachment_t* -StorageV1API_readVolumeAttachment(apiClient_t *apiClient, char * name , char * pretty ); +StorageV1API_readVolumeAttachment(apiClient_t *apiClient, char *name, char *pretty); // read status of the specified VolumeAttachment // v1_volume_attachment_t* -StorageV1API_readVolumeAttachmentStatus(apiClient_t *apiClient, char * name , char * pretty ); +StorageV1API_readVolumeAttachmentStatus(apiClient_t *apiClient, char *name, char *pretty); // replace the specified CSIDriver // v1_csi_driver_t* -StorageV1API_replaceCSIDriver(apiClient_t *apiClient, char * name , v1_csi_driver_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +StorageV1API_replaceCSIDriver(apiClient_t *apiClient, char *name, v1_csi_driver_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace the specified CSINode // v1_csi_node_t* -StorageV1API_replaceCSINode(apiClient_t *apiClient, char * name , v1_csi_node_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +StorageV1API_replaceCSINode(apiClient_t *apiClient, char *name, v1_csi_node_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace the specified CSIStorageCapacity // v1_csi_storage_capacity_t* -StorageV1API_replaceNamespacedCSIStorageCapacity(apiClient_t *apiClient, char * name , char * _namespace , v1_csi_storage_capacity_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +StorageV1API_replaceNamespacedCSIStorageCapacity(apiClient_t *apiClient, char *name, char *_namespace, v1_csi_storage_capacity_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace the specified StorageClass // v1_storage_class_t* -StorageV1API_replaceStorageClass(apiClient_t *apiClient, char * name , v1_storage_class_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +StorageV1API_replaceStorageClass(apiClient_t *apiClient, char *name, v1_storage_class_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace the specified VolumeAttachment // v1_volume_attachment_t* -StorageV1API_replaceVolumeAttachment(apiClient_t *apiClient, char * name , v1_volume_attachment_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +StorageV1API_replaceVolumeAttachment(apiClient_t *apiClient, char *name, v1_volume_attachment_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); // replace status of the specified VolumeAttachment // v1_volume_attachment_t* -StorageV1API_replaceVolumeAttachmentStatus(apiClient_t *apiClient, char * name , v1_volume_attachment_t * body , char * pretty , char * dryRun , char * fieldManager , char * fieldValidation ); +StorageV1API_replaceVolumeAttachmentStatus(apiClient_t *apiClient, char *name, v1_volume_attachment_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); diff --git a/kubernetes/api/StorageV1alpha1API.c b/kubernetes/api/StorageV1alpha1API.c new file mode 100644 index 00000000..1fef82cf --- /dev/null +++ b/kubernetes/api/StorageV1alpha1API.c @@ -0,0 +1,1735 @@ +#include +#include +#include +#include "StorageV1alpha1API.h" + +#define MAX_NUMBER_LENGTH 16 +#define MAX_BUFFER_LENGTH 4096 +#define intToStr(dst, src) \ + do {\ + char dst[256];\ + snprintf(dst, 256, "%ld", (long int)(src));\ +}while(0) + + +// create a VolumeAttributesClass +// +v1alpha1_volume_attributes_class_t* +StorageV1alpha1API_createVolumeAttributesClass(apiClient_t *apiClient, v1alpha1_volume_attributes_class_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) +{ + list_t *localVarQueryParameters = list_createList(); + list_t *localVarHeaderParameters = NULL; + list_t *localVarFormParameters = NULL; + list_t *localVarHeaderType = list_createList(); + list_t *localVarContentType = NULL; + char *localVarBodyParameters = NULL; + + // create the path + long sizeOfPath = strlen("/apis/storage.k8s.io/v1alpha1/volumeattributesclasses")+1; + char *localVarPath = malloc(sizeOfPath); + snprintf(localVarPath, sizeOfPath, "/apis/storage.k8s.io/v1alpha1/volumeattributesclasses"); + + + + + // query parameters + char *keyQuery_pretty = NULL; + char * valueQuery_pretty = NULL; + keyValuePair_t *keyPairQuery_pretty = 0; + if (pretty) + { + keyQuery_pretty = strdup("pretty"); + valueQuery_pretty = strdup((pretty)); + keyPairQuery_pretty = keyValuePair_create(keyQuery_pretty, valueQuery_pretty); + list_addElement(localVarQueryParameters,keyPairQuery_pretty); + } + + // query parameters + char *keyQuery_dryRun = NULL; + char * valueQuery_dryRun = NULL; + keyValuePair_t *keyPairQuery_dryRun = 0; + if (dryRun) + { + keyQuery_dryRun = strdup("dryRun"); + valueQuery_dryRun = strdup((dryRun)); + keyPairQuery_dryRun = keyValuePair_create(keyQuery_dryRun, valueQuery_dryRun); + list_addElement(localVarQueryParameters,keyPairQuery_dryRun); + } + + // query parameters + char *keyQuery_fieldManager = NULL; + char * valueQuery_fieldManager = NULL; + keyValuePair_t *keyPairQuery_fieldManager = 0; + if (fieldManager) + { + keyQuery_fieldManager = strdup("fieldManager"); + valueQuery_fieldManager = strdup((fieldManager)); + keyPairQuery_fieldManager = keyValuePair_create(keyQuery_fieldManager, valueQuery_fieldManager); + list_addElement(localVarQueryParameters,keyPairQuery_fieldManager); + } + + // query parameters + char *keyQuery_fieldValidation = NULL; + char * valueQuery_fieldValidation = NULL; + keyValuePair_t *keyPairQuery_fieldValidation = 0; + if (fieldValidation) + { + keyQuery_fieldValidation = strdup("fieldValidation"); + valueQuery_fieldValidation = strdup((fieldValidation)); + keyPairQuery_fieldValidation = keyValuePair_create(keyQuery_fieldValidation, valueQuery_fieldValidation); + list_addElement(localVarQueryParameters,keyPairQuery_fieldValidation); + } + + // Body Param + cJSON *localVarSingleItemJSON_body = NULL; + if (body != NULL) + { + //string + localVarSingleItemJSON_body = v1alpha1_volume_attributes_class_convertToJSON(body); + localVarBodyParameters = cJSON_Print(localVarSingleItemJSON_body); + } + list_addElement(localVarHeaderType,"application/json"); //produces + list_addElement(localVarHeaderType,"application/yaml"); //produces + list_addElement(localVarHeaderType,"application/vnd.kubernetes.protobuf"); //produces + apiClient_invoke(apiClient, + localVarPath, + localVarQueryParameters, + localVarHeaderParameters, + localVarFormParameters, + localVarHeaderType, + localVarContentType, + localVarBodyParameters, + "POST"); + + // uncomment below to debug the error response + //if (apiClient->response_code == 200) { + // printf("%s\n","OK"); + //} + // uncomment below to debug the error response + //if (apiClient->response_code == 201) { + // printf("%s\n","Created"); + //} + // uncomment below to debug the error response + //if (apiClient->response_code == 202) { + // printf("%s\n","Accepted"); + //} + // uncomment below to debug the error response + //if (apiClient->response_code == 401) { + // printf("%s\n","Unauthorized"); + //} + //nonprimitive not container + cJSON *StorageV1alpha1APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); + v1alpha1_volume_attributes_class_t *elementToReturn = v1alpha1_volume_attributes_class_parseFromJSON(StorageV1alpha1APIlocalVarJSON); + cJSON_Delete(StorageV1alpha1APIlocalVarJSON); + if(elementToReturn == NULL) { + // return 0; + } + + //return type + if (apiClient->dataReceived) { + free(apiClient->dataReceived); + apiClient->dataReceived = NULL; + apiClient->dataReceivedLen = 0; + } + list_freeList(localVarQueryParameters); + + + list_freeList(localVarHeaderType); + + free(localVarPath); + if (localVarSingleItemJSON_body) { + cJSON_Delete(localVarSingleItemJSON_body); + localVarSingleItemJSON_body = NULL; + } + free(localVarBodyParameters); + if(keyQuery_pretty){ + free(keyQuery_pretty); + keyQuery_pretty = NULL; + } + if(valueQuery_pretty){ + free(valueQuery_pretty); + valueQuery_pretty = NULL; + } + if(keyPairQuery_pretty){ + keyValuePair_free(keyPairQuery_pretty); + keyPairQuery_pretty = NULL; + } + if(keyQuery_dryRun){ + free(keyQuery_dryRun); + keyQuery_dryRun = NULL; + } + if(valueQuery_dryRun){ + free(valueQuery_dryRun); + valueQuery_dryRun = NULL; + } + if(keyPairQuery_dryRun){ + keyValuePair_free(keyPairQuery_dryRun); + keyPairQuery_dryRun = NULL; + } + if(keyQuery_fieldManager){ + free(keyQuery_fieldManager); + keyQuery_fieldManager = NULL; + } + if(valueQuery_fieldManager){ + free(valueQuery_fieldManager); + valueQuery_fieldManager = NULL; + } + if(keyPairQuery_fieldManager){ + keyValuePair_free(keyPairQuery_fieldManager); + keyPairQuery_fieldManager = NULL; + } + if(keyQuery_fieldValidation){ + free(keyQuery_fieldValidation); + keyQuery_fieldValidation = NULL; + } + if(valueQuery_fieldValidation){ + free(valueQuery_fieldValidation); + valueQuery_fieldValidation = NULL; + } + if(keyPairQuery_fieldValidation){ + keyValuePair_free(keyPairQuery_fieldValidation); + keyPairQuery_fieldValidation = NULL; + } + return elementToReturn; +end: + free(localVarPath); + return NULL; + +} + +// delete collection of VolumeAttributesClass +// +v1_status_t* +StorageV1alpha1API_deleteCollectionVolumeAttributesClass(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body) +{ + list_t *localVarQueryParameters = list_createList(); + list_t *localVarHeaderParameters = NULL; + list_t *localVarFormParameters = NULL; + list_t *localVarHeaderType = list_createList(); + list_t *localVarContentType = NULL; + char *localVarBodyParameters = NULL; + + // create the path + long sizeOfPath = strlen("/apis/storage.k8s.io/v1alpha1/volumeattributesclasses")+1; + char *localVarPath = malloc(sizeOfPath); + snprintf(localVarPath, sizeOfPath, "/apis/storage.k8s.io/v1alpha1/volumeattributesclasses"); + + + + + // query parameters + char *keyQuery_pretty = NULL; + char * valueQuery_pretty = NULL; + keyValuePair_t *keyPairQuery_pretty = 0; + if (pretty) + { + keyQuery_pretty = strdup("pretty"); + valueQuery_pretty = strdup((pretty)); + keyPairQuery_pretty = keyValuePair_create(keyQuery_pretty, valueQuery_pretty); + list_addElement(localVarQueryParameters,keyPairQuery_pretty); + } + + // query parameters + char *keyQuery__continue = NULL; + char * valueQuery__continue = NULL; + keyValuePair_t *keyPairQuery__continue = 0; + if (_continue) + { + keyQuery__continue = strdup("continue"); + valueQuery__continue = strdup((_continue)); + keyPairQuery__continue = keyValuePair_create(keyQuery__continue, valueQuery__continue); + list_addElement(localVarQueryParameters,keyPairQuery__continue); + } + + // query parameters + char *keyQuery_dryRun = NULL; + char * valueQuery_dryRun = NULL; + keyValuePair_t *keyPairQuery_dryRun = 0; + if (dryRun) + { + keyQuery_dryRun = strdup("dryRun"); + valueQuery_dryRun = strdup((dryRun)); + keyPairQuery_dryRun = keyValuePair_create(keyQuery_dryRun, valueQuery_dryRun); + list_addElement(localVarQueryParameters,keyPairQuery_dryRun); + } + + // query parameters + char *keyQuery_fieldSelector = NULL; + char * valueQuery_fieldSelector = NULL; + keyValuePair_t *keyPairQuery_fieldSelector = 0; + if (fieldSelector) + { + keyQuery_fieldSelector = strdup("fieldSelector"); + valueQuery_fieldSelector = strdup((fieldSelector)); + keyPairQuery_fieldSelector = keyValuePair_create(keyQuery_fieldSelector, valueQuery_fieldSelector); + list_addElement(localVarQueryParameters,keyPairQuery_fieldSelector); + } + + // query parameters + char *keyQuery_gracePeriodSeconds = NULL; + char * valueQuery_gracePeriodSeconds = NULL; + keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; + if (gracePeriodSeconds) + { + keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); + valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); + keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); + list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); + } + + // query parameters + char *keyQuery_labelSelector = NULL; + char * valueQuery_labelSelector = NULL; + keyValuePair_t *keyPairQuery_labelSelector = 0; + if (labelSelector) + { + keyQuery_labelSelector = strdup("labelSelector"); + valueQuery_labelSelector = strdup((labelSelector)); + keyPairQuery_labelSelector = keyValuePair_create(keyQuery_labelSelector, valueQuery_labelSelector); + list_addElement(localVarQueryParameters,keyPairQuery_labelSelector); + } + + // query parameters + char *keyQuery_limit = NULL; + char * valueQuery_limit = NULL; + keyValuePair_t *keyPairQuery_limit = 0; + if (limit) + { + keyQuery_limit = strdup("limit"); + valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); + keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); + list_addElement(localVarQueryParameters,keyPairQuery_limit); + } + + // query parameters + char *keyQuery_orphanDependents = NULL; + char * valueQuery_orphanDependents = NULL; + keyValuePair_t *keyPairQuery_orphanDependents = 0; + if (orphanDependents) + { + keyQuery_orphanDependents = strdup("orphanDependents"); + valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); + keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); + list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); + } + + // query parameters + char *keyQuery_propagationPolicy = NULL; + char * valueQuery_propagationPolicy = NULL; + keyValuePair_t *keyPairQuery_propagationPolicy = 0; + if (propagationPolicy) + { + keyQuery_propagationPolicy = strdup("propagationPolicy"); + valueQuery_propagationPolicy = strdup((propagationPolicy)); + keyPairQuery_propagationPolicy = keyValuePair_create(keyQuery_propagationPolicy, valueQuery_propagationPolicy); + list_addElement(localVarQueryParameters,keyPairQuery_propagationPolicy); + } + + // query parameters + char *keyQuery_resourceVersion = NULL; + char * valueQuery_resourceVersion = NULL; + keyValuePair_t *keyPairQuery_resourceVersion = 0; + if (resourceVersion) + { + keyQuery_resourceVersion = strdup("resourceVersion"); + valueQuery_resourceVersion = strdup((resourceVersion)); + keyPairQuery_resourceVersion = keyValuePair_create(keyQuery_resourceVersion, valueQuery_resourceVersion); + list_addElement(localVarQueryParameters,keyPairQuery_resourceVersion); + } + + // query parameters + char *keyQuery_resourceVersionMatch = NULL; + char * valueQuery_resourceVersionMatch = NULL; + keyValuePair_t *keyPairQuery_resourceVersionMatch = 0; + if (resourceVersionMatch) + { + keyQuery_resourceVersionMatch = strdup("resourceVersionMatch"); + valueQuery_resourceVersionMatch = strdup((resourceVersionMatch)); + keyPairQuery_resourceVersionMatch = keyValuePair_create(keyQuery_resourceVersionMatch, valueQuery_resourceVersionMatch); + list_addElement(localVarQueryParameters,keyPairQuery_resourceVersionMatch); + } + + // query parameters + char *keyQuery_sendInitialEvents = NULL; + char * valueQuery_sendInitialEvents = NULL; + keyValuePair_t *keyPairQuery_sendInitialEvents = 0; + if (sendInitialEvents) + { + keyQuery_sendInitialEvents = strdup("sendInitialEvents"); + valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); + keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); + list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); + } + + // query parameters + char *keyQuery_timeoutSeconds = NULL; + char * valueQuery_timeoutSeconds = NULL; + keyValuePair_t *keyPairQuery_timeoutSeconds = 0; + if (timeoutSeconds) + { + keyQuery_timeoutSeconds = strdup("timeoutSeconds"); + valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); + keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); + list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); + } + + // Body Param + cJSON *localVarSingleItemJSON_body = NULL; + if (body != NULL) + { + //string + localVarSingleItemJSON_body = v1_delete_options_convertToJSON(body); + localVarBodyParameters = cJSON_Print(localVarSingleItemJSON_body); + } + list_addElement(localVarHeaderType,"application/json"); //produces + list_addElement(localVarHeaderType,"application/yaml"); //produces + list_addElement(localVarHeaderType,"application/vnd.kubernetes.protobuf"); //produces + apiClient_invoke(apiClient, + localVarPath, + localVarQueryParameters, + localVarHeaderParameters, + localVarFormParameters, + localVarHeaderType, + localVarContentType, + localVarBodyParameters, + "DELETE"); + + // uncomment below to debug the error response + //if (apiClient->response_code == 200) { + // printf("%s\n","OK"); + //} + // uncomment below to debug the error response + //if (apiClient->response_code == 401) { + // printf("%s\n","Unauthorized"); + //} + //nonprimitive not container + cJSON *StorageV1alpha1APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); + v1_status_t *elementToReturn = v1_status_parseFromJSON(StorageV1alpha1APIlocalVarJSON); + cJSON_Delete(StorageV1alpha1APIlocalVarJSON); + if(elementToReturn == NULL) { + // return 0; + } + + //return type + if (apiClient->dataReceived) { + free(apiClient->dataReceived); + apiClient->dataReceived = NULL; + apiClient->dataReceivedLen = 0; + } + list_freeList(localVarQueryParameters); + + + list_freeList(localVarHeaderType); + + free(localVarPath); + if (localVarSingleItemJSON_body) { + cJSON_Delete(localVarSingleItemJSON_body); + localVarSingleItemJSON_body = NULL; + } + free(localVarBodyParameters); + if(keyQuery_pretty){ + free(keyQuery_pretty); + keyQuery_pretty = NULL; + } + if(valueQuery_pretty){ + free(valueQuery_pretty); + valueQuery_pretty = NULL; + } + if(keyPairQuery_pretty){ + keyValuePair_free(keyPairQuery_pretty); + keyPairQuery_pretty = NULL; + } + if(keyQuery__continue){ + free(keyQuery__continue); + keyQuery__continue = NULL; + } + if(valueQuery__continue){ + free(valueQuery__continue); + valueQuery__continue = NULL; + } + if(keyPairQuery__continue){ + keyValuePair_free(keyPairQuery__continue); + keyPairQuery__continue = NULL; + } + if(keyQuery_dryRun){ + free(keyQuery_dryRun); + keyQuery_dryRun = NULL; + } + if(valueQuery_dryRun){ + free(valueQuery_dryRun); + valueQuery_dryRun = NULL; + } + if(keyPairQuery_dryRun){ + keyValuePair_free(keyPairQuery_dryRun); + keyPairQuery_dryRun = NULL; + } + if(keyQuery_fieldSelector){ + free(keyQuery_fieldSelector); + keyQuery_fieldSelector = NULL; + } + if(valueQuery_fieldSelector){ + free(valueQuery_fieldSelector); + valueQuery_fieldSelector = NULL; + } + if(keyPairQuery_fieldSelector){ + keyValuePair_free(keyPairQuery_fieldSelector); + keyPairQuery_fieldSelector = NULL; + } + if(keyQuery_gracePeriodSeconds){ + free(keyQuery_gracePeriodSeconds); + keyQuery_gracePeriodSeconds = NULL; + } + if(valueQuery_gracePeriodSeconds){ + free(valueQuery_gracePeriodSeconds); + valueQuery_gracePeriodSeconds = NULL; + } + if(keyPairQuery_gracePeriodSeconds){ + keyValuePair_free(keyPairQuery_gracePeriodSeconds); + keyPairQuery_gracePeriodSeconds = NULL; + } + if(keyQuery_labelSelector){ + free(keyQuery_labelSelector); + keyQuery_labelSelector = NULL; + } + if(valueQuery_labelSelector){ + free(valueQuery_labelSelector); + valueQuery_labelSelector = NULL; + } + if(keyPairQuery_labelSelector){ + keyValuePair_free(keyPairQuery_labelSelector); + keyPairQuery_labelSelector = NULL; + } + if(keyQuery_limit){ + free(keyQuery_limit); + keyQuery_limit = NULL; + } + if(valueQuery_limit){ + free(valueQuery_limit); + valueQuery_limit = NULL; + } + if(keyPairQuery_limit){ + keyValuePair_free(keyPairQuery_limit); + keyPairQuery_limit = NULL; + } + if(keyQuery_orphanDependents){ + free(keyQuery_orphanDependents); + keyQuery_orphanDependents = NULL; + } + if(valueQuery_orphanDependents){ + free(valueQuery_orphanDependents); + valueQuery_orphanDependents = NULL; + } + if(keyPairQuery_orphanDependents){ + keyValuePair_free(keyPairQuery_orphanDependents); + keyPairQuery_orphanDependents = NULL; + } + if(keyQuery_propagationPolicy){ + free(keyQuery_propagationPolicy); + keyQuery_propagationPolicy = NULL; + } + if(valueQuery_propagationPolicy){ + free(valueQuery_propagationPolicy); + valueQuery_propagationPolicy = NULL; + } + if(keyPairQuery_propagationPolicy){ + keyValuePair_free(keyPairQuery_propagationPolicy); + keyPairQuery_propagationPolicy = NULL; + } + if(keyQuery_resourceVersion){ + free(keyQuery_resourceVersion); + keyQuery_resourceVersion = NULL; + } + if(valueQuery_resourceVersion){ + free(valueQuery_resourceVersion); + valueQuery_resourceVersion = NULL; + } + if(keyPairQuery_resourceVersion){ + keyValuePair_free(keyPairQuery_resourceVersion); + keyPairQuery_resourceVersion = NULL; + } + if(keyQuery_resourceVersionMatch){ + free(keyQuery_resourceVersionMatch); + keyQuery_resourceVersionMatch = NULL; + } + if(valueQuery_resourceVersionMatch){ + free(valueQuery_resourceVersionMatch); + valueQuery_resourceVersionMatch = NULL; + } + if(keyPairQuery_resourceVersionMatch){ + keyValuePair_free(keyPairQuery_resourceVersionMatch); + keyPairQuery_resourceVersionMatch = NULL; + } + if(keyQuery_sendInitialEvents){ + free(keyQuery_sendInitialEvents); + keyQuery_sendInitialEvents = NULL; + } + if(valueQuery_sendInitialEvents){ + free(valueQuery_sendInitialEvents); + valueQuery_sendInitialEvents = NULL; + } + if(keyPairQuery_sendInitialEvents){ + keyValuePair_free(keyPairQuery_sendInitialEvents); + keyPairQuery_sendInitialEvents = NULL; + } + if(keyQuery_timeoutSeconds){ + free(keyQuery_timeoutSeconds); + keyQuery_timeoutSeconds = NULL; + } + if(valueQuery_timeoutSeconds){ + free(valueQuery_timeoutSeconds); + valueQuery_timeoutSeconds = NULL; + } + if(keyPairQuery_timeoutSeconds){ + keyValuePair_free(keyPairQuery_timeoutSeconds); + keyPairQuery_timeoutSeconds = NULL; + } + return elementToReturn; +end: + free(localVarPath); + return NULL; + +} + +// delete a VolumeAttributesClass +// +v1alpha1_volume_attributes_class_t* +StorageV1alpha1API_deleteVolumeAttributesClass(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body) +{ + list_t *localVarQueryParameters = list_createList(); + list_t *localVarHeaderParameters = NULL; + list_t *localVarFormParameters = NULL; + list_t *localVarHeaderType = list_createList(); + list_t *localVarContentType = NULL; + char *localVarBodyParameters = NULL; + + // create the path + long sizeOfPath = strlen("/apis/storage.k8s.io/v1alpha1/volumeattributesclasses/{name}")+1; + char *localVarPath = malloc(sizeOfPath); + snprintf(localVarPath, sizeOfPath, "/apis/storage.k8s.io/v1alpha1/volumeattributesclasses/{name}"); + + + // Path Params + long sizeOfPathParams_name = strlen(name)+3 + strlen("{ name }"); + if(name == NULL) { + goto end; + } + char* localVarToReplace_name = malloc(sizeOfPathParams_name); + sprintf(localVarToReplace_name, "{%s}", "name"); + + localVarPath = strReplace(localVarPath, localVarToReplace_name, name); + + + + // query parameters + char *keyQuery_pretty = NULL; + char * valueQuery_pretty = NULL; + keyValuePair_t *keyPairQuery_pretty = 0; + if (pretty) + { + keyQuery_pretty = strdup("pretty"); + valueQuery_pretty = strdup((pretty)); + keyPairQuery_pretty = keyValuePair_create(keyQuery_pretty, valueQuery_pretty); + list_addElement(localVarQueryParameters,keyPairQuery_pretty); + } + + // query parameters + char *keyQuery_dryRun = NULL; + char * valueQuery_dryRun = NULL; + keyValuePair_t *keyPairQuery_dryRun = 0; + if (dryRun) + { + keyQuery_dryRun = strdup("dryRun"); + valueQuery_dryRun = strdup((dryRun)); + keyPairQuery_dryRun = keyValuePair_create(keyQuery_dryRun, valueQuery_dryRun); + list_addElement(localVarQueryParameters,keyPairQuery_dryRun); + } + + // query parameters + char *keyQuery_gracePeriodSeconds = NULL; + char * valueQuery_gracePeriodSeconds = NULL; + keyValuePair_t *keyPairQuery_gracePeriodSeconds = 0; + if (gracePeriodSeconds) + { + keyQuery_gracePeriodSeconds = strdup("gracePeriodSeconds"); + valueQuery_gracePeriodSeconds = calloc(1,MAX_NUMBER_LENGTH); + snprintf(valueQuery_gracePeriodSeconds, MAX_NUMBER_LENGTH, "%d", *gracePeriodSeconds); + keyPairQuery_gracePeriodSeconds = keyValuePair_create(keyQuery_gracePeriodSeconds, valueQuery_gracePeriodSeconds); + list_addElement(localVarQueryParameters,keyPairQuery_gracePeriodSeconds); + } + + // query parameters + char *keyQuery_orphanDependents = NULL; + char * valueQuery_orphanDependents = NULL; + keyValuePair_t *keyPairQuery_orphanDependents = 0; + if (orphanDependents) + { + keyQuery_orphanDependents = strdup("orphanDependents"); + valueQuery_orphanDependents = calloc(1,MAX_NUMBER_LENGTH); + snprintf(valueQuery_orphanDependents, MAX_NUMBER_LENGTH, "%d", *orphanDependents); + keyPairQuery_orphanDependents = keyValuePair_create(keyQuery_orphanDependents, valueQuery_orphanDependents); + list_addElement(localVarQueryParameters,keyPairQuery_orphanDependents); + } + + // query parameters + char *keyQuery_propagationPolicy = NULL; + char * valueQuery_propagationPolicy = NULL; + keyValuePair_t *keyPairQuery_propagationPolicy = 0; + if (propagationPolicy) + { + keyQuery_propagationPolicy = strdup("propagationPolicy"); + valueQuery_propagationPolicy = strdup((propagationPolicy)); + keyPairQuery_propagationPolicy = keyValuePair_create(keyQuery_propagationPolicy, valueQuery_propagationPolicy); + list_addElement(localVarQueryParameters,keyPairQuery_propagationPolicy); + } + + // Body Param + cJSON *localVarSingleItemJSON_body = NULL; + if (body != NULL) + { + //string + localVarSingleItemJSON_body = v1_delete_options_convertToJSON(body); + localVarBodyParameters = cJSON_Print(localVarSingleItemJSON_body); + } + list_addElement(localVarHeaderType,"application/json"); //produces + list_addElement(localVarHeaderType,"application/yaml"); //produces + list_addElement(localVarHeaderType,"application/vnd.kubernetes.protobuf"); //produces + apiClient_invoke(apiClient, + localVarPath, + localVarQueryParameters, + localVarHeaderParameters, + localVarFormParameters, + localVarHeaderType, + localVarContentType, + localVarBodyParameters, + "DELETE"); + + // uncomment below to debug the error response + //if (apiClient->response_code == 200) { + // printf("%s\n","OK"); + //} + // uncomment below to debug the error response + //if (apiClient->response_code == 202) { + // printf("%s\n","Accepted"); + //} + // uncomment below to debug the error response + //if (apiClient->response_code == 401) { + // printf("%s\n","Unauthorized"); + //} + //nonprimitive not container + cJSON *StorageV1alpha1APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); + v1alpha1_volume_attributes_class_t *elementToReturn = v1alpha1_volume_attributes_class_parseFromJSON(StorageV1alpha1APIlocalVarJSON); + cJSON_Delete(StorageV1alpha1APIlocalVarJSON); + if(elementToReturn == NULL) { + // return 0; + } + + //return type + if (apiClient->dataReceived) { + free(apiClient->dataReceived); + apiClient->dataReceived = NULL; + apiClient->dataReceivedLen = 0; + } + list_freeList(localVarQueryParameters); + + + list_freeList(localVarHeaderType); + + free(localVarPath); + free(localVarToReplace_name); + if (localVarSingleItemJSON_body) { + cJSON_Delete(localVarSingleItemJSON_body); + localVarSingleItemJSON_body = NULL; + } + free(localVarBodyParameters); + if(keyQuery_pretty){ + free(keyQuery_pretty); + keyQuery_pretty = NULL; + } + if(valueQuery_pretty){ + free(valueQuery_pretty); + valueQuery_pretty = NULL; + } + if(keyPairQuery_pretty){ + keyValuePair_free(keyPairQuery_pretty); + keyPairQuery_pretty = NULL; + } + if(keyQuery_dryRun){ + free(keyQuery_dryRun); + keyQuery_dryRun = NULL; + } + if(valueQuery_dryRun){ + free(valueQuery_dryRun); + valueQuery_dryRun = NULL; + } + if(keyPairQuery_dryRun){ + keyValuePair_free(keyPairQuery_dryRun); + keyPairQuery_dryRun = NULL; + } + if(keyQuery_gracePeriodSeconds){ + free(keyQuery_gracePeriodSeconds); + keyQuery_gracePeriodSeconds = NULL; + } + if(valueQuery_gracePeriodSeconds){ + free(valueQuery_gracePeriodSeconds); + valueQuery_gracePeriodSeconds = NULL; + } + if(keyPairQuery_gracePeriodSeconds){ + keyValuePair_free(keyPairQuery_gracePeriodSeconds); + keyPairQuery_gracePeriodSeconds = NULL; + } + if(keyQuery_orphanDependents){ + free(keyQuery_orphanDependents); + keyQuery_orphanDependents = NULL; + } + if(valueQuery_orphanDependents){ + free(valueQuery_orphanDependents); + valueQuery_orphanDependents = NULL; + } + if(keyPairQuery_orphanDependents){ + keyValuePair_free(keyPairQuery_orphanDependents); + keyPairQuery_orphanDependents = NULL; + } + if(keyQuery_propagationPolicy){ + free(keyQuery_propagationPolicy); + keyQuery_propagationPolicy = NULL; + } + if(valueQuery_propagationPolicy){ + free(valueQuery_propagationPolicy); + valueQuery_propagationPolicy = NULL; + } + if(keyPairQuery_propagationPolicy){ + keyValuePair_free(keyPairQuery_propagationPolicy); + keyPairQuery_propagationPolicy = NULL; + } + return elementToReturn; +end: + free(localVarPath); + return NULL; + +} + +// get available resources +// +v1_api_resource_list_t* +StorageV1alpha1API_getAPIResources(apiClient_t *apiClient) +{ + list_t *localVarQueryParameters = NULL; + list_t *localVarHeaderParameters = NULL; + list_t *localVarFormParameters = NULL; + list_t *localVarHeaderType = list_createList(); + list_t *localVarContentType = NULL; + char *localVarBodyParameters = NULL; + + // create the path + long sizeOfPath = strlen("/apis/storage.k8s.io/v1alpha1/")+1; + char *localVarPath = malloc(sizeOfPath); + snprintf(localVarPath, sizeOfPath, "/apis/storage.k8s.io/v1alpha1/"); + + + + list_addElement(localVarHeaderType,"application/json"); //produces + list_addElement(localVarHeaderType,"application/yaml"); //produces + list_addElement(localVarHeaderType,"application/vnd.kubernetes.protobuf"); //produces + apiClient_invoke(apiClient, + localVarPath, + localVarQueryParameters, + localVarHeaderParameters, + localVarFormParameters, + localVarHeaderType, + localVarContentType, + localVarBodyParameters, + "GET"); + + // uncomment below to debug the error response + //if (apiClient->response_code == 200) { + // printf("%s\n","OK"); + //} + // uncomment below to debug the error response + //if (apiClient->response_code == 401) { + // printf("%s\n","Unauthorized"); + //} + //nonprimitive not container + cJSON *StorageV1alpha1APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); + v1_api_resource_list_t *elementToReturn = v1_api_resource_list_parseFromJSON(StorageV1alpha1APIlocalVarJSON); + cJSON_Delete(StorageV1alpha1APIlocalVarJSON); + if(elementToReturn == NULL) { + // return 0; + } + + //return type + if (apiClient->dataReceived) { + free(apiClient->dataReceived); + apiClient->dataReceived = NULL; + apiClient->dataReceivedLen = 0; + } + + + + list_freeList(localVarHeaderType); + + free(localVarPath); + return elementToReturn; +end: + free(localVarPath); + return NULL; + +} + +// list or watch objects of kind VolumeAttributesClass +// +v1alpha1_volume_attributes_class_list_t* +StorageV1alpha1API_listVolumeAttributesClass(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch) +{ + list_t *localVarQueryParameters = list_createList(); + list_t *localVarHeaderParameters = NULL; + list_t *localVarFormParameters = NULL; + list_t *localVarHeaderType = list_createList(); + list_t *localVarContentType = NULL; + char *localVarBodyParameters = NULL; + + // create the path + long sizeOfPath = strlen("/apis/storage.k8s.io/v1alpha1/volumeattributesclasses")+1; + char *localVarPath = malloc(sizeOfPath); + snprintf(localVarPath, sizeOfPath, "/apis/storage.k8s.io/v1alpha1/volumeattributesclasses"); + + + + + // query parameters + char *keyQuery_pretty = NULL; + char * valueQuery_pretty = NULL; + keyValuePair_t *keyPairQuery_pretty = 0; + if (pretty) + { + keyQuery_pretty = strdup("pretty"); + valueQuery_pretty = strdup((pretty)); + keyPairQuery_pretty = keyValuePair_create(keyQuery_pretty, valueQuery_pretty); + list_addElement(localVarQueryParameters,keyPairQuery_pretty); + } + + // query parameters + char *keyQuery_allowWatchBookmarks = NULL; + char * valueQuery_allowWatchBookmarks = NULL; + keyValuePair_t *keyPairQuery_allowWatchBookmarks = 0; + if (allowWatchBookmarks) + { + keyQuery_allowWatchBookmarks = strdup("allowWatchBookmarks"); + valueQuery_allowWatchBookmarks = calloc(1,MAX_NUMBER_LENGTH); + snprintf(valueQuery_allowWatchBookmarks, MAX_NUMBER_LENGTH, "%d", *allowWatchBookmarks); + keyPairQuery_allowWatchBookmarks = keyValuePair_create(keyQuery_allowWatchBookmarks, valueQuery_allowWatchBookmarks); + list_addElement(localVarQueryParameters,keyPairQuery_allowWatchBookmarks); + } + + // query parameters + char *keyQuery__continue = NULL; + char * valueQuery__continue = NULL; + keyValuePair_t *keyPairQuery__continue = 0; + if (_continue) + { + keyQuery__continue = strdup("continue"); + valueQuery__continue = strdup((_continue)); + keyPairQuery__continue = keyValuePair_create(keyQuery__continue, valueQuery__continue); + list_addElement(localVarQueryParameters,keyPairQuery__continue); + } + + // query parameters + char *keyQuery_fieldSelector = NULL; + char * valueQuery_fieldSelector = NULL; + keyValuePair_t *keyPairQuery_fieldSelector = 0; + if (fieldSelector) + { + keyQuery_fieldSelector = strdup("fieldSelector"); + valueQuery_fieldSelector = strdup((fieldSelector)); + keyPairQuery_fieldSelector = keyValuePair_create(keyQuery_fieldSelector, valueQuery_fieldSelector); + list_addElement(localVarQueryParameters,keyPairQuery_fieldSelector); + } + + // query parameters + char *keyQuery_labelSelector = NULL; + char * valueQuery_labelSelector = NULL; + keyValuePair_t *keyPairQuery_labelSelector = 0; + if (labelSelector) + { + keyQuery_labelSelector = strdup("labelSelector"); + valueQuery_labelSelector = strdup((labelSelector)); + keyPairQuery_labelSelector = keyValuePair_create(keyQuery_labelSelector, valueQuery_labelSelector); + list_addElement(localVarQueryParameters,keyPairQuery_labelSelector); + } + + // query parameters + char *keyQuery_limit = NULL; + char * valueQuery_limit = NULL; + keyValuePair_t *keyPairQuery_limit = 0; + if (limit) + { + keyQuery_limit = strdup("limit"); + valueQuery_limit = calloc(1,MAX_NUMBER_LENGTH); + snprintf(valueQuery_limit, MAX_NUMBER_LENGTH, "%d", *limit); + keyPairQuery_limit = keyValuePair_create(keyQuery_limit, valueQuery_limit); + list_addElement(localVarQueryParameters,keyPairQuery_limit); + } + + // query parameters + char *keyQuery_resourceVersion = NULL; + char * valueQuery_resourceVersion = NULL; + keyValuePair_t *keyPairQuery_resourceVersion = 0; + if (resourceVersion) + { + keyQuery_resourceVersion = strdup("resourceVersion"); + valueQuery_resourceVersion = strdup((resourceVersion)); + keyPairQuery_resourceVersion = keyValuePair_create(keyQuery_resourceVersion, valueQuery_resourceVersion); + list_addElement(localVarQueryParameters,keyPairQuery_resourceVersion); + } + + // query parameters + char *keyQuery_resourceVersionMatch = NULL; + char * valueQuery_resourceVersionMatch = NULL; + keyValuePair_t *keyPairQuery_resourceVersionMatch = 0; + if (resourceVersionMatch) + { + keyQuery_resourceVersionMatch = strdup("resourceVersionMatch"); + valueQuery_resourceVersionMatch = strdup((resourceVersionMatch)); + keyPairQuery_resourceVersionMatch = keyValuePair_create(keyQuery_resourceVersionMatch, valueQuery_resourceVersionMatch); + list_addElement(localVarQueryParameters,keyPairQuery_resourceVersionMatch); + } + + // query parameters + char *keyQuery_sendInitialEvents = NULL; + char * valueQuery_sendInitialEvents = NULL; + keyValuePair_t *keyPairQuery_sendInitialEvents = 0; + if (sendInitialEvents) + { + keyQuery_sendInitialEvents = strdup("sendInitialEvents"); + valueQuery_sendInitialEvents = calloc(1,MAX_NUMBER_LENGTH); + snprintf(valueQuery_sendInitialEvents, MAX_NUMBER_LENGTH, "%d", *sendInitialEvents); + keyPairQuery_sendInitialEvents = keyValuePair_create(keyQuery_sendInitialEvents, valueQuery_sendInitialEvents); + list_addElement(localVarQueryParameters,keyPairQuery_sendInitialEvents); + } + + // query parameters + char *keyQuery_timeoutSeconds = NULL; + char * valueQuery_timeoutSeconds = NULL; + keyValuePair_t *keyPairQuery_timeoutSeconds = 0; + if (timeoutSeconds) + { + keyQuery_timeoutSeconds = strdup("timeoutSeconds"); + valueQuery_timeoutSeconds = calloc(1,MAX_NUMBER_LENGTH); + snprintf(valueQuery_timeoutSeconds, MAX_NUMBER_LENGTH, "%d", *timeoutSeconds); + keyPairQuery_timeoutSeconds = keyValuePair_create(keyQuery_timeoutSeconds, valueQuery_timeoutSeconds); + list_addElement(localVarQueryParameters,keyPairQuery_timeoutSeconds); + } + + // query parameters + char *keyQuery_watch = NULL; + char * valueQuery_watch = NULL; + keyValuePair_t *keyPairQuery_watch = 0; + if (watch) + { + keyQuery_watch = strdup("watch"); + valueQuery_watch = calloc(1,MAX_NUMBER_LENGTH); + snprintf(valueQuery_watch, MAX_NUMBER_LENGTH, "%d", *watch); + keyPairQuery_watch = keyValuePair_create(keyQuery_watch, valueQuery_watch); + list_addElement(localVarQueryParameters,keyPairQuery_watch); + } + list_addElement(localVarHeaderType,"application/json"); //produces + list_addElement(localVarHeaderType,"application/yaml"); //produces + list_addElement(localVarHeaderType,"application/vnd.kubernetes.protobuf"); //produces + list_addElement(localVarHeaderType,"application/json;stream=watch"); //produces + list_addElement(localVarHeaderType,"application/vnd.kubernetes.protobuf;stream=watch"); //produces + apiClient_invoke(apiClient, + localVarPath, + localVarQueryParameters, + localVarHeaderParameters, + localVarFormParameters, + localVarHeaderType, + localVarContentType, + localVarBodyParameters, + "GET"); + + // uncomment below to debug the error response + //if (apiClient->response_code == 200) { + // printf("%s\n","OK"); + //} + // uncomment below to debug the error response + //if (apiClient->response_code == 401) { + // printf("%s\n","Unauthorized"); + //} + //nonprimitive not container + cJSON *StorageV1alpha1APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); + v1alpha1_volume_attributes_class_list_t *elementToReturn = v1alpha1_volume_attributes_class_list_parseFromJSON(StorageV1alpha1APIlocalVarJSON); + cJSON_Delete(StorageV1alpha1APIlocalVarJSON); + if(elementToReturn == NULL) { + // return 0; + } + + //return type + if (apiClient->dataReceived) { + free(apiClient->dataReceived); + apiClient->dataReceived = NULL; + apiClient->dataReceivedLen = 0; + } + list_freeList(localVarQueryParameters); + + + list_freeList(localVarHeaderType); + + free(localVarPath); + if(keyQuery_pretty){ + free(keyQuery_pretty); + keyQuery_pretty = NULL; + } + if(valueQuery_pretty){ + free(valueQuery_pretty); + valueQuery_pretty = NULL; + } + if(keyPairQuery_pretty){ + keyValuePair_free(keyPairQuery_pretty); + keyPairQuery_pretty = NULL; + } + if(keyQuery_allowWatchBookmarks){ + free(keyQuery_allowWatchBookmarks); + keyQuery_allowWatchBookmarks = NULL; + } + if(valueQuery_allowWatchBookmarks){ + free(valueQuery_allowWatchBookmarks); + valueQuery_allowWatchBookmarks = NULL; + } + if(keyPairQuery_allowWatchBookmarks){ + keyValuePair_free(keyPairQuery_allowWatchBookmarks); + keyPairQuery_allowWatchBookmarks = NULL; + } + if(keyQuery__continue){ + free(keyQuery__continue); + keyQuery__continue = NULL; + } + if(valueQuery__continue){ + free(valueQuery__continue); + valueQuery__continue = NULL; + } + if(keyPairQuery__continue){ + keyValuePair_free(keyPairQuery__continue); + keyPairQuery__continue = NULL; + } + if(keyQuery_fieldSelector){ + free(keyQuery_fieldSelector); + keyQuery_fieldSelector = NULL; + } + if(valueQuery_fieldSelector){ + free(valueQuery_fieldSelector); + valueQuery_fieldSelector = NULL; + } + if(keyPairQuery_fieldSelector){ + keyValuePair_free(keyPairQuery_fieldSelector); + keyPairQuery_fieldSelector = NULL; + } + if(keyQuery_labelSelector){ + free(keyQuery_labelSelector); + keyQuery_labelSelector = NULL; + } + if(valueQuery_labelSelector){ + free(valueQuery_labelSelector); + valueQuery_labelSelector = NULL; + } + if(keyPairQuery_labelSelector){ + keyValuePair_free(keyPairQuery_labelSelector); + keyPairQuery_labelSelector = NULL; + } + if(keyQuery_limit){ + free(keyQuery_limit); + keyQuery_limit = NULL; + } + if(valueQuery_limit){ + free(valueQuery_limit); + valueQuery_limit = NULL; + } + if(keyPairQuery_limit){ + keyValuePair_free(keyPairQuery_limit); + keyPairQuery_limit = NULL; + } + if(keyQuery_resourceVersion){ + free(keyQuery_resourceVersion); + keyQuery_resourceVersion = NULL; + } + if(valueQuery_resourceVersion){ + free(valueQuery_resourceVersion); + valueQuery_resourceVersion = NULL; + } + if(keyPairQuery_resourceVersion){ + keyValuePair_free(keyPairQuery_resourceVersion); + keyPairQuery_resourceVersion = NULL; + } + if(keyQuery_resourceVersionMatch){ + free(keyQuery_resourceVersionMatch); + keyQuery_resourceVersionMatch = NULL; + } + if(valueQuery_resourceVersionMatch){ + free(valueQuery_resourceVersionMatch); + valueQuery_resourceVersionMatch = NULL; + } + if(keyPairQuery_resourceVersionMatch){ + keyValuePair_free(keyPairQuery_resourceVersionMatch); + keyPairQuery_resourceVersionMatch = NULL; + } + if(keyQuery_sendInitialEvents){ + free(keyQuery_sendInitialEvents); + keyQuery_sendInitialEvents = NULL; + } + if(valueQuery_sendInitialEvents){ + free(valueQuery_sendInitialEvents); + valueQuery_sendInitialEvents = NULL; + } + if(keyPairQuery_sendInitialEvents){ + keyValuePair_free(keyPairQuery_sendInitialEvents); + keyPairQuery_sendInitialEvents = NULL; + } + if(keyQuery_timeoutSeconds){ + free(keyQuery_timeoutSeconds); + keyQuery_timeoutSeconds = NULL; + } + if(valueQuery_timeoutSeconds){ + free(valueQuery_timeoutSeconds); + valueQuery_timeoutSeconds = NULL; + } + if(keyPairQuery_timeoutSeconds){ + keyValuePair_free(keyPairQuery_timeoutSeconds); + keyPairQuery_timeoutSeconds = NULL; + } + if(keyQuery_watch){ + free(keyQuery_watch); + keyQuery_watch = NULL; + } + if(valueQuery_watch){ + free(valueQuery_watch); + valueQuery_watch = NULL; + } + if(keyPairQuery_watch){ + keyValuePair_free(keyPairQuery_watch); + keyPairQuery_watch = NULL; + } + return elementToReturn; +end: + free(localVarPath); + return NULL; + +} + +// partially update the specified VolumeAttributesClass +// +v1alpha1_volume_attributes_class_t* +StorageV1alpha1API_patchVolumeAttributesClass(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force) +{ + list_t *localVarQueryParameters = list_createList(); + list_t *localVarHeaderParameters = NULL; + list_t *localVarFormParameters = NULL; + list_t *localVarHeaderType = list_createList(); + list_t *localVarContentType = list_createList(); + char *localVarBodyParameters = NULL; + + // create the path + long sizeOfPath = strlen("/apis/storage.k8s.io/v1alpha1/volumeattributesclasses/{name}")+1; + char *localVarPath = malloc(sizeOfPath); + snprintf(localVarPath, sizeOfPath, "/apis/storage.k8s.io/v1alpha1/volumeattributesclasses/{name}"); + + + // Path Params + long sizeOfPathParams_name = strlen(name)+3 + strlen("{ name }"); + if(name == NULL) { + goto end; + } + char* localVarToReplace_name = malloc(sizeOfPathParams_name); + sprintf(localVarToReplace_name, "{%s}", "name"); + + localVarPath = strReplace(localVarPath, localVarToReplace_name, name); + + + + // query parameters + char *keyQuery_pretty = NULL; + char * valueQuery_pretty = NULL; + keyValuePair_t *keyPairQuery_pretty = 0; + if (pretty) + { + keyQuery_pretty = strdup("pretty"); + valueQuery_pretty = strdup((pretty)); + keyPairQuery_pretty = keyValuePair_create(keyQuery_pretty, valueQuery_pretty); + list_addElement(localVarQueryParameters,keyPairQuery_pretty); + } + + // query parameters + char *keyQuery_dryRun = NULL; + char * valueQuery_dryRun = NULL; + keyValuePair_t *keyPairQuery_dryRun = 0; + if (dryRun) + { + keyQuery_dryRun = strdup("dryRun"); + valueQuery_dryRun = strdup((dryRun)); + keyPairQuery_dryRun = keyValuePair_create(keyQuery_dryRun, valueQuery_dryRun); + list_addElement(localVarQueryParameters,keyPairQuery_dryRun); + } + + // query parameters + char *keyQuery_fieldManager = NULL; + char * valueQuery_fieldManager = NULL; + keyValuePair_t *keyPairQuery_fieldManager = 0; + if (fieldManager) + { + keyQuery_fieldManager = strdup("fieldManager"); + valueQuery_fieldManager = strdup((fieldManager)); + keyPairQuery_fieldManager = keyValuePair_create(keyQuery_fieldManager, valueQuery_fieldManager); + list_addElement(localVarQueryParameters,keyPairQuery_fieldManager); + } + + // query parameters + char *keyQuery_fieldValidation = NULL; + char * valueQuery_fieldValidation = NULL; + keyValuePair_t *keyPairQuery_fieldValidation = 0; + if (fieldValidation) + { + keyQuery_fieldValidation = strdup("fieldValidation"); + valueQuery_fieldValidation = strdup((fieldValidation)); + keyPairQuery_fieldValidation = keyValuePair_create(keyQuery_fieldValidation, valueQuery_fieldValidation); + list_addElement(localVarQueryParameters,keyPairQuery_fieldValidation); + } + + // query parameters + char *keyQuery_force = NULL; + char * valueQuery_force = NULL; + keyValuePair_t *keyPairQuery_force = 0; + if (force) + { + keyQuery_force = strdup("force"); + valueQuery_force = calloc(1,MAX_NUMBER_LENGTH); + snprintf(valueQuery_force, MAX_NUMBER_LENGTH, "%d", *force); + keyPairQuery_force = keyValuePair_create(keyQuery_force, valueQuery_force); + list_addElement(localVarQueryParameters,keyPairQuery_force); + } + + // Body Param + cJSON *localVarSingleItemJSON_body = NULL; + if (body != NULL) + { + //string + localVarSingleItemJSON_body = object_convertToJSON(body); + localVarBodyParameters = cJSON_Print(localVarSingleItemJSON_body); + } + list_addElement(localVarHeaderType,"application/json"); //produces + list_addElement(localVarHeaderType,"application/yaml"); //produces + list_addElement(localVarHeaderType,"application/vnd.kubernetes.protobuf"); //produces + list_addElement(localVarContentType,"application/json-patch+json"); //consumes + list_addElement(localVarContentType,"application/merge-patch+json"); //consumes + list_addElement(localVarContentType,"application/strategic-merge-patch+json"); //consumes + list_addElement(localVarContentType,"application/apply-patch+yaml"); //consumes + apiClient_invoke(apiClient, + localVarPath, + localVarQueryParameters, + localVarHeaderParameters, + localVarFormParameters, + localVarHeaderType, + localVarContentType, + localVarBodyParameters, + "PATCH"); + + // uncomment below to debug the error response + //if (apiClient->response_code == 200) { + // printf("%s\n","OK"); + //} + // uncomment below to debug the error response + //if (apiClient->response_code == 201) { + // printf("%s\n","Created"); + //} + // uncomment below to debug the error response + //if (apiClient->response_code == 401) { + // printf("%s\n","Unauthorized"); + //} + //nonprimitive not container + cJSON *StorageV1alpha1APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); + v1alpha1_volume_attributes_class_t *elementToReturn = v1alpha1_volume_attributes_class_parseFromJSON(StorageV1alpha1APIlocalVarJSON); + cJSON_Delete(StorageV1alpha1APIlocalVarJSON); + if(elementToReturn == NULL) { + // return 0; + } + + //return type + if (apiClient->dataReceived) { + free(apiClient->dataReceived); + apiClient->dataReceived = NULL; + apiClient->dataReceivedLen = 0; + } + list_freeList(localVarQueryParameters); + + + list_freeList(localVarHeaderType); + list_freeList(localVarContentType); + free(localVarPath); + free(localVarToReplace_name); + if (localVarSingleItemJSON_body) { + cJSON_Delete(localVarSingleItemJSON_body); + localVarSingleItemJSON_body = NULL; + } + free(localVarBodyParameters); + if(keyQuery_pretty){ + free(keyQuery_pretty); + keyQuery_pretty = NULL; + } + if(valueQuery_pretty){ + free(valueQuery_pretty); + valueQuery_pretty = NULL; + } + if(keyPairQuery_pretty){ + keyValuePair_free(keyPairQuery_pretty); + keyPairQuery_pretty = NULL; + } + if(keyQuery_dryRun){ + free(keyQuery_dryRun); + keyQuery_dryRun = NULL; + } + if(valueQuery_dryRun){ + free(valueQuery_dryRun); + valueQuery_dryRun = NULL; + } + if(keyPairQuery_dryRun){ + keyValuePair_free(keyPairQuery_dryRun); + keyPairQuery_dryRun = NULL; + } + if(keyQuery_fieldManager){ + free(keyQuery_fieldManager); + keyQuery_fieldManager = NULL; + } + if(valueQuery_fieldManager){ + free(valueQuery_fieldManager); + valueQuery_fieldManager = NULL; + } + if(keyPairQuery_fieldManager){ + keyValuePair_free(keyPairQuery_fieldManager); + keyPairQuery_fieldManager = NULL; + } + if(keyQuery_fieldValidation){ + free(keyQuery_fieldValidation); + keyQuery_fieldValidation = NULL; + } + if(valueQuery_fieldValidation){ + free(valueQuery_fieldValidation); + valueQuery_fieldValidation = NULL; + } + if(keyPairQuery_fieldValidation){ + keyValuePair_free(keyPairQuery_fieldValidation); + keyPairQuery_fieldValidation = NULL; + } + if(keyQuery_force){ + free(keyQuery_force); + keyQuery_force = NULL; + } + if(valueQuery_force){ + free(valueQuery_force); + valueQuery_force = NULL; + } + if(keyPairQuery_force){ + keyValuePair_free(keyPairQuery_force); + keyPairQuery_force = NULL; + } + return elementToReturn; +end: + free(localVarPath); + return NULL; + +} + +// read the specified VolumeAttributesClass +// +v1alpha1_volume_attributes_class_t* +StorageV1alpha1API_readVolumeAttributesClass(apiClient_t *apiClient, char *name, char *pretty) +{ + list_t *localVarQueryParameters = list_createList(); + list_t *localVarHeaderParameters = NULL; + list_t *localVarFormParameters = NULL; + list_t *localVarHeaderType = list_createList(); + list_t *localVarContentType = NULL; + char *localVarBodyParameters = NULL; + + // create the path + long sizeOfPath = strlen("/apis/storage.k8s.io/v1alpha1/volumeattributesclasses/{name}")+1; + char *localVarPath = malloc(sizeOfPath); + snprintf(localVarPath, sizeOfPath, "/apis/storage.k8s.io/v1alpha1/volumeattributesclasses/{name}"); + + + // Path Params + long sizeOfPathParams_name = strlen(name)+3 + strlen("{ name }"); + if(name == NULL) { + goto end; + } + char* localVarToReplace_name = malloc(sizeOfPathParams_name); + sprintf(localVarToReplace_name, "{%s}", "name"); + + localVarPath = strReplace(localVarPath, localVarToReplace_name, name); + + + + // query parameters + char *keyQuery_pretty = NULL; + char * valueQuery_pretty = NULL; + keyValuePair_t *keyPairQuery_pretty = 0; + if (pretty) + { + keyQuery_pretty = strdup("pretty"); + valueQuery_pretty = strdup((pretty)); + keyPairQuery_pretty = keyValuePair_create(keyQuery_pretty, valueQuery_pretty); + list_addElement(localVarQueryParameters,keyPairQuery_pretty); + } + list_addElement(localVarHeaderType,"application/json"); //produces + list_addElement(localVarHeaderType,"application/yaml"); //produces + list_addElement(localVarHeaderType,"application/vnd.kubernetes.protobuf"); //produces + apiClient_invoke(apiClient, + localVarPath, + localVarQueryParameters, + localVarHeaderParameters, + localVarFormParameters, + localVarHeaderType, + localVarContentType, + localVarBodyParameters, + "GET"); + + // uncomment below to debug the error response + //if (apiClient->response_code == 200) { + // printf("%s\n","OK"); + //} + // uncomment below to debug the error response + //if (apiClient->response_code == 401) { + // printf("%s\n","Unauthorized"); + //} + //nonprimitive not container + cJSON *StorageV1alpha1APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); + v1alpha1_volume_attributes_class_t *elementToReturn = v1alpha1_volume_attributes_class_parseFromJSON(StorageV1alpha1APIlocalVarJSON); + cJSON_Delete(StorageV1alpha1APIlocalVarJSON); + if(elementToReturn == NULL) { + // return 0; + } + + //return type + if (apiClient->dataReceived) { + free(apiClient->dataReceived); + apiClient->dataReceived = NULL; + apiClient->dataReceivedLen = 0; + } + list_freeList(localVarQueryParameters); + + + list_freeList(localVarHeaderType); + + free(localVarPath); + free(localVarToReplace_name); + if(keyQuery_pretty){ + free(keyQuery_pretty); + keyQuery_pretty = NULL; + } + if(valueQuery_pretty){ + free(valueQuery_pretty); + valueQuery_pretty = NULL; + } + if(keyPairQuery_pretty){ + keyValuePair_free(keyPairQuery_pretty); + keyPairQuery_pretty = NULL; + } + return elementToReturn; +end: + free(localVarPath); + return NULL; + +} + +// replace the specified VolumeAttributesClass +// +v1alpha1_volume_attributes_class_t* +StorageV1alpha1API_replaceVolumeAttributesClass(apiClient_t *apiClient, char *name, v1alpha1_volume_attributes_class_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation) +{ + list_t *localVarQueryParameters = list_createList(); + list_t *localVarHeaderParameters = NULL; + list_t *localVarFormParameters = NULL; + list_t *localVarHeaderType = list_createList(); + list_t *localVarContentType = NULL; + char *localVarBodyParameters = NULL; + + // create the path + long sizeOfPath = strlen("/apis/storage.k8s.io/v1alpha1/volumeattributesclasses/{name}")+1; + char *localVarPath = malloc(sizeOfPath); + snprintf(localVarPath, sizeOfPath, "/apis/storage.k8s.io/v1alpha1/volumeattributesclasses/{name}"); + + + // Path Params + long sizeOfPathParams_name = strlen(name)+3 + strlen("{ name }"); + if(name == NULL) { + goto end; + } + char* localVarToReplace_name = malloc(sizeOfPathParams_name); + sprintf(localVarToReplace_name, "{%s}", "name"); + + localVarPath = strReplace(localVarPath, localVarToReplace_name, name); + + + + // query parameters + char *keyQuery_pretty = NULL; + char * valueQuery_pretty = NULL; + keyValuePair_t *keyPairQuery_pretty = 0; + if (pretty) + { + keyQuery_pretty = strdup("pretty"); + valueQuery_pretty = strdup((pretty)); + keyPairQuery_pretty = keyValuePair_create(keyQuery_pretty, valueQuery_pretty); + list_addElement(localVarQueryParameters,keyPairQuery_pretty); + } + + // query parameters + char *keyQuery_dryRun = NULL; + char * valueQuery_dryRun = NULL; + keyValuePair_t *keyPairQuery_dryRun = 0; + if (dryRun) + { + keyQuery_dryRun = strdup("dryRun"); + valueQuery_dryRun = strdup((dryRun)); + keyPairQuery_dryRun = keyValuePair_create(keyQuery_dryRun, valueQuery_dryRun); + list_addElement(localVarQueryParameters,keyPairQuery_dryRun); + } + + // query parameters + char *keyQuery_fieldManager = NULL; + char * valueQuery_fieldManager = NULL; + keyValuePair_t *keyPairQuery_fieldManager = 0; + if (fieldManager) + { + keyQuery_fieldManager = strdup("fieldManager"); + valueQuery_fieldManager = strdup((fieldManager)); + keyPairQuery_fieldManager = keyValuePair_create(keyQuery_fieldManager, valueQuery_fieldManager); + list_addElement(localVarQueryParameters,keyPairQuery_fieldManager); + } + + // query parameters + char *keyQuery_fieldValidation = NULL; + char * valueQuery_fieldValidation = NULL; + keyValuePair_t *keyPairQuery_fieldValidation = 0; + if (fieldValidation) + { + keyQuery_fieldValidation = strdup("fieldValidation"); + valueQuery_fieldValidation = strdup((fieldValidation)); + keyPairQuery_fieldValidation = keyValuePair_create(keyQuery_fieldValidation, valueQuery_fieldValidation); + list_addElement(localVarQueryParameters,keyPairQuery_fieldValidation); + } + + // Body Param + cJSON *localVarSingleItemJSON_body = NULL; + if (body != NULL) + { + //string + localVarSingleItemJSON_body = v1alpha1_volume_attributes_class_convertToJSON(body); + localVarBodyParameters = cJSON_Print(localVarSingleItemJSON_body); + } + list_addElement(localVarHeaderType,"application/json"); //produces + list_addElement(localVarHeaderType,"application/yaml"); //produces + list_addElement(localVarHeaderType,"application/vnd.kubernetes.protobuf"); //produces + apiClient_invoke(apiClient, + localVarPath, + localVarQueryParameters, + localVarHeaderParameters, + localVarFormParameters, + localVarHeaderType, + localVarContentType, + localVarBodyParameters, + "PUT"); + + // uncomment below to debug the error response + //if (apiClient->response_code == 200) { + // printf("%s\n","OK"); + //} + // uncomment below to debug the error response + //if (apiClient->response_code == 201) { + // printf("%s\n","Created"); + //} + // uncomment below to debug the error response + //if (apiClient->response_code == 401) { + // printf("%s\n","Unauthorized"); + //} + //nonprimitive not container + cJSON *StorageV1alpha1APIlocalVarJSON = cJSON_Parse(apiClient->dataReceived); + v1alpha1_volume_attributes_class_t *elementToReturn = v1alpha1_volume_attributes_class_parseFromJSON(StorageV1alpha1APIlocalVarJSON); + cJSON_Delete(StorageV1alpha1APIlocalVarJSON); + if(elementToReturn == NULL) { + // return 0; + } + + //return type + if (apiClient->dataReceived) { + free(apiClient->dataReceived); + apiClient->dataReceived = NULL; + apiClient->dataReceivedLen = 0; + } + list_freeList(localVarQueryParameters); + + + list_freeList(localVarHeaderType); + + free(localVarPath); + free(localVarToReplace_name); + if (localVarSingleItemJSON_body) { + cJSON_Delete(localVarSingleItemJSON_body); + localVarSingleItemJSON_body = NULL; + } + free(localVarBodyParameters); + if(keyQuery_pretty){ + free(keyQuery_pretty); + keyQuery_pretty = NULL; + } + if(valueQuery_pretty){ + free(valueQuery_pretty); + valueQuery_pretty = NULL; + } + if(keyPairQuery_pretty){ + keyValuePair_free(keyPairQuery_pretty); + keyPairQuery_pretty = NULL; + } + if(keyQuery_dryRun){ + free(keyQuery_dryRun); + keyQuery_dryRun = NULL; + } + if(valueQuery_dryRun){ + free(valueQuery_dryRun); + valueQuery_dryRun = NULL; + } + if(keyPairQuery_dryRun){ + keyValuePair_free(keyPairQuery_dryRun); + keyPairQuery_dryRun = NULL; + } + if(keyQuery_fieldManager){ + free(keyQuery_fieldManager); + keyQuery_fieldManager = NULL; + } + if(valueQuery_fieldManager){ + free(valueQuery_fieldManager); + valueQuery_fieldManager = NULL; + } + if(keyPairQuery_fieldManager){ + keyValuePair_free(keyPairQuery_fieldManager); + keyPairQuery_fieldManager = NULL; + } + if(keyQuery_fieldValidation){ + free(keyQuery_fieldValidation); + keyQuery_fieldValidation = NULL; + } + if(valueQuery_fieldValidation){ + free(valueQuery_fieldValidation); + valueQuery_fieldValidation = NULL; + } + if(keyPairQuery_fieldValidation){ + keyValuePair_free(keyPairQuery_fieldValidation); + keyPairQuery_fieldValidation = NULL; + } + return elementToReturn; +end: + free(localVarPath); + return NULL; + +} + diff --git a/kubernetes/api/StorageV1alpha1API.h b/kubernetes/api/StorageV1alpha1API.h new file mode 100644 index 00000000..5d3b2722 --- /dev/null +++ b/kubernetes/api/StorageV1alpha1API.h @@ -0,0 +1,63 @@ +#include +#include +#include "../include/apiClient.h" +#include "../include/list.h" +#include "../external/cJSON.h" +#include "../include/keyValuePair.h" +#include "../include/binary.h" +#include "../model/object.h" +#include "../model/v1_api_resource_list.h" +#include "../model/v1_delete_options.h" +#include "../model/v1_status.h" +#include "../model/v1alpha1_volume_attributes_class.h" +#include "../model/v1alpha1_volume_attributes_class_list.h" + + +// create a VolumeAttributesClass +// +v1alpha1_volume_attributes_class_t* +StorageV1alpha1API_createVolumeAttributesClass(apiClient_t *apiClient, v1alpha1_volume_attributes_class_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); + + +// delete collection of VolumeAttributesClass +// +v1_status_t* +StorageV1alpha1API_deleteCollectionVolumeAttributesClass(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); + + +// delete a VolumeAttributesClass +// +v1alpha1_volume_attributes_class_t* +StorageV1alpha1API_deleteVolumeAttributesClass(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); + + +// get available resources +// +v1_api_resource_list_t* +StorageV1alpha1API_getAPIResources(apiClient_t *apiClient); + + +// list or watch objects of kind VolumeAttributesClass +// +v1alpha1_volume_attributes_class_list_t* +StorageV1alpha1API_listVolumeAttributesClass(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); + + +// partially update the specified VolumeAttributesClass +// +v1alpha1_volume_attributes_class_t* +StorageV1alpha1API_patchVolumeAttributesClass(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); + + +// read the specified VolumeAttributesClass +// +v1alpha1_volume_attributes_class_t* +StorageV1alpha1API_readVolumeAttributesClass(apiClient_t *apiClient, char *name, char *pretty); + + +// replace the specified VolumeAttributesClass +// +v1alpha1_volume_attributes_class_t* +StorageV1alpha1API_replaceVolumeAttributesClass(apiClient_t *apiClient, char *name, v1alpha1_volume_attributes_class_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); + + diff --git a/kubernetes/docs/AdmissionregistrationV1API.md b/kubernetes/docs/AdmissionregistrationV1API.md index fc13623b..c0043e3d 100644 --- a/kubernetes/docs/AdmissionregistrationV1API.md +++ b/kubernetes/docs/AdmissionregistrationV1API.md @@ -25,7 +25,7 @@ Method | HTTP request | Description ```c // create a MutatingWebhookConfiguration // -v1_mutating_webhook_configuration_t* AdmissionregistrationV1API_createMutatingWebhookConfiguration(apiClient_t *apiClient, v1_mutating_webhook_configuration_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_mutating_webhook_configuration_t* AdmissionregistrationV1API_createMutatingWebhookConfiguration(apiClient_t *apiClient, v1_mutating_webhook_configuration_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -33,7 +33,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **body** | **[v1_mutating_webhook_configuration_t](v1_mutating_webhook_configuration.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -58,7 +58,7 @@ Name | Type | Description | Notes ```c // create a ValidatingWebhookConfiguration // -v1_validating_webhook_configuration_t* AdmissionregistrationV1API_createValidatingWebhookConfiguration(apiClient_t *apiClient, v1_validating_webhook_configuration_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_validating_webhook_configuration_t* AdmissionregistrationV1API_createValidatingWebhookConfiguration(apiClient_t *apiClient, v1_validating_webhook_configuration_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -66,7 +66,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **body** | **[v1_validating_webhook_configuration_t](v1_validating_webhook_configuration.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -91,26 +91,26 @@ Name | Type | Description | Notes ```c // delete collection of MutatingWebhookConfiguration // -v1_status_t* AdmissionregistrationV1API_deleteCollectionMutatingWebhookConfiguration(apiClient_t *apiClient, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* AdmissionregistrationV1API_deleteCollectionMutatingWebhookConfiguration(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -133,26 +133,26 @@ Name | Type | Description | Notes ```c // delete collection of ValidatingWebhookConfiguration // -v1_status_t* AdmissionregistrationV1API_deleteCollectionValidatingWebhookConfiguration(apiClient_t *apiClient, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* AdmissionregistrationV1API_deleteCollectionValidatingWebhookConfiguration(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -175,7 +175,7 @@ Name | Type | Description | Notes ```c // delete a MutatingWebhookConfiguration // -v1_status_t* AdmissionregistrationV1API_deleteMutatingWebhookConfiguration(apiClient_t *apiClient, char * name, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_status_t* AdmissionregistrationV1API_deleteMutatingWebhookConfiguration(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -183,10 +183,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the MutatingWebhookConfiguration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -210,7 +210,7 @@ Name | Type | Description | Notes ```c // delete a ValidatingWebhookConfiguration // -v1_status_t* AdmissionregistrationV1API_deleteValidatingWebhookConfiguration(apiClient_t *apiClient, char * name, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_status_t* AdmissionregistrationV1API_deleteValidatingWebhookConfiguration(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -218,10 +218,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ValidatingWebhookConfiguration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -273,24 +273,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind MutatingWebhookConfiguration // -v1_mutating_webhook_configuration_list_t* AdmissionregistrationV1API_listMutatingWebhookConfiguration(apiClient_t *apiClient, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_mutating_webhook_configuration_list_t* AdmissionregistrationV1API_listMutatingWebhookConfiguration(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -312,24 +312,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind ValidatingWebhookConfiguration // -v1_validating_webhook_configuration_list_t* AdmissionregistrationV1API_listValidatingWebhookConfiguration(apiClient_t *apiClient, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_validating_webhook_configuration_list_t* AdmissionregistrationV1API_listValidatingWebhookConfiguration(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -351,7 +351,7 @@ Name | Type | Description | Notes ```c // partially update the specified MutatingWebhookConfiguration // -v1_mutating_webhook_configuration_t* AdmissionregistrationV1API_patchMutatingWebhookConfiguration(apiClient_t *apiClient, char * name, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_mutating_webhook_configuration_t* AdmissionregistrationV1API_patchMutatingWebhookConfiguration(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -360,11 +360,11 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the MutatingWebhookConfiguration | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -386,7 +386,7 @@ Name | Type | Description | Notes ```c // partially update the specified ValidatingWebhookConfiguration // -v1_validating_webhook_configuration_t* AdmissionregistrationV1API_patchValidatingWebhookConfiguration(apiClient_t *apiClient, char * name, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_validating_webhook_configuration_t* AdmissionregistrationV1API_patchValidatingWebhookConfiguration(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -395,11 +395,11 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ValidatingWebhookConfiguration | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -421,7 +421,7 @@ Name | Type | Description | Notes ```c // read the specified MutatingWebhookConfiguration // -v1_mutating_webhook_configuration_t* AdmissionregistrationV1API_readMutatingWebhookConfiguration(apiClient_t *apiClient, char * name, char * pretty); +v1_mutating_webhook_configuration_t* AdmissionregistrationV1API_readMutatingWebhookConfiguration(apiClient_t *apiClient, char *name, char *pretty); ``` ### Parameters @@ -429,7 +429,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the MutatingWebhookConfiguration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -451,7 +451,7 @@ Name | Type | Description | Notes ```c // read the specified ValidatingWebhookConfiguration // -v1_validating_webhook_configuration_t* AdmissionregistrationV1API_readValidatingWebhookConfiguration(apiClient_t *apiClient, char * name, char * pretty); +v1_validating_webhook_configuration_t* AdmissionregistrationV1API_readValidatingWebhookConfiguration(apiClient_t *apiClient, char *name, char *pretty); ``` ### Parameters @@ -459,7 +459,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ValidatingWebhookConfiguration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -481,7 +481,7 @@ Name | Type | Description | Notes ```c // replace the specified MutatingWebhookConfiguration // -v1_mutating_webhook_configuration_t* AdmissionregistrationV1API_replaceMutatingWebhookConfiguration(apiClient_t *apiClient, char * name, v1_mutating_webhook_configuration_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_mutating_webhook_configuration_t* AdmissionregistrationV1API_replaceMutatingWebhookConfiguration(apiClient_t *apiClient, char *name, v1_mutating_webhook_configuration_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -490,7 +490,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the MutatingWebhookConfiguration | **body** | **[v1_mutating_webhook_configuration_t](v1_mutating_webhook_configuration.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -515,7 +515,7 @@ Name | Type | Description | Notes ```c // replace the specified ValidatingWebhookConfiguration // -v1_validating_webhook_configuration_t* AdmissionregistrationV1API_replaceValidatingWebhookConfiguration(apiClient_t *apiClient, char * name, v1_validating_webhook_configuration_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_validating_webhook_configuration_t* AdmissionregistrationV1API_replaceValidatingWebhookConfiguration(apiClient_t *apiClient, char *name, v1_validating_webhook_configuration_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -524,7 +524,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ValidatingWebhookConfiguration | **body** | **[v1_validating_webhook_configuration_t](v1_validating_webhook_configuration.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] diff --git a/kubernetes/docs/AdmissionregistrationV1alpha1API.md b/kubernetes/docs/AdmissionregistrationV1alpha1API.md index 5e505364..0fedbfd4 100644 --- a/kubernetes/docs/AdmissionregistrationV1alpha1API.md +++ b/kubernetes/docs/AdmissionregistrationV1alpha1API.md @@ -28,7 +28,7 @@ Method | HTTP request | Description ```c // create a ValidatingAdmissionPolicy // -v1alpha1_validating_admission_policy_t* AdmissionregistrationV1alpha1API_createValidatingAdmissionPolicy(apiClient_t *apiClient, v1alpha1_validating_admission_policy_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1alpha1_validating_admission_policy_t* AdmissionregistrationV1alpha1API_createValidatingAdmissionPolicy(apiClient_t *apiClient, v1alpha1_validating_admission_policy_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -36,7 +36,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **body** | **[v1alpha1_validating_admission_policy_t](v1alpha1_validating_admission_policy.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -61,7 +61,7 @@ Name | Type | Description | Notes ```c // create a ValidatingAdmissionPolicyBinding // -v1alpha1_validating_admission_policy_binding_t* AdmissionregistrationV1alpha1API_createValidatingAdmissionPolicyBinding(apiClient_t *apiClient, v1alpha1_validating_admission_policy_binding_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1alpha1_validating_admission_policy_binding_t* AdmissionregistrationV1alpha1API_createValidatingAdmissionPolicyBinding(apiClient_t *apiClient, v1alpha1_validating_admission_policy_binding_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -69,7 +69,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **body** | **[v1alpha1_validating_admission_policy_binding_t](v1alpha1_validating_admission_policy_binding.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -94,26 +94,26 @@ Name | Type | Description | Notes ```c // delete collection of ValidatingAdmissionPolicy // -v1_status_t* AdmissionregistrationV1alpha1API_deleteCollectionValidatingAdmissionPolicy(apiClient_t *apiClient, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* AdmissionregistrationV1alpha1API_deleteCollectionValidatingAdmissionPolicy(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -136,26 +136,26 @@ Name | Type | Description | Notes ```c // delete collection of ValidatingAdmissionPolicyBinding // -v1_status_t* AdmissionregistrationV1alpha1API_deleteCollectionValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* AdmissionregistrationV1alpha1API_deleteCollectionValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -178,7 +178,7 @@ Name | Type | Description | Notes ```c // delete a ValidatingAdmissionPolicy // -v1_status_t* AdmissionregistrationV1alpha1API_deleteValidatingAdmissionPolicy(apiClient_t *apiClient, char * name, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_status_t* AdmissionregistrationV1alpha1API_deleteValidatingAdmissionPolicy(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -186,10 +186,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ValidatingAdmissionPolicy | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -213,7 +213,7 @@ Name | Type | Description | Notes ```c // delete a ValidatingAdmissionPolicyBinding // -v1_status_t* AdmissionregistrationV1alpha1API_deleteValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char * name, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_status_t* AdmissionregistrationV1alpha1API_deleteValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -221,10 +221,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ValidatingAdmissionPolicyBinding | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -276,24 +276,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind ValidatingAdmissionPolicy // -v1alpha1_validating_admission_policy_list_t* AdmissionregistrationV1alpha1API_listValidatingAdmissionPolicy(apiClient_t *apiClient, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1alpha1_validating_admission_policy_list_t* AdmissionregistrationV1alpha1API_listValidatingAdmissionPolicy(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -315,24 +315,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind ValidatingAdmissionPolicyBinding // -v1alpha1_validating_admission_policy_binding_list_t* AdmissionregistrationV1alpha1API_listValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1alpha1_validating_admission_policy_binding_list_t* AdmissionregistrationV1alpha1API_listValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -354,7 +354,7 @@ Name | Type | Description | Notes ```c // partially update the specified ValidatingAdmissionPolicy // -v1alpha1_validating_admission_policy_t* AdmissionregistrationV1alpha1API_patchValidatingAdmissionPolicy(apiClient_t *apiClient, char * name, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1alpha1_validating_admission_policy_t* AdmissionregistrationV1alpha1API_patchValidatingAdmissionPolicy(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -363,11 +363,11 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ValidatingAdmissionPolicy | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -389,7 +389,7 @@ Name | Type | Description | Notes ```c // partially update the specified ValidatingAdmissionPolicyBinding // -v1alpha1_validating_admission_policy_binding_t* AdmissionregistrationV1alpha1API_patchValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char * name, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1alpha1_validating_admission_policy_binding_t* AdmissionregistrationV1alpha1API_patchValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -398,11 +398,11 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ValidatingAdmissionPolicyBinding | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -424,7 +424,7 @@ Name | Type | Description | Notes ```c // partially update status of the specified ValidatingAdmissionPolicy // -v1alpha1_validating_admission_policy_t* AdmissionregistrationV1alpha1API_patchValidatingAdmissionPolicyStatus(apiClient_t *apiClient, char * name, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1alpha1_validating_admission_policy_t* AdmissionregistrationV1alpha1API_patchValidatingAdmissionPolicyStatus(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -433,11 +433,11 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ValidatingAdmissionPolicy | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -459,7 +459,7 @@ Name | Type | Description | Notes ```c // read the specified ValidatingAdmissionPolicy // -v1alpha1_validating_admission_policy_t* AdmissionregistrationV1alpha1API_readValidatingAdmissionPolicy(apiClient_t *apiClient, char * name, char * pretty); +v1alpha1_validating_admission_policy_t* AdmissionregistrationV1alpha1API_readValidatingAdmissionPolicy(apiClient_t *apiClient, char *name, char *pretty); ``` ### Parameters @@ -467,7 +467,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ValidatingAdmissionPolicy | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -489,7 +489,7 @@ Name | Type | Description | Notes ```c // read the specified ValidatingAdmissionPolicyBinding // -v1alpha1_validating_admission_policy_binding_t* AdmissionregistrationV1alpha1API_readValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char * name, char * pretty); +v1alpha1_validating_admission_policy_binding_t* AdmissionregistrationV1alpha1API_readValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char *name, char *pretty); ``` ### Parameters @@ -497,7 +497,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ValidatingAdmissionPolicyBinding | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -519,7 +519,7 @@ Name | Type | Description | Notes ```c // read status of the specified ValidatingAdmissionPolicy // -v1alpha1_validating_admission_policy_t* AdmissionregistrationV1alpha1API_readValidatingAdmissionPolicyStatus(apiClient_t *apiClient, char * name, char * pretty); +v1alpha1_validating_admission_policy_t* AdmissionregistrationV1alpha1API_readValidatingAdmissionPolicyStatus(apiClient_t *apiClient, char *name, char *pretty); ``` ### Parameters @@ -527,7 +527,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ValidatingAdmissionPolicy | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -549,7 +549,7 @@ Name | Type | Description | Notes ```c // replace the specified ValidatingAdmissionPolicy // -v1alpha1_validating_admission_policy_t* AdmissionregistrationV1alpha1API_replaceValidatingAdmissionPolicy(apiClient_t *apiClient, char * name, v1alpha1_validating_admission_policy_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1alpha1_validating_admission_policy_t* AdmissionregistrationV1alpha1API_replaceValidatingAdmissionPolicy(apiClient_t *apiClient, char *name, v1alpha1_validating_admission_policy_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -558,7 +558,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ValidatingAdmissionPolicy | **body** | **[v1alpha1_validating_admission_policy_t](v1alpha1_validating_admission_policy.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -583,7 +583,7 @@ Name | Type | Description | Notes ```c // replace the specified ValidatingAdmissionPolicyBinding // -v1alpha1_validating_admission_policy_binding_t* AdmissionregistrationV1alpha1API_replaceValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char * name, v1alpha1_validating_admission_policy_binding_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1alpha1_validating_admission_policy_binding_t* AdmissionregistrationV1alpha1API_replaceValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char *name, v1alpha1_validating_admission_policy_binding_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -592,7 +592,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ValidatingAdmissionPolicyBinding | **body** | **[v1alpha1_validating_admission_policy_binding_t](v1alpha1_validating_admission_policy_binding.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -617,7 +617,7 @@ Name | Type | Description | Notes ```c // replace status of the specified ValidatingAdmissionPolicy // -v1alpha1_validating_admission_policy_t* AdmissionregistrationV1alpha1API_replaceValidatingAdmissionPolicyStatus(apiClient_t *apiClient, char * name, v1alpha1_validating_admission_policy_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1alpha1_validating_admission_policy_t* AdmissionregistrationV1alpha1API_replaceValidatingAdmissionPolicyStatus(apiClient_t *apiClient, char *name, v1alpha1_validating_admission_policy_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -626,7 +626,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ValidatingAdmissionPolicy | **body** | **[v1alpha1_validating_admission_policy_t](v1alpha1_validating_admission_policy.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] diff --git a/kubernetes/docs/AdmissionregistrationV1beta1API.md b/kubernetes/docs/AdmissionregistrationV1beta1API.md index 7d158662..0c99a2e3 100644 --- a/kubernetes/docs/AdmissionregistrationV1beta1API.md +++ b/kubernetes/docs/AdmissionregistrationV1beta1API.md @@ -28,7 +28,7 @@ Method | HTTP request | Description ```c // create a ValidatingAdmissionPolicy // -v1beta1_validating_admission_policy_t* AdmissionregistrationV1beta1API_createValidatingAdmissionPolicy(apiClient_t *apiClient, v1beta1_validating_admission_policy_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1beta1_validating_admission_policy_t* AdmissionregistrationV1beta1API_createValidatingAdmissionPolicy(apiClient_t *apiClient, v1beta1_validating_admission_policy_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -36,7 +36,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **body** | **[v1beta1_validating_admission_policy_t](v1beta1_validating_admission_policy.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -61,7 +61,7 @@ Name | Type | Description | Notes ```c // create a ValidatingAdmissionPolicyBinding // -v1beta1_validating_admission_policy_binding_t* AdmissionregistrationV1beta1API_createValidatingAdmissionPolicyBinding(apiClient_t *apiClient, v1beta1_validating_admission_policy_binding_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1beta1_validating_admission_policy_binding_t* AdmissionregistrationV1beta1API_createValidatingAdmissionPolicyBinding(apiClient_t *apiClient, v1beta1_validating_admission_policy_binding_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -69,7 +69,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **body** | **[v1beta1_validating_admission_policy_binding_t](v1beta1_validating_admission_policy_binding.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -94,26 +94,26 @@ Name | Type | Description | Notes ```c // delete collection of ValidatingAdmissionPolicy // -v1_status_t* AdmissionregistrationV1beta1API_deleteCollectionValidatingAdmissionPolicy(apiClient_t *apiClient, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* AdmissionregistrationV1beta1API_deleteCollectionValidatingAdmissionPolicy(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -136,26 +136,26 @@ Name | Type | Description | Notes ```c // delete collection of ValidatingAdmissionPolicyBinding // -v1_status_t* AdmissionregistrationV1beta1API_deleteCollectionValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* AdmissionregistrationV1beta1API_deleteCollectionValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -178,7 +178,7 @@ Name | Type | Description | Notes ```c // delete a ValidatingAdmissionPolicy // -v1_status_t* AdmissionregistrationV1beta1API_deleteValidatingAdmissionPolicy(apiClient_t *apiClient, char * name, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_status_t* AdmissionregistrationV1beta1API_deleteValidatingAdmissionPolicy(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -186,10 +186,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ValidatingAdmissionPolicy | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -213,7 +213,7 @@ Name | Type | Description | Notes ```c // delete a ValidatingAdmissionPolicyBinding // -v1_status_t* AdmissionregistrationV1beta1API_deleteValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char * name, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_status_t* AdmissionregistrationV1beta1API_deleteValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -221,10 +221,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ValidatingAdmissionPolicyBinding | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -276,24 +276,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind ValidatingAdmissionPolicy // -v1beta1_validating_admission_policy_list_t* AdmissionregistrationV1beta1API_listValidatingAdmissionPolicy(apiClient_t *apiClient, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1beta1_validating_admission_policy_list_t* AdmissionregistrationV1beta1API_listValidatingAdmissionPolicy(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -315,24 +315,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind ValidatingAdmissionPolicyBinding // -v1beta1_validating_admission_policy_binding_list_t* AdmissionregistrationV1beta1API_listValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1beta1_validating_admission_policy_binding_list_t* AdmissionregistrationV1beta1API_listValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -354,7 +354,7 @@ Name | Type | Description | Notes ```c // partially update the specified ValidatingAdmissionPolicy // -v1beta1_validating_admission_policy_t* AdmissionregistrationV1beta1API_patchValidatingAdmissionPolicy(apiClient_t *apiClient, char * name, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1beta1_validating_admission_policy_t* AdmissionregistrationV1beta1API_patchValidatingAdmissionPolicy(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -363,11 +363,11 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ValidatingAdmissionPolicy | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -389,7 +389,7 @@ Name | Type | Description | Notes ```c // partially update the specified ValidatingAdmissionPolicyBinding // -v1beta1_validating_admission_policy_binding_t* AdmissionregistrationV1beta1API_patchValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char * name, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1beta1_validating_admission_policy_binding_t* AdmissionregistrationV1beta1API_patchValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -398,11 +398,11 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ValidatingAdmissionPolicyBinding | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -424,7 +424,7 @@ Name | Type | Description | Notes ```c // partially update status of the specified ValidatingAdmissionPolicy // -v1beta1_validating_admission_policy_t* AdmissionregistrationV1beta1API_patchValidatingAdmissionPolicyStatus(apiClient_t *apiClient, char * name, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1beta1_validating_admission_policy_t* AdmissionregistrationV1beta1API_patchValidatingAdmissionPolicyStatus(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -433,11 +433,11 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ValidatingAdmissionPolicy | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -459,7 +459,7 @@ Name | Type | Description | Notes ```c // read the specified ValidatingAdmissionPolicy // -v1beta1_validating_admission_policy_t* AdmissionregistrationV1beta1API_readValidatingAdmissionPolicy(apiClient_t *apiClient, char * name, char * pretty); +v1beta1_validating_admission_policy_t* AdmissionregistrationV1beta1API_readValidatingAdmissionPolicy(apiClient_t *apiClient, char *name, char *pretty); ``` ### Parameters @@ -467,7 +467,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ValidatingAdmissionPolicy | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -489,7 +489,7 @@ Name | Type | Description | Notes ```c // read the specified ValidatingAdmissionPolicyBinding // -v1beta1_validating_admission_policy_binding_t* AdmissionregistrationV1beta1API_readValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char * name, char * pretty); +v1beta1_validating_admission_policy_binding_t* AdmissionregistrationV1beta1API_readValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char *name, char *pretty); ``` ### Parameters @@ -497,7 +497,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ValidatingAdmissionPolicyBinding | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -519,7 +519,7 @@ Name | Type | Description | Notes ```c // read status of the specified ValidatingAdmissionPolicy // -v1beta1_validating_admission_policy_t* AdmissionregistrationV1beta1API_readValidatingAdmissionPolicyStatus(apiClient_t *apiClient, char * name, char * pretty); +v1beta1_validating_admission_policy_t* AdmissionregistrationV1beta1API_readValidatingAdmissionPolicyStatus(apiClient_t *apiClient, char *name, char *pretty); ``` ### Parameters @@ -527,7 +527,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ValidatingAdmissionPolicy | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -549,7 +549,7 @@ Name | Type | Description | Notes ```c // replace the specified ValidatingAdmissionPolicy // -v1beta1_validating_admission_policy_t* AdmissionregistrationV1beta1API_replaceValidatingAdmissionPolicy(apiClient_t *apiClient, char * name, v1beta1_validating_admission_policy_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1beta1_validating_admission_policy_t* AdmissionregistrationV1beta1API_replaceValidatingAdmissionPolicy(apiClient_t *apiClient, char *name, v1beta1_validating_admission_policy_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -558,7 +558,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ValidatingAdmissionPolicy | **body** | **[v1beta1_validating_admission_policy_t](v1beta1_validating_admission_policy.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -583,7 +583,7 @@ Name | Type | Description | Notes ```c // replace the specified ValidatingAdmissionPolicyBinding // -v1beta1_validating_admission_policy_binding_t* AdmissionregistrationV1beta1API_replaceValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char * name, v1beta1_validating_admission_policy_binding_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1beta1_validating_admission_policy_binding_t* AdmissionregistrationV1beta1API_replaceValidatingAdmissionPolicyBinding(apiClient_t *apiClient, char *name, v1beta1_validating_admission_policy_binding_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -592,7 +592,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ValidatingAdmissionPolicyBinding | **body** | **[v1beta1_validating_admission_policy_binding_t](v1beta1_validating_admission_policy_binding.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -617,7 +617,7 @@ Name | Type | Description | Notes ```c // replace status of the specified ValidatingAdmissionPolicy // -v1beta1_validating_admission_policy_t* AdmissionregistrationV1beta1API_replaceValidatingAdmissionPolicyStatus(apiClient_t *apiClient, char * name, v1beta1_validating_admission_policy_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1beta1_validating_admission_policy_t* AdmissionregistrationV1beta1API_replaceValidatingAdmissionPolicyStatus(apiClient_t *apiClient, char *name, v1beta1_validating_admission_policy_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -626,7 +626,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ValidatingAdmissionPolicy | **body** | **[v1beta1_validating_admission_policy_t](v1beta1_validating_admission_policy.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] diff --git a/kubernetes/docs/ApiextensionsV1API.md b/kubernetes/docs/ApiextensionsV1API.md index 1305bae4..afd6d369 100644 --- a/kubernetes/docs/ApiextensionsV1API.md +++ b/kubernetes/docs/ApiextensionsV1API.md @@ -21,7 +21,7 @@ Method | HTTP request | Description ```c // create a CustomResourceDefinition // -v1_custom_resource_definition_t* ApiextensionsV1API_createCustomResourceDefinition(apiClient_t *apiClient, v1_custom_resource_definition_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_custom_resource_definition_t* ApiextensionsV1API_createCustomResourceDefinition(apiClient_t *apiClient, v1_custom_resource_definition_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -29,7 +29,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **body** | **[v1_custom_resource_definition_t](v1_custom_resource_definition.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -54,26 +54,26 @@ Name | Type | Description | Notes ```c // delete collection of CustomResourceDefinition // -v1_status_t* ApiextensionsV1API_deleteCollectionCustomResourceDefinition(apiClient_t *apiClient, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* ApiextensionsV1API_deleteCollectionCustomResourceDefinition(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -96,7 +96,7 @@ Name | Type | Description | Notes ```c // delete a CustomResourceDefinition // -v1_status_t* ApiextensionsV1API_deleteCustomResourceDefinition(apiClient_t *apiClient, char * name, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_status_t* ApiextensionsV1API_deleteCustomResourceDefinition(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -104,10 +104,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the CustomResourceDefinition | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -159,24 +159,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind CustomResourceDefinition // -v1_custom_resource_definition_list_t* ApiextensionsV1API_listCustomResourceDefinition(apiClient_t *apiClient, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_custom_resource_definition_list_t* ApiextensionsV1API_listCustomResourceDefinition(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -198,7 +198,7 @@ Name | Type | Description | Notes ```c // partially update the specified CustomResourceDefinition // -v1_custom_resource_definition_t* ApiextensionsV1API_patchCustomResourceDefinition(apiClient_t *apiClient, char * name, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_custom_resource_definition_t* ApiextensionsV1API_patchCustomResourceDefinition(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -207,11 +207,11 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the CustomResourceDefinition | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -233,7 +233,7 @@ Name | Type | Description | Notes ```c // partially update status of the specified CustomResourceDefinition // -v1_custom_resource_definition_t* ApiextensionsV1API_patchCustomResourceDefinitionStatus(apiClient_t *apiClient, char * name, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_custom_resource_definition_t* ApiextensionsV1API_patchCustomResourceDefinitionStatus(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -242,11 +242,11 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the CustomResourceDefinition | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -268,7 +268,7 @@ Name | Type | Description | Notes ```c // read the specified CustomResourceDefinition // -v1_custom_resource_definition_t* ApiextensionsV1API_readCustomResourceDefinition(apiClient_t *apiClient, char * name, char * pretty); +v1_custom_resource_definition_t* ApiextensionsV1API_readCustomResourceDefinition(apiClient_t *apiClient, char *name, char *pretty); ``` ### Parameters @@ -276,7 +276,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the CustomResourceDefinition | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -298,7 +298,7 @@ Name | Type | Description | Notes ```c // read status of the specified CustomResourceDefinition // -v1_custom_resource_definition_t* ApiextensionsV1API_readCustomResourceDefinitionStatus(apiClient_t *apiClient, char * name, char * pretty); +v1_custom_resource_definition_t* ApiextensionsV1API_readCustomResourceDefinitionStatus(apiClient_t *apiClient, char *name, char *pretty); ``` ### Parameters @@ -306,7 +306,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the CustomResourceDefinition | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -328,7 +328,7 @@ Name | Type | Description | Notes ```c // replace the specified CustomResourceDefinition // -v1_custom_resource_definition_t* ApiextensionsV1API_replaceCustomResourceDefinition(apiClient_t *apiClient, char * name, v1_custom_resource_definition_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_custom_resource_definition_t* ApiextensionsV1API_replaceCustomResourceDefinition(apiClient_t *apiClient, char *name, v1_custom_resource_definition_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -337,7 +337,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the CustomResourceDefinition | **body** | **[v1_custom_resource_definition_t](v1_custom_resource_definition.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -362,7 +362,7 @@ Name | Type | Description | Notes ```c // replace status of the specified CustomResourceDefinition // -v1_custom_resource_definition_t* ApiextensionsV1API_replaceCustomResourceDefinitionStatus(apiClient_t *apiClient, char * name, v1_custom_resource_definition_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_custom_resource_definition_t* ApiextensionsV1API_replaceCustomResourceDefinitionStatus(apiClient_t *apiClient, char *name, v1_custom_resource_definition_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -371,7 +371,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the CustomResourceDefinition | **body** | **[v1_custom_resource_definition_t](v1_custom_resource_definition.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] diff --git a/kubernetes/docs/ApiregistrationV1API.md b/kubernetes/docs/ApiregistrationV1API.md index 514d2ca3..359b65b1 100644 --- a/kubernetes/docs/ApiregistrationV1API.md +++ b/kubernetes/docs/ApiregistrationV1API.md @@ -21,7 +21,7 @@ Method | HTTP request | Description ```c // create an APIService // -v1_api_service_t* ApiregistrationV1API_createAPIService(apiClient_t *apiClient, v1_api_service_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_api_service_t* ApiregistrationV1API_createAPIService(apiClient_t *apiClient, v1_api_service_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -29,7 +29,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **body** | **[v1_api_service_t](v1_api_service.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -54,7 +54,7 @@ Name | Type | Description | Notes ```c // delete an APIService // -v1_status_t* ApiregistrationV1API_deleteAPIService(apiClient_t *apiClient, char * name, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_status_t* ApiregistrationV1API_deleteAPIService(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -62,10 +62,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the APIService | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -89,26 +89,26 @@ Name | Type | Description | Notes ```c // delete collection of APIService // -v1_status_t* ApiregistrationV1API_deleteCollectionAPIService(apiClient_t *apiClient, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* ApiregistrationV1API_deleteCollectionAPIService(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -159,24 +159,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind APIService // -v1_api_service_list_t* ApiregistrationV1API_listAPIService(apiClient_t *apiClient, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_api_service_list_t* ApiregistrationV1API_listAPIService(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -198,7 +198,7 @@ Name | Type | Description | Notes ```c // partially update the specified APIService // -v1_api_service_t* ApiregistrationV1API_patchAPIService(apiClient_t *apiClient, char * name, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_api_service_t* ApiregistrationV1API_patchAPIService(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -207,11 +207,11 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the APIService | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -233,7 +233,7 @@ Name | Type | Description | Notes ```c // partially update status of the specified APIService // -v1_api_service_t* ApiregistrationV1API_patchAPIServiceStatus(apiClient_t *apiClient, char * name, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_api_service_t* ApiregistrationV1API_patchAPIServiceStatus(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -242,11 +242,11 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the APIService | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -268,7 +268,7 @@ Name | Type | Description | Notes ```c // read the specified APIService // -v1_api_service_t* ApiregistrationV1API_readAPIService(apiClient_t *apiClient, char * name, char * pretty); +v1_api_service_t* ApiregistrationV1API_readAPIService(apiClient_t *apiClient, char *name, char *pretty); ``` ### Parameters @@ -276,7 +276,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the APIService | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -298,7 +298,7 @@ Name | Type | Description | Notes ```c // read status of the specified APIService // -v1_api_service_t* ApiregistrationV1API_readAPIServiceStatus(apiClient_t *apiClient, char * name, char * pretty); +v1_api_service_t* ApiregistrationV1API_readAPIServiceStatus(apiClient_t *apiClient, char *name, char *pretty); ``` ### Parameters @@ -306,7 +306,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the APIService | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -328,7 +328,7 @@ Name | Type | Description | Notes ```c // replace the specified APIService // -v1_api_service_t* ApiregistrationV1API_replaceAPIService(apiClient_t *apiClient, char * name, v1_api_service_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_api_service_t* ApiregistrationV1API_replaceAPIService(apiClient_t *apiClient, char *name, v1_api_service_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -337,7 +337,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the APIService | **body** | **[v1_api_service_t](v1_api_service.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -362,7 +362,7 @@ Name | Type | Description | Notes ```c // replace status of the specified APIService // -v1_api_service_t* ApiregistrationV1API_replaceAPIServiceStatus(apiClient_t *apiClient, char * name, v1_api_service_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_api_service_t* ApiregistrationV1API_replaceAPIServiceStatus(apiClient_t *apiClient, char *name, v1_api_service_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -371,7 +371,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the APIService | **body** | **[v1_api_service_t](v1_api_service.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] diff --git a/kubernetes/docs/AppsV1API.md b/kubernetes/docs/AppsV1API.md index 5b385b63..0d2ea730 100644 --- a/kubernetes/docs/AppsV1API.md +++ b/kubernetes/docs/AppsV1API.md @@ -72,7 +72,7 @@ Method | HTTP request | Description ```c // create a ControllerRevision // -v1_controller_revision_t* AppsV1API_createNamespacedControllerRevision(apiClient_t *apiClient, char * _namespace, v1_controller_revision_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_controller_revision_t* AppsV1API_createNamespacedControllerRevision(apiClient_t *apiClient, char *_namespace, v1_controller_revision_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -81,7 +81,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_controller_revision_t](v1_controller_revision.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -106,7 +106,7 @@ Name | Type | Description | Notes ```c // create a DaemonSet // -v1_daemon_set_t* AppsV1API_createNamespacedDaemonSet(apiClient_t *apiClient, char * _namespace, v1_daemon_set_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_daemon_set_t* AppsV1API_createNamespacedDaemonSet(apiClient_t *apiClient, char *_namespace, v1_daemon_set_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -115,7 +115,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_daemon_set_t](v1_daemon_set.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -140,7 +140,7 @@ Name | Type | Description | Notes ```c // create a Deployment // -v1_deployment_t* AppsV1API_createNamespacedDeployment(apiClient_t *apiClient, char * _namespace, v1_deployment_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_deployment_t* AppsV1API_createNamespacedDeployment(apiClient_t *apiClient, char *_namespace, v1_deployment_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -149,7 +149,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_deployment_t](v1_deployment.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -174,7 +174,7 @@ Name | Type | Description | Notes ```c // create a ReplicaSet // -v1_replica_set_t* AppsV1API_createNamespacedReplicaSet(apiClient_t *apiClient, char * _namespace, v1_replica_set_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_replica_set_t* AppsV1API_createNamespacedReplicaSet(apiClient_t *apiClient, char *_namespace, v1_replica_set_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -183,7 +183,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_replica_set_t](v1_replica_set.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -208,7 +208,7 @@ Name | Type | Description | Notes ```c // create a StatefulSet // -v1_stateful_set_t* AppsV1API_createNamespacedStatefulSet(apiClient_t *apiClient, char * _namespace, v1_stateful_set_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_stateful_set_t* AppsV1API_createNamespacedStatefulSet(apiClient_t *apiClient, char *_namespace, v1_stateful_set_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -217,7 +217,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_stateful_set_t](v1_stateful_set.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -242,7 +242,7 @@ Name | Type | Description | Notes ```c // delete collection of ControllerRevision // -v1_status_t* AppsV1API_deleteCollectionNamespacedControllerRevision(apiClient_t *apiClient, char * _namespace, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* AppsV1API_deleteCollectionNamespacedControllerRevision(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters @@ -250,19 +250,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -285,7 +285,7 @@ Name | Type | Description | Notes ```c // delete collection of DaemonSet // -v1_status_t* AppsV1API_deleteCollectionNamespacedDaemonSet(apiClient_t *apiClient, char * _namespace, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* AppsV1API_deleteCollectionNamespacedDaemonSet(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters @@ -293,19 +293,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -328,7 +328,7 @@ Name | Type | Description | Notes ```c // delete collection of Deployment // -v1_status_t* AppsV1API_deleteCollectionNamespacedDeployment(apiClient_t *apiClient, char * _namespace, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* AppsV1API_deleteCollectionNamespacedDeployment(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters @@ -336,19 +336,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -371,7 +371,7 @@ Name | Type | Description | Notes ```c // delete collection of ReplicaSet // -v1_status_t* AppsV1API_deleteCollectionNamespacedReplicaSet(apiClient_t *apiClient, char * _namespace, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* AppsV1API_deleteCollectionNamespacedReplicaSet(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters @@ -379,19 +379,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -414,7 +414,7 @@ Name | Type | Description | Notes ```c // delete collection of StatefulSet // -v1_status_t* AppsV1API_deleteCollectionNamespacedStatefulSet(apiClient_t *apiClient, char * _namespace, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* AppsV1API_deleteCollectionNamespacedStatefulSet(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters @@ -422,19 +422,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -457,7 +457,7 @@ Name | Type | Description | Notes ```c // delete a ControllerRevision // -v1_status_t* AppsV1API_deleteNamespacedControllerRevision(apiClient_t *apiClient, char * name, char * _namespace, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_status_t* AppsV1API_deleteNamespacedControllerRevision(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -466,10 +466,10 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ControllerRevision | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -493,7 +493,7 @@ Name | Type | Description | Notes ```c // delete a DaemonSet // -v1_status_t* AppsV1API_deleteNamespacedDaemonSet(apiClient_t *apiClient, char * name, char * _namespace, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_status_t* AppsV1API_deleteNamespacedDaemonSet(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -502,10 +502,10 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the DaemonSet | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -529,7 +529,7 @@ Name | Type | Description | Notes ```c // delete a Deployment // -v1_status_t* AppsV1API_deleteNamespacedDeployment(apiClient_t *apiClient, char * name, char * _namespace, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_status_t* AppsV1API_deleteNamespacedDeployment(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -538,10 +538,10 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the Deployment | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -565,7 +565,7 @@ Name | Type | Description | Notes ```c // delete a ReplicaSet // -v1_status_t* AppsV1API_deleteNamespacedReplicaSet(apiClient_t *apiClient, char * name, char * _namespace, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_status_t* AppsV1API_deleteNamespacedReplicaSet(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -574,10 +574,10 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ReplicaSet | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -601,7 +601,7 @@ Name | Type | Description | Notes ```c // delete a StatefulSet // -v1_status_t* AppsV1API_deleteNamespacedStatefulSet(apiClient_t *apiClient, char * name, char * _namespace, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_status_t* AppsV1API_deleteNamespacedStatefulSet(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -610,10 +610,10 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the StatefulSet | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -665,24 +665,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind ControllerRevision // -v1_controller_revision_list_t* AppsV1API_listControllerRevisionForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * pretty, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_controller_revision_list_t* AppsV1API_listControllerRevisionForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**allowWatchBookmarks** | **int** | 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. | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**limit** | **int \*** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -704,24 +704,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind DaemonSet // -v1_daemon_set_list_t* AppsV1API_listDaemonSetForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * pretty, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_daemon_set_list_t* AppsV1API_listDaemonSetForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**allowWatchBookmarks** | **int** | 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. | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**limit** | **int \*** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -743,24 +743,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind Deployment // -v1_deployment_list_t* AppsV1API_listDeploymentForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * pretty, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_deployment_list_t* AppsV1API_listDeploymentForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**allowWatchBookmarks** | **int** | 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. | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**limit** | **int \*** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -782,7 +782,7 @@ Name | Type | Description | Notes ```c // list or watch objects of kind ControllerRevision // -v1_controller_revision_list_t* AppsV1API_listNamespacedControllerRevision(apiClient_t *apiClient, char * _namespace, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_controller_revision_list_t* AppsV1API_listNamespacedControllerRevision(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters @@ -790,17 +790,17 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -822,7 +822,7 @@ Name | Type | Description | Notes ```c // list or watch objects of kind DaemonSet // -v1_daemon_set_list_t* AppsV1API_listNamespacedDaemonSet(apiClient_t *apiClient, char * _namespace, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_daemon_set_list_t* AppsV1API_listNamespacedDaemonSet(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters @@ -830,17 +830,17 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -862,7 +862,7 @@ Name | Type | Description | Notes ```c // list or watch objects of kind Deployment // -v1_deployment_list_t* AppsV1API_listNamespacedDeployment(apiClient_t *apiClient, char * _namespace, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_deployment_list_t* AppsV1API_listNamespacedDeployment(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters @@ -870,17 +870,17 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -902,7 +902,7 @@ Name | Type | Description | Notes ```c // list or watch objects of kind ReplicaSet // -v1_replica_set_list_t* AppsV1API_listNamespacedReplicaSet(apiClient_t *apiClient, char * _namespace, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_replica_set_list_t* AppsV1API_listNamespacedReplicaSet(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters @@ -910,17 +910,17 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -942,7 +942,7 @@ Name | Type | Description | Notes ```c // list or watch objects of kind StatefulSet // -v1_stateful_set_list_t* AppsV1API_listNamespacedStatefulSet(apiClient_t *apiClient, char * _namespace, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_stateful_set_list_t* AppsV1API_listNamespacedStatefulSet(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters @@ -950,17 +950,17 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -982,24 +982,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind ReplicaSet // -v1_replica_set_list_t* AppsV1API_listReplicaSetForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * pretty, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_replica_set_list_t* AppsV1API_listReplicaSetForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**allowWatchBookmarks** | **int** | 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. | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**limit** | **int \*** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -1021,24 +1021,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind StatefulSet // -v1_stateful_set_list_t* AppsV1API_listStatefulSetForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * pretty, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_stateful_set_list_t* AppsV1API_listStatefulSetForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**allowWatchBookmarks** | **int** | 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. | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**limit** | **int \*** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -1060,7 +1060,7 @@ Name | Type | Description | Notes ```c // partially update the specified ControllerRevision // -v1_controller_revision_t* AppsV1API_patchNamespacedControllerRevision(apiClient_t *apiClient, char * name, char * _namespace, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_controller_revision_t* AppsV1API_patchNamespacedControllerRevision(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -1070,11 +1070,11 @@ Name | Type | Description | Notes **name** | **char \*** | name of the ControllerRevision | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -1096,7 +1096,7 @@ Name | Type | Description | Notes ```c // partially update the specified DaemonSet // -v1_daemon_set_t* AppsV1API_patchNamespacedDaemonSet(apiClient_t *apiClient, char * name, char * _namespace, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_daemon_set_t* AppsV1API_patchNamespacedDaemonSet(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -1106,11 +1106,11 @@ Name | Type | Description | Notes **name** | **char \*** | name of the DaemonSet | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -1132,7 +1132,7 @@ Name | Type | Description | Notes ```c // partially update status of the specified DaemonSet // -v1_daemon_set_t* AppsV1API_patchNamespacedDaemonSetStatus(apiClient_t *apiClient, char * name, char * _namespace, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_daemon_set_t* AppsV1API_patchNamespacedDaemonSetStatus(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -1142,11 +1142,11 @@ Name | Type | Description | Notes **name** | **char \*** | name of the DaemonSet | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -1168,7 +1168,7 @@ Name | Type | Description | Notes ```c // partially update the specified Deployment // -v1_deployment_t* AppsV1API_patchNamespacedDeployment(apiClient_t *apiClient, char * name, char * _namespace, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_deployment_t* AppsV1API_patchNamespacedDeployment(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -1178,11 +1178,11 @@ Name | Type | Description | Notes **name** | **char \*** | name of the Deployment | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -1204,7 +1204,7 @@ Name | Type | Description | Notes ```c // partially update scale of the specified Deployment // -v1_scale_t* AppsV1API_patchNamespacedDeploymentScale(apiClient_t *apiClient, char * name, char * _namespace, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_scale_t* AppsV1API_patchNamespacedDeploymentScale(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -1214,11 +1214,11 @@ Name | Type | Description | Notes **name** | **char \*** | name of the Scale | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -1240,7 +1240,7 @@ Name | Type | Description | Notes ```c // partially update status of the specified Deployment // -v1_deployment_t* AppsV1API_patchNamespacedDeploymentStatus(apiClient_t *apiClient, char * name, char * _namespace, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_deployment_t* AppsV1API_patchNamespacedDeploymentStatus(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -1250,11 +1250,11 @@ Name | Type | Description | Notes **name** | **char \*** | name of the Deployment | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -1276,7 +1276,7 @@ Name | Type | Description | Notes ```c // partially update the specified ReplicaSet // -v1_replica_set_t* AppsV1API_patchNamespacedReplicaSet(apiClient_t *apiClient, char * name, char * _namespace, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_replica_set_t* AppsV1API_patchNamespacedReplicaSet(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -1286,11 +1286,11 @@ Name | Type | Description | Notes **name** | **char \*** | name of the ReplicaSet | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -1312,7 +1312,7 @@ Name | Type | Description | Notes ```c // partially update scale of the specified ReplicaSet // -v1_scale_t* AppsV1API_patchNamespacedReplicaSetScale(apiClient_t *apiClient, char * name, char * _namespace, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_scale_t* AppsV1API_patchNamespacedReplicaSetScale(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -1322,11 +1322,11 @@ Name | Type | Description | Notes **name** | **char \*** | name of the Scale | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -1348,7 +1348,7 @@ Name | Type | Description | Notes ```c // partially update status of the specified ReplicaSet // -v1_replica_set_t* AppsV1API_patchNamespacedReplicaSetStatus(apiClient_t *apiClient, char * name, char * _namespace, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_replica_set_t* AppsV1API_patchNamespacedReplicaSetStatus(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -1358,11 +1358,11 @@ Name | Type | Description | Notes **name** | **char \*** | name of the ReplicaSet | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -1384,7 +1384,7 @@ Name | Type | Description | Notes ```c // partially update the specified StatefulSet // -v1_stateful_set_t* AppsV1API_patchNamespacedStatefulSet(apiClient_t *apiClient, char * name, char * _namespace, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_stateful_set_t* AppsV1API_patchNamespacedStatefulSet(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -1394,11 +1394,11 @@ Name | Type | Description | Notes **name** | **char \*** | name of the StatefulSet | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -1420,7 +1420,7 @@ Name | Type | Description | Notes ```c // partially update scale of the specified StatefulSet // -v1_scale_t* AppsV1API_patchNamespacedStatefulSetScale(apiClient_t *apiClient, char * name, char * _namespace, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_scale_t* AppsV1API_patchNamespacedStatefulSetScale(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -1430,11 +1430,11 @@ Name | Type | Description | Notes **name** | **char \*** | name of the Scale | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -1456,7 +1456,7 @@ Name | Type | Description | Notes ```c // partially update status of the specified StatefulSet // -v1_stateful_set_t* AppsV1API_patchNamespacedStatefulSetStatus(apiClient_t *apiClient, char * name, char * _namespace, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_stateful_set_t* AppsV1API_patchNamespacedStatefulSetStatus(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -1466,11 +1466,11 @@ Name | Type | Description | Notes **name** | **char \*** | name of the StatefulSet | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -1492,7 +1492,7 @@ Name | Type | Description | Notes ```c // read the specified ControllerRevision // -v1_controller_revision_t* AppsV1API_readNamespacedControllerRevision(apiClient_t *apiClient, char * name, char * _namespace, char * pretty); +v1_controller_revision_t* AppsV1API_readNamespacedControllerRevision(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); ``` ### Parameters @@ -1501,7 +1501,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ControllerRevision | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -1523,7 +1523,7 @@ Name | Type | Description | Notes ```c // read the specified DaemonSet // -v1_daemon_set_t* AppsV1API_readNamespacedDaemonSet(apiClient_t *apiClient, char * name, char * _namespace, char * pretty); +v1_daemon_set_t* AppsV1API_readNamespacedDaemonSet(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); ``` ### Parameters @@ -1532,7 +1532,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the DaemonSet | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -1554,7 +1554,7 @@ Name | Type | Description | Notes ```c // read status of the specified DaemonSet // -v1_daemon_set_t* AppsV1API_readNamespacedDaemonSetStatus(apiClient_t *apiClient, char * name, char * _namespace, char * pretty); +v1_daemon_set_t* AppsV1API_readNamespacedDaemonSetStatus(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); ``` ### Parameters @@ -1563,7 +1563,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the DaemonSet | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -1585,7 +1585,7 @@ Name | Type | Description | Notes ```c // read the specified Deployment // -v1_deployment_t* AppsV1API_readNamespacedDeployment(apiClient_t *apiClient, char * name, char * _namespace, char * pretty); +v1_deployment_t* AppsV1API_readNamespacedDeployment(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); ``` ### Parameters @@ -1594,7 +1594,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the Deployment | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -1616,7 +1616,7 @@ Name | Type | Description | Notes ```c // read scale of the specified Deployment // -v1_scale_t* AppsV1API_readNamespacedDeploymentScale(apiClient_t *apiClient, char * name, char * _namespace, char * pretty); +v1_scale_t* AppsV1API_readNamespacedDeploymentScale(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); ``` ### Parameters @@ -1625,7 +1625,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the Scale | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -1647,7 +1647,7 @@ Name | Type | Description | Notes ```c // read status of the specified Deployment // -v1_deployment_t* AppsV1API_readNamespacedDeploymentStatus(apiClient_t *apiClient, char * name, char * _namespace, char * pretty); +v1_deployment_t* AppsV1API_readNamespacedDeploymentStatus(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); ``` ### Parameters @@ -1656,7 +1656,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the Deployment | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -1678,7 +1678,7 @@ Name | Type | Description | Notes ```c // read the specified ReplicaSet // -v1_replica_set_t* AppsV1API_readNamespacedReplicaSet(apiClient_t *apiClient, char * name, char * _namespace, char * pretty); +v1_replica_set_t* AppsV1API_readNamespacedReplicaSet(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); ``` ### Parameters @@ -1687,7 +1687,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ReplicaSet | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -1709,7 +1709,7 @@ Name | Type | Description | Notes ```c // read scale of the specified ReplicaSet // -v1_scale_t* AppsV1API_readNamespacedReplicaSetScale(apiClient_t *apiClient, char * name, char * _namespace, char * pretty); +v1_scale_t* AppsV1API_readNamespacedReplicaSetScale(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); ``` ### Parameters @@ -1718,7 +1718,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the Scale | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -1740,7 +1740,7 @@ Name | Type | Description | Notes ```c // read status of the specified ReplicaSet // -v1_replica_set_t* AppsV1API_readNamespacedReplicaSetStatus(apiClient_t *apiClient, char * name, char * _namespace, char * pretty); +v1_replica_set_t* AppsV1API_readNamespacedReplicaSetStatus(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); ``` ### Parameters @@ -1749,7 +1749,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ReplicaSet | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -1771,7 +1771,7 @@ Name | Type | Description | Notes ```c // read the specified StatefulSet // -v1_stateful_set_t* AppsV1API_readNamespacedStatefulSet(apiClient_t *apiClient, char * name, char * _namespace, char * pretty); +v1_stateful_set_t* AppsV1API_readNamespacedStatefulSet(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); ``` ### Parameters @@ -1780,7 +1780,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the StatefulSet | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -1802,7 +1802,7 @@ Name | Type | Description | Notes ```c // read scale of the specified StatefulSet // -v1_scale_t* AppsV1API_readNamespacedStatefulSetScale(apiClient_t *apiClient, char * name, char * _namespace, char * pretty); +v1_scale_t* AppsV1API_readNamespacedStatefulSetScale(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); ``` ### Parameters @@ -1811,7 +1811,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the Scale | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -1833,7 +1833,7 @@ Name | Type | Description | Notes ```c // read status of the specified StatefulSet // -v1_stateful_set_t* AppsV1API_readNamespacedStatefulSetStatus(apiClient_t *apiClient, char * name, char * _namespace, char * pretty); +v1_stateful_set_t* AppsV1API_readNamespacedStatefulSetStatus(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); ``` ### Parameters @@ -1842,7 +1842,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the StatefulSet | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -1864,7 +1864,7 @@ Name | Type | Description | Notes ```c // replace the specified ControllerRevision // -v1_controller_revision_t* AppsV1API_replaceNamespacedControllerRevision(apiClient_t *apiClient, char * name, char * _namespace, v1_controller_revision_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_controller_revision_t* AppsV1API_replaceNamespacedControllerRevision(apiClient_t *apiClient, char *name, char *_namespace, v1_controller_revision_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -1874,7 +1874,7 @@ Name | Type | Description | Notes **name** | **char \*** | name of the ControllerRevision | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_controller_revision_t](v1_controller_revision.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -1899,7 +1899,7 @@ Name | Type | Description | Notes ```c // replace the specified DaemonSet // -v1_daemon_set_t* AppsV1API_replaceNamespacedDaemonSet(apiClient_t *apiClient, char * name, char * _namespace, v1_daemon_set_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_daemon_set_t* AppsV1API_replaceNamespacedDaemonSet(apiClient_t *apiClient, char *name, char *_namespace, v1_daemon_set_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -1909,7 +1909,7 @@ Name | Type | Description | Notes **name** | **char \*** | name of the DaemonSet | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_daemon_set_t](v1_daemon_set.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -1934,7 +1934,7 @@ Name | Type | Description | Notes ```c // replace status of the specified DaemonSet // -v1_daemon_set_t* AppsV1API_replaceNamespacedDaemonSetStatus(apiClient_t *apiClient, char * name, char * _namespace, v1_daemon_set_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_daemon_set_t* AppsV1API_replaceNamespacedDaemonSetStatus(apiClient_t *apiClient, char *name, char *_namespace, v1_daemon_set_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -1944,7 +1944,7 @@ Name | Type | Description | Notes **name** | **char \*** | name of the DaemonSet | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_daemon_set_t](v1_daemon_set.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -1969,7 +1969,7 @@ Name | Type | Description | Notes ```c // replace the specified Deployment // -v1_deployment_t* AppsV1API_replaceNamespacedDeployment(apiClient_t *apiClient, char * name, char * _namespace, v1_deployment_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_deployment_t* AppsV1API_replaceNamespacedDeployment(apiClient_t *apiClient, char *name, char *_namespace, v1_deployment_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -1979,7 +1979,7 @@ Name | Type | Description | Notes **name** | **char \*** | name of the Deployment | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_deployment_t](v1_deployment.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -2004,7 +2004,7 @@ Name | Type | Description | Notes ```c // replace scale of the specified Deployment // -v1_scale_t* AppsV1API_replaceNamespacedDeploymentScale(apiClient_t *apiClient, char * name, char * _namespace, v1_scale_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_scale_t* AppsV1API_replaceNamespacedDeploymentScale(apiClient_t *apiClient, char *name, char *_namespace, v1_scale_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -2014,7 +2014,7 @@ Name | Type | Description | Notes **name** | **char \*** | name of the Scale | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_scale_t](v1_scale.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -2039,7 +2039,7 @@ Name | Type | Description | Notes ```c // replace status of the specified Deployment // -v1_deployment_t* AppsV1API_replaceNamespacedDeploymentStatus(apiClient_t *apiClient, char * name, char * _namespace, v1_deployment_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_deployment_t* AppsV1API_replaceNamespacedDeploymentStatus(apiClient_t *apiClient, char *name, char *_namespace, v1_deployment_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -2049,7 +2049,7 @@ Name | Type | Description | Notes **name** | **char \*** | name of the Deployment | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_deployment_t](v1_deployment.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -2074,7 +2074,7 @@ Name | Type | Description | Notes ```c // replace the specified ReplicaSet // -v1_replica_set_t* AppsV1API_replaceNamespacedReplicaSet(apiClient_t *apiClient, char * name, char * _namespace, v1_replica_set_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_replica_set_t* AppsV1API_replaceNamespacedReplicaSet(apiClient_t *apiClient, char *name, char *_namespace, v1_replica_set_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -2084,7 +2084,7 @@ Name | Type | Description | Notes **name** | **char \*** | name of the ReplicaSet | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_replica_set_t](v1_replica_set.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -2109,7 +2109,7 @@ Name | Type | Description | Notes ```c // replace scale of the specified ReplicaSet // -v1_scale_t* AppsV1API_replaceNamespacedReplicaSetScale(apiClient_t *apiClient, char * name, char * _namespace, v1_scale_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_scale_t* AppsV1API_replaceNamespacedReplicaSetScale(apiClient_t *apiClient, char *name, char *_namespace, v1_scale_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -2119,7 +2119,7 @@ Name | Type | Description | Notes **name** | **char \*** | name of the Scale | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_scale_t](v1_scale.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -2144,7 +2144,7 @@ Name | Type | Description | Notes ```c // replace status of the specified ReplicaSet // -v1_replica_set_t* AppsV1API_replaceNamespacedReplicaSetStatus(apiClient_t *apiClient, char * name, char * _namespace, v1_replica_set_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_replica_set_t* AppsV1API_replaceNamespacedReplicaSetStatus(apiClient_t *apiClient, char *name, char *_namespace, v1_replica_set_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -2154,7 +2154,7 @@ Name | Type | Description | Notes **name** | **char \*** | name of the ReplicaSet | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_replica_set_t](v1_replica_set.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -2179,7 +2179,7 @@ Name | Type | Description | Notes ```c // replace the specified StatefulSet // -v1_stateful_set_t* AppsV1API_replaceNamespacedStatefulSet(apiClient_t *apiClient, char * name, char * _namespace, v1_stateful_set_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_stateful_set_t* AppsV1API_replaceNamespacedStatefulSet(apiClient_t *apiClient, char *name, char *_namespace, v1_stateful_set_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -2189,7 +2189,7 @@ Name | Type | Description | Notes **name** | **char \*** | name of the StatefulSet | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_stateful_set_t](v1_stateful_set.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -2214,7 +2214,7 @@ Name | Type | Description | Notes ```c // replace scale of the specified StatefulSet // -v1_scale_t* AppsV1API_replaceNamespacedStatefulSetScale(apiClient_t *apiClient, char * name, char * _namespace, v1_scale_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_scale_t* AppsV1API_replaceNamespacedStatefulSetScale(apiClient_t *apiClient, char *name, char *_namespace, v1_scale_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -2224,7 +2224,7 @@ Name | Type | Description | Notes **name** | **char \*** | name of the Scale | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_scale_t](v1_scale.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -2249,7 +2249,7 @@ Name | Type | Description | Notes ```c // replace status of the specified StatefulSet // -v1_stateful_set_t* AppsV1API_replaceNamespacedStatefulSetStatus(apiClient_t *apiClient, char * name, char * _namespace, v1_stateful_set_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_stateful_set_t* AppsV1API_replaceNamespacedStatefulSetStatus(apiClient_t *apiClient, char *name, char *_namespace, v1_stateful_set_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -2259,7 +2259,7 @@ Name | Type | Description | Notes **name** | **char \*** | name of the StatefulSet | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_stateful_set_t](v1_stateful_set.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] diff --git a/kubernetes/docs/AuthenticationV1API.md b/kubernetes/docs/AuthenticationV1API.md index d96acaf7..8898b36c 100644 --- a/kubernetes/docs/AuthenticationV1API.md +++ b/kubernetes/docs/AuthenticationV1API.md @@ -13,7 +13,7 @@ Method | HTTP request | Description ```c // create a SelfSubjectReview // -v1_self_subject_review_t* AuthenticationV1API_createSelfSubjectReview(apiClient_t *apiClient, v1_self_subject_review_t * body, char * dryRun, char * fieldManager, char * fieldValidation, char * pretty); +v1_self_subject_review_t* AuthenticationV1API_createSelfSubjectReview(apiClient_t *apiClient, v1_self_subject_review_t *body, char *dryRun, char *fieldManager, char *fieldValidation, char *pretty); ``` ### Parameters @@ -24,7 +24,7 @@ Name | Type | Description | Notes **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -46,7 +46,7 @@ Name | Type | Description | Notes ```c // create a TokenReview // -v1_token_review_t* AuthenticationV1API_createTokenReview(apiClient_t *apiClient, v1_token_review_t * body, char * dryRun, char * fieldManager, char * fieldValidation, char * pretty); +v1_token_review_t* AuthenticationV1API_createTokenReview(apiClient_t *apiClient, v1_token_review_t *body, char *dryRun, char *fieldManager, char *fieldValidation, char *pretty); ``` ### Parameters @@ -57,7 +57,7 @@ Name | Type | Description | Notes **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type diff --git a/kubernetes/docs/AuthenticationV1alpha1API.md b/kubernetes/docs/AuthenticationV1alpha1API.md index b03d3ca1..1b52b873 100644 --- a/kubernetes/docs/AuthenticationV1alpha1API.md +++ b/kubernetes/docs/AuthenticationV1alpha1API.md @@ -12,7 +12,7 @@ Method | HTTP request | Description ```c // create a SelfSubjectReview // -v1alpha1_self_subject_review_t* AuthenticationV1alpha1API_createSelfSubjectReview(apiClient_t *apiClient, v1alpha1_self_subject_review_t * body, char * dryRun, char * fieldManager, char * fieldValidation, char * pretty); +v1alpha1_self_subject_review_t* AuthenticationV1alpha1API_createSelfSubjectReview(apiClient_t *apiClient, v1alpha1_self_subject_review_t *body, char *dryRun, char *fieldManager, char *fieldValidation, char *pretty); ``` ### Parameters @@ -23,7 +23,7 @@ Name | Type | Description | Notes **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type diff --git a/kubernetes/docs/AuthenticationV1beta1API.md b/kubernetes/docs/AuthenticationV1beta1API.md index ae8930a9..6183ab9d 100644 --- a/kubernetes/docs/AuthenticationV1beta1API.md +++ b/kubernetes/docs/AuthenticationV1beta1API.md @@ -12,7 +12,7 @@ Method | HTTP request | Description ```c // create a SelfSubjectReview // -v1beta1_self_subject_review_t* AuthenticationV1beta1API_createSelfSubjectReview(apiClient_t *apiClient, v1beta1_self_subject_review_t * body, char * dryRun, char * fieldManager, char * fieldValidation, char * pretty); +v1beta1_self_subject_review_t* AuthenticationV1beta1API_createSelfSubjectReview(apiClient_t *apiClient, v1beta1_self_subject_review_t *body, char *dryRun, char *fieldManager, char *fieldValidation, char *pretty); ``` ### Parameters @@ -23,7 +23,7 @@ Name | Type | Description | Notes **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type diff --git a/kubernetes/docs/AuthorizationV1API.md b/kubernetes/docs/AuthorizationV1API.md index addacacc..a890eda1 100644 --- a/kubernetes/docs/AuthorizationV1API.md +++ b/kubernetes/docs/AuthorizationV1API.md @@ -15,7 +15,7 @@ Method | HTTP request | Description ```c // create a LocalSubjectAccessReview // -v1_local_subject_access_review_t* AuthorizationV1API_createNamespacedLocalSubjectAccessReview(apiClient_t *apiClient, char * _namespace, v1_local_subject_access_review_t * body, char * dryRun, char * fieldManager, char * fieldValidation, char * pretty); +v1_local_subject_access_review_t* AuthorizationV1API_createNamespacedLocalSubjectAccessReview(apiClient_t *apiClient, char *_namespace, v1_local_subject_access_review_t *body, char *dryRun, char *fieldManager, char *fieldValidation, char *pretty); ``` ### Parameters @@ -27,7 +27,7 @@ Name | Type | Description | Notes **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -49,7 +49,7 @@ Name | Type | Description | Notes ```c // create a SelfSubjectAccessReview // -v1_self_subject_access_review_t* AuthorizationV1API_createSelfSubjectAccessReview(apiClient_t *apiClient, v1_self_subject_access_review_t * body, char * dryRun, char * fieldManager, char * fieldValidation, char * pretty); +v1_self_subject_access_review_t* AuthorizationV1API_createSelfSubjectAccessReview(apiClient_t *apiClient, v1_self_subject_access_review_t *body, char *dryRun, char *fieldManager, char *fieldValidation, char *pretty); ``` ### Parameters @@ -60,7 +60,7 @@ Name | Type | Description | Notes **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -82,7 +82,7 @@ Name | Type | Description | Notes ```c // create a SelfSubjectRulesReview // -v1_self_subject_rules_review_t* AuthorizationV1API_createSelfSubjectRulesReview(apiClient_t *apiClient, v1_self_subject_rules_review_t * body, char * dryRun, char * fieldManager, char * fieldValidation, char * pretty); +v1_self_subject_rules_review_t* AuthorizationV1API_createSelfSubjectRulesReview(apiClient_t *apiClient, v1_self_subject_rules_review_t *body, char *dryRun, char *fieldManager, char *fieldValidation, char *pretty); ``` ### Parameters @@ -93,7 +93,7 @@ Name | Type | Description | Notes **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -115,7 +115,7 @@ Name | Type | Description | Notes ```c // create a SubjectAccessReview // -v1_subject_access_review_t* AuthorizationV1API_createSubjectAccessReview(apiClient_t *apiClient, v1_subject_access_review_t * body, char * dryRun, char * fieldManager, char * fieldValidation, char * pretty); +v1_subject_access_review_t* AuthorizationV1API_createSubjectAccessReview(apiClient_t *apiClient, v1_subject_access_review_t *body, char *dryRun, char *fieldManager, char *fieldValidation, char *pretty); ``` ### Parameters @@ -126,7 +126,7 @@ Name | Type | Description | Notes **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type diff --git a/kubernetes/docs/AutoscalingV1API.md b/kubernetes/docs/AutoscalingV1API.md index 6307924c..ea8edf7a 100644 --- a/kubernetes/docs/AutoscalingV1API.md +++ b/kubernetes/docs/AutoscalingV1API.md @@ -22,7 +22,7 @@ Method | HTTP request | Description ```c // create a HorizontalPodAutoscaler // -v1_horizontal_pod_autoscaler_t* AutoscalingV1API_createNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char * _namespace, v1_horizontal_pod_autoscaler_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_horizontal_pod_autoscaler_t* AutoscalingV1API_createNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char *_namespace, v1_horizontal_pod_autoscaler_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -31,7 +31,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_horizontal_pod_autoscaler_t](v1_horizontal_pod_autoscaler.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -56,7 +56,7 @@ Name | Type | Description | Notes ```c // delete collection of HorizontalPodAutoscaler // -v1_status_t* AutoscalingV1API_deleteCollectionNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char * _namespace, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* AutoscalingV1API_deleteCollectionNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters @@ -64,19 +64,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -99,7 +99,7 @@ Name | Type | Description | Notes ```c // delete a HorizontalPodAutoscaler // -v1_status_t* AutoscalingV1API_deleteNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char * name, char * _namespace, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_status_t* AutoscalingV1API_deleteNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -108,10 +108,10 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the HorizontalPodAutoscaler | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -163,24 +163,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind HorizontalPodAutoscaler // -v1_horizontal_pod_autoscaler_list_t* AutoscalingV1API_listHorizontalPodAutoscalerForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * pretty, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_horizontal_pod_autoscaler_list_t* AutoscalingV1API_listHorizontalPodAutoscalerForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**allowWatchBookmarks** | **int** | 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. | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**limit** | **int \*** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -202,7 +202,7 @@ Name | Type | Description | Notes ```c // list or watch objects of kind HorizontalPodAutoscaler // -v1_horizontal_pod_autoscaler_list_t* AutoscalingV1API_listNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char * _namespace, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_horizontal_pod_autoscaler_list_t* AutoscalingV1API_listNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters @@ -210,17 +210,17 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -242,7 +242,7 @@ Name | Type | Description | Notes ```c // partially update the specified HorizontalPodAutoscaler // -v1_horizontal_pod_autoscaler_t* AutoscalingV1API_patchNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char * name, char * _namespace, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_horizontal_pod_autoscaler_t* AutoscalingV1API_patchNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -252,11 +252,11 @@ Name | Type | Description | Notes **name** | **char \*** | name of the HorizontalPodAutoscaler | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -278,7 +278,7 @@ Name | Type | Description | Notes ```c // partially update status of the specified HorizontalPodAutoscaler // -v1_horizontal_pod_autoscaler_t* AutoscalingV1API_patchNamespacedHorizontalPodAutoscalerStatus(apiClient_t *apiClient, char * name, char * _namespace, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_horizontal_pod_autoscaler_t* AutoscalingV1API_patchNamespacedHorizontalPodAutoscalerStatus(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -288,11 +288,11 @@ Name | Type | Description | Notes **name** | **char \*** | name of the HorizontalPodAutoscaler | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -314,7 +314,7 @@ Name | Type | Description | Notes ```c // read the specified HorizontalPodAutoscaler // -v1_horizontal_pod_autoscaler_t* AutoscalingV1API_readNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char * name, char * _namespace, char * pretty); +v1_horizontal_pod_autoscaler_t* AutoscalingV1API_readNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); ``` ### Parameters @@ -323,7 +323,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the HorizontalPodAutoscaler | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -345,7 +345,7 @@ Name | Type | Description | Notes ```c // read status of the specified HorizontalPodAutoscaler // -v1_horizontal_pod_autoscaler_t* AutoscalingV1API_readNamespacedHorizontalPodAutoscalerStatus(apiClient_t *apiClient, char * name, char * _namespace, char * pretty); +v1_horizontal_pod_autoscaler_t* AutoscalingV1API_readNamespacedHorizontalPodAutoscalerStatus(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); ``` ### Parameters @@ -354,7 +354,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the HorizontalPodAutoscaler | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -376,7 +376,7 @@ Name | Type | Description | Notes ```c // replace the specified HorizontalPodAutoscaler // -v1_horizontal_pod_autoscaler_t* AutoscalingV1API_replaceNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char * name, char * _namespace, v1_horizontal_pod_autoscaler_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_horizontal_pod_autoscaler_t* AutoscalingV1API_replaceNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char *name, char *_namespace, v1_horizontal_pod_autoscaler_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -386,7 +386,7 @@ Name | Type | Description | Notes **name** | **char \*** | name of the HorizontalPodAutoscaler | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_horizontal_pod_autoscaler_t](v1_horizontal_pod_autoscaler.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -411,7 +411,7 @@ Name | Type | Description | Notes ```c // replace status of the specified HorizontalPodAutoscaler // -v1_horizontal_pod_autoscaler_t* AutoscalingV1API_replaceNamespacedHorizontalPodAutoscalerStatus(apiClient_t *apiClient, char * name, char * _namespace, v1_horizontal_pod_autoscaler_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_horizontal_pod_autoscaler_t* AutoscalingV1API_replaceNamespacedHorizontalPodAutoscalerStatus(apiClient_t *apiClient, char *name, char *_namespace, v1_horizontal_pod_autoscaler_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -421,7 +421,7 @@ Name | Type | Description | Notes **name** | **char \*** | name of the HorizontalPodAutoscaler | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_horizontal_pod_autoscaler_t](v1_horizontal_pod_autoscaler.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] diff --git a/kubernetes/docs/AutoscalingV2API.md b/kubernetes/docs/AutoscalingV2API.md index ba014217..6676faf8 100644 --- a/kubernetes/docs/AutoscalingV2API.md +++ b/kubernetes/docs/AutoscalingV2API.md @@ -22,7 +22,7 @@ Method | HTTP request | Description ```c // create a HorizontalPodAutoscaler // -v2_horizontal_pod_autoscaler_t* AutoscalingV2API_createNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char * _namespace, v2_horizontal_pod_autoscaler_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v2_horizontal_pod_autoscaler_t* AutoscalingV2API_createNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char *_namespace, v2_horizontal_pod_autoscaler_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -31,7 +31,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v2_horizontal_pod_autoscaler_t](v2_horizontal_pod_autoscaler.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -56,7 +56,7 @@ Name | Type | Description | Notes ```c // delete collection of HorizontalPodAutoscaler // -v1_status_t* AutoscalingV2API_deleteCollectionNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char * _namespace, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* AutoscalingV2API_deleteCollectionNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters @@ -64,19 +64,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -99,7 +99,7 @@ Name | Type | Description | Notes ```c // delete a HorizontalPodAutoscaler // -v1_status_t* AutoscalingV2API_deleteNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char * name, char * _namespace, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_status_t* AutoscalingV2API_deleteNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -108,10 +108,10 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the HorizontalPodAutoscaler | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -163,24 +163,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind HorizontalPodAutoscaler // -v2_horizontal_pod_autoscaler_list_t* AutoscalingV2API_listHorizontalPodAutoscalerForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * pretty, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v2_horizontal_pod_autoscaler_list_t* AutoscalingV2API_listHorizontalPodAutoscalerForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**allowWatchBookmarks** | **int** | 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. | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**limit** | **int \*** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -202,7 +202,7 @@ Name | Type | Description | Notes ```c // list or watch objects of kind HorizontalPodAutoscaler // -v2_horizontal_pod_autoscaler_list_t* AutoscalingV2API_listNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char * _namespace, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v2_horizontal_pod_autoscaler_list_t* AutoscalingV2API_listNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters @@ -210,17 +210,17 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -242,7 +242,7 @@ Name | Type | Description | Notes ```c // partially update the specified HorizontalPodAutoscaler // -v2_horizontal_pod_autoscaler_t* AutoscalingV2API_patchNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char * name, char * _namespace, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v2_horizontal_pod_autoscaler_t* AutoscalingV2API_patchNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -252,11 +252,11 @@ Name | Type | Description | Notes **name** | **char \*** | name of the HorizontalPodAutoscaler | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -278,7 +278,7 @@ Name | Type | Description | Notes ```c // partially update status of the specified HorizontalPodAutoscaler // -v2_horizontal_pod_autoscaler_t* AutoscalingV2API_patchNamespacedHorizontalPodAutoscalerStatus(apiClient_t *apiClient, char * name, char * _namespace, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v2_horizontal_pod_autoscaler_t* AutoscalingV2API_patchNamespacedHorizontalPodAutoscalerStatus(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -288,11 +288,11 @@ Name | Type | Description | Notes **name** | **char \*** | name of the HorizontalPodAutoscaler | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -314,7 +314,7 @@ Name | Type | Description | Notes ```c // read the specified HorizontalPodAutoscaler // -v2_horizontal_pod_autoscaler_t* AutoscalingV2API_readNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char * name, char * _namespace, char * pretty); +v2_horizontal_pod_autoscaler_t* AutoscalingV2API_readNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); ``` ### Parameters @@ -323,7 +323,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the HorizontalPodAutoscaler | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -345,7 +345,7 @@ Name | Type | Description | Notes ```c // read status of the specified HorizontalPodAutoscaler // -v2_horizontal_pod_autoscaler_t* AutoscalingV2API_readNamespacedHorizontalPodAutoscalerStatus(apiClient_t *apiClient, char * name, char * _namespace, char * pretty); +v2_horizontal_pod_autoscaler_t* AutoscalingV2API_readNamespacedHorizontalPodAutoscalerStatus(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); ``` ### Parameters @@ -354,7 +354,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the HorizontalPodAutoscaler | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -376,7 +376,7 @@ Name | Type | Description | Notes ```c // replace the specified HorizontalPodAutoscaler // -v2_horizontal_pod_autoscaler_t* AutoscalingV2API_replaceNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char * name, char * _namespace, v2_horizontal_pod_autoscaler_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v2_horizontal_pod_autoscaler_t* AutoscalingV2API_replaceNamespacedHorizontalPodAutoscaler(apiClient_t *apiClient, char *name, char *_namespace, v2_horizontal_pod_autoscaler_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -386,7 +386,7 @@ Name | Type | Description | Notes **name** | **char \*** | name of the HorizontalPodAutoscaler | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v2_horizontal_pod_autoscaler_t](v2_horizontal_pod_autoscaler.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -411,7 +411,7 @@ Name | Type | Description | Notes ```c // replace status of the specified HorizontalPodAutoscaler // -v2_horizontal_pod_autoscaler_t* AutoscalingV2API_replaceNamespacedHorizontalPodAutoscalerStatus(apiClient_t *apiClient, char * name, char * _namespace, v2_horizontal_pod_autoscaler_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v2_horizontal_pod_autoscaler_t* AutoscalingV2API_replaceNamespacedHorizontalPodAutoscalerStatus(apiClient_t *apiClient, char *name, char *_namespace, v2_horizontal_pod_autoscaler_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -421,7 +421,7 @@ Name | Type | Description | Notes **name** | **char \*** | name of the HorizontalPodAutoscaler | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v2_horizontal_pod_autoscaler_t](v2_horizontal_pod_autoscaler.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] diff --git a/kubernetes/docs/BatchV1API.md b/kubernetes/docs/BatchV1API.md index 7465e770..b20f840b 100644 --- a/kubernetes/docs/BatchV1API.md +++ b/kubernetes/docs/BatchV1API.md @@ -33,7 +33,7 @@ Method | HTTP request | Description ```c // create a CronJob // -v1_cron_job_t* BatchV1API_createNamespacedCronJob(apiClient_t *apiClient, char * _namespace, v1_cron_job_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_cron_job_t* BatchV1API_createNamespacedCronJob(apiClient_t *apiClient, char *_namespace, v1_cron_job_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -42,7 +42,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_cron_job_t](v1_cron_job.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -67,7 +67,7 @@ Name | Type | Description | Notes ```c // create a Job // -v1_job_t* BatchV1API_createNamespacedJob(apiClient_t *apiClient, char * _namespace, v1_job_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_job_t* BatchV1API_createNamespacedJob(apiClient_t *apiClient, char *_namespace, v1_job_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -76,7 +76,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_job_t](v1_job.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -101,7 +101,7 @@ Name | Type | Description | Notes ```c // delete collection of CronJob // -v1_status_t* BatchV1API_deleteCollectionNamespacedCronJob(apiClient_t *apiClient, char * _namespace, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* BatchV1API_deleteCollectionNamespacedCronJob(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters @@ -109,19 +109,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -144,7 +144,7 @@ Name | Type | Description | Notes ```c // delete collection of Job // -v1_status_t* BatchV1API_deleteCollectionNamespacedJob(apiClient_t *apiClient, char * _namespace, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* BatchV1API_deleteCollectionNamespacedJob(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters @@ -152,19 +152,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -187,7 +187,7 @@ Name | Type | Description | Notes ```c // delete a CronJob // -v1_status_t* BatchV1API_deleteNamespacedCronJob(apiClient_t *apiClient, char * name, char * _namespace, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_status_t* BatchV1API_deleteNamespacedCronJob(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -196,10 +196,10 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the CronJob | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -223,7 +223,7 @@ Name | Type | Description | Notes ```c // delete a Job // -v1_status_t* BatchV1API_deleteNamespacedJob(apiClient_t *apiClient, char * name, char * _namespace, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_status_t* BatchV1API_deleteNamespacedJob(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -232,10 +232,10 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the Job | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -287,24 +287,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind CronJob // -v1_cron_job_list_t* BatchV1API_listCronJobForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * pretty, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_cron_job_list_t* BatchV1API_listCronJobForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**allowWatchBookmarks** | **int** | 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. | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**limit** | **int \*** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -326,24 +326,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind Job // -v1_job_list_t* BatchV1API_listJobForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * pretty, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_job_list_t* BatchV1API_listJobForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**allowWatchBookmarks** | **int** | 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. | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**limit** | **int \*** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -365,7 +365,7 @@ Name | Type | Description | Notes ```c // list or watch objects of kind CronJob // -v1_cron_job_list_t* BatchV1API_listNamespacedCronJob(apiClient_t *apiClient, char * _namespace, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_cron_job_list_t* BatchV1API_listNamespacedCronJob(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters @@ -373,17 +373,17 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -405,7 +405,7 @@ Name | Type | Description | Notes ```c // list or watch objects of kind Job // -v1_job_list_t* BatchV1API_listNamespacedJob(apiClient_t *apiClient, char * _namespace, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_job_list_t* BatchV1API_listNamespacedJob(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters @@ -413,17 +413,17 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -445,7 +445,7 @@ Name | Type | Description | Notes ```c // partially update the specified CronJob // -v1_cron_job_t* BatchV1API_patchNamespacedCronJob(apiClient_t *apiClient, char * name, char * _namespace, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_cron_job_t* BatchV1API_patchNamespacedCronJob(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -455,11 +455,11 @@ Name | Type | Description | Notes **name** | **char \*** | name of the CronJob | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -481,7 +481,7 @@ Name | Type | Description | Notes ```c // partially update status of the specified CronJob // -v1_cron_job_t* BatchV1API_patchNamespacedCronJobStatus(apiClient_t *apiClient, char * name, char * _namespace, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_cron_job_t* BatchV1API_patchNamespacedCronJobStatus(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -491,11 +491,11 @@ Name | Type | Description | Notes **name** | **char \*** | name of the CronJob | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -517,7 +517,7 @@ Name | Type | Description | Notes ```c // partially update the specified Job // -v1_job_t* BatchV1API_patchNamespacedJob(apiClient_t *apiClient, char * name, char * _namespace, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_job_t* BatchV1API_patchNamespacedJob(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -527,11 +527,11 @@ Name | Type | Description | Notes **name** | **char \*** | name of the Job | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -553,7 +553,7 @@ Name | Type | Description | Notes ```c // partially update status of the specified Job // -v1_job_t* BatchV1API_patchNamespacedJobStatus(apiClient_t *apiClient, char * name, char * _namespace, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_job_t* BatchV1API_patchNamespacedJobStatus(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -563,11 +563,11 @@ Name | Type | Description | Notes **name** | **char \*** | name of the Job | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -589,7 +589,7 @@ Name | Type | Description | Notes ```c // read the specified CronJob // -v1_cron_job_t* BatchV1API_readNamespacedCronJob(apiClient_t *apiClient, char * name, char * _namespace, char * pretty); +v1_cron_job_t* BatchV1API_readNamespacedCronJob(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); ``` ### Parameters @@ -598,7 +598,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the CronJob | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -620,7 +620,7 @@ Name | Type | Description | Notes ```c // read status of the specified CronJob // -v1_cron_job_t* BatchV1API_readNamespacedCronJobStatus(apiClient_t *apiClient, char * name, char * _namespace, char * pretty); +v1_cron_job_t* BatchV1API_readNamespacedCronJobStatus(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); ``` ### Parameters @@ -629,7 +629,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the CronJob | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -651,7 +651,7 @@ Name | Type | Description | Notes ```c // read the specified Job // -v1_job_t* BatchV1API_readNamespacedJob(apiClient_t *apiClient, char * name, char * _namespace, char * pretty); +v1_job_t* BatchV1API_readNamespacedJob(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); ``` ### Parameters @@ -660,7 +660,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the Job | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -682,7 +682,7 @@ Name | Type | Description | Notes ```c // read status of the specified Job // -v1_job_t* BatchV1API_readNamespacedJobStatus(apiClient_t *apiClient, char * name, char * _namespace, char * pretty); +v1_job_t* BatchV1API_readNamespacedJobStatus(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); ``` ### Parameters @@ -691,7 +691,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the Job | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -713,7 +713,7 @@ Name | Type | Description | Notes ```c // replace the specified CronJob // -v1_cron_job_t* BatchV1API_replaceNamespacedCronJob(apiClient_t *apiClient, char * name, char * _namespace, v1_cron_job_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_cron_job_t* BatchV1API_replaceNamespacedCronJob(apiClient_t *apiClient, char *name, char *_namespace, v1_cron_job_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -723,7 +723,7 @@ Name | Type | Description | Notes **name** | **char \*** | name of the CronJob | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_cron_job_t](v1_cron_job.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -748,7 +748,7 @@ Name | Type | Description | Notes ```c // replace status of the specified CronJob // -v1_cron_job_t* BatchV1API_replaceNamespacedCronJobStatus(apiClient_t *apiClient, char * name, char * _namespace, v1_cron_job_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_cron_job_t* BatchV1API_replaceNamespacedCronJobStatus(apiClient_t *apiClient, char *name, char *_namespace, v1_cron_job_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -758,7 +758,7 @@ Name | Type | Description | Notes **name** | **char \*** | name of the CronJob | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_cron_job_t](v1_cron_job.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -783,7 +783,7 @@ Name | Type | Description | Notes ```c // replace the specified Job // -v1_job_t* BatchV1API_replaceNamespacedJob(apiClient_t *apiClient, char * name, char * _namespace, v1_job_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_job_t* BatchV1API_replaceNamespacedJob(apiClient_t *apiClient, char *name, char *_namespace, v1_job_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -793,7 +793,7 @@ Name | Type | Description | Notes **name** | **char \*** | name of the Job | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_job_t](v1_job.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -818,7 +818,7 @@ Name | Type | Description | Notes ```c // replace status of the specified Job // -v1_job_t* BatchV1API_replaceNamespacedJobStatus(apiClient_t *apiClient, char * name, char * _namespace, v1_job_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_job_t* BatchV1API_replaceNamespacedJobStatus(apiClient_t *apiClient, char *name, char *_namespace, v1_job_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -828,7 +828,7 @@ Name | Type | Description | Notes **name** | **char \*** | name of the Job | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_job_t](v1_job.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] diff --git a/kubernetes/docs/CertificatesV1API.md b/kubernetes/docs/CertificatesV1API.md index ab3007b7..9d9fb814 100644 --- a/kubernetes/docs/CertificatesV1API.md +++ b/kubernetes/docs/CertificatesV1API.md @@ -24,7 +24,7 @@ Method | HTTP request | Description ```c // create a CertificateSigningRequest // -v1_certificate_signing_request_t* CertificatesV1API_createCertificateSigningRequest(apiClient_t *apiClient, v1_certificate_signing_request_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_certificate_signing_request_t* CertificatesV1API_createCertificateSigningRequest(apiClient_t *apiClient, v1_certificate_signing_request_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -32,7 +32,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **body** | **[v1_certificate_signing_request_t](v1_certificate_signing_request.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -57,7 +57,7 @@ Name | Type | Description | Notes ```c // delete a CertificateSigningRequest // -v1_status_t* CertificatesV1API_deleteCertificateSigningRequest(apiClient_t *apiClient, char * name, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_status_t* CertificatesV1API_deleteCertificateSigningRequest(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -65,10 +65,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the CertificateSigningRequest | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -92,26 +92,26 @@ Name | Type | Description | Notes ```c // delete collection of CertificateSigningRequest // -v1_status_t* CertificatesV1API_deleteCollectionCertificateSigningRequest(apiClient_t *apiClient, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* CertificatesV1API_deleteCollectionCertificateSigningRequest(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -162,24 +162,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind CertificateSigningRequest // -v1_certificate_signing_request_list_t* CertificatesV1API_listCertificateSigningRequest(apiClient_t *apiClient, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_certificate_signing_request_list_t* CertificatesV1API_listCertificateSigningRequest(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -201,7 +201,7 @@ Name | Type | Description | Notes ```c // partially update the specified CertificateSigningRequest // -v1_certificate_signing_request_t* CertificatesV1API_patchCertificateSigningRequest(apiClient_t *apiClient, char * name, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_certificate_signing_request_t* CertificatesV1API_patchCertificateSigningRequest(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -210,11 +210,11 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the CertificateSigningRequest | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -236,7 +236,7 @@ Name | Type | Description | Notes ```c // partially update approval of the specified CertificateSigningRequest // -v1_certificate_signing_request_t* CertificatesV1API_patchCertificateSigningRequestApproval(apiClient_t *apiClient, char * name, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_certificate_signing_request_t* CertificatesV1API_patchCertificateSigningRequestApproval(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -245,11 +245,11 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the CertificateSigningRequest | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -271,7 +271,7 @@ Name | Type | Description | Notes ```c // partially update status of the specified CertificateSigningRequest // -v1_certificate_signing_request_t* CertificatesV1API_patchCertificateSigningRequestStatus(apiClient_t *apiClient, char * name, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_certificate_signing_request_t* CertificatesV1API_patchCertificateSigningRequestStatus(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -280,11 +280,11 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the CertificateSigningRequest | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -306,7 +306,7 @@ Name | Type | Description | Notes ```c // read the specified CertificateSigningRequest // -v1_certificate_signing_request_t* CertificatesV1API_readCertificateSigningRequest(apiClient_t *apiClient, char * name, char * pretty); +v1_certificate_signing_request_t* CertificatesV1API_readCertificateSigningRequest(apiClient_t *apiClient, char *name, char *pretty); ``` ### Parameters @@ -314,7 +314,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the CertificateSigningRequest | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -336,7 +336,7 @@ Name | Type | Description | Notes ```c // read approval of the specified CertificateSigningRequest // -v1_certificate_signing_request_t* CertificatesV1API_readCertificateSigningRequestApproval(apiClient_t *apiClient, char * name, char * pretty); +v1_certificate_signing_request_t* CertificatesV1API_readCertificateSigningRequestApproval(apiClient_t *apiClient, char *name, char *pretty); ``` ### Parameters @@ -344,7 +344,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the CertificateSigningRequest | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -366,7 +366,7 @@ Name | Type | Description | Notes ```c // read status of the specified CertificateSigningRequest // -v1_certificate_signing_request_t* CertificatesV1API_readCertificateSigningRequestStatus(apiClient_t *apiClient, char * name, char * pretty); +v1_certificate_signing_request_t* CertificatesV1API_readCertificateSigningRequestStatus(apiClient_t *apiClient, char *name, char *pretty); ``` ### Parameters @@ -374,7 +374,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the CertificateSigningRequest | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -396,7 +396,7 @@ Name | Type | Description | Notes ```c // replace the specified CertificateSigningRequest // -v1_certificate_signing_request_t* CertificatesV1API_replaceCertificateSigningRequest(apiClient_t *apiClient, char * name, v1_certificate_signing_request_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_certificate_signing_request_t* CertificatesV1API_replaceCertificateSigningRequest(apiClient_t *apiClient, char *name, v1_certificate_signing_request_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -405,7 +405,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the CertificateSigningRequest | **body** | **[v1_certificate_signing_request_t](v1_certificate_signing_request.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -430,7 +430,7 @@ Name | Type | Description | Notes ```c // replace approval of the specified CertificateSigningRequest // -v1_certificate_signing_request_t* CertificatesV1API_replaceCertificateSigningRequestApproval(apiClient_t *apiClient, char * name, v1_certificate_signing_request_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_certificate_signing_request_t* CertificatesV1API_replaceCertificateSigningRequestApproval(apiClient_t *apiClient, char *name, v1_certificate_signing_request_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -439,7 +439,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the CertificateSigningRequest | **body** | **[v1_certificate_signing_request_t](v1_certificate_signing_request.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -464,7 +464,7 @@ Name | Type | Description | Notes ```c // replace status of the specified CertificateSigningRequest // -v1_certificate_signing_request_t* CertificatesV1API_replaceCertificateSigningRequestStatus(apiClient_t *apiClient, char * name, v1_certificate_signing_request_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_certificate_signing_request_t* CertificatesV1API_replaceCertificateSigningRequestStatus(apiClient_t *apiClient, char *name, v1_certificate_signing_request_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -473,7 +473,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the CertificateSigningRequest | **body** | **[v1_certificate_signing_request_t](v1_certificate_signing_request.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] diff --git a/kubernetes/docs/CertificatesV1alpha1API.md b/kubernetes/docs/CertificatesV1alpha1API.md index 75debb39..30097f21 100644 --- a/kubernetes/docs/CertificatesV1alpha1API.md +++ b/kubernetes/docs/CertificatesV1alpha1API.md @@ -18,7 +18,7 @@ Method | HTTP request | Description ```c // create a ClusterTrustBundle // -v1alpha1_cluster_trust_bundle_t* CertificatesV1alpha1API_createClusterTrustBundle(apiClient_t *apiClient, v1alpha1_cluster_trust_bundle_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1alpha1_cluster_trust_bundle_t* CertificatesV1alpha1API_createClusterTrustBundle(apiClient_t *apiClient, v1alpha1_cluster_trust_bundle_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -26,7 +26,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **body** | **[v1alpha1_cluster_trust_bundle_t](v1alpha1_cluster_trust_bundle.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -51,7 +51,7 @@ Name | Type | Description | Notes ```c // delete a ClusterTrustBundle // -v1_status_t* CertificatesV1alpha1API_deleteClusterTrustBundle(apiClient_t *apiClient, char * name, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_status_t* CertificatesV1alpha1API_deleteClusterTrustBundle(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -59,10 +59,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ClusterTrustBundle | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -86,26 +86,26 @@ Name | Type | Description | Notes ```c // delete collection of ClusterTrustBundle // -v1_status_t* CertificatesV1alpha1API_deleteCollectionClusterTrustBundle(apiClient_t *apiClient, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* CertificatesV1alpha1API_deleteCollectionClusterTrustBundle(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -156,24 +156,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind ClusterTrustBundle // -v1alpha1_cluster_trust_bundle_list_t* CertificatesV1alpha1API_listClusterTrustBundle(apiClient_t *apiClient, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1alpha1_cluster_trust_bundle_list_t* CertificatesV1alpha1API_listClusterTrustBundle(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -195,7 +195,7 @@ Name | Type | Description | Notes ```c // partially update the specified ClusterTrustBundle // -v1alpha1_cluster_trust_bundle_t* CertificatesV1alpha1API_patchClusterTrustBundle(apiClient_t *apiClient, char * name, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1alpha1_cluster_trust_bundle_t* CertificatesV1alpha1API_patchClusterTrustBundle(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -204,11 +204,11 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ClusterTrustBundle | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -230,7 +230,7 @@ Name | Type | Description | Notes ```c // read the specified ClusterTrustBundle // -v1alpha1_cluster_trust_bundle_t* CertificatesV1alpha1API_readClusterTrustBundle(apiClient_t *apiClient, char * name, char * pretty); +v1alpha1_cluster_trust_bundle_t* CertificatesV1alpha1API_readClusterTrustBundle(apiClient_t *apiClient, char *name, char *pretty); ``` ### Parameters @@ -238,7 +238,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ClusterTrustBundle | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -260,7 +260,7 @@ Name | Type | Description | Notes ```c // replace the specified ClusterTrustBundle // -v1alpha1_cluster_trust_bundle_t* CertificatesV1alpha1API_replaceClusterTrustBundle(apiClient_t *apiClient, char * name, v1alpha1_cluster_trust_bundle_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1alpha1_cluster_trust_bundle_t* CertificatesV1alpha1API_replaceClusterTrustBundle(apiClient_t *apiClient, char *name, v1alpha1_cluster_trust_bundle_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -269,7 +269,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ClusterTrustBundle | **body** | **[v1alpha1_cluster_trust_bundle_t](v1alpha1_cluster_trust_bundle.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] diff --git a/kubernetes/docs/CoordinationV1API.md b/kubernetes/docs/CoordinationV1API.md index 7b0c2c62..b1d4877f 100644 --- a/kubernetes/docs/CoordinationV1API.md +++ b/kubernetes/docs/CoordinationV1API.md @@ -19,7 +19,7 @@ Method | HTTP request | Description ```c // create a Lease // -v1_lease_t* CoordinationV1API_createNamespacedLease(apiClient_t *apiClient, char * _namespace, v1_lease_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_lease_t* CoordinationV1API_createNamespacedLease(apiClient_t *apiClient, char *_namespace, v1_lease_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -28,7 +28,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_lease_t](v1_lease.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -53,7 +53,7 @@ Name | Type | Description | Notes ```c // delete collection of Lease // -v1_status_t* CoordinationV1API_deleteCollectionNamespacedLease(apiClient_t *apiClient, char * _namespace, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* CoordinationV1API_deleteCollectionNamespacedLease(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters @@ -61,19 +61,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -96,7 +96,7 @@ Name | Type | Description | Notes ```c // delete a Lease // -v1_status_t* CoordinationV1API_deleteNamespacedLease(apiClient_t *apiClient, char * name, char * _namespace, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_status_t* CoordinationV1API_deleteNamespacedLease(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -105,10 +105,10 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the Lease | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -160,24 +160,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind Lease // -v1_lease_list_t* CoordinationV1API_listLeaseForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * pretty, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_lease_list_t* CoordinationV1API_listLeaseForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**allowWatchBookmarks** | **int** | 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. | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**limit** | **int \*** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -199,7 +199,7 @@ Name | Type | Description | Notes ```c // list or watch objects of kind Lease // -v1_lease_list_t* CoordinationV1API_listNamespacedLease(apiClient_t *apiClient, char * _namespace, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_lease_list_t* CoordinationV1API_listNamespacedLease(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters @@ -207,17 +207,17 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -239,7 +239,7 @@ Name | Type | Description | Notes ```c // partially update the specified Lease // -v1_lease_t* CoordinationV1API_patchNamespacedLease(apiClient_t *apiClient, char * name, char * _namespace, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_lease_t* CoordinationV1API_patchNamespacedLease(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -249,11 +249,11 @@ Name | Type | Description | Notes **name** | **char \*** | name of the Lease | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -275,7 +275,7 @@ Name | Type | Description | Notes ```c // read the specified Lease // -v1_lease_t* CoordinationV1API_readNamespacedLease(apiClient_t *apiClient, char * name, char * _namespace, char * pretty); +v1_lease_t* CoordinationV1API_readNamespacedLease(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); ``` ### Parameters @@ -284,7 +284,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the Lease | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -306,7 +306,7 @@ Name | Type | Description | Notes ```c // replace the specified Lease // -v1_lease_t* CoordinationV1API_replaceNamespacedLease(apiClient_t *apiClient, char * name, char * _namespace, v1_lease_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_lease_t* CoordinationV1API_replaceNamespacedLease(apiClient_t *apiClient, char *name, char *_namespace, v1_lease_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -316,7 +316,7 @@ Name | Type | Description | Notes **name** | **char \*** | name of the Lease | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_lease_t](v1_lease.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] diff --git a/kubernetes/docs/CoreV1API.md b/kubernetes/docs/CoreV1API.md index 7ea33e72..3c8d8381 100644 --- a/kubernetes/docs/CoreV1API.md +++ b/kubernetes/docs/CoreV1API.md @@ -213,7 +213,7 @@ Method | HTTP request | Description ```c // connect DELETE requests to proxy of Pod // -char* CoreV1API_connectDeleteNamespacedPodProxy(apiClient_t *apiClient, char * name, char * _namespace, char * path); +char* CoreV1API_connectDeleteNamespacedPodProxy(apiClient_t *apiClient, char *name, char *_namespace, char *path); ``` ### Parameters @@ -245,7 +245,7 @@ char* ```c // connect DELETE requests to proxy of Pod // -char* CoreV1API_connectDeleteNamespacedPodProxyWithPath(apiClient_t *apiClient, char * name, char * _namespace, char * path, char * path2); +char* CoreV1API_connectDeleteNamespacedPodProxyWithPath(apiClient_t *apiClient, char *name, char *_namespace, char *path, char *path2); ``` ### Parameters @@ -278,7 +278,7 @@ char* ```c // connect DELETE requests to proxy of Service // -char* CoreV1API_connectDeleteNamespacedServiceProxy(apiClient_t *apiClient, char * name, char * _namespace, char * path); +char* CoreV1API_connectDeleteNamespacedServiceProxy(apiClient_t *apiClient, char *name, char *_namespace, char *path); ``` ### Parameters @@ -310,7 +310,7 @@ char* ```c // connect DELETE requests to proxy of Service // -char* CoreV1API_connectDeleteNamespacedServiceProxyWithPath(apiClient_t *apiClient, char * name, char * _namespace, char * path, char * path2); +char* CoreV1API_connectDeleteNamespacedServiceProxyWithPath(apiClient_t *apiClient, char *name, char *_namespace, char *path, char *path2); ``` ### Parameters @@ -343,7 +343,7 @@ char* ```c // connect DELETE requests to proxy of Node // -char* CoreV1API_connectDeleteNodeProxy(apiClient_t *apiClient, char * name, char * path); +char* CoreV1API_connectDeleteNodeProxy(apiClient_t *apiClient, char *name, char *path); ``` ### Parameters @@ -374,7 +374,7 @@ char* ```c // connect DELETE requests to proxy of Node // -char* CoreV1API_connectDeleteNodeProxyWithPath(apiClient_t *apiClient, char * name, char * path, char * path2); +char* CoreV1API_connectDeleteNodeProxyWithPath(apiClient_t *apiClient, char *name, char *path, char *path2); ``` ### Parameters @@ -406,7 +406,7 @@ char* ```c // connect GET requests to attach of Pod // -char* CoreV1API_connectGetNamespacedPodAttach(apiClient_t *apiClient, char * name, char * _namespace, char * container, int _stderr, int _stdin, int _stdout, int tty); +char* CoreV1API_connectGetNamespacedPodAttach(apiClient_t *apiClient, char *name, char *_namespace, char *container, int *_stderr, int *_stdin, int *_stdout, int *tty); ``` ### Parameters @@ -416,10 +416,10 @@ Name | Type | Description | Notes **name** | **char \*** | name of the PodAttachOptions | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **container** | **char \*** | The container in which to execute the command. Defaults to only container if there is only one container in the pod. | [optional] -**_stderr** | **int** | Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true. | [optional] -**_stdin** | **int** | Stdin if true, redirects the standard input stream of the pod for this call. Defaults to false. | [optional] -**_stdout** | **int** | Stdout if true indicates that stdout is to be redirected for the attach call. Defaults to true. | [optional] -**tty** | **int** | TTY if true indicates that a tty will be allocated for the attach call. This is passed through the container runtime so the tty is allocated on the worker node by the container runtime. Defaults to false. | [optional] +**_stderr** | **int \*** | Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true. | [optional] +**_stdin** | **int \*** | Stdin if true, redirects the standard input stream of the pod for this call. Defaults to false. | [optional] +**_stdout** | **int \*** | Stdout if true indicates that stdout is to be redirected for the attach call. Defaults to true. | [optional] +**tty** | **int \*** | TTY if true indicates that a tty will be allocated for the attach call. This is passed through the container runtime so the tty is allocated on the worker node by the container runtime. Defaults to false. | [optional] ### Return type @@ -442,7 +442,7 @@ char* ```c // connect GET requests to exec of Pod // -char* CoreV1API_connectGetNamespacedPodExec(apiClient_t *apiClient, char * name, char * _namespace, char * command, char * container, int _stderr, int _stdin, int _stdout, int tty); +char* CoreV1API_connectGetNamespacedPodExec(apiClient_t *apiClient, char *name, char *_namespace, char *command, char *container, int *_stderr, int *_stdin, int *_stdout, int *tty); ``` ### Parameters @@ -453,10 +453,10 @@ Name | Type | Description | Notes **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **command** | **char \*** | Command is the remote command to execute. argv array. Not executed within a shell. | [optional] **container** | **char \*** | Container in which to execute the command. Defaults to only container if there is only one container in the pod. | [optional] -**_stderr** | **int** | Redirect the standard error stream of the pod for this call. | [optional] -**_stdin** | **int** | Redirect the standard input stream of the pod for this call. Defaults to false. | [optional] -**_stdout** | **int** | Redirect the standard output stream of the pod for this call. | [optional] -**tty** | **int** | TTY if true indicates that a tty will be allocated for the exec call. Defaults to false. | [optional] +**_stderr** | **int \*** | Redirect the standard error stream of the pod for this call. | [optional] +**_stdin** | **int \*** | Redirect the standard input stream of the pod for this call. Defaults to false. | [optional] +**_stdout** | **int \*** | Redirect the standard output stream of the pod for this call. | [optional] +**tty** | **int \*** | TTY if true indicates that a tty will be allocated for the exec call. Defaults to false. | [optional] ### Return type @@ -479,7 +479,7 @@ char* ```c // connect GET requests to portforward of Pod // -char* CoreV1API_connectGetNamespacedPodPortforward(apiClient_t *apiClient, char * name, char * _namespace, int ports); +char* CoreV1API_connectGetNamespacedPodPortforward(apiClient_t *apiClient, char *name, char *_namespace, int *ports); ``` ### Parameters @@ -488,7 +488,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the PodPortForwardOptions | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**ports** | **int** | List of ports to forward Required when using WebSockets | [optional] +**ports** | **int \*** | List of ports to forward Required when using WebSockets | [optional] ### Return type @@ -511,7 +511,7 @@ char* ```c // connect GET requests to proxy of Pod // -char* CoreV1API_connectGetNamespacedPodProxy(apiClient_t *apiClient, char * name, char * _namespace, char * path); +char* CoreV1API_connectGetNamespacedPodProxy(apiClient_t *apiClient, char *name, char *_namespace, char *path); ``` ### Parameters @@ -543,7 +543,7 @@ char* ```c // connect GET requests to proxy of Pod // -char* CoreV1API_connectGetNamespacedPodProxyWithPath(apiClient_t *apiClient, char * name, char * _namespace, char * path, char * path2); +char* CoreV1API_connectGetNamespacedPodProxyWithPath(apiClient_t *apiClient, char *name, char *_namespace, char *path, char *path2); ``` ### Parameters @@ -576,7 +576,7 @@ char* ```c // connect GET requests to proxy of Service // -char* CoreV1API_connectGetNamespacedServiceProxy(apiClient_t *apiClient, char * name, char * _namespace, char * path); +char* CoreV1API_connectGetNamespacedServiceProxy(apiClient_t *apiClient, char *name, char *_namespace, char *path); ``` ### Parameters @@ -608,7 +608,7 @@ char* ```c // connect GET requests to proxy of Service // -char* CoreV1API_connectGetNamespacedServiceProxyWithPath(apiClient_t *apiClient, char * name, char * _namespace, char * path, char * path2); +char* CoreV1API_connectGetNamespacedServiceProxyWithPath(apiClient_t *apiClient, char *name, char *_namespace, char *path, char *path2); ``` ### Parameters @@ -641,7 +641,7 @@ char* ```c // connect GET requests to proxy of Node // -char* CoreV1API_connectGetNodeProxy(apiClient_t *apiClient, char * name, char * path); +char* CoreV1API_connectGetNodeProxy(apiClient_t *apiClient, char *name, char *path); ``` ### Parameters @@ -672,7 +672,7 @@ char* ```c // connect GET requests to proxy of Node // -char* CoreV1API_connectGetNodeProxyWithPath(apiClient_t *apiClient, char * name, char * path, char * path2); +char* CoreV1API_connectGetNodeProxyWithPath(apiClient_t *apiClient, char *name, char *path, char *path2); ``` ### Parameters @@ -704,7 +704,7 @@ char* ```c // connect HEAD requests to proxy of Pod // -char* CoreV1API_connectHeadNamespacedPodProxy(apiClient_t *apiClient, char * name, char * _namespace, char * path); +char* CoreV1API_connectHeadNamespacedPodProxy(apiClient_t *apiClient, char *name, char *_namespace, char *path); ``` ### Parameters @@ -736,7 +736,7 @@ char* ```c // connect HEAD requests to proxy of Pod // -char* CoreV1API_connectHeadNamespacedPodProxyWithPath(apiClient_t *apiClient, char * name, char * _namespace, char * path, char * path2); +char* CoreV1API_connectHeadNamespacedPodProxyWithPath(apiClient_t *apiClient, char *name, char *_namespace, char *path, char *path2); ``` ### Parameters @@ -769,7 +769,7 @@ char* ```c // connect HEAD requests to proxy of Service // -char* CoreV1API_connectHeadNamespacedServiceProxy(apiClient_t *apiClient, char * name, char * _namespace, char * path); +char* CoreV1API_connectHeadNamespacedServiceProxy(apiClient_t *apiClient, char *name, char *_namespace, char *path); ``` ### Parameters @@ -801,7 +801,7 @@ char* ```c // connect HEAD requests to proxy of Service // -char* CoreV1API_connectHeadNamespacedServiceProxyWithPath(apiClient_t *apiClient, char * name, char * _namespace, char * path, char * path2); +char* CoreV1API_connectHeadNamespacedServiceProxyWithPath(apiClient_t *apiClient, char *name, char *_namespace, char *path, char *path2); ``` ### Parameters @@ -834,7 +834,7 @@ char* ```c // connect HEAD requests to proxy of Node // -char* CoreV1API_connectHeadNodeProxy(apiClient_t *apiClient, char * name, char * path); +char* CoreV1API_connectHeadNodeProxy(apiClient_t *apiClient, char *name, char *path); ``` ### Parameters @@ -865,7 +865,7 @@ char* ```c // connect HEAD requests to proxy of Node // -char* CoreV1API_connectHeadNodeProxyWithPath(apiClient_t *apiClient, char * name, char * path, char * path2); +char* CoreV1API_connectHeadNodeProxyWithPath(apiClient_t *apiClient, char *name, char *path, char *path2); ``` ### Parameters @@ -897,7 +897,7 @@ char* ```c // connect OPTIONS requests to proxy of Pod // -char* CoreV1API_connectOptionsNamespacedPodProxy(apiClient_t *apiClient, char * name, char * _namespace, char * path); +char* CoreV1API_connectOptionsNamespacedPodProxy(apiClient_t *apiClient, char *name, char *_namespace, char *path); ``` ### Parameters @@ -929,7 +929,7 @@ char* ```c // connect OPTIONS requests to proxy of Pod // -char* CoreV1API_connectOptionsNamespacedPodProxyWithPath(apiClient_t *apiClient, char * name, char * _namespace, char * path, char * path2); +char* CoreV1API_connectOptionsNamespacedPodProxyWithPath(apiClient_t *apiClient, char *name, char *_namespace, char *path, char *path2); ``` ### Parameters @@ -962,7 +962,7 @@ char* ```c // connect OPTIONS requests to proxy of Service // -char* CoreV1API_connectOptionsNamespacedServiceProxy(apiClient_t *apiClient, char * name, char * _namespace, char * path); +char* CoreV1API_connectOptionsNamespacedServiceProxy(apiClient_t *apiClient, char *name, char *_namespace, char *path); ``` ### Parameters @@ -994,7 +994,7 @@ char* ```c // connect OPTIONS requests to proxy of Service // -char* CoreV1API_connectOptionsNamespacedServiceProxyWithPath(apiClient_t *apiClient, char * name, char * _namespace, char * path, char * path2); +char* CoreV1API_connectOptionsNamespacedServiceProxyWithPath(apiClient_t *apiClient, char *name, char *_namespace, char *path, char *path2); ``` ### Parameters @@ -1027,7 +1027,7 @@ char* ```c // connect OPTIONS requests to proxy of Node // -char* CoreV1API_connectOptionsNodeProxy(apiClient_t *apiClient, char * name, char * path); +char* CoreV1API_connectOptionsNodeProxy(apiClient_t *apiClient, char *name, char *path); ``` ### Parameters @@ -1058,7 +1058,7 @@ char* ```c // connect OPTIONS requests to proxy of Node // -char* CoreV1API_connectOptionsNodeProxyWithPath(apiClient_t *apiClient, char * name, char * path, char * path2); +char* CoreV1API_connectOptionsNodeProxyWithPath(apiClient_t *apiClient, char *name, char *path, char *path2); ``` ### Parameters @@ -1090,7 +1090,7 @@ char* ```c // connect PATCH requests to proxy of Pod // -char* CoreV1API_connectPatchNamespacedPodProxy(apiClient_t *apiClient, char * name, char * _namespace, char * path); +char* CoreV1API_connectPatchNamespacedPodProxy(apiClient_t *apiClient, char *name, char *_namespace, char *path); ``` ### Parameters @@ -1122,7 +1122,7 @@ char* ```c // connect PATCH requests to proxy of Pod // -char* CoreV1API_connectPatchNamespacedPodProxyWithPath(apiClient_t *apiClient, char * name, char * _namespace, char * path, char * path2); +char* CoreV1API_connectPatchNamespacedPodProxyWithPath(apiClient_t *apiClient, char *name, char *_namespace, char *path, char *path2); ``` ### Parameters @@ -1155,7 +1155,7 @@ char* ```c // connect PATCH requests to proxy of Service // -char* CoreV1API_connectPatchNamespacedServiceProxy(apiClient_t *apiClient, char * name, char * _namespace, char * path); +char* CoreV1API_connectPatchNamespacedServiceProxy(apiClient_t *apiClient, char *name, char *_namespace, char *path); ``` ### Parameters @@ -1187,7 +1187,7 @@ char* ```c // connect PATCH requests to proxy of Service // -char* CoreV1API_connectPatchNamespacedServiceProxyWithPath(apiClient_t *apiClient, char * name, char * _namespace, char * path, char * path2); +char* CoreV1API_connectPatchNamespacedServiceProxyWithPath(apiClient_t *apiClient, char *name, char *_namespace, char *path, char *path2); ``` ### Parameters @@ -1220,7 +1220,7 @@ char* ```c // connect PATCH requests to proxy of Node // -char* CoreV1API_connectPatchNodeProxy(apiClient_t *apiClient, char * name, char * path); +char* CoreV1API_connectPatchNodeProxy(apiClient_t *apiClient, char *name, char *path); ``` ### Parameters @@ -1251,7 +1251,7 @@ char* ```c // connect PATCH requests to proxy of Node // -char* CoreV1API_connectPatchNodeProxyWithPath(apiClient_t *apiClient, char * name, char * path, char * path2); +char* CoreV1API_connectPatchNodeProxyWithPath(apiClient_t *apiClient, char *name, char *path, char *path2); ``` ### Parameters @@ -1283,7 +1283,7 @@ char* ```c // connect POST requests to attach of Pod // -char* CoreV1API_connectPostNamespacedPodAttach(apiClient_t *apiClient, char * name, char * _namespace, char * container, int _stderr, int _stdin, int _stdout, int tty); +char* CoreV1API_connectPostNamespacedPodAttach(apiClient_t *apiClient, char *name, char *_namespace, char *container, int *_stderr, int *_stdin, int *_stdout, int *tty); ``` ### Parameters @@ -1293,10 +1293,10 @@ Name | Type | Description | Notes **name** | **char \*** | name of the PodAttachOptions | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **container** | **char \*** | The container in which to execute the command. Defaults to only container if there is only one container in the pod. | [optional] -**_stderr** | **int** | Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true. | [optional] -**_stdin** | **int** | Stdin if true, redirects the standard input stream of the pod for this call. Defaults to false. | [optional] -**_stdout** | **int** | Stdout if true indicates that stdout is to be redirected for the attach call. Defaults to true. | [optional] -**tty** | **int** | TTY if true indicates that a tty will be allocated for the attach call. This is passed through the container runtime so the tty is allocated on the worker node by the container runtime. Defaults to false. | [optional] +**_stderr** | **int \*** | Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true. | [optional] +**_stdin** | **int \*** | Stdin if true, redirects the standard input stream of the pod for this call. Defaults to false. | [optional] +**_stdout** | **int \*** | Stdout if true indicates that stdout is to be redirected for the attach call. Defaults to true. | [optional] +**tty** | **int \*** | TTY if true indicates that a tty will be allocated for the attach call. This is passed through the container runtime so the tty is allocated on the worker node by the container runtime. Defaults to false. | [optional] ### Return type @@ -1319,7 +1319,7 @@ char* ```c // connect POST requests to exec of Pod // -char* CoreV1API_connectPostNamespacedPodExec(apiClient_t *apiClient, char * name, char * _namespace, char * command, char * container, int _stderr, int _stdin, int _stdout, int tty); +char* CoreV1API_connectPostNamespacedPodExec(apiClient_t *apiClient, char *name, char *_namespace, char *command, char *container, int *_stderr, int *_stdin, int *_stdout, int *tty); ``` ### Parameters @@ -1330,10 +1330,10 @@ Name | Type | Description | Notes **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **command** | **char \*** | Command is the remote command to execute. argv array. Not executed within a shell. | [optional] **container** | **char \*** | Container in which to execute the command. Defaults to only container if there is only one container in the pod. | [optional] -**_stderr** | **int** | Redirect the standard error stream of the pod for this call. | [optional] -**_stdin** | **int** | Redirect the standard input stream of the pod for this call. Defaults to false. | [optional] -**_stdout** | **int** | Redirect the standard output stream of the pod for this call. | [optional] -**tty** | **int** | TTY if true indicates that a tty will be allocated for the exec call. Defaults to false. | [optional] +**_stderr** | **int \*** | Redirect the standard error stream of the pod for this call. | [optional] +**_stdin** | **int \*** | Redirect the standard input stream of the pod for this call. Defaults to false. | [optional] +**_stdout** | **int \*** | Redirect the standard output stream of the pod for this call. | [optional] +**tty** | **int \*** | TTY if true indicates that a tty will be allocated for the exec call. Defaults to false. | [optional] ### Return type @@ -1356,7 +1356,7 @@ char* ```c // connect POST requests to portforward of Pod // -char* CoreV1API_connectPostNamespacedPodPortforward(apiClient_t *apiClient, char * name, char * _namespace, int ports); +char* CoreV1API_connectPostNamespacedPodPortforward(apiClient_t *apiClient, char *name, char *_namespace, int *ports); ``` ### Parameters @@ -1365,7 +1365,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the PodPortForwardOptions | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**ports** | **int** | List of ports to forward Required when using WebSockets | [optional] +**ports** | **int \*** | List of ports to forward Required when using WebSockets | [optional] ### Return type @@ -1388,7 +1388,7 @@ char* ```c // connect POST requests to proxy of Pod // -char* CoreV1API_connectPostNamespacedPodProxy(apiClient_t *apiClient, char * name, char * _namespace, char * path); +char* CoreV1API_connectPostNamespacedPodProxy(apiClient_t *apiClient, char *name, char *_namespace, char *path); ``` ### Parameters @@ -1420,7 +1420,7 @@ char* ```c // connect POST requests to proxy of Pod // -char* CoreV1API_connectPostNamespacedPodProxyWithPath(apiClient_t *apiClient, char * name, char * _namespace, char * path, char * path2); +char* CoreV1API_connectPostNamespacedPodProxyWithPath(apiClient_t *apiClient, char *name, char *_namespace, char *path, char *path2); ``` ### Parameters @@ -1453,7 +1453,7 @@ char* ```c // connect POST requests to proxy of Service // -char* CoreV1API_connectPostNamespacedServiceProxy(apiClient_t *apiClient, char * name, char * _namespace, char * path); +char* CoreV1API_connectPostNamespacedServiceProxy(apiClient_t *apiClient, char *name, char *_namespace, char *path); ``` ### Parameters @@ -1485,7 +1485,7 @@ char* ```c // connect POST requests to proxy of Service // -char* CoreV1API_connectPostNamespacedServiceProxyWithPath(apiClient_t *apiClient, char * name, char * _namespace, char * path, char * path2); +char* CoreV1API_connectPostNamespacedServiceProxyWithPath(apiClient_t *apiClient, char *name, char *_namespace, char *path, char *path2); ``` ### Parameters @@ -1518,7 +1518,7 @@ char* ```c // connect POST requests to proxy of Node // -char* CoreV1API_connectPostNodeProxy(apiClient_t *apiClient, char * name, char * path); +char* CoreV1API_connectPostNodeProxy(apiClient_t *apiClient, char *name, char *path); ``` ### Parameters @@ -1549,7 +1549,7 @@ char* ```c // connect POST requests to proxy of Node // -char* CoreV1API_connectPostNodeProxyWithPath(apiClient_t *apiClient, char * name, char * path, char * path2); +char* CoreV1API_connectPostNodeProxyWithPath(apiClient_t *apiClient, char *name, char *path, char *path2); ``` ### Parameters @@ -1581,7 +1581,7 @@ char* ```c // connect PUT requests to proxy of Pod // -char* CoreV1API_connectPutNamespacedPodProxy(apiClient_t *apiClient, char * name, char * _namespace, char * path); +char* CoreV1API_connectPutNamespacedPodProxy(apiClient_t *apiClient, char *name, char *_namespace, char *path); ``` ### Parameters @@ -1613,7 +1613,7 @@ char* ```c // connect PUT requests to proxy of Pod // -char* CoreV1API_connectPutNamespacedPodProxyWithPath(apiClient_t *apiClient, char * name, char * _namespace, char * path, char * path2); +char* CoreV1API_connectPutNamespacedPodProxyWithPath(apiClient_t *apiClient, char *name, char *_namespace, char *path, char *path2); ``` ### Parameters @@ -1646,7 +1646,7 @@ char* ```c // connect PUT requests to proxy of Service // -char* CoreV1API_connectPutNamespacedServiceProxy(apiClient_t *apiClient, char * name, char * _namespace, char * path); +char* CoreV1API_connectPutNamespacedServiceProxy(apiClient_t *apiClient, char *name, char *_namespace, char *path); ``` ### Parameters @@ -1678,7 +1678,7 @@ char* ```c // connect PUT requests to proxy of Service // -char* CoreV1API_connectPutNamespacedServiceProxyWithPath(apiClient_t *apiClient, char * name, char * _namespace, char * path, char * path2); +char* CoreV1API_connectPutNamespacedServiceProxyWithPath(apiClient_t *apiClient, char *name, char *_namespace, char *path, char *path2); ``` ### Parameters @@ -1711,7 +1711,7 @@ char* ```c // connect PUT requests to proxy of Node // -char* CoreV1API_connectPutNodeProxy(apiClient_t *apiClient, char * name, char * path); +char* CoreV1API_connectPutNodeProxy(apiClient_t *apiClient, char *name, char *path); ``` ### Parameters @@ -1742,7 +1742,7 @@ char* ```c // connect PUT requests to proxy of Node // -char* CoreV1API_connectPutNodeProxyWithPath(apiClient_t *apiClient, char * name, char * path, char * path2); +char* CoreV1API_connectPutNodeProxyWithPath(apiClient_t *apiClient, char *name, char *path, char *path2); ``` ### Parameters @@ -1774,7 +1774,7 @@ char* ```c // create a Namespace // -v1_namespace_t* CoreV1API_createNamespace(apiClient_t *apiClient, v1_namespace_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_namespace_t* CoreV1API_createNamespace(apiClient_t *apiClient, v1_namespace_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -1782,7 +1782,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **body** | **[v1_namespace_t](v1_namespace.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -1807,7 +1807,7 @@ Name | Type | Description | Notes ```c // create a Binding // -v1_binding_t* CoreV1API_createNamespacedBinding(apiClient_t *apiClient, char * _namespace, v1_binding_t * body, char * dryRun, char * fieldManager, char * fieldValidation, char * pretty); +v1_binding_t* CoreV1API_createNamespacedBinding(apiClient_t *apiClient, char *_namespace, v1_binding_t *body, char *dryRun, char *fieldManager, char *fieldValidation, char *pretty); ``` ### Parameters @@ -1819,7 +1819,7 @@ Name | Type | Description | Notes **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -1841,7 +1841,7 @@ Name | Type | Description | Notes ```c // create a ConfigMap // -v1_config_map_t* CoreV1API_createNamespacedConfigMap(apiClient_t *apiClient, char * _namespace, v1_config_map_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_config_map_t* CoreV1API_createNamespacedConfigMap(apiClient_t *apiClient, char *_namespace, v1_config_map_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -1850,7 +1850,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_config_map_t](v1_config_map.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -1875,7 +1875,7 @@ Name | Type | Description | Notes ```c // create Endpoints // -v1_endpoints_t* CoreV1API_createNamespacedEndpoints(apiClient_t *apiClient, char * _namespace, v1_endpoints_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_endpoints_t* CoreV1API_createNamespacedEndpoints(apiClient_t *apiClient, char *_namespace, v1_endpoints_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -1884,7 +1884,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_endpoints_t](v1_endpoints.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -1909,7 +1909,7 @@ Name | Type | Description | Notes ```c // create an Event // -core_v1_event_t* CoreV1API_createNamespacedEvent(apiClient_t *apiClient, char * _namespace, core_v1_event_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +core_v1_event_t* CoreV1API_createNamespacedEvent(apiClient_t *apiClient, char *_namespace, core_v1_event_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -1918,7 +1918,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[core_v1_event_t](core_v1_event.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -1943,7 +1943,7 @@ Name | Type | Description | Notes ```c // create a LimitRange // -v1_limit_range_t* CoreV1API_createNamespacedLimitRange(apiClient_t *apiClient, char * _namespace, v1_limit_range_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_limit_range_t* CoreV1API_createNamespacedLimitRange(apiClient_t *apiClient, char *_namespace, v1_limit_range_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -1952,7 +1952,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_limit_range_t](v1_limit_range.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -1977,7 +1977,7 @@ Name | Type | Description | Notes ```c // create a PersistentVolumeClaim // -v1_persistent_volume_claim_t* CoreV1API_createNamespacedPersistentVolumeClaim(apiClient_t *apiClient, char * _namespace, v1_persistent_volume_claim_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_persistent_volume_claim_t* CoreV1API_createNamespacedPersistentVolumeClaim(apiClient_t *apiClient, char *_namespace, v1_persistent_volume_claim_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -1986,7 +1986,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_persistent_volume_claim_t](v1_persistent_volume_claim.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -2011,7 +2011,7 @@ Name | Type | Description | Notes ```c // create a Pod // -v1_pod_t* CoreV1API_createNamespacedPod(apiClient_t *apiClient, char * _namespace, v1_pod_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_pod_t* CoreV1API_createNamespacedPod(apiClient_t *apiClient, char *_namespace, v1_pod_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -2020,7 +2020,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_pod_t](v1_pod.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -2045,7 +2045,7 @@ Name | Type | Description | Notes ```c // create binding of a Pod // -v1_binding_t* CoreV1API_createNamespacedPodBinding(apiClient_t *apiClient, char * name, char * _namespace, v1_binding_t * body, char * dryRun, char * fieldManager, char * fieldValidation, char * pretty); +v1_binding_t* CoreV1API_createNamespacedPodBinding(apiClient_t *apiClient, char *name, char *_namespace, v1_binding_t *body, char *dryRun, char *fieldManager, char *fieldValidation, char *pretty); ``` ### Parameters @@ -2058,7 +2058,7 @@ Name | Type | Description | Notes **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -2080,7 +2080,7 @@ Name | Type | Description | Notes ```c // create eviction of a Pod // -v1_eviction_t* CoreV1API_createNamespacedPodEviction(apiClient_t *apiClient, char * name, char * _namespace, v1_eviction_t * body, char * dryRun, char * fieldManager, char * fieldValidation, char * pretty); +v1_eviction_t* CoreV1API_createNamespacedPodEviction(apiClient_t *apiClient, char *name, char *_namespace, v1_eviction_t *body, char *dryRun, char *fieldManager, char *fieldValidation, char *pretty); ``` ### Parameters @@ -2093,7 +2093,7 @@ Name | Type | Description | Notes **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -2115,7 +2115,7 @@ Name | Type | Description | Notes ```c // create a PodTemplate // -v1_pod_template_t* CoreV1API_createNamespacedPodTemplate(apiClient_t *apiClient, char * _namespace, v1_pod_template_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_pod_template_t* CoreV1API_createNamespacedPodTemplate(apiClient_t *apiClient, char *_namespace, v1_pod_template_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -2124,7 +2124,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_pod_template_t](v1_pod_template.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -2149,7 +2149,7 @@ Name | Type | Description | Notes ```c // create a ReplicationController // -v1_replication_controller_t* CoreV1API_createNamespacedReplicationController(apiClient_t *apiClient, char * _namespace, v1_replication_controller_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_replication_controller_t* CoreV1API_createNamespacedReplicationController(apiClient_t *apiClient, char *_namespace, v1_replication_controller_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -2158,7 +2158,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_replication_controller_t](v1_replication_controller.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -2183,7 +2183,7 @@ Name | Type | Description | Notes ```c // create a ResourceQuota // -v1_resource_quota_t* CoreV1API_createNamespacedResourceQuota(apiClient_t *apiClient, char * _namespace, v1_resource_quota_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_resource_quota_t* CoreV1API_createNamespacedResourceQuota(apiClient_t *apiClient, char *_namespace, v1_resource_quota_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -2192,7 +2192,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_resource_quota_t](v1_resource_quota.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -2217,7 +2217,7 @@ Name | Type | Description | Notes ```c // create a Secret // -v1_secret_t* CoreV1API_createNamespacedSecret(apiClient_t *apiClient, char * _namespace, v1_secret_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_secret_t* CoreV1API_createNamespacedSecret(apiClient_t *apiClient, char *_namespace, v1_secret_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -2226,7 +2226,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_secret_t](v1_secret.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -2251,7 +2251,7 @@ Name | Type | Description | Notes ```c // create a Service // -v1_service_t* CoreV1API_createNamespacedService(apiClient_t *apiClient, char * _namespace, v1_service_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_service_t* CoreV1API_createNamespacedService(apiClient_t *apiClient, char *_namespace, v1_service_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -2260,7 +2260,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_service_t](v1_service.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -2285,7 +2285,7 @@ Name | Type | Description | Notes ```c // create a ServiceAccount // -v1_service_account_t* CoreV1API_createNamespacedServiceAccount(apiClient_t *apiClient, char * _namespace, v1_service_account_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_service_account_t* CoreV1API_createNamespacedServiceAccount(apiClient_t *apiClient, char *_namespace, v1_service_account_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -2294,7 +2294,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_service_account_t](v1_service_account.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -2319,7 +2319,7 @@ Name | Type | Description | Notes ```c // create token of a ServiceAccount // -authentication_v1_token_request_t* CoreV1API_createNamespacedServiceAccountToken(apiClient_t *apiClient, char * name, char * _namespace, authentication_v1_token_request_t * body, char * dryRun, char * fieldManager, char * fieldValidation, char * pretty); +authentication_v1_token_request_t* CoreV1API_createNamespacedServiceAccountToken(apiClient_t *apiClient, char *name, char *_namespace, authentication_v1_token_request_t *body, char *dryRun, char *fieldManager, char *fieldValidation, char *pretty); ``` ### Parameters @@ -2332,7 +2332,7 @@ Name | Type | Description | Notes **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -2354,7 +2354,7 @@ Name | Type | Description | Notes ```c // create a Node // -v1_node_t* CoreV1API_createNode(apiClient_t *apiClient, v1_node_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_node_t* CoreV1API_createNode(apiClient_t *apiClient, v1_node_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -2362,7 +2362,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **body** | **[v1_node_t](v1_node.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -2387,7 +2387,7 @@ Name | Type | Description | Notes ```c // create a PersistentVolume // -v1_persistent_volume_t* CoreV1API_createPersistentVolume(apiClient_t *apiClient, v1_persistent_volume_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_persistent_volume_t* CoreV1API_createPersistentVolume(apiClient_t *apiClient, v1_persistent_volume_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -2395,7 +2395,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **body** | **[v1_persistent_volume_t](v1_persistent_volume.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -2420,7 +2420,7 @@ Name | Type | Description | Notes ```c // delete collection of ConfigMap // -v1_status_t* CoreV1API_deleteCollectionNamespacedConfigMap(apiClient_t *apiClient, char * _namespace, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* CoreV1API_deleteCollectionNamespacedConfigMap(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters @@ -2428,19 +2428,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -2463,7 +2463,7 @@ Name | Type | Description | Notes ```c // delete collection of Endpoints // -v1_status_t* CoreV1API_deleteCollectionNamespacedEndpoints(apiClient_t *apiClient, char * _namespace, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* CoreV1API_deleteCollectionNamespacedEndpoints(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters @@ -2471,19 +2471,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -2506,7 +2506,7 @@ Name | Type | Description | Notes ```c // delete collection of Event // -v1_status_t* CoreV1API_deleteCollectionNamespacedEvent(apiClient_t *apiClient, char * _namespace, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* CoreV1API_deleteCollectionNamespacedEvent(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters @@ -2514,19 +2514,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -2549,7 +2549,7 @@ Name | Type | Description | Notes ```c // delete collection of LimitRange // -v1_status_t* CoreV1API_deleteCollectionNamespacedLimitRange(apiClient_t *apiClient, char * _namespace, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* CoreV1API_deleteCollectionNamespacedLimitRange(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters @@ -2557,19 +2557,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -2592,7 +2592,7 @@ Name | Type | Description | Notes ```c // delete collection of PersistentVolumeClaim // -v1_status_t* CoreV1API_deleteCollectionNamespacedPersistentVolumeClaim(apiClient_t *apiClient, char * _namespace, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* CoreV1API_deleteCollectionNamespacedPersistentVolumeClaim(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters @@ -2600,19 +2600,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -2635,7 +2635,7 @@ Name | Type | Description | Notes ```c // delete collection of Pod // -v1_status_t* CoreV1API_deleteCollectionNamespacedPod(apiClient_t *apiClient, char * _namespace, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* CoreV1API_deleteCollectionNamespacedPod(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters @@ -2643,19 +2643,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -2678,7 +2678,7 @@ Name | Type | Description | Notes ```c // delete collection of PodTemplate // -v1_status_t* CoreV1API_deleteCollectionNamespacedPodTemplate(apiClient_t *apiClient, char * _namespace, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* CoreV1API_deleteCollectionNamespacedPodTemplate(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters @@ -2686,19 +2686,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -2721,7 +2721,7 @@ Name | Type | Description | Notes ```c // delete collection of ReplicationController // -v1_status_t* CoreV1API_deleteCollectionNamespacedReplicationController(apiClient_t *apiClient, char * _namespace, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* CoreV1API_deleteCollectionNamespacedReplicationController(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters @@ -2729,19 +2729,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -2764,7 +2764,7 @@ Name | Type | Description | Notes ```c // delete collection of ResourceQuota // -v1_status_t* CoreV1API_deleteCollectionNamespacedResourceQuota(apiClient_t *apiClient, char * _namespace, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* CoreV1API_deleteCollectionNamespacedResourceQuota(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters @@ -2772,19 +2772,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -2807,7 +2807,7 @@ Name | Type | Description | Notes ```c // delete collection of Secret // -v1_status_t* CoreV1API_deleteCollectionNamespacedSecret(apiClient_t *apiClient, char * _namespace, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* CoreV1API_deleteCollectionNamespacedSecret(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters @@ -2815,19 +2815,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -2850,7 +2850,7 @@ Name | Type | Description | Notes ```c // delete collection of Service // -v1_status_t* CoreV1API_deleteCollectionNamespacedService(apiClient_t *apiClient, char * _namespace, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* CoreV1API_deleteCollectionNamespacedService(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters @@ -2858,19 +2858,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -2893,7 +2893,7 @@ Name | Type | Description | Notes ```c // delete collection of ServiceAccount // -v1_status_t* CoreV1API_deleteCollectionNamespacedServiceAccount(apiClient_t *apiClient, char * _namespace, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* CoreV1API_deleteCollectionNamespacedServiceAccount(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters @@ -2901,19 +2901,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -2936,26 +2936,26 @@ Name | Type | Description | Notes ```c // delete collection of Node // -v1_status_t* CoreV1API_deleteCollectionNode(apiClient_t *apiClient, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* CoreV1API_deleteCollectionNode(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -2978,26 +2978,26 @@ Name | Type | Description | Notes ```c // delete collection of PersistentVolume // -v1_status_t* CoreV1API_deleteCollectionPersistentVolume(apiClient_t *apiClient, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* CoreV1API_deleteCollectionPersistentVolume(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -3020,7 +3020,7 @@ Name | Type | Description | Notes ```c // delete a Namespace // -v1_status_t* CoreV1API_deleteNamespace(apiClient_t *apiClient, char * name, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_status_t* CoreV1API_deleteNamespace(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -3028,10 +3028,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the Namespace | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -3055,7 +3055,7 @@ Name | Type | Description | Notes ```c // delete a ConfigMap // -v1_status_t* CoreV1API_deleteNamespacedConfigMap(apiClient_t *apiClient, char * name, char * _namespace, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_status_t* CoreV1API_deleteNamespacedConfigMap(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -3064,10 +3064,10 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ConfigMap | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -3091,7 +3091,7 @@ Name | Type | Description | Notes ```c // delete Endpoints // -v1_status_t* CoreV1API_deleteNamespacedEndpoints(apiClient_t *apiClient, char * name, char * _namespace, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_status_t* CoreV1API_deleteNamespacedEndpoints(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -3100,10 +3100,10 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the Endpoints | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -3127,7 +3127,7 @@ Name | Type | Description | Notes ```c // delete an Event // -v1_status_t* CoreV1API_deleteNamespacedEvent(apiClient_t *apiClient, char * name, char * _namespace, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_status_t* CoreV1API_deleteNamespacedEvent(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -3136,10 +3136,10 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the Event | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -3163,7 +3163,7 @@ Name | Type | Description | Notes ```c // delete a LimitRange // -v1_status_t* CoreV1API_deleteNamespacedLimitRange(apiClient_t *apiClient, char * name, char * _namespace, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_status_t* CoreV1API_deleteNamespacedLimitRange(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -3172,10 +3172,10 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the LimitRange | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -3199,7 +3199,7 @@ Name | Type | Description | Notes ```c // delete a PersistentVolumeClaim // -v1_persistent_volume_claim_t* CoreV1API_deleteNamespacedPersistentVolumeClaim(apiClient_t *apiClient, char * name, char * _namespace, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_persistent_volume_claim_t* CoreV1API_deleteNamespacedPersistentVolumeClaim(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -3208,10 +3208,10 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the PersistentVolumeClaim | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -3235,7 +3235,7 @@ Name | Type | Description | Notes ```c // delete a Pod // -v1_pod_t* CoreV1API_deleteNamespacedPod(apiClient_t *apiClient, char * name, char * _namespace, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_pod_t* CoreV1API_deleteNamespacedPod(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -3244,10 +3244,10 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the Pod | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -3271,7 +3271,7 @@ Name | Type | Description | Notes ```c // delete a PodTemplate // -v1_pod_template_t* CoreV1API_deleteNamespacedPodTemplate(apiClient_t *apiClient, char * name, char * _namespace, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_pod_template_t* CoreV1API_deleteNamespacedPodTemplate(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -3280,10 +3280,10 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the PodTemplate | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -3307,7 +3307,7 @@ Name | Type | Description | Notes ```c // delete a ReplicationController // -v1_status_t* CoreV1API_deleteNamespacedReplicationController(apiClient_t *apiClient, char * name, char * _namespace, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_status_t* CoreV1API_deleteNamespacedReplicationController(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -3316,10 +3316,10 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ReplicationController | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -3343,7 +3343,7 @@ Name | Type | Description | Notes ```c // delete a ResourceQuota // -v1_resource_quota_t* CoreV1API_deleteNamespacedResourceQuota(apiClient_t *apiClient, char * name, char * _namespace, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_resource_quota_t* CoreV1API_deleteNamespacedResourceQuota(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -3352,10 +3352,10 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ResourceQuota | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -3379,7 +3379,7 @@ Name | Type | Description | Notes ```c // delete a Secret // -v1_status_t* CoreV1API_deleteNamespacedSecret(apiClient_t *apiClient, char * name, char * _namespace, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_status_t* CoreV1API_deleteNamespacedSecret(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -3388,10 +3388,10 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the Secret | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -3415,7 +3415,7 @@ Name | Type | Description | Notes ```c // delete a Service // -v1_service_t* CoreV1API_deleteNamespacedService(apiClient_t *apiClient, char * name, char * _namespace, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_service_t* CoreV1API_deleteNamespacedService(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -3424,10 +3424,10 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the Service | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -3451,7 +3451,7 @@ Name | Type | Description | Notes ```c // delete a ServiceAccount // -v1_service_account_t* CoreV1API_deleteNamespacedServiceAccount(apiClient_t *apiClient, char * name, char * _namespace, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_service_account_t* CoreV1API_deleteNamespacedServiceAccount(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -3460,10 +3460,10 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ServiceAccount | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -3487,7 +3487,7 @@ Name | Type | Description | Notes ```c // delete a Node // -v1_status_t* CoreV1API_deleteNode(apiClient_t *apiClient, char * name, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_status_t* CoreV1API_deleteNode(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -3495,10 +3495,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the Node | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -3522,7 +3522,7 @@ Name | Type | Description | Notes ```c // delete a PersistentVolume // -v1_persistent_volume_t* CoreV1API_deletePersistentVolume(apiClient_t *apiClient, char * name, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_persistent_volume_t* CoreV1API_deletePersistentVolume(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -3530,10 +3530,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the PersistentVolume | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -3585,24 +3585,24 @@ Name | Type | Description | Notes ```c // list objects of kind ComponentStatus // -v1_component_status_list_t* CoreV1API_listComponentStatus(apiClient_t *apiClient, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * pretty, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_component_status_list_t* CoreV1API_listComponentStatus(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**allowWatchBookmarks** | **int** | 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. | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**limit** | **int \*** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -3624,24 +3624,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind ConfigMap // -v1_config_map_list_t* CoreV1API_listConfigMapForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * pretty, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_config_map_list_t* CoreV1API_listConfigMapForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**allowWatchBookmarks** | **int** | 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. | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**limit** | **int \*** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -3663,24 +3663,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind Endpoints // -v1_endpoints_list_t* CoreV1API_listEndpointsForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * pretty, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_endpoints_list_t* CoreV1API_listEndpointsForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**allowWatchBookmarks** | **int** | 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. | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**limit** | **int \*** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -3702,24 +3702,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind Event // -core_v1_event_list_t* CoreV1API_listEventForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * pretty, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +core_v1_event_list_t* CoreV1API_listEventForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**allowWatchBookmarks** | **int** | 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. | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**limit** | **int \*** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -3741,24 +3741,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind LimitRange // -v1_limit_range_list_t* CoreV1API_listLimitRangeForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * pretty, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_limit_range_list_t* CoreV1API_listLimitRangeForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**allowWatchBookmarks** | **int** | 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. | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**limit** | **int \*** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -3780,24 +3780,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind Namespace // -v1_namespace_list_t* CoreV1API_listNamespace(apiClient_t *apiClient, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_namespace_list_t* CoreV1API_listNamespace(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -3819,7 +3819,7 @@ Name | Type | Description | Notes ```c // list or watch objects of kind ConfigMap // -v1_config_map_list_t* CoreV1API_listNamespacedConfigMap(apiClient_t *apiClient, char * _namespace, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_config_map_list_t* CoreV1API_listNamespacedConfigMap(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters @@ -3827,17 +3827,17 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -3859,7 +3859,7 @@ Name | Type | Description | Notes ```c // list or watch objects of kind Endpoints // -v1_endpoints_list_t* CoreV1API_listNamespacedEndpoints(apiClient_t *apiClient, char * _namespace, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_endpoints_list_t* CoreV1API_listNamespacedEndpoints(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters @@ -3867,17 +3867,17 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -3899,7 +3899,7 @@ Name | Type | Description | Notes ```c // list or watch objects of kind Event // -core_v1_event_list_t* CoreV1API_listNamespacedEvent(apiClient_t *apiClient, char * _namespace, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +core_v1_event_list_t* CoreV1API_listNamespacedEvent(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters @@ -3907,17 +3907,17 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -3939,7 +3939,7 @@ Name | Type | Description | Notes ```c // list or watch objects of kind LimitRange // -v1_limit_range_list_t* CoreV1API_listNamespacedLimitRange(apiClient_t *apiClient, char * _namespace, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_limit_range_list_t* CoreV1API_listNamespacedLimitRange(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters @@ -3947,17 +3947,17 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -3979,7 +3979,7 @@ Name | Type | Description | Notes ```c // list or watch objects of kind PersistentVolumeClaim // -v1_persistent_volume_claim_list_t* CoreV1API_listNamespacedPersistentVolumeClaim(apiClient_t *apiClient, char * _namespace, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_persistent_volume_claim_list_t* CoreV1API_listNamespacedPersistentVolumeClaim(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters @@ -3987,17 +3987,17 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -4019,7 +4019,7 @@ Name | Type | Description | Notes ```c // list or watch objects of kind Pod // -v1_pod_list_t* CoreV1API_listNamespacedPod(apiClient_t *apiClient, char * _namespace, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_pod_list_t* CoreV1API_listNamespacedPod(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters @@ -4027,17 +4027,17 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -4059,7 +4059,7 @@ Name | Type | Description | Notes ```c // list or watch objects of kind PodTemplate // -v1_pod_template_list_t* CoreV1API_listNamespacedPodTemplate(apiClient_t *apiClient, char * _namespace, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_pod_template_list_t* CoreV1API_listNamespacedPodTemplate(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters @@ -4067,17 +4067,17 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -4099,7 +4099,7 @@ Name | Type | Description | Notes ```c // list or watch objects of kind ReplicationController // -v1_replication_controller_list_t* CoreV1API_listNamespacedReplicationController(apiClient_t *apiClient, char * _namespace, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_replication_controller_list_t* CoreV1API_listNamespacedReplicationController(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters @@ -4107,17 +4107,17 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -4139,7 +4139,7 @@ Name | Type | Description | Notes ```c // list or watch objects of kind ResourceQuota // -v1_resource_quota_list_t* CoreV1API_listNamespacedResourceQuota(apiClient_t *apiClient, char * _namespace, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_resource_quota_list_t* CoreV1API_listNamespacedResourceQuota(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters @@ -4147,17 +4147,17 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -4179,7 +4179,7 @@ Name | Type | Description | Notes ```c // list or watch objects of kind Secret // -v1_secret_list_t* CoreV1API_listNamespacedSecret(apiClient_t *apiClient, char * _namespace, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_secret_list_t* CoreV1API_listNamespacedSecret(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters @@ -4187,17 +4187,17 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -4219,7 +4219,7 @@ Name | Type | Description | Notes ```c // list or watch objects of kind Service // -v1_service_list_t* CoreV1API_listNamespacedService(apiClient_t *apiClient, char * _namespace, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_service_list_t* CoreV1API_listNamespacedService(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters @@ -4227,17 +4227,17 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -4259,7 +4259,7 @@ Name | Type | Description | Notes ```c // list or watch objects of kind ServiceAccount // -v1_service_account_list_t* CoreV1API_listNamespacedServiceAccount(apiClient_t *apiClient, char * _namespace, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_service_account_list_t* CoreV1API_listNamespacedServiceAccount(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters @@ -4267,17 +4267,17 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -4299,24 +4299,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind Node // -v1_node_list_t* CoreV1API_listNode(apiClient_t *apiClient, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_node_list_t* CoreV1API_listNode(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -4338,24 +4338,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind PersistentVolume // -v1_persistent_volume_list_t* CoreV1API_listPersistentVolume(apiClient_t *apiClient, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_persistent_volume_list_t* CoreV1API_listPersistentVolume(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -4377,24 +4377,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind PersistentVolumeClaim // -v1_persistent_volume_claim_list_t* CoreV1API_listPersistentVolumeClaimForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * pretty, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_persistent_volume_claim_list_t* CoreV1API_listPersistentVolumeClaimForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**allowWatchBookmarks** | **int** | 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. | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**limit** | **int \*** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -4416,24 +4416,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind Pod // -v1_pod_list_t* CoreV1API_listPodForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * pretty, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_pod_list_t* CoreV1API_listPodForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**allowWatchBookmarks** | **int** | 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. | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**limit** | **int \*** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -4455,24 +4455,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind PodTemplate // -v1_pod_template_list_t* CoreV1API_listPodTemplateForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * pretty, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_pod_template_list_t* CoreV1API_listPodTemplateForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**allowWatchBookmarks** | **int** | 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. | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**limit** | **int \*** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -4494,24 +4494,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind ReplicationController // -v1_replication_controller_list_t* CoreV1API_listReplicationControllerForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * pretty, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_replication_controller_list_t* CoreV1API_listReplicationControllerForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**allowWatchBookmarks** | **int** | 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. | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**limit** | **int \*** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -4533,24 +4533,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind ResourceQuota // -v1_resource_quota_list_t* CoreV1API_listResourceQuotaForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * pretty, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_resource_quota_list_t* CoreV1API_listResourceQuotaForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**allowWatchBookmarks** | **int** | 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. | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**limit** | **int \*** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -4572,24 +4572,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind Secret // -v1_secret_list_t* CoreV1API_listSecretForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * pretty, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_secret_list_t* CoreV1API_listSecretForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**allowWatchBookmarks** | **int** | 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. | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**limit** | **int \*** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -4611,24 +4611,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind ServiceAccount // -v1_service_account_list_t* CoreV1API_listServiceAccountForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * pretty, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_service_account_list_t* CoreV1API_listServiceAccountForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**allowWatchBookmarks** | **int** | 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. | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**limit** | **int \*** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -4650,24 +4650,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind Service // -v1_service_list_t* CoreV1API_listServiceForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * pretty, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_service_list_t* CoreV1API_listServiceForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**allowWatchBookmarks** | **int** | 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. | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**limit** | **int \*** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -4689,7 +4689,7 @@ Name | Type | Description | Notes ```c // partially update the specified Namespace // -v1_namespace_t* CoreV1API_patchNamespace(apiClient_t *apiClient, char * name, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_namespace_t* CoreV1API_patchNamespace(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -4698,11 +4698,11 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the Namespace | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -4724,7 +4724,7 @@ Name | Type | Description | Notes ```c // partially update status of the specified Namespace // -v1_namespace_t* CoreV1API_patchNamespaceStatus(apiClient_t *apiClient, char * name, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_namespace_t* CoreV1API_patchNamespaceStatus(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -4733,11 +4733,11 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the Namespace | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -4759,7 +4759,7 @@ Name | Type | Description | Notes ```c // partially update the specified ConfigMap // -v1_config_map_t* CoreV1API_patchNamespacedConfigMap(apiClient_t *apiClient, char * name, char * _namespace, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_config_map_t* CoreV1API_patchNamespacedConfigMap(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -4769,11 +4769,11 @@ Name | Type | Description | Notes **name** | **char \*** | name of the ConfigMap | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -4795,7 +4795,7 @@ Name | Type | Description | Notes ```c // partially update the specified Endpoints // -v1_endpoints_t* CoreV1API_patchNamespacedEndpoints(apiClient_t *apiClient, char * name, char * _namespace, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_endpoints_t* CoreV1API_patchNamespacedEndpoints(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -4805,11 +4805,11 @@ Name | Type | Description | Notes **name** | **char \*** | name of the Endpoints | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -4831,7 +4831,7 @@ Name | Type | Description | Notes ```c // partially update the specified Event // -core_v1_event_t* CoreV1API_patchNamespacedEvent(apiClient_t *apiClient, char * name, char * _namespace, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +core_v1_event_t* CoreV1API_patchNamespacedEvent(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -4841,11 +4841,11 @@ Name | Type | Description | Notes **name** | **char \*** | name of the Event | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -4867,7 +4867,7 @@ Name | Type | Description | Notes ```c // partially update the specified LimitRange // -v1_limit_range_t* CoreV1API_patchNamespacedLimitRange(apiClient_t *apiClient, char * name, char * _namespace, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_limit_range_t* CoreV1API_patchNamespacedLimitRange(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -4877,11 +4877,11 @@ Name | Type | Description | Notes **name** | **char \*** | name of the LimitRange | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -4903,7 +4903,7 @@ Name | Type | Description | Notes ```c // partially update the specified PersistentVolumeClaim // -v1_persistent_volume_claim_t* CoreV1API_patchNamespacedPersistentVolumeClaim(apiClient_t *apiClient, char * name, char * _namespace, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_persistent_volume_claim_t* CoreV1API_patchNamespacedPersistentVolumeClaim(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -4913,11 +4913,11 @@ Name | Type | Description | Notes **name** | **char \*** | name of the PersistentVolumeClaim | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -4939,7 +4939,7 @@ Name | Type | Description | Notes ```c // partially update status of the specified PersistentVolumeClaim // -v1_persistent_volume_claim_t* CoreV1API_patchNamespacedPersistentVolumeClaimStatus(apiClient_t *apiClient, char * name, char * _namespace, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_persistent_volume_claim_t* CoreV1API_patchNamespacedPersistentVolumeClaimStatus(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -4949,11 +4949,11 @@ Name | Type | Description | Notes **name** | **char \*** | name of the PersistentVolumeClaim | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -4975,7 +4975,7 @@ Name | Type | Description | Notes ```c // partially update the specified Pod // -v1_pod_t* CoreV1API_patchNamespacedPod(apiClient_t *apiClient, char * name, char * _namespace, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_pod_t* CoreV1API_patchNamespacedPod(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -4985,11 +4985,11 @@ Name | Type | Description | Notes **name** | **char \*** | name of the Pod | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -5011,7 +5011,7 @@ Name | Type | Description | Notes ```c // partially update ephemeralcontainers of the specified Pod // -v1_pod_t* CoreV1API_patchNamespacedPodEphemeralcontainers(apiClient_t *apiClient, char * name, char * _namespace, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_pod_t* CoreV1API_patchNamespacedPodEphemeralcontainers(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -5021,11 +5021,11 @@ Name | Type | Description | Notes **name** | **char \*** | name of the Pod | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -5047,7 +5047,7 @@ Name | Type | Description | Notes ```c // partially update status of the specified Pod // -v1_pod_t* CoreV1API_patchNamespacedPodStatus(apiClient_t *apiClient, char * name, char * _namespace, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_pod_t* CoreV1API_patchNamespacedPodStatus(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -5057,11 +5057,11 @@ Name | Type | Description | Notes **name** | **char \*** | name of the Pod | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -5083,7 +5083,7 @@ Name | Type | Description | Notes ```c // partially update the specified PodTemplate // -v1_pod_template_t* CoreV1API_patchNamespacedPodTemplate(apiClient_t *apiClient, char * name, char * _namespace, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_pod_template_t* CoreV1API_patchNamespacedPodTemplate(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -5093,11 +5093,11 @@ Name | Type | Description | Notes **name** | **char \*** | name of the PodTemplate | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -5119,7 +5119,7 @@ Name | Type | Description | Notes ```c // partially update the specified ReplicationController // -v1_replication_controller_t* CoreV1API_patchNamespacedReplicationController(apiClient_t *apiClient, char * name, char * _namespace, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_replication_controller_t* CoreV1API_patchNamespacedReplicationController(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -5129,11 +5129,11 @@ Name | Type | Description | Notes **name** | **char \*** | name of the ReplicationController | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -5155,7 +5155,7 @@ Name | Type | Description | Notes ```c // partially update scale of the specified ReplicationController // -v1_scale_t* CoreV1API_patchNamespacedReplicationControllerScale(apiClient_t *apiClient, char * name, char * _namespace, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_scale_t* CoreV1API_patchNamespacedReplicationControllerScale(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -5165,11 +5165,11 @@ Name | Type | Description | Notes **name** | **char \*** | name of the Scale | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -5191,7 +5191,7 @@ Name | Type | Description | Notes ```c // partially update status of the specified ReplicationController // -v1_replication_controller_t* CoreV1API_patchNamespacedReplicationControllerStatus(apiClient_t *apiClient, char * name, char * _namespace, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_replication_controller_t* CoreV1API_patchNamespacedReplicationControllerStatus(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -5201,11 +5201,11 @@ Name | Type | Description | Notes **name** | **char \*** | name of the ReplicationController | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -5227,7 +5227,7 @@ Name | Type | Description | Notes ```c // partially update the specified ResourceQuota // -v1_resource_quota_t* CoreV1API_patchNamespacedResourceQuota(apiClient_t *apiClient, char * name, char * _namespace, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_resource_quota_t* CoreV1API_patchNamespacedResourceQuota(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -5237,11 +5237,11 @@ Name | Type | Description | Notes **name** | **char \*** | name of the ResourceQuota | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -5263,7 +5263,7 @@ Name | Type | Description | Notes ```c // partially update status of the specified ResourceQuota // -v1_resource_quota_t* CoreV1API_patchNamespacedResourceQuotaStatus(apiClient_t *apiClient, char * name, char * _namespace, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_resource_quota_t* CoreV1API_patchNamespacedResourceQuotaStatus(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -5273,11 +5273,11 @@ Name | Type | Description | Notes **name** | **char \*** | name of the ResourceQuota | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -5299,7 +5299,7 @@ Name | Type | Description | Notes ```c // partially update the specified Secret // -v1_secret_t* CoreV1API_patchNamespacedSecret(apiClient_t *apiClient, char * name, char * _namespace, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_secret_t* CoreV1API_patchNamespacedSecret(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -5309,11 +5309,11 @@ Name | Type | Description | Notes **name** | **char \*** | name of the Secret | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -5335,7 +5335,7 @@ Name | Type | Description | Notes ```c // partially update the specified Service // -v1_service_t* CoreV1API_patchNamespacedService(apiClient_t *apiClient, char * name, char * _namespace, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_service_t* CoreV1API_patchNamespacedService(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -5345,11 +5345,11 @@ Name | Type | Description | Notes **name** | **char \*** | name of the Service | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -5371,7 +5371,7 @@ Name | Type | Description | Notes ```c // partially update the specified ServiceAccount // -v1_service_account_t* CoreV1API_patchNamespacedServiceAccount(apiClient_t *apiClient, char * name, char * _namespace, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_service_account_t* CoreV1API_patchNamespacedServiceAccount(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -5381,11 +5381,11 @@ Name | Type | Description | Notes **name** | **char \*** | name of the ServiceAccount | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -5407,7 +5407,7 @@ Name | Type | Description | Notes ```c // partially update status of the specified Service // -v1_service_t* CoreV1API_patchNamespacedServiceStatus(apiClient_t *apiClient, char * name, char * _namespace, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_service_t* CoreV1API_patchNamespacedServiceStatus(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -5417,11 +5417,11 @@ Name | Type | Description | Notes **name** | **char \*** | name of the Service | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -5443,7 +5443,7 @@ Name | Type | Description | Notes ```c // partially update the specified Node // -v1_node_t* CoreV1API_patchNode(apiClient_t *apiClient, char * name, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_node_t* CoreV1API_patchNode(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -5452,11 +5452,11 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the Node | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -5478,7 +5478,7 @@ Name | Type | Description | Notes ```c // partially update status of the specified Node // -v1_node_t* CoreV1API_patchNodeStatus(apiClient_t *apiClient, char * name, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_node_t* CoreV1API_patchNodeStatus(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -5487,11 +5487,11 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the Node | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -5513,7 +5513,7 @@ Name | Type | Description | Notes ```c // partially update the specified PersistentVolume // -v1_persistent_volume_t* CoreV1API_patchPersistentVolume(apiClient_t *apiClient, char * name, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_persistent_volume_t* CoreV1API_patchPersistentVolume(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -5522,11 +5522,11 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the PersistentVolume | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -5548,7 +5548,7 @@ Name | Type | Description | Notes ```c // partially update status of the specified PersistentVolume // -v1_persistent_volume_t* CoreV1API_patchPersistentVolumeStatus(apiClient_t *apiClient, char * name, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_persistent_volume_t* CoreV1API_patchPersistentVolumeStatus(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -5557,11 +5557,11 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the PersistentVolume | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -5583,7 +5583,7 @@ Name | Type | Description | Notes ```c // read the specified ComponentStatus // -v1_component_status_t* CoreV1API_readComponentStatus(apiClient_t *apiClient, char * name, char * pretty); +v1_component_status_t* CoreV1API_readComponentStatus(apiClient_t *apiClient, char *name, char *pretty); ``` ### Parameters @@ -5591,7 +5591,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ComponentStatus | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -5613,7 +5613,7 @@ Name | Type | Description | Notes ```c // read the specified Namespace // -v1_namespace_t* CoreV1API_readNamespace(apiClient_t *apiClient, char * name, char * pretty); +v1_namespace_t* CoreV1API_readNamespace(apiClient_t *apiClient, char *name, char *pretty); ``` ### Parameters @@ -5621,7 +5621,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the Namespace | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -5643,7 +5643,7 @@ Name | Type | Description | Notes ```c // read status of the specified Namespace // -v1_namespace_t* CoreV1API_readNamespaceStatus(apiClient_t *apiClient, char * name, char * pretty); +v1_namespace_t* CoreV1API_readNamespaceStatus(apiClient_t *apiClient, char *name, char *pretty); ``` ### Parameters @@ -5651,7 +5651,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the Namespace | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -5673,7 +5673,7 @@ Name | Type | Description | Notes ```c // read the specified ConfigMap // -v1_config_map_t* CoreV1API_readNamespacedConfigMap(apiClient_t *apiClient, char * name, char * _namespace, char * pretty); +v1_config_map_t* CoreV1API_readNamespacedConfigMap(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); ``` ### Parameters @@ -5682,7 +5682,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ConfigMap | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -5704,7 +5704,7 @@ Name | Type | Description | Notes ```c // read the specified Endpoints // -v1_endpoints_t* CoreV1API_readNamespacedEndpoints(apiClient_t *apiClient, char * name, char * _namespace, char * pretty); +v1_endpoints_t* CoreV1API_readNamespacedEndpoints(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); ``` ### Parameters @@ -5713,7 +5713,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the Endpoints | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -5735,7 +5735,7 @@ Name | Type | Description | Notes ```c // read the specified Event // -core_v1_event_t* CoreV1API_readNamespacedEvent(apiClient_t *apiClient, char * name, char * _namespace, char * pretty); +core_v1_event_t* CoreV1API_readNamespacedEvent(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); ``` ### Parameters @@ -5744,7 +5744,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the Event | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -5766,7 +5766,7 @@ Name | Type | Description | Notes ```c // read the specified LimitRange // -v1_limit_range_t* CoreV1API_readNamespacedLimitRange(apiClient_t *apiClient, char * name, char * _namespace, char * pretty); +v1_limit_range_t* CoreV1API_readNamespacedLimitRange(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); ``` ### Parameters @@ -5775,7 +5775,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the LimitRange | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -5797,7 +5797,7 @@ Name | Type | Description | Notes ```c // read the specified PersistentVolumeClaim // -v1_persistent_volume_claim_t* CoreV1API_readNamespacedPersistentVolumeClaim(apiClient_t *apiClient, char * name, char * _namespace, char * pretty); +v1_persistent_volume_claim_t* CoreV1API_readNamespacedPersistentVolumeClaim(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); ``` ### Parameters @@ -5806,7 +5806,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the PersistentVolumeClaim | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -5828,7 +5828,7 @@ Name | Type | Description | Notes ```c // read status of the specified PersistentVolumeClaim // -v1_persistent_volume_claim_t* CoreV1API_readNamespacedPersistentVolumeClaimStatus(apiClient_t *apiClient, char * name, char * _namespace, char * pretty); +v1_persistent_volume_claim_t* CoreV1API_readNamespacedPersistentVolumeClaimStatus(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); ``` ### Parameters @@ -5837,7 +5837,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the PersistentVolumeClaim | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -5859,7 +5859,7 @@ Name | Type | Description | Notes ```c // read the specified Pod // -v1_pod_t* CoreV1API_readNamespacedPod(apiClient_t *apiClient, char * name, char * _namespace, char * pretty); +v1_pod_t* CoreV1API_readNamespacedPod(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); ``` ### Parameters @@ -5868,7 +5868,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the Pod | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -5890,7 +5890,7 @@ Name | Type | Description | Notes ```c // read ephemeralcontainers of the specified Pod // -v1_pod_t* CoreV1API_readNamespacedPodEphemeralcontainers(apiClient_t *apiClient, char * name, char * _namespace, char * pretty); +v1_pod_t* CoreV1API_readNamespacedPodEphemeralcontainers(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); ``` ### Parameters @@ -5899,7 +5899,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the Pod | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -5921,7 +5921,7 @@ Name | Type | Description | Notes ```c // read log of the specified Pod // -char* CoreV1API_readNamespacedPodLog(apiClient_t *apiClient, char * name, char * _namespace, char * container, int follow, int insecureSkipTLSVerifyBackend, int limitBytes, char * pretty, int previous, int sinceSeconds, int tailLines, int timestamps); +char* CoreV1API_readNamespacedPodLog(apiClient_t *apiClient, char *name, char *_namespace, char *container, int *follow, int *insecureSkipTLSVerifyBackend, int *limitBytes, char *pretty, int *previous, int *sinceSeconds, int *tailLines, int *timestamps); ``` ### Parameters @@ -5931,14 +5931,14 @@ Name | Type | Description | Notes **name** | **char \*** | name of the Pod | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **container** | **char \*** | The container for which to stream logs. Defaults to only container if there is one container in the pod. | [optional] -**follow** | **int** | Follow the log stream of the pod. Defaults to false. | [optional] -**insecureSkipTLSVerifyBackend** | **int** | insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the serving certificate of the backend it is connecting to. This will make the HTTPS connection between the apiserver and the backend insecure. This means the apiserver cannot verify the log data it is receiving came from the real kubelet. If the kubelet is configured to verify the apiserver's TLS credentials, it does not mean the connection to the real kubelet is vulnerable to a man in the middle attack (e.g. an attacker could not intercept the actual log data coming from the real kubelet). | [optional] -**limitBytes** | **int** | If set, the number of bytes to read from the server before terminating the log output. This may not display a complete final line of logging, and may return slightly more or slightly less than the specified limit. | [optional] -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**previous** | **int** | Return previous terminated container logs. Defaults to false. | [optional] -**sinceSeconds** | **int** | A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. | [optional] -**tailLines** | **int** | If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime | [optional] -**timestamps** | **int** | If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. | [optional] +**follow** | **int \*** | Follow the log stream of the pod. Defaults to false. | [optional] +**insecureSkipTLSVerifyBackend** | **int \*** | insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the serving certificate of the backend it is connecting to. This will make the HTTPS connection between the apiserver and the backend insecure. This means the apiserver cannot verify the log data it is receiving came from the real kubelet. If the kubelet is configured to verify the apiserver's TLS credentials, it does not mean the connection to the real kubelet is vulnerable to a man in the middle attack (e.g. an attacker could not intercept the actual log data coming from the real kubelet). | [optional] +**limitBytes** | **int \*** | If set, the number of bytes to read from the server before terminating the log output. This may not display a complete final line of logging, and may return slightly more or slightly less than the specified limit. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**previous** | **int \*** | Return previous terminated container logs. Defaults to false. | [optional] +**sinceSeconds** | **int \*** | A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. | [optional] +**tailLines** | **int \*** | If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime | [optional] +**timestamps** | **int \*** | If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. | [optional] ### Return type @@ -5961,7 +5961,7 @@ char* ```c // read status of the specified Pod // -v1_pod_t* CoreV1API_readNamespacedPodStatus(apiClient_t *apiClient, char * name, char * _namespace, char * pretty); +v1_pod_t* CoreV1API_readNamespacedPodStatus(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); ``` ### Parameters @@ -5970,7 +5970,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the Pod | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -5992,7 +5992,7 @@ Name | Type | Description | Notes ```c // read the specified PodTemplate // -v1_pod_template_t* CoreV1API_readNamespacedPodTemplate(apiClient_t *apiClient, char * name, char * _namespace, char * pretty); +v1_pod_template_t* CoreV1API_readNamespacedPodTemplate(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); ``` ### Parameters @@ -6001,7 +6001,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the PodTemplate | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -6023,7 +6023,7 @@ Name | Type | Description | Notes ```c // read the specified ReplicationController // -v1_replication_controller_t* CoreV1API_readNamespacedReplicationController(apiClient_t *apiClient, char * name, char * _namespace, char * pretty); +v1_replication_controller_t* CoreV1API_readNamespacedReplicationController(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); ``` ### Parameters @@ -6032,7 +6032,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ReplicationController | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -6054,7 +6054,7 @@ Name | Type | Description | Notes ```c // read scale of the specified ReplicationController // -v1_scale_t* CoreV1API_readNamespacedReplicationControllerScale(apiClient_t *apiClient, char * name, char * _namespace, char * pretty); +v1_scale_t* CoreV1API_readNamespacedReplicationControllerScale(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); ``` ### Parameters @@ -6063,7 +6063,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the Scale | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -6085,7 +6085,7 @@ Name | Type | Description | Notes ```c // read status of the specified ReplicationController // -v1_replication_controller_t* CoreV1API_readNamespacedReplicationControllerStatus(apiClient_t *apiClient, char * name, char * _namespace, char * pretty); +v1_replication_controller_t* CoreV1API_readNamespacedReplicationControllerStatus(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); ``` ### Parameters @@ -6094,7 +6094,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ReplicationController | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -6116,7 +6116,7 @@ Name | Type | Description | Notes ```c // read the specified ResourceQuota // -v1_resource_quota_t* CoreV1API_readNamespacedResourceQuota(apiClient_t *apiClient, char * name, char * _namespace, char * pretty); +v1_resource_quota_t* CoreV1API_readNamespacedResourceQuota(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); ``` ### Parameters @@ -6125,7 +6125,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ResourceQuota | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -6147,7 +6147,7 @@ Name | Type | Description | Notes ```c // read status of the specified ResourceQuota // -v1_resource_quota_t* CoreV1API_readNamespacedResourceQuotaStatus(apiClient_t *apiClient, char * name, char * _namespace, char * pretty); +v1_resource_quota_t* CoreV1API_readNamespacedResourceQuotaStatus(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); ``` ### Parameters @@ -6156,7 +6156,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ResourceQuota | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -6178,7 +6178,7 @@ Name | Type | Description | Notes ```c // read the specified Secret // -v1_secret_t* CoreV1API_readNamespacedSecret(apiClient_t *apiClient, char * name, char * _namespace, char * pretty); +v1_secret_t* CoreV1API_readNamespacedSecret(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); ``` ### Parameters @@ -6187,7 +6187,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the Secret | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -6209,7 +6209,7 @@ Name | Type | Description | Notes ```c // read the specified Service // -v1_service_t* CoreV1API_readNamespacedService(apiClient_t *apiClient, char * name, char * _namespace, char * pretty); +v1_service_t* CoreV1API_readNamespacedService(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); ``` ### Parameters @@ -6218,7 +6218,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the Service | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -6240,7 +6240,7 @@ Name | Type | Description | Notes ```c // read the specified ServiceAccount // -v1_service_account_t* CoreV1API_readNamespacedServiceAccount(apiClient_t *apiClient, char * name, char * _namespace, char * pretty); +v1_service_account_t* CoreV1API_readNamespacedServiceAccount(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); ``` ### Parameters @@ -6249,7 +6249,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ServiceAccount | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -6271,7 +6271,7 @@ Name | Type | Description | Notes ```c // read status of the specified Service // -v1_service_t* CoreV1API_readNamespacedServiceStatus(apiClient_t *apiClient, char * name, char * _namespace, char * pretty); +v1_service_t* CoreV1API_readNamespacedServiceStatus(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); ``` ### Parameters @@ -6280,7 +6280,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the Service | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -6302,7 +6302,7 @@ Name | Type | Description | Notes ```c // read the specified Node // -v1_node_t* CoreV1API_readNode(apiClient_t *apiClient, char * name, char * pretty); +v1_node_t* CoreV1API_readNode(apiClient_t *apiClient, char *name, char *pretty); ``` ### Parameters @@ -6310,7 +6310,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the Node | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -6332,7 +6332,7 @@ Name | Type | Description | Notes ```c // read status of the specified Node // -v1_node_t* CoreV1API_readNodeStatus(apiClient_t *apiClient, char * name, char * pretty); +v1_node_t* CoreV1API_readNodeStatus(apiClient_t *apiClient, char *name, char *pretty); ``` ### Parameters @@ -6340,7 +6340,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the Node | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -6362,7 +6362,7 @@ Name | Type | Description | Notes ```c // read the specified PersistentVolume // -v1_persistent_volume_t* CoreV1API_readPersistentVolume(apiClient_t *apiClient, char * name, char * pretty); +v1_persistent_volume_t* CoreV1API_readPersistentVolume(apiClient_t *apiClient, char *name, char *pretty); ``` ### Parameters @@ -6370,7 +6370,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the PersistentVolume | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -6392,7 +6392,7 @@ Name | Type | Description | Notes ```c // read status of the specified PersistentVolume // -v1_persistent_volume_t* CoreV1API_readPersistentVolumeStatus(apiClient_t *apiClient, char * name, char * pretty); +v1_persistent_volume_t* CoreV1API_readPersistentVolumeStatus(apiClient_t *apiClient, char *name, char *pretty); ``` ### Parameters @@ -6400,7 +6400,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the PersistentVolume | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -6422,7 +6422,7 @@ Name | Type | Description | Notes ```c // replace the specified Namespace // -v1_namespace_t* CoreV1API_replaceNamespace(apiClient_t *apiClient, char * name, v1_namespace_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_namespace_t* CoreV1API_replaceNamespace(apiClient_t *apiClient, char *name, v1_namespace_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -6431,7 +6431,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the Namespace | **body** | **[v1_namespace_t](v1_namespace.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -6456,7 +6456,7 @@ Name | Type | Description | Notes ```c // replace finalize of the specified Namespace // -v1_namespace_t* CoreV1API_replaceNamespaceFinalize(apiClient_t *apiClient, char * name, v1_namespace_t * body, char * dryRun, char * fieldManager, char * fieldValidation, char * pretty); +v1_namespace_t* CoreV1API_replaceNamespaceFinalize(apiClient_t *apiClient, char *name, v1_namespace_t *body, char *dryRun, char *fieldManager, char *fieldValidation, char *pretty); ``` ### Parameters @@ -6468,7 +6468,7 @@ Name | Type | Description | Notes **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -6490,7 +6490,7 @@ Name | Type | Description | Notes ```c // replace status of the specified Namespace // -v1_namespace_t* CoreV1API_replaceNamespaceStatus(apiClient_t *apiClient, char * name, v1_namespace_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_namespace_t* CoreV1API_replaceNamespaceStatus(apiClient_t *apiClient, char *name, v1_namespace_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -6499,7 +6499,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the Namespace | **body** | **[v1_namespace_t](v1_namespace.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -6524,7 +6524,7 @@ Name | Type | Description | Notes ```c // replace the specified ConfigMap // -v1_config_map_t* CoreV1API_replaceNamespacedConfigMap(apiClient_t *apiClient, char * name, char * _namespace, v1_config_map_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_config_map_t* CoreV1API_replaceNamespacedConfigMap(apiClient_t *apiClient, char *name, char *_namespace, v1_config_map_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -6534,7 +6534,7 @@ Name | Type | Description | Notes **name** | **char \*** | name of the ConfigMap | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_config_map_t](v1_config_map.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -6559,7 +6559,7 @@ Name | Type | Description | Notes ```c // replace the specified Endpoints // -v1_endpoints_t* CoreV1API_replaceNamespacedEndpoints(apiClient_t *apiClient, char * name, char * _namespace, v1_endpoints_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_endpoints_t* CoreV1API_replaceNamespacedEndpoints(apiClient_t *apiClient, char *name, char *_namespace, v1_endpoints_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -6569,7 +6569,7 @@ Name | Type | Description | Notes **name** | **char \*** | name of the Endpoints | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_endpoints_t](v1_endpoints.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -6594,7 +6594,7 @@ Name | Type | Description | Notes ```c // replace the specified Event // -core_v1_event_t* CoreV1API_replaceNamespacedEvent(apiClient_t *apiClient, char * name, char * _namespace, core_v1_event_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +core_v1_event_t* CoreV1API_replaceNamespacedEvent(apiClient_t *apiClient, char *name, char *_namespace, core_v1_event_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -6604,7 +6604,7 @@ Name | Type | Description | Notes **name** | **char \*** | name of the Event | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[core_v1_event_t](core_v1_event.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -6629,7 +6629,7 @@ Name | Type | Description | Notes ```c // replace the specified LimitRange // -v1_limit_range_t* CoreV1API_replaceNamespacedLimitRange(apiClient_t *apiClient, char * name, char * _namespace, v1_limit_range_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_limit_range_t* CoreV1API_replaceNamespacedLimitRange(apiClient_t *apiClient, char *name, char *_namespace, v1_limit_range_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -6639,7 +6639,7 @@ Name | Type | Description | Notes **name** | **char \*** | name of the LimitRange | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_limit_range_t](v1_limit_range.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -6664,7 +6664,7 @@ Name | Type | Description | Notes ```c // replace the specified PersistentVolumeClaim // -v1_persistent_volume_claim_t* CoreV1API_replaceNamespacedPersistentVolumeClaim(apiClient_t *apiClient, char * name, char * _namespace, v1_persistent_volume_claim_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_persistent_volume_claim_t* CoreV1API_replaceNamespacedPersistentVolumeClaim(apiClient_t *apiClient, char *name, char *_namespace, v1_persistent_volume_claim_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -6674,7 +6674,7 @@ Name | Type | Description | Notes **name** | **char \*** | name of the PersistentVolumeClaim | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_persistent_volume_claim_t](v1_persistent_volume_claim.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -6699,7 +6699,7 @@ Name | Type | Description | Notes ```c // replace status of the specified PersistentVolumeClaim // -v1_persistent_volume_claim_t* CoreV1API_replaceNamespacedPersistentVolumeClaimStatus(apiClient_t *apiClient, char * name, char * _namespace, v1_persistent_volume_claim_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_persistent_volume_claim_t* CoreV1API_replaceNamespacedPersistentVolumeClaimStatus(apiClient_t *apiClient, char *name, char *_namespace, v1_persistent_volume_claim_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -6709,7 +6709,7 @@ Name | Type | Description | Notes **name** | **char \*** | name of the PersistentVolumeClaim | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_persistent_volume_claim_t](v1_persistent_volume_claim.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -6734,7 +6734,7 @@ Name | Type | Description | Notes ```c // replace the specified Pod // -v1_pod_t* CoreV1API_replaceNamespacedPod(apiClient_t *apiClient, char * name, char * _namespace, v1_pod_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_pod_t* CoreV1API_replaceNamespacedPod(apiClient_t *apiClient, char *name, char *_namespace, v1_pod_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -6744,7 +6744,7 @@ Name | Type | Description | Notes **name** | **char \*** | name of the Pod | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_pod_t](v1_pod.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -6769,7 +6769,7 @@ Name | Type | Description | Notes ```c // replace ephemeralcontainers of the specified Pod // -v1_pod_t* CoreV1API_replaceNamespacedPodEphemeralcontainers(apiClient_t *apiClient, char * name, char * _namespace, v1_pod_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_pod_t* CoreV1API_replaceNamespacedPodEphemeralcontainers(apiClient_t *apiClient, char *name, char *_namespace, v1_pod_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -6779,7 +6779,7 @@ Name | Type | Description | Notes **name** | **char \*** | name of the Pod | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_pod_t](v1_pod.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -6804,7 +6804,7 @@ Name | Type | Description | Notes ```c // replace status of the specified Pod // -v1_pod_t* CoreV1API_replaceNamespacedPodStatus(apiClient_t *apiClient, char * name, char * _namespace, v1_pod_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_pod_t* CoreV1API_replaceNamespacedPodStatus(apiClient_t *apiClient, char *name, char *_namespace, v1_pod_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -6814,7 +6814,7 @@ Name | Type | Description | Notes **name** | **char \*** | name of the Pod | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_pod_t](v1_pod.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -6839,7 +6839,7 @@ Name | Type | Description | Notes ```c // replace the specified PodTemplate // -v1_pod_template_t* CoreV1API_replaceNamespacedPodTemplate(apiClient_t *apiClient, char * name, char * _namespace, v1_pod_template_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_pod_template_t* CoreV1API_replaceNamespacedPodTemplate(apiClient_t *apiClient, char *name, char *_namespace, v1_pod_template_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -6849,7 +6849,7 @@ Name | Type | Description | Notes **name** | **char \*** | name of the PodTemplate | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_pod_template_t](v1_pod_template.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -6874,7 +6874,7 @@ Name | Type | Description | Notes ```c // replace the specified ReplicationController // -v1_replication_controller_t* CoreV1API_replaceNamespacedReplicationController(apiClient_t *apiClient, char * name, char * _namespace, v1_replication_controller_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_replication_controller_t* CoreV1API_replaceNamespacedReplicationController(apiClient_t *apiClient, char *name, char *_namespace, v1_replication_controller_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -6884,7 +6884,7 @@ Name | Type | Description | Notes **name** | **char \*** | name of the ReplicationController | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_replication_controller_t](v1_replication_controller.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -6909,7 +6909,7 @@ Name | Type | Description | Notes ```c // replace scale of the specified ReplicationController // -v1_scale_t* CoreV1API_replaceNamespacedReplicationControllerScale(apiClient_t *apiClient, char * name, char * _namespace, v1_scale_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_scale_t* CoreV1API_replaceNamespacedReplicationControllerScale(apiClient_t *apiClient, char *name, char *_namespace, v1_scale_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -6919,7 +6919,7 @@ Name | Type | Description | Notes **name** | **char \*** | name of the Scale | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_scale_t](v1_scale.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -6944,7 +6944,7 @@ Name | Type | Description | Notes ```c // replace status of the specified ReplicationController // -v1_replication_controller_t* CoreV1API_replaceNamespacedReplicationControllerStatus(apiClient_t *apiClient, char * name, char * _namespace, v1_replication_controller_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_replication_controller_t* CoreV1API_replaceNamespacedReplicationControllerStatus(apiClient_t *apiClient, char *name, char *_namespace, v1_replication_controller_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -6954,7 +6954,7 @@ Name | Type | Description | Notes **name** | **char \*** | name of the ReplicationController | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_replication_controller_t](v1_replication_controller.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -6979,7 +6979,7 @@ Name | Type | Description | Notes ```c // replace the specified ResourceQuota // -v1_resource_quota_t* CoreV1API_replaceNamespacedResourceQuota(apiClient_t *apiClient, char * name, char * _namespace, v1_resource_quota_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_resource_quota_t* CoreV1API_replaceNamespacedResourceQuota(apiClient_t *apiClient, char *name, char *_namespace, v1_resource_quota_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -6989,7 +6989,7 @@ Name | Type | Description | Notes **name** | **char \*** | name of the ResourceQuota | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_resource_quota_t](v1_resource_quota.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -7014,7 +7014,7 @@ Name | Type | Description | Notes ```c // replace status of the specified ResourceQuota // -v1_resource_quota_t* CoreV1API_replaceNamespacedResourceQuotaStatus(apiClient_t *apiClient, char * name, char * _namespace, v1_resource_quota_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_resource_quota_t* CoreV1API_replaceNamespacedResourceQuotaStatus(apiClient_t *apiClient, char *name, char *_namespace, v1_resource_quota_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -7024,7 +7024,7 @@ Name | Type | Description | Notes **name** | **char \*** | name of the ResourceQuota | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_resource_quota_t](v1_resource_quota.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -7049,7 +7049,7 @@ Name | Type | Description | Notes ```c // replace the specified Secret // -v1_secret_t* CoreV1API_replaceNamespacedSecret(apiClient_t *apiClient, char * name, char * _namespace, v1_secret_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_secret_t* CoreV1API_replaceNamespacedSecret(apiClient_t *apiClient, char *name, char *_namespace, v1_secret_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -7059,7 +7059,7 @@ Name | Type | Description | Notes **name** | **char \*** | name of the Secret | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_secret_t](v1_secret.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -7084,7 +7084,7 @@ Name | Type | Description | Notes ```c // replace the specified Service // -v1_service_t* CoreV1API_replaceNamespacedService(apiClient_t *apiClient, char * name, char * _namespace, v1_service_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_service_t* CoreV1API_replaceNamespacedService(apiClient_t *apiClient, char *name, char *_namespace, v1_service_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -7094,7 +7094,7 @@ Name | Type | Description | Notes **name** | **char \*** | name of the Service | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_service_t](v1_service.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -7119,7 +7119,7 @@ Name | Type | Description | Notes ```c // replace the specified ServiceAccount // -v1_service_account_t* CoreV1API_replaceNamespacedServiceAccount(apiClient_t *apiClient, char * name, char * _namespace, v1_service_account_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_service_account_t* CoreV1API_replaceNamespacedServiceAccount(apiClient_t *apiClient, char *name, char *_namespace, v1_service_account_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -7129,7 +7129,7 @@ Name | Type | Description | Notes **name** | **char \*** | name of the ServiceAccount | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_service_account_t](v1_service_account.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -7154,7 +7154,7 @@ Name | Type | Description | Notes ```c // replace status of the specified Service // -v1_service_t* CoreV1API_replaceNamespacedServiceStatus(apiClient_t *apiClient, char * name, char * _namespace, v1_service_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_service_t* CoreV1API_replaceNamespacedServiceStatus(apiClient_t *apiClient, char *name, char *_namespace, v1_service_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -7164,7 +7164,7 @@ Name | Type | Description | Notes **name** | **char \*** | name of the Service | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_service_t](v1_service.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -7189,7 +7189,7 @@ Name | Type | Description | Notes ```c // replace the specified Node // -v1_node_t* CoreV1API_replaceNode(apiClient_t *apiClient, char * name, v1_node_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_node_t* CoreV1API_replaceNode(apiClient_t *apiClient, char *name, v1_node_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -7198,7 +7198,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the Node | **body** | **[v1_node_t](v1_node.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -7223,7 +7223,7 @@ Name | Type | Description | Notes ```c // replace status of the specified Node // -v1_node_t* CoreV1API_replaceNodeStatus(apiClient_t *apiClient, char * name, v1_node_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_node_t* CoreV1API_replaceNodeStatus(apiClient_t *apiClient, char *name, v1_node_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -7232,7 +7232,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the Node | **body** | **[v1_node_t](v1_node.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -7257,7 +7257,7 @@ Name | Type | Description | Notes ```c // replace the specified PersistentVolume // -v1_persistent_volume_t* CoreV1API_replacePersistentVolume(apiClient_t *apiClient, char * name, v1_persistent_volume_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_persistent_volume_t* CoreV1API_replacePersistentVolume(apiClient_t *apiClient, char *name, v1_persistent_volume_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -7266,7 +7266,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the PersistentVolume | **body** | **[v1_persistent_volume_t](v1_persistent_volume.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -7291,7 +7291,7 @@ Name | Type | Description | Notes ```c // replace status of the specified PersistentVolume // -v1_persistent_volume_t* CoreV1API_replacePersistentVolumeStatus(apiClient_t *apiClient, char * name, v1_persistent_volume_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_persistent_volume_t* CoreV1API_replacePersistentVolumeStatus(apiClient_t *apiClient, char *name, v1_persistent_volume_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -7300,7 +7300,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the PersistentVolume | **body** | **[v1_persistent_volume_t](v1_persistent_volume.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] diff --git a/kubernetes/docs/CustomObjectsAPI.md b/kubernetes/docs/CustomObjectsAPI.md index 2969172c..39a16d52 100644 --- a/kubernetes/docs/CustomObjectsAPI.md +++ b/kubernetes/docs/CustomObjectsAPI.md @@ -37,7 +37,7 @@ Method | HTTP request | Description ```c // Creates a cluster scoped Custom object // -object_t* CustomObjectsAPI_createClusterCustomObject(apiClient_t *apiClient, char * group, char * version, char * plural, object_t * body, char * pretty, char * dryRun, char * fieldManager); +object_t* CustomObjectsAPI_createClusterCustomObject(apiClient_t *apiClient, char *group, char *version, char *plural, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -51,6 +51,7 @@ Name | Type | Description | Notes **pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] +**fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) | [optional] ### Return type @@ -72,7 +73,7 @@ Name | Type | Description | Notes ```c // Creates a namespace scoped Custom object // -object_t* CustomObjectsAPI_createNamespacedCustomObject(apiClient_t *apiClient, char * group, char * version, char * _namespace, char * plural, object_t * body, char * pretty, char * dryRun, char * fieldManager); +object_t* CustomObjectsAPI_createNamespacedCustomObject(apiClient_t *apiClient, char *group, char *version, char *_namespace, char *plural, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -87,6 +88,7 @@ Name | Type | Description | Notes **pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] +**fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) | [optional] ### Return type @@ -108,7 +110,7 @@ Name | Type | Description | Notes ```c // Deletes the specified cluster scoped custom object // -object_t* CustomObjectsAPI_deleteClusterCustomObject(apiClient_t *apiClient, char * group, char * version, char * plural, char * name, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, char * dryRun, v1_delete_options_t * body); +object_t* CustomObjectsAPI_deleteClusterCustomObject(apiClient_t *apiClient, char *group, char *version, char *plural, char *name, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, char *dryRun, v1_delete_options_t *body); ``` ### Parameters @@ -119,8 +121,8 @@ Name | Type | Description | Notes **version** | **char \*** | the custom resource's version | **plural** | **char \*** | the custom object's plural name. For TPRs this would be lowercase plural kind. | **name** | **char \*** | the custom object's name | -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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] **dryRun** | **char \*** | 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] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -145,7 +147,7 @@ Name | Type | Description | Notes ```c // Delete collection of cluster scoped custom objects // -object_t* CustomObjectsAPI_deleteCollectionClusterCustomObject(apiClient_t *apiClient, char * group, char * version, char * plural, char * pretty, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, char * dryRun, v1_delete_options_t * body); +object_t* CustomObjectsAPI_deleteCollectionClusterCustomObject(apiClient_t *apiClient, char *group, char *version, char *plural, char *pretty, char *labelSelector, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, char *dryRun, v1_delete_options_t *body); ``` ### Parameters @@ -156,8 +158,9 @@ Name | Type | Description | Notes **version** | **char \*** | The custom resource's version | **plural** | **char \*** | The custom resource's plural name. For TPRs this would be lowercase plural kind. | **pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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] **dryRun** | **char \*** | 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] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -182,7 +185,7 @@ Name | Type | Description | Notes ```c // Delete collection of namespace scoped custom objects // -object_t* CustomObjectsAPI_deleteCollectionNamespacedCustomObject(apiClient_t *apiClient, char * group, char * version, char * _namespace, char * plural, char * pretty, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, char * dryRun, v1_delete_options_t * body); +object_t* CustomObjectsAPI_deleteCollectionNamespacedCustomObject(apiClient_t *apiClient, char *group, char *version, char *_namespace, char *plural, char *pretty, char *labelSelector, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, char *dryRun, v1_delete_options_t *body); ``` ### Parameters @@ -194,8 +197,9 @@ Name | Type | Description | Notes **_namespace** | **char \*** | The custom resource's namespace | **plural** | **char \*** | The custom resource's plural name. For TPRs this would be lowercase plural kind. | **pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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] **dryRun** | **char \*** | 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] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -220,7 +224,7 @@ Name | Type | Description | Notes ```c // Deletes the specified namespace scoped custom object // -object_t* CustomObjectsAPI_deleteNamespacedCustomObject(apiClient_t *apiClient, char * group, char * version, char * _namespace, char * plural, char * name, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, char * dryRun, v1_delete_options_t * body); +object_t* CustomObjectsAPI_deleteNamespacedCustomObject(apiClient_t *apiClient, char *group, char *version, char *_namespace, char *plural, char *name, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, char *dryRun, v1_delete_options_t *body); ``` ### Parameters @@ -232,8 +236,8 @@ Name | Type | Description | Notes **_namespace** | **char \*** | The custom resource's namespace | **plural** | **char \*** | the custom resource's plural name. For TPRs this would be lowercase plural kind. | **name** | **char \*** | the custom object's name | -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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] **dryRun** | **char \*** | 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] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -258,7 +262,7 @@ Name | Type | Description | Notes ```c // get available resources // -v1_api_resource_list_t* CustomObjectsAPI_getAPIResources(apiClient_t *apiClient, char * group, char * version); +v1_api_resource_list_t* CustomObjectsAPI_getAPIResources(apiClient_t *apiClient, char *group, char *version); ``` ### Parameters @@ -288,7 +292,7 @@ Name | Type | Description | Notes ```c // Returns a cluster scoped custom object // -object_t* CustomObjectsAPI_getClusterCustomObject(apiClient_t *apiClient, char * group, char * version, char * plural, char * name); +object_t* CustomObjectsAPI_getClusterCustomObject(apiClient_t *apiClient, char *group, char *version, char *plural, char *name); ``` ### Parameters @@ -320,7 +324,7 @@ Name | Type | Description | Notes ```c // read scale of the specified custom object // -object_t* CustomObjectsAPI_getClusterCustomObjectScale(apiClient_t *apiClient, char * group, char * version, char * plural, char * name); +object_t* CustomObjectsAPI_getClusterCustomObjectScale(apiClient_t *apiClient, char *group, char *version, char *plural, char *name); ``` ### Parameters @@ -352,7 +356,7 @@ Name | Type | Description | Notes ```c // read status of the specified cluster scoped custom object // -object_t* CustomObjectsAPI_getClusterCustomObjectStatus(apiClient_t *apiClient, char * group, char * version, char * plural, char * name); +object_t* CustomObjectsAPI_getClusterCustomObjectStatus(apiClient_t *apiClient, char *group, char *version, char *plural, char *name); ``` ### Parameters @@ -384,7 +388,7 @@ Name | Type | Description | Notes ```c // Returns a namespace scoped custom object // -object_t* CustomObjectsAPI_getNamespacedCustomObject(apiClient_t *apiClient, char * group, char * version, char * _namespace, char * plural, char * name); +object_t* CustomObjectsAPI_getNamespacedCustomObject(apiClient_t *apiClient, char *group, char *version, char *_namespace, char *plural, char *name); ``` ### Parameters @@ -417,7 +421,7 @@ Name | Type | Description | Notes ```c // read scale of the specified namespace scoped custom object // -object_t* CustomObjectsAPI_getNamespacedCustomObjectScale(apiClient_t *apiClient, char * group, char * version, char * _namespace, char * plural, char * name); +object_t* CustomObjectsAPI_getNamespacedCustomObjectScale(apiClient_t *apiClient, char *group, char *version, char *_namespace, char *plural, char *name); ``` ### Parameters @@ -450,7 +454,7 @@ Name | Type | Description | Notes ```c // read status of the specified namespace scoped custom object // -object_t* CustomObjectsAPI_getNamespacedCustomObjectStatus(apiClient_t *apiClient, char * group, char * version, char * _namespace, char * plural, char * name); +object_t* CustomObjectsAPI_getNamespacedCustomObjectStatus(apiClient_t *apiClient, char *group, char *version, char *_namespace, char *plural, char *name); ``` ### Parameters @@ -483,7 +487,7 @@ Name | Type | Description | Notes ```c // list or watch cluster scoped custom objects // -object_t* CustomObjectsAPI_listClusterCustomObject(apiClient_t *apiClient, char * group, char * version, char * plural, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int timeoutSeconds, int watch); +object_t* CustomObjectsAPI_listClusterCustomObject(apiClient_t *apiClient, char *group, char *version, char *plural, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *timeoutSeconds, int *watch); ``` ### Parameters @@ -494,15 +498,15 @@ Name | Type | Description | Notes **version** | **char \*** | The custom resource's version | **plural** | **char \*** | The custom resource's plural name. For TPRs this would be lowercase plural kind. | **pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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] +**allowWatchBookmarks** | **int \*** | 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] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | 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. | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. | [optional] ### Return type @@ -524,7 +528,7 @@ Name | Type | Description | Notes ```c // list or watch namespace scoped custom objects // -object_t* CustomObjectsAPI_listNamespacedCustomObject(apiClient_t *apiClient, char * group, char * version, char * _namespace, char * plural, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int timeoutSeconds, int watch); +object_t* CustomObjectsAPI_listNamespacedCustomObject(apiClient_t *apiClient, char *group, char *version, char *_namespace, char *plural, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *timeoutSeconds, int *watch); ``` ### Parameters @@ -536,15 +540,15 @@ Name | Type | Description | Notes **_namespace** | **char \*** | The custom resource's namespace | **plural** | **char \*** | The custom resource's plural name. For TPRs this would be lowercase plural kind. | **pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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] +**allowWatchBookmarks** | **int \*** | 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] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | 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. | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. | [optional] ### Return type @@ -566,7 +570,7 @@ Name | Type | Description | Notes ```c // patch the specified cluster scoped custom object // -object_t* CustomObjectsAPI_patchClusterCustomObject(apiClient_t *apiClient, char * group, char * version, char * plural, char * name, object_t * body, char * dryRun, char * fieldManager, int force); +object_t* CustomObjectsAPI_patchClusterCustomObject(apiClient_t *apiClient, char *group, char *version, char *plural, char *name, object_t *body, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -580,7 +584,8 @@ Name | Type | Description | Notes **body** | **[object_t](object.md) \*** | The JSON schema of the Resource to patch. | **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -602,7 +607,7 @@ Name | Type | Description | Notes ```c // partially update scale of the specified cluster scoped custom object // -object_t* CustomObjectsAPI_patchClusterCustomObjectScale(apiClient_t *apiClient, char * group, char * version, char * plural, char * name, object_t * body, char * dryRun, char * fieldManager, int force); +object_t* CustomObjectsAPI_patchClusterCustomObjectScale(apiClient_t *apiClient, char *group, char *version, char *plural, char *name, object_t *body, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -616,7 +621,8 @@ Name | Type | Description | Notes **body** | **[object_t](object.md) \*** | | **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -638,7 +644,7 @@ Name | Type | Description | Notes ```c // partially update status of the specified cluster scoped custom object // -object_t* CustomObjectsAPI_patchClusterCustomObjectStatus(apiClient_t *apiClient, char * group, char * version, char * plural, char * name, object_t * body, char * dryRun, char * fieldManager, int force); +object_t* CustomObjectsAPI_patchClusterCustomObjectStatus(apiClient_t *apiClient, char *group, char *version, char *plural, char *name, object_t *body, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -652,7 +658,8 @@ Name | Type | Description | Notes **body** | **[object_t](object.md) \*** | | **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -674,7 +681,7 @@ Name | Type | Description | Notes ```c // patch the specified namespace scoped custom object // -object_t* CustomObjectsAPI_patchNamespacedCustomObject(apiClient_t *apiClient, char * group, char * version, char * _namespace, char * plural, char * name, object_t * body, char * dryRun, char * fieldManager, int force); +object_t* CustomObjectsAPI_patchNamespacedCustomObject(apiClient_t *apiClient, char *group, char *version, char *_namespace, char *plural, char *name, object_t *body, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -689,7 +696,8 @@ Name | Type | Description | Notes **body** | **[object_t](object.md) \*** | The JSON schema of the Resource to patch. | **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -711,7 +719,7 @@ Name | Type | Description | Notes ```c // partially update scale of the specified namespace scoped custom object // -object_t* CustomObjectsAPI_patchNamespacedCustomObjectScale(apiClient_t *apiClient, char * group, char * version, char * _namespace, char * plural, char * name, object_t * body, char * dryRun, char * fieldManager, int force); +object_t* CustomObjectsAPI_patchNamespacedCustomObjectScale(apiClient_t *apiClient, char *group, char *version, char *_namespace, char *plural, char *name, object_t *body, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -726,7 +734,8 @@ Name | Type | Description | Notes **body** | **[object_t](object.md) \*** | | **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -748,7 +757,7 @@ Name | Type | Description | Notes ```c // partially update status of the specified namespace scoped custom object // -object_t* CustomObjectsAPI_patchNamespacedCustomObjectStatus(apiClient_t *apiClient, char * group, char * version, char * _namespace, char * plural, char * name, object_t * body, char * dryRun, char * fieldManager, int force); +object_t* CustomObjectsAPI_patchNamespacedCustomObjectStatus(apiClient_t *apiClient, char *group, char *version, char *_namespace, char *plural, char *name, object_t *body, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -763,7 +772,8 @@ Name | Type | Description | Notes **body** | **[object_t](object.md) \*** | | **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -785,7 +795,7 @@ Name | Type | Description | Notes ```c // replace the specified cluster scoped custom object // -object_t* CustomObjectsAPI_replaceClusterCustomObject(apiClient_t *apiClient, char * group, char * version, char * plural, char * name, object_t * body, char * dryRun, char * fieldManager); +object_t* CustomObjectsAPI_replaceClusterCustomObject(apiClient_t *apiClient, char *group, char *version, char *plural, char *name, object_t *body, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -799,6 +809,7 @@ Name | Type | Description | Notes **body** | **[object_t](object.md) \*** | The JSON schema of the Resource to replace. | **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] +**fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) | [optional] ### Return type @@ -820,7 +831,7 @@ Name | Type | Description | Notes ```c // replace scale of the specified cluster scoped custom object // -object_t* CustomObjectsAPI_replaceClusterCustomObjectScale(apiClient_t *apiClient, char * group, char * version, char * plural, char * name, object_t * body, char * dryRun, char * fieldManager); +object_t* CustomObjectsAPI_replaceClusterCustomObjectScale(apiClient_t *apiClient, char *group, char *version, char *plural, char *name, object_t *body, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -834,6 +845,7 @@ Name | Type | Description | Notes **body** | **[object_t](object.md) \*** | | **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] +**fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) | [optional] ### Return type @@ -855,7 +867,7 @@ Name | Type | Description | Notes ```c // replace status of the cluster scoped specified custom object // -object_t* CustomObjectsAPI_replaceClusterCustomObjectStatus(apiClient_t *apiClient, char * group, char * version, char * plural, char * name, object_t * body, char * dryRun, char * fieldManager); +object_t* CustomObjectsAPI_replaceClusterCustomObjectStatus(apiClient_t *apiClient, char *group, char *version, char *plural, char *name, object_t *body, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -869,6 +881,7 @@ Name | Type | Description | Notes **body** | **[object_t](object.md) \*** | | **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] +**fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) | [optional] ### Return type @@ -890,7 +903,7 @@ Name | Type | Description | Notes ```c // replace the specified namespace scoped custom object // -object_t* CustomObjectsAPI_replaceNamespacedCustomObject(apiClient_t *apiClient, char * group, char * version, char * _namespace, char * plural, char * name, object_t * body, char * dryRun, char * fieldManager); +object_t* CustomObjectsAPI_replaceNamespacedCustomObject(apiClient_t *apiClient, char *group, char *version, char *_namespace, char *plural, char *name, object_t *body, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -905,6 +918,7 @@ Name | Type | Description | Notes **body** | **[object_t](object.md) \*** | The JSON schema of the Resource to replace. | **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] +**fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) | [optional] ### Return type @@ -926,7 +940,7 @@ Name | Type | Description | Notes ```c // replace scale of the specified namespace scoped custom object // -object_t* CustomObjectsAPI_replaceNamespacedCustomObjectScale(apiClient_t *apiClient, char * group, char * version, char * _namespace, char * plural, char * name, object_t * body, char * dryRun, char * fieldManager); +object_t* CustomObjectsAPI_replaceNamespacedCustomObjectScale(apiClient_t *apiClient, char *group, char *version, char *_namespace, char *plural, char *name, object_t *body, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -941,6 +955,7 @@ Name | Type | Description | Notes **body** | **[object_t](object.md) \*** | | **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] +**fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) | [optional] ### Return type @@ -962,7 +977,7 @@ Name | Type | Description | Notes ```c // replace status of the specified namespace scoped custom object // -object_t* CustomObjectsAPI_replaceNamespacedCustomObjectStatus(apiClient_t *apiClient, char * group, char * version, char * _namespace, char * plural, char * name, object_t * body, char * dryRun, char * fieldManager); +object_t* CustomObjectsAPI_replaceNamespacedCustomObjectStatus(apiClient_t *apiClient, char *group, char *version, char *_namespace, char *plural, char *name, object_t *body, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -977,6 +992,7 @@ Name | Type | Description | Notes **body** | **[object_t](object.md) \*** | | **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] +**fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional) | [optional] ### Return type diff --git a/kubernetes/docs/DiscoveryV1API.md b/kubernetes/docs/DiscoveryV1API.md index 47f580ae..3c5626b8 100644 --- a/kubernetes/docs/DiscoveryV1API.md +++ b/kubernetes/docs/DiscoveryV1API.md @@ -19,7 +19,7 @@ Method | HTTP request | Description ```c // create an EndpointSlice // -v1_endpoint_slice_t* DiscoveryV1API_createNamespacedEndpointSlice(apiClient_t *apiClient, char * _namespace, v1_endpoint_slice_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_endpoint_slice_t* DiscoveryV1API_createNamespacedEndpointSlice(apiClient_t *apiClient, char *_namespace, v1_endpoint_slice_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -28,7 +28,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_endpoint_slice_t](v1_endpoint_slice.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -53,7 +53,7 @@ Name | Type | Description | Notes ```c // delete collection of EndpointSlice // -v1_status_t* DiscoveryV1API_deleteCollectionNamespacedEndpointSlice(apiClient_t *apiClient, char * _namespace, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* DiscoveryV1API_deleteCollectionNamespacedEndpointSlice(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters @@ -61,19 +61,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -96,7 +96,7 @@ Name | Type | Description | Notes ```c // delete an EndpointSlice // -v1_status_t* DiscoveryV1API_deleteNamespacedEndpointSlice(apiClient_t *apiClient, char * name, char * _namespace, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_status_t* DiscoveryV1API_deleteNamespacedEndpointSlice(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -105,10 +105,10 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the EndpointSlice | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -160,24 +160,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind EndpointSlice // -v1_endpoint_slice_list_t* DiscoveryV1API_listEndpointSliceForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * pretty, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_endpoint_slice_list_t* DiscoveryV1API_listEndpointSliceForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**allowWatchBookmarks** | **int** | 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. | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**limit** | **int \*** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -199,7 +199,7 @@ Name | Type | Description | Notes ```c // list or watch objects of kind EndpointSlice // -v1_endpoint_slice_list_t* DiscoveryV1API_listNamespacedEndpointSlice(apiClient_t *apiClient, char * _namespace, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_endpoint_slice_list_t* DiscoveryV1API_listNamespacedEndpointSlice(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters @@ -207,17 +207,17 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -239,7 +239,7 @@ Name | Type | Description | Notes ```c // partially update the specified EndpointSlice // -v1_endpoint_slice_t* DiscoveryV1API_patchNamespacedEndpointSlice(apiClient_t *apiClient, char * name, char * _namespace, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_endpoint_slice_t* DiscoveryV1API_patchNamespacedEndpointSlice(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -249,11 +249,11 @@ Name | Type | Description | Notes **name** | **char \*** | name of the EndpointSlice | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -275,7 +275,7 @@ Name | Type | Description | Notes ```c // read the specified EndpointSlice // -v1_endpoint_slice_t* DiscoveryV1API_readNamespacedEndpointSlice(apiClient_t *apiClient, char * name, char * _namespace, char * pretty); +v1_endpoint_slice_t* DiscoveryV1API_readNamespacedEndpointSlice(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); ``` ### Parameters @@ -284,7 +284,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the EndpointSlice | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -306,7 +306,7 @@ Name | Type | Description | Notes ```c // replace the specified EndpointSlice // -v1_endpoint_slice_t* DiscoveryV1API_replaceNamespacedEndpointSlice(apiClient_t *apiClient, char * name, char * _namespace, v1_endpoint_slice_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_endpoint_slice_t* DiscoveryV1API_replaceNamespacedEndpointSlice(apiClient_t *apiClient, char *name, char *_namespace, v1_endpoint_slice_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -316,7 +316,7 @@ Name | Type | Description | Notes **name** | **char \*** | name of the EndpointSlice | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_endpoint_slice_t](v1_endpoint_slice.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] diff --git a/kubernetes/docs/EventsV1API.md b/kubernetes/docs/EventsV1API.md index a42ff11f..be767a0f 100644 --- a/kubernetes/docs/EventsV1API.md +++ b/kubernetes/docs/EventsV1API.md @@ -19,7 +19,7 @@ Method | HTTP request | Description ```c // create an Event // -events_v1_event_t* EventsV1API_createNamespacedEvent(apiClient_t *apiClient, char * _namespace, events_v1_event_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +events_v1_event_t* EventsV1API_createNamespacedEvent(apiClient_t *apiClient, char *_namespace, events_v1_event_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -28,7 +28,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[events_v1_event_t](events_v1_event.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -53,7 +53,7 @@ Name | Type | Description | Notes ```c // delete collection of Event // -v1_status_t* EventsV1API_deleteCollectionNamespacedEvent(apiClient_t *apiClient, char * _namespace, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* EventsV1API_deleteCollectionNamespacedEvent(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters @@ -61,19 +61,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -96,7 +96,7 @@ Name | Type | Description | Notes ```c // delete an Event // -v1_status_t* EventsV1API_deleteNamespacedEvent(apiClient_t *apiClient, char * name, char * _namespace, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_status_t* EventsV1API_deleteNamespacedEvent(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -105,10 +105,10 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the Event | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -160,24 +160,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind Event // -events_v1_event_list_t* EventsV1API_listEventForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * pretty, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +events_v1_event_list_t* EventsV1API_listEventForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**allowWatchBookmarks** | **int** | 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. | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**limit** | **int \*** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -199,7 +199,7 @@ Name | Type | Description | Notes ```c // list or watch objects of kind Event // -events_v1_event_list_t* EventsV1API_listNamespacedEvent(apiClient_t *apiClient, char * _namespace, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +events_v1_event_list_t* EventsV1API_listNamespacedEvent(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters @@ -207,17 +207,17 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -239,7 +239,7 @@ Name | Type | Description | Notes ```c // partially update the specified Event // -events_v1_event_t* EventsV1API_patchNamespacedEvent(apiClient_t *apiClient, char * name, char * _namespace, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +events_v1_event_t* EventsV1API_patchNamespacedEvent(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -249,11 +249,11 @@ Name | Type | Description | Notes **name** | **char \*** | name of the Event | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -275,7 +275,7 @@ Name | Type | Description | Notes ```c // read the specified Event // -events_v1_event_t* EventsV1API_readNamespacedEvent(apiClient_t *apiClient, char * name, char * _namespace, char * pretty); +events_v1_event_t* EventsV1API_readNamespacedEvent(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); ``` ### Parameters @@ -284,7 +284,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the Event | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -306,7 +306,7 @@ Name | Type | Description | Notes ```c // replace the specified Event // -events_v1_event_t* EventsV1API_replaceNamespacedEvent(apiClient_t *apiClient, char * name, char * _namespace, events_v1_event_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +events_v1_event_t* EventsV1API_replaceNamespacedEvent(apiClient_t *apiClient, char *name, char *_namespace, events_v1_event_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -316,7 +316,7 @@ Name | Type | Description | Notes **name** | **char \*** | name of the Event | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[events_v1_event_t](events_v1_event.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] diff --git a/kubernetes/docs/FlowcontrolApiserverV1API.md b/kubernetes/docs/FlowcontrolApiserverV1API.md new file mode 100644 index 00000000..9acc694b --- /dev/null +++ b/kubernetes/docs/FlowcontrolApiserverV1API.md @@ -0,0 +1,751 @@ +# FlowcontrolApiserverV1API + +All URIs are relative to *http://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**FlowcontrolApiserverV1API_createFlowSchema**](FlowcontrolApiserverV1API.md#FlowcontrolApiserverV1API_createFlowSchema) | **POST** /apis/flowcontrol.apiserver.k8s.io/v1/flowschemas | +[**FlowcontrolApiserverV1API_createPriorityLevelConfiguration**](FlowcontrolApiserverV1API.md#FlowcontrolApiserverV1API_createPriorityLevelConfiguration) | **POST** /apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations | +[**FlowcontrolApiserverV1API_deleteCollectionFlowSchema**](FlowcontrolApiserverV1API.md#FlowcontrolApiserverV1API_deleteCollectionFlowSchema) | **DELETE** /apis/flowcontrol.apiserver.k8s.io/v1/flowschemas | +[**FlowcontrolApiserverV1API_deleteCollectionPriorityLevelConfiguration**](FlowcontrolApiserverV1API.md#FlowcontrolApiserverV1API_deleteCollectionPriorityLevelConfiguration) | **DELETE** /apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations | +[**FlowcontrolApiserverV1API_deleteFlowSchema**](FlowcontrolApiserverV1API.md#FlowcontrolApiserverV1API_deleteFlowSchema) | **DELETE** /apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name} | +[**FlowcontrolApiserverV1API_deletePriorityLevelConfiguration**](FlowcontrolApiserverV1API.md#FlowcontrolApiserverV1API_deletePriorityLevelConfiguration) | **DELETE** /apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name} | +[**FlowcontrolApiserverV1API_getAPIResources**](FlowcontrolApiserverV1API.md#FlowcontrolApiserverV1API_getAPIResources) | **GET** /apis/flowcontrol.apiserver.k8s.io/v1/ | +[**FlowcontrolApiserverV1API_listFlowSchema**](FlowcontrolApiserverV1API.md#FlowcontrolApiserverV1API_listFlowSchema) | **GET** /apis/flowcontrol.apiserver.k8s.io/v1/flowschemas | +[**FlowcontrolApiserverV1API_listPriorityLevelConfiguration**](FlowcontrolApiserverV1API.md#FlowcontrolApiserverV1API_listPriorityLevelConfiguration) | **GET** /apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations | +[**FlowcontrolApiserverV1API_patchFlowSchema**](FlowcontrolApiserverV1API.md#FlowcontrolApiserverV1API_patchFlowSchema) | **PATCH** /apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name} | +[**FlowcontrolApiserverV1API_patchFlowSchemaStatus**](FlowcontrolApiserverV1API.md#FlowcontrolApiserverV1API_patchFlowSchemaStatus) | **PATCH** /apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name}/status | +[**FlowcontrolApiserverV1API_patchPriorityLevelConfiguration**](FlowcontrolApiserverV1API.md#FlowcontrolApiserverV1API_patchPriorityLevelConfiguration) | **PATCH** /apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name} | +[**FlowcontrolApiserverV1API_patchPriorityLevelConfigurationStatus**](FlowcontrolApiserverV1API.md#FlowcontrolApiserverV1API_patchPriorityLevelConfigurationStatus) | **PATCH** /apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name}/status | +[**FlowcontrolApiserverV1API_readFlowSchema**](FlowcontrolApiserverV1API.md#FlowcontrolApiserverV1API_readFlowSchema) | **GET** /apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name} | +[**FlowcontrolApiserverV1API_readFlowSchemaStatus**](FlowcontrolApiserverV1API.md#FlowcontrolApiserverV1API_readFlowSchemaStatus) | **GET** /apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name}/status | +[**FlowcontrolApiserverV1API_readPriorityLevelConfiguration**](FlowcontrolApiserverV1API.md#FlowcontrolApiserverV1API_readPriorityLevelConfiguration) | **GET** /apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name} | +[**FlowcontrolApiserverV1API_readPriorityLevelConfigurationStatus**](FlowcontrolApiserverV1API.md#FlowcontrolApiserverV1API_readPriorityLevelConfigurationStatus) | **GET** /apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name}/status | +[**FlowcontrolApiserverV1API_replaceFlowSchema**](FlowcontrolApiserverV1API.md#FlowcontrolApiserverV1API_replaceFlowSchema) | **PUT** /apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name} | +[**FlowcontrolApiserverV1API_replaceFlowSchemaStatus**](FlowcontrolApiserverV1API.md#FlowcontrolApiserverV1API_replaceFlowSchemaStatus) | **PUT** /apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name}/status | +[**FlowcontrolApiserverV1API_replacePriorityLevelConfiguration**](FlowcontrolApiserverV1API.md#FlowcontrolApiserverV1API_replacePriorityLevelConfiguration) | **PUT** /apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name} | +[**FlowcontrolApiserverV1API_replacePriorityLevelConfigurationStatus**](FlowcontrolApiserverV1API.md#FlowcontrolApiserverV1API_replacePriorityLevelConfigurationStatus) | **PUT** /apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name}/status | + + +# **FlowcontrolApiserverV1API_createFlowSchema** +```c +// create a FlowSchema +// +v1_flow_schema_t* FlowcontrolApiserverV1API_createFlowSchema(apiClient_t *apiClient, v1_flow_schema_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); +``` + +### Parameters +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**apiClient** | **apiClient_t \*** | context containing the client configuration | +**body** | **[v1_flow_schema_t](v1_flow_schema.md) \*** | | +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**dryRun** | **char \*** | 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] +**fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] +**fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] + +### Return type + +[v1_flow_schema_t](v1_flow_schema.md) * + + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[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) + +# **FlowcontrolApiserverV1API_createPriorityLevelConfiguration** +```c +// create a PriorityLevelConfiguration +// +v1_priority_level_configuration_t* FlowcontrolApiserverV1API_createPriorityLevelConfiguration(apiClient_t *apiClient, v1_priority_level_configuration_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); +``` + +### Parameters +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**apiClient** | **apiClient_t \*** | context containing the client configuration | +**body** | **[v1_priority_level_configuration_t](v1_priority_level_configuration.md) \*** | | +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**dryRun** | **char \*** | 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] +**fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] +**fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] + +### Return type + +[v1_priority_level_configuration_t](v1_priority_level_configuration.md) * + + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[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) + +# **FlowcontrolApiserverV1API_deleteCollectionFlowSchema** +```c +// delete collection of FlowSchema +// +v1_status_t* FlowcontrolApiserverV1API_deleteCollectionFlowSchema(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); +``` + +### Parameters +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**apiClient** | **apiClient_t \*** | context containing the client configuration | +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**_continue** | **char \*** | 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] +**dryRun** | **char \*** | 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] +**fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] +**propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] +**resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] +**resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] + +### Return type + +[v1_status_t](v1_status.md) * + + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[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) + +# **FlowcontrolApiserverV1API_deleteCollectionPriorityLevelConfiguration** +```c +// delete collection of PriorityLevelConfiguration +// +v1_status_t* FlowcontrolApiserverV1API_deleteCollectionPriorityLevelConfiguration(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); +``` + +### Parameters +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**apiClient** | **apiClient_t \*** | context containing the client configuration | +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**_continue** | **char \*** | 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] +**dryRun** | **char \*** | 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] +**fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] +**propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] +**resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] +**resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] + +### Return type + +[v1_status_t](v1_status.md) * + + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[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) + +# **FlowcontrolApiserverV1API_deleteFlowSchema** +```c +// delete a FlowSchema +// +v1_status_t* FlowcontrolApiserverV1API_deleteFlowSchema(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); +``` + +### Parameters +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**apiClient** | **apiClient_t \*** | context containing the client configuration | +**name** | **char \*** | name of the FlowSchema | +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**dryRun** | **char \*** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] +**propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] +**body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] + +### Return type + +[v1_status_t](v1_status.md) * + + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[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) + +# **FlowcontrolApiserverV1API_deletePriorityLevelConfiguration** +```c +// delete a PriorityLevelConfiguration +// +v1_status_t* FlowcontrolApiserverV1API_deletePriorityLevelConfiguration(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); +``` + +### Parameters +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**apiClient** | **apiClient_t \*** | context containing the client configuration | +**name** | **char \*** | name of the PriorityLevelConfiguration | +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**dryRun** | **char \*** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] +**propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] +**body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] + +### Return type + +[v1_status_t](v1_status.md) * + + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[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) + +# **FlowcontrolApiserverV1API_getAPIResources** +```c +// get available resources +// +v1_api_resource_list_t* FlowcontrolApiserverV1API_getAPIResources(apiClient_t *apiClient); +``` + +### Parameters +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**apiClient** | **apiClient_t \*** | context containing the client configuration | + +### Return type + +[v1_api_resource_list_t](v1_api_resource_list.md) * + + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[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) + +# **FlowcontrolApiserverV1API_listFlowSchema** +```c +// list or watch objects of kind FlowSchema +// +v1_flow_schema_list_t* FlowcontrolApiserverV1API_listFlowSchema(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); +``` + +### Parameters +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**apiClient** | **apiClient_t \*** | context containing the client configuration | +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] +**_continue** | **char \*** | 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] +**fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] +**labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] +**limit** | **int \*** | 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. | [optional] +**resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] +**resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[v1_flow_schema_list_t](v1_flow_schema_list.md) * + + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + +[[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) + +# **FlowcontrolApiserverV1API_listPriorityLevelConfiguration** +```c +// list or watch objects of kind PriorityLevelConfiguration +// +v1_priority_level_configuration_list_t* FlowcontrolApiserverV1API_listPriorityLevelConfiguration(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); +``` + +### Parameters +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**apiClient** | **apiClient_t \*** | context containing the client configuration | +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] +**_continue** | **char \*** | 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] +**fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] +**labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] +**limit** | **int \*** | 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. | [optional] +**resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] +**resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[v1_priority_level_configuration_list_t](v1_priority_level_configuration_list.md) * + + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + +[[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) + +# **FlowcontrolApiserverV1API_patchFlowSchema** +```c +// partially update the specified FlowSchema +// +v1_flow_schema_t* FlowcontrolApiserverV1API_patchFlowSchema(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); +``` + +### Parameters +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**apiClient** | **apiClient_t \*** | context containing the client configuration | +**name** | **char \*** | name of the FlowSchema | +**body** | **[object_t](object.md) \*** | | +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**dryRun** | **char \*** | 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] +**fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] +**fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] + +### Return type + +[v1_flow_schema_t](v1_flow_schema.md) * + + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[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) + +# **FlowcontrolApiserverV1API_patchFlowSchemaStatus** +```c +// partially update status of the specified FlowSchema +// +v1_flow_schema_t* FlowcontrolApiserverV1API_patchFlowSchemaStatus(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); +``` + +### Parameters +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**apiClient** | **apiClient_t \*** | context containing the client configuration | +**name** | **char \*** | name of the FlowSchema | +**body** | **[object_t](object.md) \*** | | +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**dryRun** | **char \*** | 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] +**fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] +**fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] + +### Return type + +[v1_flow_schema_t](v1_flow_schema.md) * + + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[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) + +# **FlowcontrolApiserverV1API_patchPriorityLevelConfiguration** +```c +// partially update the specified PriorityLevelConfiguration +// +v1_priority_level_configuration_t* FlowcontrolApiserverV1API_patchPriorityLevelConfiguration(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); +``` + +### Parameters +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**apiClient** | **apiClient_t \*** | context containing the client configuration | +**name** | **char \*** | name of the PriorityLevelConfiguration | +**body** | **[object_t](object.md) \*** | | +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**dryRun** | **char \*** | 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] +**fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] +**fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] + +### Return type + +[v1_priority_level_configuration_t](v1_priority_level_configuration.md) * + + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[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) + +# **FlowcontrolApiserverV1API_patchPriorityLevelConfigurationStatus** +```c +// partially update status of the specified PriorityLevelConfiguration +// +v1_priority_level_configuration_t* FlowcontrolApiserverV1API_patchPriorityLevelConfigurationStatus(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); +``` + +### Parameters +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**apiClient** | **apiClient_t \*** | context containing the client configuration | +**name** | **char \*** | name of the PriorityLevelConfiguration | +**body** | **[object_t](object.md) \*** | | +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**dryRun** | **char \*** | 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] +**fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] +**fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] + +### Return type + +[v1_priority_level_configuration_t](v1_priority_level_configuration.md) * + + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[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) + +# **FlowcontrolApiserverV1API_readFlowSchema** +```c +// read the specified FlowSchema +// +v1_flow_schema_t* FlowcontrolApiserverV1API_readFlowSchema(apiClient_t *apiClient, char *name, char *pretty); +``` + +### Parameters +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**apiClient** | **apiClient_t \*** | context containing the client configuration | +**name** | **char \*** | name of the FlowSchema | +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] + +### Return type + +[v1_flow_schema_t](v1_flow_schema.md) * + + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[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) + +# **FlowcontrolApiserverV1API_readFlowSchemaStatus** +```c +// read status of the specified FlowSchema +// +v1_flow_schema_t* FlowcontrolApiserverV1API_readFlowSchemaStatus(apiClient_t *apiClient, char *name, char *pretty); +``` + +### Parameters +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**apiClient** | **apiClient_t \*** | context containing the client configuration | +**name** | **char \*** | name of the FlowSchema | +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] + +### Return type + +[v1_flow_schema_t](v1_flow_schema.md) * + + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[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) + +# **FlowcontrolApiserverV1API_readPriorityLevelConfiguration** +```c +// read the specified PriorityLevelConfiguration +// +v1_priority_level_configuration_t* FlowcontrolApiserverV1API_readPriorityLevelConfiguration(apiClient_t *apiClient, char *name, char *pretty); +``` + +### Parameters +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**apiClient** | **apiClient_t \*** | context containing the client configuration | +**name** | **char \*** | name of the PriorityLevelConfiguration | +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] + +### Return type + +[v1_priority_level_configuration_t](v1_priority_level_configuration.md) * + + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[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) + +# **FlowcontrolApiserverV1API_readPriorityLevelConfigurationStatus** +```c +// read status of the specified PriorityLevelConfiguration +// +v1_priority_level_configuration_t* FlowcontrolApiserverV1API_readPriorityLevelConfigurationStatus(apiClient_t *apiClient, char *name, char *pretty); +``` + +### Parameters +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**apiClient** | **apiClient_t \*** | context containing the client configuration | +**name** | **char \*** | name of the PriorityLevelConfiguration | +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] + +### Return type + +[v1_priority_level_configuration_t](v1_priority_level_configuration.md) * + + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[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) + +# **FlowcontrolApiserverV1API_replaceFlowSchema** +```c +// replace the specified FlowSchema +// +v1_flow_schema_t* FlowcontrolApiserverV1API_replaceFlowSchema(apiClient_t *apiClient, char *name, v1_flow_schema_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); +``` + +### Parameters +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**apiClient** | **apiClient_t \*** | context containing the client configuration | +**name** | **char \*** | name of the FlowSchema | +**body** | **[v1_flow_schema_t](v1_flow_schema.md) \*** | | +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**dryRun** | **char \*** | 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] +**fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] +**fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] + +### Return type + +[v1_flow_schema_t](v1_flow_schema.md) * + + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[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) + +# **FlowcontrolApiserverV1API_replaceFlowSchemaStatus** +```c +// replace status of the specified FlowSchema +// +v1_flow_schema_t* FlowcontrolApiserverV1API_replaceFlowSchemaStatus(apiClient_t *apiClient, char *name, v1_flow_schema_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); +``` + +### Parameters +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**apiClient** | **apiClient_t \*** | context containing the client configuration | +**name** | **char \*** | name of the FlowSchema | +**body** | **[v1_flow_schema_t](v1_flow_schema.md) \*** | | +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**dryRun** | **char \*** | 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] +**fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] +**fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] + +### Return type + +[v1_flow_schema_t](v1_flow_schema.md) * + + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[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) + +# **FlowcontrolApiserverV1API_replacePriorityLevelConfiguration** +```c +// replace the specified PriorityLevelConfiguration +// +v1_priority_level_configuration_t* FlowcontrolApiserverV1API_replacePriorityLevelConfiguration(apiClient_t *apiClient, char *name, v1_priority_level_configuration_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); +``` + +### Parameters +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**apiClient** | **apiClient_t \*** | context containing the client configuration | +**name** | **char \*** | name of the PriorityLevelConfiguration | +**body** | **[v1_priority_level_configuration_t](v1_priority_level_configuration.md) \*** | | +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**dryRun** | **char \*** | 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] +**fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] +**fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] + +### Return type + +[v1_priority_level_configuration_t](v1_priority_level_configuration.md) * + + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[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) + +# **FlowcontrolApiserverV1API_replacePriorityLevelConfigurationStatus** +```c +// replace status of the specified PriorityLevelConfiguration +// +v1_priority_level_configuration_t* FlowcontrolApiserverV1API_replacePriorityLevelConfigurationStatus(apiClient_t *apiClient, char *name, v1_priority_level_configuration_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); +``` + +### Parameters +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**apiClient** | **apiClient_t \*** | context containing the client configuration | +**name** | **char \*** | name of the PriorityLevelConfiguration | +**body** | **[v1_priority_level_configuration_t](v1_priority_level_configuration.md) \*** | | +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**dryRun** | **char \*** | 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] +**fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] +**fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] + +### Return type + +[v1_priority_level_configuration_t](v1_priority_level_configuration.md) * + + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[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) + diff --git a/kubernetes/docs/FlowcontrolApiserverV1beta2API.md b/kubernetes/docs/FlowcontrolApiserverV1beta2API.md index 2640e462..9ae2c9d5 100644 --- a/kubernetes/docs/FlowcontrolApiserverV1beta2API.md +++ b/kubernetes/docs/FlowcontrolApiserverV1beta2API.md @@ -31,7 +31,7 @@ Method | HTTP request | Description ```c // create a FlowSchema // -v1beta2_flow_schema_t* FlowcontrolApiserverV1beta2API_createFlowSchema(apiClient_t *apiClient, v1beta2_flow_schema_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1beta2_flow_schema_t* FlowcontrolApiserverV1beta2API_createFlowSchema(apiClient_t *apiClient, v1beta2_flow_schema_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -64,7 +64,7 @@ Name | Type | Description | Notes ```c // create a PriorityLevelConfiguration // -v1beta2_priority_level_configuration_t* FlowcontrolApiserverV1beta2API_createPriorityLevelConfiguration(apiClient_t *apiClient, v1beta2_priority_level_configuration_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1beta2_priority_level_configuration_t* FlowcontrolApiserverV1beta2API_createPriorityLevelConfiguration(apiClient_t *apiClient, v1beta2_priority_level_configuration_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -97,7 +97,7 @@ Name | Type | Description | Notes ```c // delete collection of FlowSchema // -v1_status_t* FlowcontrolApiserverV1beta2API_deleteCollectionFlowSchema(apiClient_t *apiClient, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* FlowcontrolApiserverV1beta2API_deleteCollectionFlowSchema(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters @@ -108,15 +108,15 @@ Name | Type | Description | Notes **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -139,7 +139,7 @@ Name | Type | Description | Notes ```c // delete collection of PriorityLevelConfiguration // -v1_status_t* FlowcontrolApiserverV1beta2API_deleteCollectionPriorityLevelConfiguration(apiClient_t *apiClient, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* FlowcontrolApiserverV1beta2API_deleteCollectionPriorityLevelConfiguration(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters @@ -150,15 +150,15 @@ Name | Type | Description | Notes **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -181,7 +181,7 @@ Name | Type | Description | Notes ```c // delete a FlowSchema // -v1_status_t* FlowcontrolApiserverV1beta2API_deleteFlowSchema(apiClient_t *apiClient, char * name, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_status_t* FlowcontrolApiserverV1beta2API_deleteFlowSchema(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -191,8 +191,8 @@ Name | Type | Description | Notes **name** | **char \*** | name of the FlowSchema | **pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -216,7 +216,7 @@ Name | Type | Description | Notes ```c // delete a PriorityLevelConfiguration // -v1_status_t* FlowcontrolApiserverV1beta2API_deletePriorityLevelConfiguration(apiClient_t *apiClient, char * name, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_status_t* FlowcontrolApiserverV1beta2API_deletePriorityLevelConfiguration(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -226,8 +226,8 @@ Name | Type | Description | Notes **name** | **char \*** | name of the PriorityLevelConfiguration | **pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -279,7 +279,7 @@ Name | Type | Description | Notes ```c // list or watch objects of kind FlowSchema // -v1beta2_flow_schema_list_t* FlowcontrolApiserverV1beta2API_listFlowSchema(apiClient_t *apiClient, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1beta2_flow_schema_list_t* FlowcontrolApiserverV1beta2API_listFlowSchema(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters @@ -287,16 +287,16 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -318,7 +318,7 @@ Name | Type | Description | Notes ```c // list or watch objects of kind PriorityLevelConfiguration // -v1beta2_priority_level_configuration_list_t* FlowcontrolApiserverV1beta2API_listPriorityLevelConfiguration(apiClient_t *apiClient, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1beta2_priority_level_configuration_list_t* FlowcontrolApiserverV1beta2API_listPriorityLevelConfiguration(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters @@ -326,16 +326,16 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -357,7 +357,7 @@ Name | Type | Description | Notes ```c // partially update the specified FlowSchema // -v1beta2_flow_schema_t* FlowcontrolApiserverV1beta2API_patchFlowSchema(apiClient_t *apiClient, char * name, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1beta2_flow_schema_t* FlowcontrolApiserverV1beta2API_patchFlowSchema(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -370,7 +370,7 @@ Name | Type | Description | Notes **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -392,7 +392,7 @@ Name | Type | Description | Notes ```c // partially update status of the specified FlowSchema // -v1beta2_flow_schema_t* FlowcontrolApiserverV1beta2API_patchFlowSchemaStatus(apiClient_t *apiClient, char * name, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1beta2_flow_schema_t* FlowcontrolApiserverV1beta2API_patchFlowSchemaStatus(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -405,7 +405,7 @@ Name | Type | Description | Notes **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -427,7 +427,7 @@ Name | Type | Description | Notes ```c // partially update the specified PriorityLevelConfiguration // -v1beta2_priority_level_configuration_t* FlowcontrolApiserverV1beta2API_patchPriorityLevelConfiguration(apiClient_t *apiClient, char * name, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1beta2_priority_level_configuration_t* FlowcontrolApiserverV1beta2API_patchPriorityLevelConfiguration(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -440,7 +440,7 @@ Name | Type | Description | Notes **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -462,7 +462,7 @@ Name | Type | Description | Notes ```c // partially update status of the specified PriorityLevelConfiguration // -v1beta2_priority_level_configuration_t* FlowcontrolApiserverV1beta2API_patchPriorityLevelConfigurationStatus(apiClient_t *apiClient, char * name, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1beta2_priority_level_configuration_t* FlowcontrolApiserverV1beta2API_patchPriorityLevelConfigurationStatus(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -475,7 +475,7 @@ Name | Type | Description | Notes **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -497,7 +497,7 @@ Name | Type | Description | Notes ```c // read the specified FlowSchema // -v1beta2_flow_schema_t* FlowcontrolApiserverV1beta2API_readFlowSchema(apiClient_t *apiClient, char * name, char * pretty); +v1beta2_flow_schema_t* FlowcontrolApiserverV1beta2API_readFlowSchema(apiClient_t *apiClient, char *name, char *pretty); ``` ### Parameters @@ -527,7 +527,7 @@ Name | Type | Description | Notes ```c // read status of the specified FlowSchema // -v1beta2_flow_schema_t* FlowcontrolApiserverV1beta2API_readFlowSchemaStatus(apiClient_t *apiClient, char * name, char * pretty); +v1beta2_flow_schema_t* FlowcontrolApiserverV1beta2API_readFlowSchemaStatus(apiClient_t *apiClient, char *name, char *pretty); ``` ### Parameters @@ -557,7 +557,7 @@ Name | Type | Description | Notes ```c // read the specified PriorityLevelConfiguration // -v1beta2_priority_level_configuration_t* FlowcontrolApiserverV1beta2API_readPriorityLevelConfiguration(apiClient_t *apiClient, char * name, char * pretty); +v1beta2_priority_level_configuration_t* FlowcontrolApiserverV1beta2API_readPriorityLevelConfiguration(apiClient_t *apiClient, char *name, char *pretty); ``` ### Parameters @@ -587,7 +587,7 @@ Name | Type | Description | Notes ```c // read status of the specified PriorityLevelConfiguration // -v1beta2_priority_level_configuration_t* FlowcontrolApiserverV1beta2API_readPriorityLevelConfigurationStatus(apiClient_t *apiClient, char * name, char * pretty); +v1beta2_priority_level_configuration_t* FlowcontrolApiserverV1beta2API_readPriorityLevelConfigurationStatus(apiClient_t *apiClient, char *name, char *pretty); ``` ### Parameters @@ -617,7 +617,7 @@ Name | Type | Description | Notes ```c // replace the specified FlowSchema // -v1beta2_flow_schema_t* FlowcontrolApiserverV1beta2API_replaceFlowSchema(apiClient_t *apiClient, char * name, v1beta2_flow_schema_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1beta2_flow_schema_t* FlowcontrolApiserverV1beta2API_replaceFlowSchema(apiClient_t *apiClient, char *name, v1beta2_flow_schema_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -651,7 +651,7 @@ Name | Type | Description | Notes ```c // replace status of the specified FlowSchema // -v1beta2_flow_schema_t* FlowcontrolApiserverV1beta2API_replaceFlowSchemaStatus(apiClient_t *apiClient, char * name, v1beta2_flow_schema_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1beta2_flow_schema_t* FlowcontrolApiserverV1beta2API_replaceFlowSchemaStatus(apiClient_t *apiClient, char *name, v1beta2_flow_schema_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -685,7 +685,7 @@ Name | Type | Description | Notes ```c // replace the specified PriorityLevelConfiguration // -v1beta2_priority_level_configuration_t* FlowcontrolApiserverV1beta2API_replacePriorityLevelConfiguration(apiClient_t *apiClient, char * name, v1beta2_priority_level_configuration_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1beta2_priority_level_configuration_t* FlowcontrolApiserverV1beta2API_replacePriorityLevelConfiguration(apiClient_t *apiClient, char *name, v1beta2_priority_level_configuration_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -719,7 +719,7 @@ Name | Type | Description | Notes ```c // replace status of the specified PriorityLevelConfiguration // -v1beta2_priority_level_configuration_t* FlowcontrolApiserverV1beta2API_replacePriorityLevelConfigurationStatus(apiClient_t *apiClient, char * name, v1beta2_priority_level_configuration_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1beta2_priority_level_configuration_t* FlowcontrolApiserverV1beta2API_replacePriorityLevelConfigurationStatus(apiClient_t *apiClient, char *name, v1beta2_priority_level_configuration_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters diff --git a/kubernetes/docs/FlowcontrolApiserverV1beta3API.md b/kubernetes/docs/FlowcontrolApiserverV1beta3API.md index aadf9121..a55daab2 100644 --- a/kubernetes/docs/FlowcontrolApiserverV1beta3API.md +++ b/kubernetes/docs/FlowcontrolApiserverV1beta3API.md @@ -31,7 +31,7 @@ Method | HTTP request | Description ```c // create a FlowSchema // -v1beta3_flow_schema_t* FlowcontrolApiserverV1beta3API_createFlowSchema(apiClient_t *apiClient, v1beta3_flow_schema_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1beta3_flow_schema_t* FlowcontrolApiserverV1beta3API_createFlowSchema(apiClient_t *apiClient, v1beta3_flow_schema_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -39,7 +39,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **body** | **[v1beta3_flow_schema_t](v1beta3_flow_schema.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -64,7 +64,7 @@ Name | Type | Description | Notes ```c // create a PriorityLevelConfiguration // -v1beta3_priority_level_configuration_t* FlowcontrolApiserverV1beta3API_createPriorityLevelConfiguration(apiClient_t *apiClient, v1beta3_priority_level_configuration_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1beta3_priority_level_configuration_t* FlowcontrolApiserverV1beta3API_createPriorityLevelConfiguration(apiClient_t *apiClient, v1beta3_priority_level_configuration_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -72,7 +72,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **body** | **[v1beta3_priority_level_configuration_t](v1beta3_priority_level_configuration.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -97,26 +97,26 @@ Name | Type | Description | Notes ```c // delete collection of FlowSchema // -v1_status_t* FlowcontrolApiserverV1beta3API_deleteCollectionFlowSchema(apiClient_t *apiClient, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* FlowcontrolApiserverV1beta3API_deleteCollectionFlowSchema(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -139,26 +139,26 @@ Name | Type | Description | Notes ```c // delete collection of PriorityLevelConfiguration // -v1_status_t* FlowcontrolApiserverV1beta3API_deleteCollectionPriorityLevelConfiguration(apiClient_t *apiClient, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* FlowcontrolApiserverV1beta3API_deleteCollectionPriorityLevelConfiguration(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -181,7 +181,7 @@ Name | Type | Description | Notes ```c // delete a FlowSchema // -v1_status_t* FlowcontrolApiserverV1beta3API_deleteFlowSchema(apiClient_t *apiClient, char * name, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_status_t* FlowcontrolApiserverV1beta3API_deleteFlowSchema(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -189,10 +189,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the FlowSchema | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -216,7 +216,7 @@ Name | Type | Description | Notes ```c // delete a PriorityLevelConfiguration // -v1_status_t* FlowcontrolApiserverV1beta3API_deletePriorityLevelConfiguration(apiClient_t *apiClient, char * name, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_status_t* FlowcontrolApiserverV1beta3API_deletePriorityLevelConfiguration(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -224,10 +224,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the PriorityLevelConfiguration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -279,24 +279,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind FlowSchema // -v1beta3_flow_schema_list_t* FlowcontrolApiserverV1beta3API_listFlowSchema(apiClient_t *apiClient, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1beta3_flow_schema_list_t* FlowcontrolApiserverV1beta3API_listFlowSchema(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -318,24 +318,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind PriorityLevelConfiguration // -v1beta3_priority_level_configuration_list_t* FlowcontrolApiserverV1beta3API_listPriorityLevelConfiguration(apiClient_t *apiClient, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1beta3_priority_level_configuration_list_t* FlowcontrolApiserverV1beta3API_listPriorityLevelConfiguration(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -357,7 +357,7 @@ Name | Type | Description | Notes ```c // partially update the specified FlowSchema // -v1beta3_flow_schema_t* FlowcontrolApiserverV1beta3API_patchFlowSchema(apiClient_t *apiClient, char * name, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1beta3_flow_schema_t* FlowcontrolApiserverV1beta3API_patchFlowSchema(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -366,11 +366,11 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the FlowSchema | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -392,7 +392,7 @@ Name | Type | Description | Notes ```c // partially update status of the specified FlowSchema // -v1beta3_flow_schema_t* FlowcontrolApiserverV1beta3API_patchFlowSchemaStatus(apiClient_t *apiClient, char * name, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1beta3_flow_schema_t* FlowcontrolApiserverV1beta3API_patchFlowSchemaStatus(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -401,11 +401,11 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the FlowSchema | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -427,7 +427,7 @@ Name | Type | Description | Notes ```c // partially update the specified PriorityLevelConfiguration // -v1beta3_priority_level_configuration_t* FlowcontrolApiserverV1beta3API_patchPriorityLevelConfiguration(apiClient_t *apiClient, char * name, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1beta3_priority_level_configuration_t* FlowcontrolApiserverV1beta3API_patchPriorityLevelConfiguration(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -436,11 +436,11 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the PriorityLevelConfiguration | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -462,7 +462,7 @@ Name | Type | Description | Notes ```c // partially update status of the specified PriorityLevelConfiguration // -v1beta3_priority_level_configuration_t* FlowcontrolApiserverV1beta3API_patchPriorityLevelConfigurationStatus(apiClient_t *apiClient, char * name, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1beta3_priority_level_configuration_t* FlowcontrolApiserverV1beta3API_patchPriorityLevelConfigurationStatus(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -471,11 +471,11 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the PriorityLevelConfiguration | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -497,7 +497,7 @@ Name | Type | Description | Notes ```c // read the specified FlowSchema // -v1beta3_flow_schema_t* FlowcontrolApiserverV1beta3API_readFlowSchema(apiClient_t *apiClient, char * name, char * pretty); +v1beta3_flow_schema_t* FlowcontrolApiserverV1beta3API_readFlowSchema(apiClient_t *apiClient, char *name, char *pretty); ``` ### Parameters @@ -505,7 +505,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the FlowSchema | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -527,7 +527,7 @@ Name | Type | Description | Notes ```c // read status of the specified FlowSchema // -v1beta3_flow_schema_t* FlowcontrolApiserverV1beta3API_readFlowSchemaStatus(apiClient_t *apiClient, char * name, char * pretty); +v1beta3_flow_schema_t* FlowcontrolApiserverV1beta3API_readFlowSchemaStatus(apiClient_t *apiClient, char *name, char *pretty); ``` ### Parameters @@ -535,7 +535,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the FlowSchema | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -557,7 +557,7 @@ Name | Type | Description | Notes ```c // read the specified PriorityLevelConfiguration // -v1beta3_priority_level_configuration_t* FlowcontrolApiserverV1beta3API_readPriorityLevelConfiguration(apiClient_t *apiClient, char * name, char * pretty); +v1beta3_priority_level_configuration_t* FlowcontrolApiserverV1beta3API_readPriorityLevelConfiguration(apiClient_t *apiClient, char *name, char *pretty); ``` ### Parameters @@ -565,7 +565,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the PriorityLevelConfiguration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -587,7 +587,7 @@ Name | Type | Description | Notes ```c // read status of the specified PriorityLevelConfiguration // -v1beta3_priority_level_configuration_t* FlowcontrolApiserverV1beta3API_readPriorityLevelConfigurationStatus(apiClient_t *apiClient, char * name, char * pretty); +v1beta3_priority_level_configuration_t* FlowcontrolApiserverV1beta3API_readPriorityLevelConfigurationStatus(apiClient_t *apiClient, char *name, char *pretty); ``` ### Parameters @@ -595,7 +595,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the PriorityLevelConfiguration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -617,7 +617,7 @@ Name | Type | Description | Notes ```c // replace the specified FlowSchema // -v1beta3_flow_schema_t* FlowcontrolApiserverV1beta3API_replaceFlowSchema(apiClient_t *apiClient, char * name, v1beta3_flow_schema_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1beta3_flow_schema_t* FlowcontrolApiserverV1beta3API_replaceFlowSchema(apiClient_t *apiClient, char *name, v1beta3_flow_schema_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -626,7 +626,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the FlowSchema | **body** | **[v1beta3_flow_schema_t](v1beta3_flow_schema.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -651,7 +651,7 @@ Name | Type | Description | Notes ```c // replace status of the specified FlowSchema // -v1beta3_flow_schema_t* FlowcontrolApiserverV1beta3API_replaceFlowSchemaStatus(apiClient_t *apiClient, char * name, v1beta3_flow_schema_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1beta3_flow_schema_t* FlowcontrolApiserverV1beta3API_replaceFlowSchemaStatus(apiClient_t *apiClient, char *name, v1beta3_flow_schema_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -660,7 +660,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the FlowSchema | **body** | **[v1beta3_flow_schema_t](v1beta3_flow_schema.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -685,7 +685,7 @@ Name | Type | Description | Notes ```c // replace the specified PriorityLevelConfiguration // -v1beta3_priority_level_configuration_t* FlowcontrolApiserverV1beta3API_replacePriorityLevelConfiguration(apiClient_t *apiClient, char * name, v1beta3_priority_level_configuration_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1beta3_priority_level_configuration_t* FlowcontrolApiserverV1beta3API_replacePriorityLevelConfiguration(apiClient_t *apiClient, char *name, v1beta3_priority_level_configuration_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -694,7 +694,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the PriorityLevelConfiguration | **body** | **[v1beta3_priority_level_configuration_t](v1beta3_priority_level_configuration.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -719,7 +719,7 @@ Name | Type | Description | Notes ```c // replace status of the specified PriorityLevelConfiguration // -v1beta3_priority_level_configuration_t* FlowcontrolApiserverV1beta3API_replacePriorityLevelConfigurationStatus(apiClient_t *apiClient, char * name, v1beta3_priority_level_configuration_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1beta3_priority_level_configuration_t* FlowcontrolApiserverV1beta3API_replacePriorityLevelConfigurationStatus(apiClient_t *apiClient, char *name, v1beta3_priority_level_configuration_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -728,7 +728,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the PriorityLevelConfiguration | **body** | **[v1beta3_priority_level_configuration_t](v1beta3_priority_level_configuration.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] diff --git a/kubernetes/docs/InternalApiserverV1alpha1API.md b/kubernetes/docs/InternalApiserverV1alpha1API.md index 14691007..d50e03d6 100644 --- a/kubernetes/docs/InternalApiserverV1alpha1API.md +++ b/kubernetes/docs/InternalApiserverV1alpha1API.md @@ -21,7 +21,7 @@ Method | HTTP request | Description ```c // create a StorageVersion // -v1alpha1_storage_version_t* InternalApiserverV1alpha1API_createStorageVersion(apiClient_t *apiClient, v1alpha1_storage_version_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1alpha1_storage_version_t* InternalApiserverV1alpha1API_createStorageVersion(apiClient_t *apiClient, v1alpha1_storage_version_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -29,7 +29,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **body** | **[v1alpha1_storage_version_t](v1alpha1_storage_version.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -54,26 +54,26 @@ Name | Type | Description | Notes ```c // delete collection of StorageVersion // -v1_status_t* InternalApiserverV1alpha1API_deleteCollectionStorageVersion(apiClient_t *apiClient, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* InternalApiserverV1alpha1API_deleteCollectionStorageVersion(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -96,7 +96,7 @@ Name | Type | Description | Notes ```c // delete a StorageVersion // -v1_status_t* InternalApiserverV1alpha1API_deleteStorageVersion(apiClient_t *apiClient, char * name, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_status_t* InternalApiserverV1alpha1API_deleteStorageVersion(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -104,10 +104,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the StorageVersion | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -159,24 +159,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind StorageVersion // -v1alpha1_storage_version_list_t* InternalApiserverV1alpha1API_listStorageVersion(apiClient_t *apiClient, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1alpha1_storage_version_list_t* InternalApiserverV1alpha1API_listStorageVersion(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -198,7 +198,7 @@ Name | Type | Description | Notes ```c // partially update the specified StorageVersion // -v1alpha1_storage_version_t* InternalApiserverV1alpha1API_patchStorageVersion(apiClient_t *apiClient, char * name, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1alpha1_storage_version_t* InternalApiserverV1alpha1API_patchStorageVersion(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -207,11 +207,11 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the StorageVersion | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -233,7 +233,7 @@ Name | Type | Description | Notes ```c // partially update status of the specified StorageVersion // -v1alpha1_storage_version_t* InternalApiserverV1alpha1API_patchStorageVersionStatus(apiClient_t *apiClient, char * name, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1alpha1_storage_version_t* InternalApiserverV1alpha1API_patchStorageVersionStatus(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -242,11 +242,11 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the StorageVersion | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -268,7 +268,7 @@ Name | Type | Description | Notes ```c // read the specified StorageVersion // -v1alpha1_storage_version_t* InternalApiserverV1alpha1API_readStorageVersion(apiClient_t *apiClient, char * name, char * pretty); +v1alpha1_storage_version_t* InternalApiserverV1alpha1API_readStorageVersion(apiClient_t *apiClient, char *name, char *pretty); ``` ### Parameters @@ -276,7 +276,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the StorageVersion | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -298,7 +298,7 @@ Name | Type | Description | Notes ```c // read status of the specified StorageVersion // -v1alpha1_storage_version_t* InternalApiserverV1alpha1API_readStorageVersionStatus(apiClient_t *apiClient, char * name, char * pretty); +v1alpha1_storage_version_t* InternalApiserverV1alpha1API_readStorageVersionStatus(apiClient_t *apiClient, char *name, char *pretty); ``` ### Parameters @@ -306,7 +306,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the StorageVersion | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -328,7 +328,7 @@ Name | Type | Description | Notes ```c // replace the specified StorageVersion // -v1alpha1_storage_version_t* InternalApiserverV1alpha1API_replaceStorageVersion(apiClient_t *apiClient, char * name, v1alpha1_storage_version_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1alpha1_storage_version_t* InternalApiserverV1alpha1API_replaceStorageVersion(apiClient_t *apiClient, char *name, v1alpha1_storage_version_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -337,7 +337,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the StorageVersion | **body** | **[v1alpha1_storage_version_t](v1alpha1_storage_version.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -362,7 +362,7 @@ Name | Type | Description | Notes ```c // replace status of the specified StorageVersion // -v1alpha1_storage_version_t* InternalApiserverV1alpha1API_replaceStorageVersionStatus(apiClient_t *apiClient, char * name, v1alpha1_storage_version_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1alpha1_storage_version_t* InternalApiserverV1alpha1API_replaceStorageVersionStatus(apiClient_t *apiClient, char *name, v1alpha1_storage_version_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -371,7 +371,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the StorageVersion | **body** | **[v1alpha1_storage_version_t](v1alpha1_storage_version.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] diff --git a/kubernetes/docs/LogsAPI.md b/kubernetes/docs/LogsAPI.md index c4d38789..dc39e1e9 100644 --- a/kubernetes/docs/LogsAPI.md +++ b/kubernetes/docs/LogsAPI.md @@ -10,7 +10,7 @@ Method | HTTP request | Description # **LogsAPI_logFileHandler** ```c -void LogsAPI_logFileHandler(apiClient_t *apiClient, char * logpath); +void LogsAPI_logFileHandler(apiClient_t *apiClient, char *logpath); ``` ### Parameters diff --git a/kubernetes/docs/NetworkingV1API.md b/kubernetes/docs/NetworkingV1API.md index d854d7cf..f487da08 100644 --- a/kubernetes/docs/NetworkingV1API.md +++ b/kubernetes/docs/NetworkingV1API.md @@ -37,7 +37,7 @@ Method | HTTP request | Description ```c // create an IngressClass // -v1_ingress_class_t* NetworkingV1API_createIngressClass(apiClient_t *apiClient, v1_ingress_class_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_ingress_class_t* NetworkingV1API_createIngressClass(apiClient_t *apiClient, v1_ingress_class_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -45,7 +45,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **body** | **[v1_ingress_class_t](v1_ingress_class.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -70,7 +70,7 @@ Name | Type | Description | Notes ```c // create an Ingress // -v1_ingress_t* NetworkingV1API_createNamespacedIngress(apiClient_t *apiClient, char * _namespace, v1_ingress_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_ingress_t* NetworkingV1API_createNamespacedIngress(apiClient_t *apiClient, char *_namespace, v1_ingress_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -79,7 +79,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_ingress_t](v1_ingress.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -104,7 +104,7 @@ Name | Type | Description | Notes ```c // create a NetworkPolicy // -v1_network_policy_t* NetworkingV1API_createNamespacedNetworkPolicy(apiClient_t *apiClient, char * _namespace, v1_network_policy_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_network_policy_t* NetworkingV1API_createNamespacedNetworkPolicy(apiClient_t *apiClient, char *_namespace, v1_network_policy_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -113,7 +113,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_network_policy_t](v1_network_policy.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -138,26 +138,26 @@ Name | Type | Description | Notes ```c // delete collection of IngressClass // -v1_status_t* NetworkingV1API_deleteCollectionIngressClass(apiClient_t *apiClient, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* NetworkingV1API_deleteCollectionIngressClass(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -180,7 +180,7 @@ Name | Type | Description | Notes ```c // delete collection of Ingress // -v1_status_t* NetworkingV1API_deleteCollectionNamespacedIngress(apiClient_t *apiClient, char * _namespace, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* NetworkingV1API_deleteCollectionNamespacedIngress(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters @@ -188,19 +188,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -223,7 +223,7 @@ Name | Type | Description | Notes ```c // delete collection of NetworkPolicy // -v1_status_t* NetworkingV1API_deleteCollectionNamespacedNetworkPolicy(apiClient_t *apiClient, char * _namespace, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* NetworkingV1API_deleteCollectionNamespacedNetworkPolicy(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters @@ -231,19 +231,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -266,7 +266,7 @@ Name | Type | Description | Notes ```c // delete an IngressClass // -v1_status_t* NetworkingV1API_deleteIngressClass(apiClient_t *apiClient, char * name, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_status_t* NetworkingV1API_deleteIngressClass(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -274,10 +274,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the IngressClass | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -301,7 +301,7 @@ Name | Type | Description | Notes ```c // delete an Ingress // -v1_status_t* NetworkingV1API_deleteNamespacedIngress(apiClient_t *apiClient, char * name, char * _namespace, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_status_t* NetworkingV1API_deleteNamespacedIngress(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -310,10 +310,10 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the Ingress | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -337,7 +337,7 @@ Name | Type | Description | Notes ```c // delete a NetworkPolicy // -v1_status_t* NetworkingV1API_deleteNamespacedNetworkPolicy(apiClient_t *apiClient, char * name, char * _namespace, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_status_t* NetworkingV1API_deleteNamespacedNetworkPolicy(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -346,10 +346,10 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the NetworkPolicy | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -401,24 +401,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind IngressClass // -v1_ingress_class_list_t* NetworkingV1API_listIngressClass(apiClient_t *apiClient, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_ingress_class_list_t* NetworkingV1API_listIngressClass(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -440,24 +440,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind Ingress // -v1_ingress_list_t* NetworkingV1API_listIngressForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * pretty, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_ingress_list_t* NetworkingV1API_listIngressForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**allowWatchBookmarks** | **int** | 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. | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**limit** | **int \*** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -479,7 +479,7 @@ Name | Type | Description | Notes ```c // list or watch objects of kind Ingress // -v1_ingress_list_t* NetworkingV1API_listNamespacedIngress(apiClient_t *apiClient, char * _namespace, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_ingress_list_t* NetworkingV1API_listNamespacedIngress(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters @@ -487,17 +487,17 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -519,7 +519,7 @@ Name | Type | Description | Notes ```c // list or watch objects of kind NetworkPolicy // -v1_network_policy_list_t* NetworkingV1API_listNamespacedNetworkPolicy(apiClient_t *apiClient, char * _namespace, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_network_policy_list_t* NetworkingV1API_listNamespacedNetworkPolicy(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters @@ -527,17 +527,17 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -559,24 +559,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind NetworkPolicy // -v1_network_policy_list_t* NetworkingV1API_listNetworkPolicyForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * pretty, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_network_policy_list_t* NetworkingV1API_listNetworkPolicyForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**allowWatchBookmarks** | **int** | 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. | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**limit** | **int \*** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -598,7 +598,7 @@ Name | Type | Description | Notes ```c // partially update the specified IngressClass // -v1_ingress_class_t* NetworkingV1API_patchIngressClass(apiClient_t *apiClient, char * name, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_ingress_class_t* NetworkingV1API_patchIngressClass(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -607,11 +607,11 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the IngressClass | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -633,7 +633,7 @@ Name | Type | Description | Notes ```c // partially update the specified Ingress // -v1_ingress_t* NetworkingV1API_patchNamespacedIngress(apiClient_t *apiClient, char * name, char * _namespace, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_ingress_t* NetworkingV1API_patchNamespacedIngress(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -643,11 +643,11 @@ Name | Type | Description | Notes **name** | **char \*** | name of the Ingress | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -669,7 +669,7 @@ Name | Type | Description | Notes ```c // partially update status of the specified Ingress // -v1_ingress_t* NetworkingV1API_patchNamespacedIngressStatus(apiClient_t *apiClient, char * name, char * _namespace, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_ingress_t* NetworkingV1API_patchNamespacedIngressStatus(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -679,11 +679,11 @@ Name | Type | Description | Notes **name** | **char \*** | name of the Ingress | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -705,7 +705,7 @@ Name | Type | Description | Notes ```c // partially update the specified NetworkPolicy // -v1_network_policy_t* NetworkingV1API_patchNamespacedNetworkPolicy(apiClient_t *apiClient, char * name, char * _namespace, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_network_policy_t* NetworkingV1API_patchNamespacedNetworkPolicy(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -715,11 +715,11 @@ Name | Type | Description | Notes **name** | **char \*** | name of the NetworkPolicy | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -741,7 +741,7 @@ Name | Type | Description | Notes ```c // read the specified IngressClass // -v1_ingress_class_t* NetworkingV1API_readIngressClass(apiClient_t *apiClient, char * name, char * pretty); +v1_ingress_class_t* NetworkingV1API_readIngressClass(apiClient_t *apiClient, char *name, char *pretty); ``` ### Parameters @@ -749,7 +749,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the IngressClass | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -771,7 +771,7 @@ Name | Type | Description | Notes ```c // read the specified Ingress // -v1_ingress_t* NetworkingV1API_readNamespacedIngress(apiClient_t *apiClient, char * name, char * _namespace, char * pretty); +v1_ingress_t* NetworkingV1API_readNamespacedIngress(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); ``` ### Parameters @@ -780,7 +780,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the Ingress | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -802,7 +802,7 @@ Name | Type | Description | Notes ```c // read status of the specified Ingress // -v1_ingress_t* NetworkingV1API_readNamespacedIngressStatus(apiClient_t *apiClient, char * name, char * _namespace, char * pretty); +v1_ingress_t* NetworkingV1API_readNamespacedIngressStatus(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); ``` ### Parameters @@ -811,7 +811,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the Ingress | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -833,7 +833,7 @@ Name | Type | Description | Notes ```c // read the specified NetworkPolicy // -v1_network_policy_t* NetworkingV1API_readNamespacedNetworkPolicy(apiClient_t *apiClient, char * name, char * _namespace, char * pretty); +v1_network_policy_t* NetworkingV1API_readNamespacedNetworkPolicy(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); ``` ### Parameters @@ -842,7 +842,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the NetworkPolicy | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -864,7 +864,7 @@ Name | Type | Description | Notes ```c // replace the specified IngressClass // -v1_ingress_class_t* NetworkingV1API_replaceIngressClass(apiClient_t *apiClient, char * name, v1_ingress_class_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_ingress_class_t* NetworkingV1API_replaceIngressClass(apiClient_t *apiClient, char *name, v1_ingress_class_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -873,7 +873,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the IngressClass | **body** | **[v1_ingress_class_t](v1_ingress_class.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -898,7 +898,7 @@ Name | Type | Description | Notes ```c // replace the specified Ingress // -v1_ingress_t* NetworkingV1API_replaceNamespacedIngress(apiClient_t *apiClient, char * name, char * _namespace, v1_ingress_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_ingress_t* NetworkingV1API_replaceNamespacedIngress(apiClient_t *apiClient, char *name, char *_namespace, v1_ingress_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -908,7 +908,7 @@ Name | Type | Description | Notes **name** | **char \*** | name of the Ingress | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_ingress_t](v1_ingress.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -933,7 +933,7 @@ Name | Type | Description | Notes ```c // replace status of the specified Ingress // -v1_ingress_t* NetworkingV1API_replaceNamespacedIngressStatus(apiClient_t *apiClient, char * name, char * _namespace, v1_ingress_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_ingress_t* NetworkingV1API_replaceNamespacedIngressStatus(apiClient_t *apiClient, char *name, char *_namespace, v1_ingress_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -943,7 +943,7 @@ Name | Type | Description | Notes **name** | **char \*** | name of the Ingress | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_ingress_t](v1_ingress.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -968,7 +968,7 @@ Name | Type | Description | Notes ```c // replace the specified NetworkPolicy // -v1_network_policy_t* NetworkingV1API_replaceNamespacedNetworkPolicy(apiClient_t *apiClient, char * name, char * _namespace, v1_network_policy_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_network_policy_t* NetworkingV1API_replaceNamespacedNetworkPolicy(apiClient_t *apiClient, char *name, char *_namespace, v1_network_policy_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -978,7 +978,7 @@ Name | Type | Description | Notes **name** | **char \*** | name of the NetworkPolicy | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_network_policy_t](v1_network_policy.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] diff --git a/kubernetes/docs/NetworkingV1alpha1API.md b/kubernetes/docs/NetworkingV1alpha1API.md index 05824fdc..3b9dd0c4 100644 --- a/kubernetes/docs/NetworkingV1alpha1API.md +++ b/kubernetes/docs/NetworkingV1alpha1API.md @@ -4,43 +4,46 @@ All URIs are relative to *http://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- -[**NetworkingV1alpha1API_createClusterCIDR**](NetworkingV1alpha1API.md#NetworkingV1alpha1API_createClusterCIDR) | **POST** /apis/networking.k8s.io/v1alpha1/clustercidrs | [**NetworkingV1alpha1API_createIPAddress**](NetworkingV1alpha1API.md#NetworkingV1alpha1API_createIPAddress) | **POST** /apis/networking.k8s.io/v1alpha1/ipaddresses | -[**NetworkingV1alpha1API_deleteClusterCIDR**](NetworkingV1alpha1API.md#NetworkingV1alpha1API_deleteClusterCIDR) | **DELETE** /apis/networking.k8s.io/v1alpha1/clustercidrs/{name} | -[**NetworkingV1alpha1API_deleteCollectionClusterCIDR**](NetworkingV1alpha1API.md#NetworkingV1alpha1API_deleteCollectionClusterCIDR) | **DELETE** /apis/networking.k8s.io/v1alpha1/clustercidrs | +[**NetworkingV1alpha1API_createServiceCIDR**](NetworkingV1alpha1API.md#NetworkingV1alpha1API_createServiceCIDR) | **POST** /apis/networking.k8s.io/v1alpha1/servicecidrs | [**NetworkingV1alpha1API_deleteCollectionIPAddress**](NetworkingV1alpha1API.md#NetworkingV1alpha1API_deleteCollectionIPAddress) | **DELETE** /apis/networking.k8s.io/v1alpha1/ipaddresses | +[**NetworkingV1alpha1API_deleteCollectionServiceCIDR**](NetworkingV1alpha1API.md#NetworkingV1alpha1API_deleteCollectionServiceCIDR) | **DELETE** /apis/networking.k8s.io/v1alpha1/servicecidrs | [**NetworkingV1alpha1API_deleteIPAddress**](NetworkingV1alpha1API.md#NetworkingV1alpha1API_deleteIPAddress) | **DELETE** /apis/networking.k8s.io/v1alpha1/ipaddresses/{name} | +[**NetworkingV1alpha1API_deleteServiceCIDR**](NetworkingV1alpha1API.md#NetworkingV1alpha1API_deleteServiceCIDR) | **DELETE** /apis/networking.k8s.io/v1alpha1/servicecidrs/{name} | [**NetworkingV1alpha1API_getAPIResources**](NetworkingV1alpha1API.md#NetworkingV1alpha1API_getAPIResources) | **GET** /apis/networking.k8s.io/v1alpha1/ | -[**NetworkingV1alpha1API_listClusterCIDR**](NetworkingV1alpha1API.md#NetworkingV1alpha1API_listClusterCIDR) | **GET** /apis/networking.k8s.io/v1alpha1/clustercidrs | [**NetworkingV1alpha1API_listIPAddress**](NetworkingV1alpha1API.md#NetworkingV1alpha1API_listIPAddress) | **GET** /apis/networking.k8s.io/v1alpha1/ipaddresses | -[**NetworkingV1alpha1API_patchClusterCIDR**](NetworkingV1alpha1API.md#NetworkingV1alpha1API_patchClusterCIDR) | **PATCH** /apis/networking.k8s.io/v1alpha1/clustercidrs/{name} | +[**NetworkingV1alpha1API_listServiceCIDR**](NetworkingV1alpha1API.md#NetworkingV1alpha1API_listServiceCIDR) | **GET** /apis/networking.k8s.io/v1alpha1/servicecidrs | [**NetworkingV1alpha1API_patchIPAddress**](NetworkingV1alpha1API.md#NetworkingV1alpha1API_patchIPAddress) | **PATCH** /apis/networking.k8s.io/v1alpha1/ipaddresses/{name} | -[**NetworkingV1alpha1API_readClusterCIDR**](NetworkingV1alpha1API.md#NetworkingV1alpha1API_readClusterCIDR) | **GET** /apis/networking.k8s.io/v1alpha1/clustercidrs/{name} | +[**NetworkingV1alpha1API_patchServiceCIDR**](NetworkingV1alpha1API.md#NetworkingV1alpha1API_patchServiceCIDR) | **PATCH** /apis/networking.k8s.io/v1alpha1/servicecidrs/{name} | +[**NetworkingV1alpha1API_patchServiceCIDRStatus**](NetworkingV1alpha1API.md#NetworkingV1alpha1API_patchServiceCIDRStatus) | **PATCH** /apis/networking.k8s.io/v1alpha1/servicecidrs/{name}/status | [**NetworkingV1alpha1API_readIPAddress**](NetworkingV1alpha1API.md#NetworkingV1alpha1API_readIPAddress) | **GET** /apis/networking.k8s.io/v1alpha1/ipaddresses/{name} | -[**NetworkingV1alpha1API_replaceClusterCIDR**](NetworkingV1alpha1API.md#NetworkingV1alpha1API_replaceClusterCIDR) | **PUT** /apis/networking.k8s.io/v1alpha1/clustercidrs/{name} | +[**NetworkingV1alpha1API_readServiceCIDR**](NetworkingV1alpha1API.md#NetworkingV1alpha1API_readServiceCIDR) | **GET** /apis/networking.k8s.io/v1alpha1/servicecidrs/{name} | +[**NetworkingV1alpha1API_readServiceCIDRStatus**](NetworkingV1alpha1API.md#NetworkingV1alpha1API_readServiceCIDRStatus) | **GET** /apis/networking.k8s.io/v1alpha1/servicecidrs/{name}/status | [**NetworkingV1alpha1API_replaceIPAddress**](NetworkingV1alpha1API.md#NetworkingV1alpha1API_replaceIPAddress) | **PUT** /apis/networking.k8s.io/v1alpha1/ipaddresses/{name} | +[**NetworkingV1alpha1API_replaceServiceCIDR**](NetworkingV1alpha1API.md#NetworkingV1alpha1API_replaceServiceCIDR) | **PUT** /apis/networking.k8s.io/v1alpha1/servicecidrs/{name} | +[**NetworkingV1alpha1API_replaceServiceCIDRStatus**](NetworkingV1alpha1API.md#NetworkingV1alpha1API_replaceServiceCIDRStatus) | **PUT** /apis/networking.k8s.io/v1alpha1/servicecidrs/{name}/status | -# **NetworkingV1alpha1API_createClusterCIDR** +# **NetworkingV1alpha1API_createIPAddress** ```c -// create a ClusterCIDR +// create an IPAddress // -v1alpha1_cluster_cidr_t* NetworkingV1alpha1API_createClusterCIDR(apiClient_t *apiClient, v1alpha1_cluster_cidr_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1alpha1_ip_address_t* NetworkingV1alpha1API_createIPAddress(apiClient_t *apiClient, v1alpha1_ip_address_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**body** | **[v1alpha1_cluster_cidr_t](v1alpha1_cluster_cidr.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**body** | **[v1alpha1_ip_address_t](v1alpha1_ip_address.md) \*** | | +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] ### Return type -[v1alpha1_cluster_cidr_t](v1alpha1_cluster_cidr.md) * +[v1alpha1_ip_address_t](v1alpha1_ip_address.md) * ### Authorization @@ -54,26 +57,26 @@ Name | Type | Description | Notes [[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) -# **NetworkingV1alpha1API_createIPAddress** +# **NetworkingV1alpha1API_createServiceCIDR** ```c -// create an IPAddress +// create a ServiceCIDR // -v1alpha1_ip_address_t* NetworkingV1alpha1API_createIPAddress(apiClient_t *apiClient, v1alpha1_ip_address_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1alpha1_service_cidr_t* NetworkingV1alpha1API_createServiceCIDR(apiClient_t *apiClient, v1alpha1_service_cidr_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**body** | **[v1alpha1_ip_address_t](v1alpha1_ip_address.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**body** | **[v1alpha1_service_cidr_t](v1alpha1_service_cidr.md) \*** | | +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] ### Return type -[v1alpha1_ip_address_t](v1alpha1_ip_address.md) * +[v1alpha1_service_cidr_t](v1alpha1_service_cidr.md) * ### Authorization @@ -87,23 +90,30 @@ Name | Type | Description | Notes [[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) -# **NetworkingV1alpha1API_deleteClusterCIDR** +# **NetworkingV1alpha1API_deleteCollectionIPAddress** ```c -// delete a ClusterCIDR +// delete collection of IPAddress // -v1_status_t* NetworkingV1alpha1API_deleteClusterCIDR(apiClient_t *apiClient, char * name, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_status_t* NetworkingV1alpha1API_deleteCollectionIPAddress(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**name** | **char \*** | name of the ClusterCIDR | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] +**resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] +**resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -122,30 +132,30 @@ Name | Type | Description | Notes [[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) -# **NetworkingV1alpha1API_deleteCollectionClusterCIDR** +# **NetworkingV1alpha1API_deleteCollectionServiceCIDR** ```c -// delete collection of ClusterCIDR +// delete collection of ServiceCIDR // -v1_status_t* NetworkingV1alpha1API_deleteCollectionClusterCIDR(apiClient_t *apiClient, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* NetworkingV1alpha1API_deleteCollectionServiceCIDR(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -164,30 +174,23 @@ Name | Type | Description | Notes [[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) -# **NetworkingV1alpha1API_deleteCollectionIPAddress** +# **NetworkingV1alpha1API_deleteIPAddress** ```c -// delete collection of IPAddress +// delete an IPAddress // -v1_status_t* NetworkingV1alpha1API_deleteCollectionIPAddress(apiClient_t *apiClient, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* NetworkingV1alpha1API_deleteIPAddress(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**_continue** | **char \*** | 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] +**name** | **char \*** | name of the IPAddress | +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] -**resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -206,22 +209,22 @@ Name | Type | Description | Notes [[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) -# **NetworkingV1alpha1API_deleteIPAddress** +# **NetworkingV1alpha1API_deleteServiceCIDR** ```c -// delete an IPAddress +// delete a ServiceCIDR // -v1_status_t* NetworkingV1alpha1API_deleteIPAddress(apiClient_t *apiClient, char * name, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_status_t* NetworkingV1alpha1API_deleteServiceCIDR(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**name** | **char \*** | name of the IPAddress | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**name** | **char \*** | name of the ServiceCIDR | +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -269,32 +272,32 @@ Name | Type | Description | Notes [[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) -# **NetworkingV1alpha1API_listClusterCIDR** +# **NetworkingV1alpha1API_listIPAddress** ```c -// list or watch objects of kind ClusterCIDR +// list or watch objects of kind IPAddress // -v1alpha1_cluster_cidr_list_t* NetworkingV1alpha1API_listClusterCIDR(apiClient_t *apiClient, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1alpha1_ip_address_list_t* NetworkingV1alpha1API_listIPAddress(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[v1alpha1_cluster_cidr_list_t](v1alpha1_cluster_cidr_list.md) * +[v1alpha1_ip_address_list_t](v1alpha1_ip_address_list.md) * ### Authorization @@ -308,32 +311,32 @@ Name | Type | Description | Notes [[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) -# **NetworkingV1alpha1API_listIPAddress** +# **NetworkingV1alpha1API_listServiceCIDR** ```c -// list or watch objects of kind IPAddress +// list or watch objects of kind ServiceCIDR // -v1alpha1_ip_address_list_t* NetworkingV1alpha1API_listIPAddress(apiClient_t *apiClient, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1alpha1_service_cidr_list_t* NetworkingV1alpha1API_listServiceCIDR(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[v1alpha1_ip_address_list_t](v1alpha1_ip_address_list.md) * +[v1alpha1_service_cidr_list_t](v1alpha1_service_cidr_list.md) * ### Authorization @@ -347,28 +350,28 @@ Name | Type | Description | Notes [[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) -# **NetworkingV1alpha1API_patchClusterCIDR** +# **NetworkingV1alpha1API_patchIPAddress** ```c -// partially update the specified ClusterCIDR +// partially update the specified IPAddress // -v1alpha1_cluster_cidr_t* NetworkingV1alpha1API_patchClusterCIDR(apiClient_t *apiClient, char * name, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1alpha1_ip_address_t* NetworkingV1alpha1API_patchIPAddress(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**name** | **char \*** | name of the ClusterCIDR | +**name** | **char \*** | name of the IPAddress | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type -[v1alpha1_cluster_cidr_t](v1alpha1_cluster_cidr.md) * +[v1alpha1_ip_address_t](v1alpha1_ip_address.md) * ### Authorization @@ -382,28 +385,28 @@ Name | Type | Description | Notes [[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) -# **NetworkingV1alpha1API_patchIPAddress** +# **NetworkingV1alpha1API_patchServiceCIDR** ```c -// partially update the specified IPAddress +// partially update the specified ServiceCIDR // -v1alpha1_ip_address_t* NetworkingV1alpha1API_patchIPAddress(apiClient_t *apiClient, char * name, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1alpha1_service_cidr_t* NetworkingV1alpha1API_patchServiceCIDR(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**name** | **char \*** | name of the IPAddress | +**name** | **char \*** | name of the ServiceCIDR | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type -[v1alpha1_ip_address_t](v1alpha1_ip_address.md) * +[v1alpha1_service_cidr_t](v1alpha1_service_cidr.md) * ### Authorization @@ -417,23 +420,28 @@ Name | Type | Description | Notes [[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) -# **NetworkingV1alpha1API_readClusterCIDR** +# **NetworkingV1alpha1API_patchServiceCIDRStatus** ```c -// read the specified ClusterCIDR +// partially update status of the specified ServiceCIDR // -v1alpha1_cluster_cidr_t* NetworkingV1alpha1API_readClusterCIDR(apiClient_t *apiClient, char * name, char * pretty); +v1alpha1_service_cidr_t* NetworkingV1alpha1API_patchServiceCIDRStatus(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**name** | **char \*** | name of the ClusterCIDR | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**name** | **char \*** | name of the ServiceCIDR | +**body** | **[object_t](object.md) \*** | | +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**dryRun** | **char \*** | 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] +**fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] +**fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type -[v1alpha1_cluster_cidr_t](v1alpha1_cluster_cidr.md) * +[v1alpha1_service_cidr_t](v1alpha1_service_cidr.md) * ### Authorization @@ -442,7 +450,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf [[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) @@ -451,7 +459,7 @@ Name | Type | Description | Notes ```c // read the specified IPAddress // -v1alpha1_ip_address_t* NetworkingV1alpha1API_readIPAddress(apiClient_t *apiClient, char * name, char * pretty); +v1alpha1_ip_address_t* NetworkingV1alpha1API_readIPAddress(apiClient_t *apiClient, char *name, char *pretty); ``` ### Parameters @@ -459,7 +467,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the IPAddress | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -477,27 +485,53 @@ Name | Type | Description | Notes [[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) -# **NetworkingV1alpha1API_replaceClusterCIDR** +# **NetworkingV1alpha1API_readServiceCIDR** ```c -// replace the specified ClusterCIDR +// read the specified ServiceCIDR // -v1alpha1_cluster_cidr_t* NetworkingV1alpha1API_replaceClusterCIDR(apiClient_t *apiClient, char * name, v1alpha1_cluster_cidr_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1alpha1_service_cidr_t* NetworkingV1alpha1API_readServiceCIDR(apiClient_t *apiClient, char *name, char *pretty); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**name** | **char \*** | name of the ClusterCIDR | -**body** | **[v1alpha1_cluster_cidr_t](v1alpha1_cluster_cidr.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**dryRun** | **char \*** | 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] -**fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] -**fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] +**name** | **char \*** | name of the ServiceCIDR | +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type -[v1alpha1_cluster_cidr_t](v1alpha1_cluster_cidr.md) * +[v1alpha1_service_cidr_t](v1alpha1_service_cidr.md) * + + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[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) + +# **NetworkingV1alpha1API_readServiceCIDRStatus** +```c +// read status of the specified ServiceCIDR +// +v1alpha1_service_cidr_t* NetworkingV1alpha1API_readServiceCIDRStatus(apiClient_t *apiClient, char *name, char *pretty); +``` + +### Parameters +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**apiClient** | **apiClient_t \*** | context containing the client configuration | +**name** | **char \*** | name of the ServiceCIDR | +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] + +### Return type + +[v1alpha1_service_cidr_t](v1alpha1_service_cidr.md) * ### Authorization @@ -515,7 +549,7 @@ Name | Type | Description | Notes ```c // replace the specified IPAddress // -v1alpha1_ip_address_t* NetworkingV1alpha1API_replaceIPAddress(apiClient_t *apiClient, char * name, v1alpha1_ip_address_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1alpha1_ip_address_t* NetworkingV1alpha1API_replaceIPAddress(apiClient_t *apiClient, char *name, v1alpha1_ip_address_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -524,7 +558,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the IPAddress | **body** | **[v1alpha1_ip_address_t](v1alpha1_ip_address.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -545,3 +579,71 @@ Name | Type | Description | Notes [[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) +# **NetworkingV1alpha1API_replaceServiceCIDR** +```c +// replace the specified ServiceCIDR +// +v1alpha1_service_cidr_t* NetworkingV1alpha1API_replaceServiceCIDR(apiClient_t *apiClient, char *name, v1alpha1_service_cidr_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); +``` + +### Parameters +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**apiClient** | **apiClient_t \*** | context containing the client configuration | +**name** | **char \*** | name of the ServiceCIDR | +**body** | **[v1alpha1_service_cidr_t](v1alpha1_service_cidr.md) \*** | | +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**dryRun** | **char \*** | 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] +**fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] +**fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] + +### Return type + +[v1alpha1_service_cidr_t](v1alpha1_service_cidr.md) * + + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[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) + +# **NetworkingV1alpha1API_replaceServiceCIDRStatus** +```c +// replace status of the specified ServiceCIDR +// +v1alpha1_service_cidr_t* NetworkingV1alpha1API_replaceServiceCIDRStatus(apiClient_t *apiClient, char *name, v1alpha1_service_cidr_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); +``` + +### Parameters +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**apiClient** | **apiClient_t \*** | context containing the client configuration | +**name** | **char \*** | name of the ServiceCIDR | +**body** | **[v1alpha1_service_cidr_t](v1alpha1_service_cidr.md) \*** | | +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**dryRun** | **char \*** | 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] +**fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] +**fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] + +### Return type + +[v1alpha1_service_cidr_t](v1alpha1_service_cidr.md) * + + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +[[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) + diff --git a/kubernetes/docs/NodeV1API.md b/kubernetes/docs/NodeV1API.md index f3de2d65..ed74b3c9 100644 --- a/kubernetes/docs/NodeV1API.md +++ b/kubernetes/docs/NodeV1API.md @@ -18,7 +18,7 @@ Method | HTTP request | Description ```c // create a RuntimeClass // -v1_runtime_class_t* NodeV1API_createRuntimeClass(apiClient_t *apiClient, v1_runtime_class_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_runtime_class_t* NodeV1API_createRuntimeClass(apiClient_t *apiClient, v1_runtime_class_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -26,7 +26,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **body** | **[v1_runtime_class_t](v1_runtime_class.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -51,26 +51,26 @@ Name | Type | Description | Notes ```c // delete collection of RuntimeClass // -v1_status_t* NodeV1API_deleteCollectionRuntimeClass(apiClient_t *apiClient, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* NodeV1API_deleteCollectionRuntimeClass(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -93,7 +93,7 @@ Name | Type | Description | Notes ```c // delete a RuntimeClass // -v1_status_t* NodeV1API_deleteRuntimeClass(apiClient_t *apiClient, char * name, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_status_t* NodeV1API_deleteRuntimeClass(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -101,10 +101,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the RuntimeClass | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -156,24 +156,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind RuntimeClass // -v1_runtime_class_list_t* NodeV1API_listRuntimeClass(apiClient_t *apiClient, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_runtime_class_list_t* NodeV1API_listRuntimeClass(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -195,7 +195,7 @@ Name | Type | Description | Notes ```c // partially update the specified RuntimeClass // -v1_runtime_class_t* NodeV1API_patchRuntimeClass(apiClient_t *apiClient, char * name, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_runtime_class_t* NodeV1API_patchRuntimeClass(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -204,11 +204,11 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the RuntimeClass | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -230,7 +230,7 @@ Name | Type | Description | Notes ```c // read the specified RuntimeClass // -v1_runtime_class_t* NodeV1API_readRuntimeClass(apiClient_t *apiClient, char * name, char * pretty); +v1_runtime_class_t* NodeV1API_readRuntimeClass(apiClient_t *apiClient, char *name, char *pretty); ``` ### Parameters @@ -238,7 +238,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the RuntimeClass | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -260,7 +260,7 @@ Name | Type | Description | Notes ```c // replace the specified RuntimeClass // -v1_runtime_class_t* NodeV1API_replaceRuntimeClass(apiClient_t *apiClient, char * name, v1_runtime_class_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_runtime_class_t* NodeV1API_replaceRuntimeClass(apiClient_t *apiClient, char *name, v1_runtime_class_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -269,7 +269,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the RuntimeClass | **body** | **[v1_runtime_class_t](v1_runtime_class.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] diff --git a/kubernetes/docs/PolicyV1API.md b/kubernetes/docs/PolicyV1API.md index ec747e49..16baa94c 100644 --- a/kubernetes/docs/PolicyV1API.md +++ b/kubernetes/docs/PolicyV1API.md @@ -22,7 +22,7 @@ Method | HTTP request | Description ```c // create a PodDisruptionBudget // -v1_pod_disruption_budget_t* PolicyV1API_createNamespacedPodDisruptionBudget(apiClient_t *apiClient, char * _namespace, v1_pod_disruption_budget_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_pod_disruption_budget_t* PolicyV1API_createNamespacedPodDisruptionBudget(apiClient_t *apiClient, char *_namespace, v1_pod_disruption_budget_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -31,7 +31,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_pod_disruption_budget_t](v1_pod_disruption_budget.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -56,7 +56,7 @@ Name | Type | Description | Notes ```c // delete collection of PodDisruptionBudget // -v1_status_t* PolicyV1API_deleteCollectionNamespacedPodDisruptionBudget(apiClient_t *apiClient, char * _namespace, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* PolicyV1API_deleteCollectionNamespacedPodDisruptionBudget(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters @@ -64,19 +64,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -99,7 +99,7 @@ Name | Type | Description | Notes ```c // delete a PodDisruptionBudget // -v1_status_t* PolicyV1API_deleteNamespacedPodDisruptionBudget(apiClient_t *apiClient, char * name, char * _namespace, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_status_t* PolicyV1API_deleteNamespacedPodDisruptionBudget(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -108,10 +108,10 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the PodDisruptionBudget | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -163,7 +163,7 @@ Name | Type | Description | Notes ```c // list or watch objects of kind PodDisruptionBudget // -v1_pod_disruption_budget_list_t* PolicyV1API_listNamespacedPodDisruptionBudget(apiClient_t *apiClient, char * _namespace, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_pod_disruption_budget_list_t* PolicyV1API_listNamespacedPodDisruptionBudget(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters @@ -171,17 +171,17 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -203,24 +203,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind PodDisruptionBudget // -v1_pod_disruption_budget_list_t* PolicyV1API_listPodDisruptionBudgetForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * pretty, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_pod_disruption_budget_list_t* PolicyV1API_listPodDisruptionBudgetForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**allowWatchBookmarks** | **int** | 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. | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**limit** | **int \*** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -242,7 +242,7 @@ Name | Type | Description | Notes ```c // partially update the specified PodDisruptionBudget // -v1_pod_disruption_budget_t* PolicyV1API_patchNamespacedPodDisruptionBudget(apiClient_t *apiClient, char * name, char * _namespace, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_pod_disruption_budget_t* PolicyV1API_patchNamespacedPodDisruptionBudget(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -252,11 +252,11 @@ Name | Type | Description | Notes **name** | **char \*** | name of the PodDisruptionBudget | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -278,7 +278,7 @@ Name | Type | Description | Notes ```c // partially update status of the specified PodDisruptionBudget // -v1_pod_disruption_budget_t* PolicyV1API_patchNamespacedPodDisruptionBudgetStatus(apiClient_t *apiClient, char * name, char * _namespace, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_pod_disruption_budget_t* PolicyV1API_patchNamespacedPodDisruptionBudgetStatus(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -288,11 +288,11 @@ Name | Type | Description | Notes **name** | **char \*** | name of the PodDisruptionBudget | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -314,7 +314,7 @@ Name | Type | Description | Notes ```c // read the specified PodDisruptionBudget // -v1_pod_disruption_budget_t* PolicyV1API_readNamespacedPodDisruptionBudget(apiClient_t *apiClient, char * name, char * _namespace, char * pretty); +v1_pod_disruption_budget_t* PolicyV1API_readNamespacedPodDisruptionBudget(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); ``` ### Parameters @@ -323,7 +323,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the PodDisruptionBudget | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -345,7 +345,7 @@ Name | Type | Description | Notes ```c // read status of the specified PodDisruptionBudget // -v1_pod_disruption_budget_t* PolicyV1API_readNamespacedPodDisruptionBudgetStatus(apiClient_t *apiClient, char * name, char * _namespace, char * pretty); +v1_pod_disruption_budget_t* PolicyV1API_readNamespacedPodDisruptionBudgetStatus(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); ``` ### Parameters @@ -354,7 +354,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the PodDisruptionBudget | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -376,7 +376,7 @@ Name | Type | Description | Notes ```c // replace the specified PodDisruptionBudget // -v1_pod_disruption_budget_t* PolicyV1API_replaceNamespacedPodDisruptionBudget(apiClient_t *apiClient, char * name, char * _namespace, v1_pod_disruption_budget_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_pod_disruption_budget_t* PolicyV1API_replaceNamespacedPodDisruptionBudget(apiClient_t *apiClient, char *name, char *_namespace, v1_pod_disruption_budget_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -386,7 +386,7 @@ Name | Type | Description | Notes **name** | **char \*** | name of the PodDisruptionBudget | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_pod_disruption_budget_t](v1_pod_disruption_budget.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -411,7 +411,7 @@ Name | Type | Description | Notes ```c // replace status of the specified PodDisruptionBudget // -v1_pod_disruption_budget_t* PolicyV1API_replaceNamespacedPodDisruptionBudgetStatus(apiClient_t *apiClient, char * name, char * _namespace, v1_pod_disruption_budget_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_pod_disruption_budget_t* PolicyV1API_replaceNamespacedPodDisruptionBudgetStatus(apiClient_t *apiClient, char *name, char *_namespace, v1_pod_disruption_budget_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -421,7 +421,7 @@ Name | Type | Description | Notes **name** | **char \*** | name of the PodDisruptionBudget | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_pod_disruption_budget_t](v1_pod_disruption_budget.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] diff --git a/kubernetes/docs/RbacAuthorizationV1API.md b/kubernetes/docs/RbacAuthorizationV1API.md index 64c2f969..6cb2a577 100644 --- a/kubernetes/docs/RbacAuthorizationV1API.md +++ b/kubernetes/docs/RbacAuthorizationV1API.md @@ -41,7 +41,7 @@ Method | HTTP request | Description ```c // create a ClusterRole // -v1_cluster_role_t* RbacAuthorizationV1API_createClusterRole(apiClient_t *apiClient, v1_cluster_role_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_cluster_role_t* RbacAuthorizationV1API_createClusterRole(apiClient_t *apiClient, v1_cluster_role_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -49,7 +49,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **body** | **[v1_cluster_role_t](v1_cluster_role.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -74,7 +74,7 @@ Name | Type | Description | Notes ```c // create a ClusterRoleBinding // -v1_cluster_role_binding_t* RbacAuthorizationV1API_createClusterRoleBinding(apiClient_t *apiClient, v1_cluster_role_binding_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_cluster_role_binding_t* RbacAuthorizationV1API_createClusterRoleBinding(apiClient_t *apiClient, v1_cluster_role_binding_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -82,7 +82,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **body** | **[v1_cluster_role_binding_t](v1_cluster_role_binding.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -107,7 +107,7 @@ Name | Type | Description | Notes ```c // create a Role // -v1_role_t* RbacAuthorizationV1API_createNamespacedRole(apiClient_t *apiClient, char * _namespace, v1_role_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_role_t* RbacAuthorizationV1API_createNamespacedRole(apiClient_t *apiClient, char *_namespace, v1_role_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -116,7 +116,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_role_t](v1_role.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -141,7 +141,7 @@ Name | Type | Description | Notes ```c // create a RoleBinding // -v1_role_binding_t* RbacAuthorizationV1API_createNamespacedRoleBinding(apiClient_t *apiClient, char * _namespace, v1_role_binding_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_role_binding_t* RbacAuthorizationV1API_createNamespacedRoleBinding(apiClient_t *apiClient, char *_namespace, v1_role_binding_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -150,7 +150,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_role_binding_t](v1_role_binding.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -175,7 +175,7 @@ Name | Type | Description | Notes ```c // delete a ClusterRole // -v1_status_t* RbacAuthorizationV1API_deleteClusterRole(apiClient_t *apiClient, char * name, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_status_t* RbacAuthorizationV1API_deleteClusterRole(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -183,10 +183,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ClusterRole | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -210,7 +210,7 @@ Name | Type | Description | Notes ```c // delete a ClusterRoleBinding // -v1_status_t* RbacAuthorizationV1API_deleteClusterRoleBinding(apiClient_t *apiClient, char * name, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_status_t* RbacAuthorizationV1API_deleteClusterRoleBinding(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -218,10 +218,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ClusterRoleBinding | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -245,26 +245,26 @@ Name | Type | Description | Notes ```c // delete collection of ClusterRole // -v1_status_t* RbacAuthorizationV1API_deleteCollectionClusterRole(apiClient_t *apiClient, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* RbacAuthorizationV1API_deleteCollectionClusterRole(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -287,26 +287,26 @@ Name | Type | Description | Notes ```c // delete collection of ClusterRoleBinding // -v1_status_t* RbacAuthorizationV1API_deleteCollectionClusterRoleBinding(apiClient_t *apiClient, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* RbacAuthorizationV1API_deleteCollectionClusterRoleBinding(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -329,7 +329,7 @@ Name | Type | Description | Notes ```c // delete collection of Role // -v1_status_t* RbacAuthorizationV1API_deleteCollectionNamespacedRole(apiClient_t *apiClient, char * _namespace, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* RbacAuthorizationV1API_deleteCollectionNamespacedRole(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters @@ -337,19 +337,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -372,7 +372,7 @@ Name | Type | Description | Notes ```c // delete collection of RoleBinding // -v1_status_t* RbacAuthorizationV1API_deleteCollectionNamespacedRoleBinding(apiClient_t *apiClient, char * _namespace, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* RbacAuthorizationV1API_deleteCollectionNamespacedRoleBinding(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters @@ -380,19 +380,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -415,7 +415,7 @@ Name | Type | Description | Notes ```c // delete a Role // -v1_status_t* RbacAuthorizationV1API_deleteNamespacedRole(apiClient_t *apiClient, char * name, char * _namespace, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_status_t* RbacAuthorizationV1API_deleteNamespacedRole(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -424,10 +424,10 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the Role | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -451,7 +451,7 @@ Name | Type | Description | Notes ```c // delete a RoleBinding // -v1_status_t* RbacAuthorizationV1API_deleteNamespacedRoleBinding(apiClient_t *apiClient, char * name, char * _namespace, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_status_t* RbacAuthorizationV1API_deleteNamespacedRoleBinding(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -460,10 +460,10 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the RoleBinding | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -515,24 +515,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind ClusterRole // -v1_cluster_role_list_t* RbacAuthorizationV1API_listClusterRole(apiClient_t *apiClient, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_cluster_role_list_t* RbacAuthorizationV1API_listClusterRole(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -554,24 +554,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind ClusterRoleBinding // -v1_cluster_role_binding_list_t* RbacAuthorizationV1API_listClusterRoleBinding(apiClient_t *apiClient, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_cluster_role_binding_list_t* RbacAuthorizationV1API_listClusterRoleBinding(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -593,7 +593,7 @@ Name | Type | Description | Notes ```c // list or watch objects of kind Role // -v1_role_list_t* RbacAuthorizationV1API_listNamespacedRole(apiClient_t *apiClient, char * _namespace, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_role_list_t* RbacAuthorizationV1API_listNamespacedRole(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters @@ -601,17 +601,17 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -633,7 +633,7 @@ Name | Type | Description | Notes ```c // list or watch objects of kind RoleBinding // -v1_role_binding_list_t* RbacAuthorizationV1API_listNamespacedRoleBinding(apiClient_t *apiClient, char * _namespace, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_role_binding_list_t* RbacAuthorizationV1API_listNamespacedRoleBinding(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters @@ -641,17 +641,17 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -673,24 +673,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind RoleBinding // -v1_role_binding_list_t* RbacAuthorizationV1API_listRoleBindingForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * pretty, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_role_binding_list_t* RbacAuthorizationV1API_listRoleBindingForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**allowWatchBookmarks** | **int** | 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. | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**limit** | **int \*** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -712,24 +712,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind Role // -v1_role_list_t* RbacAuthorizationV1API_listRoleForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * pretty, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_role_list_t* RbacAuthorizationV1API_listRoleForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**allowWatchBookmarks** | **int** | 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. | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**limit** | **int \*** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -751,7 +751,7 @@ Name | Type | Description | Notes ```c // partially update the specified ClusterRole // -v1_cluster_role_t* RbacAuthorizationV1API_patchClusterRole(apiClient_t *apiClient, char * name, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_cluster_role_t* RbacAuthorizationV1API_patchClusterRole(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -760,11 +760,11 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ClusterRole | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -786,7 +786,7 @@ Name | Type | Description | Notes ```c // partially update the specified ClusterRoleBinding // -v1_cluster_role_binding_t* RbacAuthorizationV1API_patchClusterRoleBinding(apiClient_t *apiClient, char * name, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_cluster_role_binding_t* RbacAuthorizationV1API_patchClusterRoleBinding(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -795,11 +795,11 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ClusterRoleBinding | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -821,7 +821,7 @@ Name | Type | Description | Notes ```c // partially update the specified Role // -v1_role_t* RbacAuthorizationV1API_patchNamespacedRole(apiClient_t *apiClient, char * name, char * _namespace, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_role_t* RbacAuthorizationV1API_patchNamespacedRole(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -831,11 +831,11 @@ Name | Type | Description | Notes **name** | **char \*** | name of the Role | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -857,7 +857,7 @@ Name | Type | Description | Notes ```c // partially update the specified RoleBinding // -v1_role_binding_t* RbacAuthorizationV1API_patchNamespacedRoleBinding(apiClient_t *apiClient, char * name, char * _namespace, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_role_binding_t* RbacAuthorizationV1API_patchNamespacedRoleBinding(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -867,11 +867,11 @@ Name | Type | Description | Notes **name** | **char \*** | name of the RoleBinding | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -893,7 +893,7 @@ Name | Type | Description | Notes ```c // read the specified ClusterRole // -v1_cluster_role_t* RbacAuthorizationV1API_readClusterRole(apiClient_t *apiClient, char * name, char * pretty); +v1_cluster_role_t* RbacAuthorizationV1API_readClusterRole(apiClient_t *apiClient, char *name, char *pretty); ``` ### Parameters @@ -901,7 +901,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ClusterRole | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -923,7 +923,7 @@ Name | Type | Description | Notes ```c // read the specified ClusterRoleBinding // -v1_cluster_role_binding_t* RbacAuthorizationV1API_readClusterRoleBinding(apiClient_t *apiClient, char * name, char * pretty); +v1_cluster_role_binding_t* RbacAuthorizationV1API_readClusterRoleBinding(apiClient_t *apiClient, char *name, char *pretty); ``` ### Parameters @@ -931,7 +931,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ClusterRoleBinding | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -953,7 +953,7 @@ Name | Type | Description | Notes ```c // read the specified Role // -v1_role_t* RbacAuthorizationV1API_readNamespacedRole(apiClient_t *apiClient, char * name, char * _namespace, char * pretty); +v1_role_t* RbacAuthorizationV1API_readNamespacedRole(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); ``` ### Parameters @@ -962,7 +962,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the Role | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -984,7 +984,7 @@ Name | Type | Description | Notes ```c // read the specified RoleBinding // -v1_role_binding_t* RbacAuthorizationV1API_readNamespacedRoleBinding(apiClient_t *apiClient, char * name, char * _namespace, char * pretty); +v1_role_binding_t* RbacAuthorizationV1API_readNamespacedRoleBinding(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); ``` ### Parameters @@ -993,7 +993,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the RoleBinding | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -1015,7 +1015,7 @@ Name | Type | Description | Notes ```c // replace the specified ClusterRole // -v1_cluster_role_t* RbacAuthorizationV1API_replaceClusterRole(apiClient_t *apiClient, char * name, v1_cluster_role_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_cluster_role_t* RbacAuthorizationV1API_replaceClusterRole(apiClient_t *apiClient, char *name, v1_cluster_role_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -1024,7 +1024,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ClusterRole | **body** | **[v1_cluster_role_t](v1_cluster_role.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -1049,7 +1049,7 @@ Name | Type | Description | Notes ```c // replace the specified ClusterRoleBinding // -v1_cluster_role_binding_t* RbacAuthorizationV1API_replaceClusterRoleBinding(apiClient_t *apiClient, char * name, v1_cluster_role_binding_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_cluster_role_binding_t* RbacAuthorizationV1API_replaceClusterRoleBinding(apiClient_t *apiClient, char *name, v1_cluster_role_binding_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -1058,7 +1058,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ClusterRoleBinding | **body** | **[v1_cluster_role_binding_t](v1_cluster_role_binding.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -1083,7 +1083,7 @@ Name | Type | Description | Notes ```c // replace the specified Role // -v1_role_t* RbacAuthorizationV1API_replaceNamespacedRole(apiClient_t *apiClient, char * name, char * _namespace, v1_role_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_role_t* RbacAuthorizationV1API_replaceNamespacedRole(apiClient_t *apiClient, char *name, char *_namespace, v1_role_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -1093,7 +1093,7 @@ Name | Type | Description | Notes **name** | **char \*** | name of the Role | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_role_t](v1_role.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -1118,7 +1118,7 @@ Name | Type | Description | Notes ```c // replace the specified RoleBinding // -v1_role_binding_t* RbacAuthorizationV1API_replaceNamespacedRoleBinding(apiClient_t *apiClient, char * name, char * _namespace, v1_role_binding_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_role_binding_t* RbacAuthorizationV1API_replaceNamespacedRoleBinding(apiClient_t *apiClient, char *name, char *_namespace, v1_role_binding_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -1128,7 +1128,7 @@ Name | Type | Description | Notes **name** | **char \*** | name of the RoleBinding | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_role_binding_t](v1_role_binding.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] diff --git a/kubernetes/docs/ResourceV1alpha2API.md b/kubernetes/docs/ResourceV1alpha2API.md index 5a957d14..deb400c1 100644 --- a/kubernetes/docs/ResourceV1alpha2API.md +++ b/kubernetes/docs/ResourceV1alpha2API.md @@ -48,7 +48,7 @@ Method | HTTP request | Description ```c // create a PodSchedulingContext // -v1alpha2_pod_scheduling_context_t* ResourceV1alpha2API_createNamespacedPodSchedulingContext(apiClient_t *apiClient, char * _namespace, v1alpha2_pod_scheduling_context_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1alpha2_pod_scheduling_context_t* ResourceV1alpha2API_createNamespacedPodSchedulingContext(apiClient_t *apiClient, char *_namespace, v1alpha2_pod_scheduling_context_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -57,7 +57,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1alpha2_pod_scheduling_context_t](v1alpha2_pod_scheduling_context.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -82,7 +82,7 @@ Name | Type | Description | Notes ```c // create a ResourceClaim // -v1alpha2_resource_claim_t* ResourceV1alpha2API_createNamespacedResourceClaim(apiClient_t *apiClient, char * _namespace, v1alpha2_resource_claim_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1alpha2_resource_claim_t* ResourceV1alpha2API_createNamespacedResourceClaim(apiClient_t *apiClient, char *_namespace, v1alpha2_resource_claim_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -91,7 +91,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1alpha2_resource_claim_t](v1alpha2_resource_claim.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -116,7 +116,7 @@ Name | Type | Description | Notes ```c // create a ResourceClaimTemplate // -v1alpha2_resource_claim_template_t* ResourceV1alpha2API_createNamespacedResourceClaimTemplate(apiClient_t *apiClient, char * _namespace, v1alpha2_resource_claim_template_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1alpha2_resource_claim_template_t* ResourceV1alpha2API_createNamespacedResourceClaimTemplate(apiClient_t *apiClient, char *_namespace, v1alpha2_resource_claim_template_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -125,7 +125,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1alpha2_resource_claim_template_t](v1alpha2_resource_claim_template.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -150,7 +150,7 @@ Name | Type | Description | Notes ```c // create a ResourceClass // -v1alpha2_resource_class_t* ResourceV1alpha2API_createResourceClass(apiClient_t *apiClient, v1alpha2_resource_class_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1alpha2_resource_class_t* ResourceV1alpha2API_createResourceClass(apiClient_t *apiClient, v1alpha2_resource_class_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -158,7 +158,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **body** | **[v1alpha2_resource_class_t](v1alpha2_resource_class.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -183,7 +183,7 @@ Name | Type | Description | Notes ```c // delete collection of PodSchedulingContext // -v1_status_t* ResourceV1alpha2API_deleteCollectionNamespacedPodSchedulingContext(apiClient_t *apiClient, char * _namespace, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* ResourceV1alpha2API_deleteCollectionNamespacedPodSchedulingContext(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters @@ -191,19 +191,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -226,7 +226,7 @@ Name | Type | Description | Notes ```c // delete collection of ResourceClaim // -v1_status_t* ResourceV1alpha2API_deleteCollectionNamespacedResourceClaim(apiClient_t *apiClient, char * _namespace, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* ResourceV1alpha2API_deleteCollectionNamespacedResourceClaim(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters @@ -234,19 +234,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -269,7 +269,7 @@ Name | Type | Description | Notes ```c // delete collection of ResourceClaimTemplate // -v1_status_t* ResourceV1alpha2API_deleteCollectionNamespacedResourceClaimTemplate(apiClient_t *apiClient, char * _namespace, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* ResourceV1alpha2API_deleteCollectionNamespacedResourceClaimTemplate(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters @@ -277,19 +277,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -312,26 +312,26 @@ Name | Type | Description | Notes ```c // delete collection of ResourceClass // -v1_status_t* ResourceV1alpha2API_deleteCollectionResourceClass(apiClient_t *apiClient, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* ResourceV1alpha2API_deleteCollectionResourceClass(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -354,7 +354,7 @@ Name | Type | Description | Notes ```c // delete a PodSchedulingContext // -v1alpha2_pod_scheduling_context_t* ResourceV1alpha2API_deleteNamespacedPodSchedulingContext(apiClient_t *apiClient, char * name, char * _namespace, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1alpha2_pod_scheduling_context_t* ResourceV1alpha2API_deleteNamespacedPodSchedulingContext(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -363,10 +363,10 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the PodSchedulingContext | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -390,7 +390,7 @@ Name | Type | Description | Notes ```c // delete a ResourceClaim // -v1alpha2_resource_claim_t* ResourceV1alpha2API_deleteNamespacedResourceClaim(apiClient_t *apiClient, char * name, char * _namespace, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1alpha2_resource_claim_t* ResourceV1alpha2API_deleteNamespacedResourceClaim(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -399,10 +399,10 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ResourceClaim | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -426,7 +426,7 @@ Name | Type | Description | Notes ```c // delete a ResourceClaimTemplate // -v1alpha2_resource_claim_template_t* ResourceV1alpha2API_deleteNamespacedResourceClaimTemplate(apiClient_t *apiClient, char * name, char * _namespace, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1alpha2_resource_claim_template_t* ResourceV1alpha2API_deleteNamespacedResourceClaimTemplate(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -435,10 +435,10 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ResourceClaimTemplate | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -462,7 +462,7 @@ Name | Type | Description | Notes ```c // delete a ResourceClass // -v1alpha2_resource_class_t* ResourceV1alpha2API_deleteResourceClass(apiClient_t *apiClient, char * name, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1alpha2_resource_class_t* ResourceV1alpha2API_deleteResourceClass(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -470,10 +470,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ResourceClass | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -525,7 +525,7 @@ Name | Type | Description | Notes ```c // list or watch objects of kind PodSchedulingContext // -v1alpha2_pod_scheduling_context_list_t* ResourceV1alpha2API_listNamespacedPodSchedulingContext(apiClient_t *apiClient, char * _namespace, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1alpha2_pod_scheduling_context_list_t* ResourceV1alpha2API_listNamespacedPodSchedulingContext(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters @@ -533,17 +533,17 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -565,7 +565,7 @@ Name | Type | Description | Notes ```c // list or watch objects of kind ResourceClaim // -v1alpha2_resource_claim_list_t* ResourceV1alpha2API_listNamespacedResourceClaim(apiClient_t *apiClient, char * _namespace, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1alpha2_resource_claim_list_t* ResourceV1alpha2API_listNamespacedResourceClaim(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters @@ -573,17 +573,17 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -605,7 +605,7 @@ Name | Type | Description | Notes ```c // list or watch objects of kind ResourceClaimTemplate // -v1alpha2_resource_claim_template_list_t* ResourceV1alpha2API_listNamespacedResourceClaimTemplate(apiClient_t *apiClient, char * _namespace, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1alpha2_resource_claim_template_list_t* ResourceV1alpha2API_listNamespacedResourceClaimTemplate(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters @@ -613,17 +613,17 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -645,24 +645,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind PodSchedulingContext // -v1alpha2_pod_scheduling_context_list_t* ResourceV1alpha2API_listPodSchedulingContextForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * pretty, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1alpha2_pod_scheduling_context_list_t* ResourceV1alpha2API_listPodSchedulingContextForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**allowWatchBookmarks** | **int** | 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. | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**limit** | **int \*** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -684,24 +684,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind ResourceClaim // -v1alpha2_resource_claim_list_t* ResourceV1alpha2API_listResourceClaimForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * pretty, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1alpha2_resource_claim_list_t* ResourceV1alpha2API_listResourceClaimForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**allowWatchBookmarks** | **int** | 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. | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**limit** | **int \*** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -723,24 +723,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind ResourceClaimTemplate // -v1alpha2_resource_claim_template_list_t* ResourceV1alpha2API_listResourceClaimTemplateForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * pretty, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1alpha2_resource_claim_template_list_t* ResourceV1alpha2API_listResourceClaimTemplateForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**allowWatchBookmarks** | **int** | 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. | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**limit** | **int \*** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -762,24 +762,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind ResourceClass // -v1alpha2_resource_class_list_t* ResourceV1alpha2API_listResourceClass(apiClient_t *apiClient, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1alpha2_resource_class_list_t* ResourceV1alpha2API_listResourceClass(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -801,7 +801,7 @@ Name | Type | Description | Notes ```c // partially update the specified PodSchedulingContext // -v1alpha2_pod_scheduling_context_t* ResourceV1alpha2API_patchNamespacedPodSchedulingContext(apiClient_t *apiClient, char * name, char * _namespace, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1alpha2_pod_scheduling_context_t* ResourceV1alpha2API_patchNamespacedPodSchedulingContext(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -811,11 +811,11 @@ Name | Type | Description | Notes **name** | **char \*** | name of the PodSchedulingContext | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -837,7 +837,7 @@ Name | Type | Description | Notes ```c // partially update status of the specified PodSchedulingContext // -v1alpha2_pod_scheduling_context_t* ResourceV1alpha2API_patchNamespacedPodSchedulingContextStatus(apiClient_t *apiClient, char * name, char * _namespace, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1alpha2_pod_scheduling_context_t* ResourceV1alpha2API_patchNamespacedPodSchedulingContextStatus(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -847,11 +847,11 @@ Name | Type | Description | Notes **name** | **char \*** | name of the PodSchedulingContext | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -873,7 +873,7 @@ Name | Type | Description | Notes ```c // partially update the specified ResourceClaim // -v1alpha2_resource_claim_t* ResourceV1alpha2API_patchNamespacedResourceClaim(apiClient_t *apiClient, char * name, char * _namespace, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1alpha2_resource_claim_t* ResourceV1alpha2API_patchNamespacedResourceClaim(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -883,11 +883,11 @@ Name | Type | Description | Notes **name** | **char \*** | name of the ResourceClaim | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -909,7 +909,7 @@ Name | Type | Description | Notes ```c // partially update status of the specified ResourceClaim // -v1alpha2_resource_claim_t* ResourceV1alpha2API_patchNamespacedResourceClaimStatus(apiClient_t *apiClient, char * name, char * _namespace, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1alpha2_resource_claim_t* ResourceV1alpha2API_patchNamespacedResourceClaimStatus(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -919,11 +919,11 @@ Name | Type | Description | Notes **name** | **char \*** | name of the ResourceClaim | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -945,7 +945,7 @@ Name | Type | Description | Notes ```c // partially update the specified ResourceClaimTemplate // -v1alpha2_resource_claim_template_t* ResourceV1alpha2API_patchNamespacedResourceClaimTemplate(apiClient_t *apiClient, char * name, char * _namespace, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1alpha2_resource_claim_template_t* ResourceV1alpha2API_patchNamespacedResourceClaimTemplate(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -955,11 +955,11 @@ Name | Type | Description | Notes **name** | **char \*** | name of the ResourceClaimTemplate | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -981,7 +981,7 @@ Name | Type | Description | Notes ```c // partially update the specified ResourceClass // -v1alpha2_resource_class_t* ResourceV1alpha2API_patchResourceClass(apiClient_t *apiClient, char * name, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1alpha2_resource_class_t* ResourceV1alpha2API_patchResourceClass(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -990,11 +990,11 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ResourceClass | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -1016,7 +1016,7 @@ Name | Type | Description | Notes ```c // read the specified PodSchedulingContext // -v1alpha2_pod_scheduling_context_t* ResourceV1alpha2API_readNamespacedPodSchedulingContext(apiClient_t *apiClient, char * name, char * _namespace, char * pretty); +v1alpha2_pod_scheduling_context_t* ResourceV1alpha2API_readNamespacedPodSchedulingContext(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); ``` ### Parameters @@ -1025,7 +1025,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the PodSchedulingContext | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -1047,7 +1047,7 @@ Name | Type | Description | Notes ```c // read status of the specified PodSchedulingContext // -v1alpha2_pod_scheduling_context_t* ResourceV1alpha2API_readNamespacedPodSchedulingContextStatus(apiClient_t *apiClient, char * name, char * _namespace, char * pretty); +v1alpha2_pod_scheduling_context_t* ResourceV1alpha2API_readNamespacedPodSchedulingContextStatus(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); ``` ### Parameters @@ -1056,7 +1056,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the PodSchedulingContext | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -1078,7 +1078,7 @@ Name | Type | Description | Notes ```c // read the specified ResourceClaim // -v1alpha2_resource_claim_t* ResourceV1alpha2API_readNamespacedResourceClaim(apiClient_t *apiClient, char * name, char * _namespace, char * pretty); +v1alpha2_resource_claim_t* ResourceV1alpha2API_readNamespacedResourceClaim(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); ``` ### Parameters @@ -1087,7 +1087,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ResourceClaim | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -1109,7 +1109,7 @@ Name | Type | Description | Notes ```c // read status of the specified ResourceClaim // -v1alpha2_resource_claim_t* ResourceV1alpha2API_readNamespacedResourceClaimStatus(apiClient_t *apiClient, char * name, char * _namespace, char * pretty); +v1alpha2_resource_claim_t* ResourceV1alpha2API_readNamespacedResourceClaimStatus(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); ``` ### Parameters @@ -1118,7 +1118,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ResourceClaim | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -1140,7 +1140,7 @@ Name | Type | Description | Notes ```c // read the specified ResourceClaimTemplate // -v1alpha2_resource_claim_template_t* ResourceV1alpha2API_readNamespacedResourceClaimTemplate(apiClient_t *apiClient, char * name, char * _namespace, char * pretty); +v1alpha2_resource_claim_template_t* ResourceV1alpha2API_readNamespacedResourceClaimTemplate(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); ``` ### Parameters @@ -1149,7 +1149,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ResourceClaimTemplate | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -1171,7 +1171,7 @@ Name | Type | Description | Notes ```c // read the specified ResourceClass // -v1alpha2_resource_class_t* ResourceV1alpha2API_readResourceClass(apiClient_t *apiClient, char * name, char * pretty); +v1alpha2_resource_class_t* ResourceV1alpha2API_readResourceClass(apiClient_t *apiClient, char *name, char *pretty); ``` ### Parameters @@ -1179,7 +1179,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ResourceClass | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -1201,7 +1201,7 @@ Name | Type | Description | Notes ```c // replace the specified PodSchedulingContext // -v1alpha2_pod_scheduling_context_t* ResourceV1alpha2API_replaceNamespacedPodSchedulingContext(apiClient_t *apiClient, char * name, char * _namespace, v1alpha2_pod_scheduling_context_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1alpha2_pod_scheduling_context_t* ResourceV1alpha2API_replaceNamespacedPodSchedulingContext(apiClient_t *apiClient, char *name, char *_namespace, v1alpha2_pod_scheduling_context_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -1211,7 +1211,7 @@ Name | Type | Description | Notes **name** | **char \*** | name of the PodSchedulingContext | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1alpha2_pod_scheduling_context_t](v1alpha2_pod_scheduling_context.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -1236,7 +1236,7 @@ Name | Type | Description | Notes ```c // replace status of the specified PodSchedulingContext // -v1alpha2_pod_scheduling_context_t* ResourceV1alpha2API_replaceNamespacedPodSchedulingContextStatus(apiClient_t *apiClient, char * name, char * _namespace, v1alpha2_pod_scheduling_context_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1alpha2_pod_scheduling_context_t* ResourceV1alpha2API_replaceNamespacedPodSchedulingContextStatus(apiClient_t *apiClient, char *name, char *_namespace, v1alpha2_pod_scheduling_context_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -1246,7 +1246,7 @@ Name | Type | Description | Notes **name** | **char \*** | name of the PodSchedulingContext | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1alpha2_pod_scheduling_context_t](v1alpha2_pod_scheduling_context.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -1271,7 +1271,7 @@ Name | Type | Description | Notes ```c // replace the specified ResourceClaim // -v1alpha2_resource_claim_t* ResourceV1alpha2API_replaceNamespacedResourceClaim(apiClient_t *apiClient, char * name, char * _namespace, v1alpha2_resource_claim_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1alpha2_resource_claim_t* ResourceV1alpha2API_replaceNamespacedResourceClaim(apiClient_t *apiClient, char *name, char *_namespace, v1alpha2_resource_claim_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -1281,7 +1281,7 @@ Name | Type | Description | Notes **name** | **char \*** | name of the ResourceClaim | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1alpha2_resource_claim_t](v1alpha2_resource_claim.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -1306,7 +1306,7 @@ Name | Type | Description | Notes ```c // replace status of the specified ResourceClaim // -v1alpha2_resource_claim_t* ResourceV1alpha2API_replaceNamespacedResourceClaimStatus(apiClient_t *apiClient, char * name, char * _namespace, v1alpha2_resource_claim_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1alpha2_resource_claim_t* ResourceV1alpha2API_replaceNamespacedResourceClaimStatus(apiClient_t *apiClient, char *name, char *_namespace, v1alpha2_resource_claim_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -1316,7 +1316,7 @@ Name | Type | Description | Notes **name** | **char \*** | name of the ResourceClaim | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1alpha2_resource_claim_t](v1alpha2_resource_claim.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -1341,7 +1341,7 @@ Name | Type | Description | Notes ```c // replace the specified ResourceClaimTemplate // -v1alpha2_resource_claim_template_t* ResourceV1alpha2API_replaceNamespacedResourceClaimTemplate(apiClient_t *apiClient, char * name, char * _namespace, v1alpha2_resource_claim_template_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1alpha2_resource_claim_template_t* ResourceV1alpha2API_replaceNamespacedResourceClaimTemplate(apiClient_t *apiClient, char *name, char *_namespace, v1alpha2_resource_claim_template_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -1351,7 +1351,7 @@ Name | Type | Description | Notes **name** | **char \*** | name of the ResourceClaimTemplate | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1alpha2_resource_claim_template_t](v1alpha2_resource_claim_template.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -1376,7 +1376,7 @@ Name | Type | Description | Notes ```c // replace the specified ResourceClass // -v1alpha2_resource_class_t* ResourceV1alpha2API_replaceResourceClass(apiClient_t *apiClient, char * name, v1alpha2_resource_class_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1alpha2_resource_class_t* ResourceV1alpha2API_replaceResourceClass(apiClient_t *apiClient, char *name, v1alpha2_resource_class_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -1385,7 +1385,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the ResourceClass | **body** | **[v1alpha2_resource_class_t](v1alpha2_resource_class.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] diff --git a/kubernetes/docs/SchedulingV1API.md b/kubernetes/docs/SchedulingV1API.md index 571ead4c..bd9c65f8 100644 --- a/kubernetes/docs/SchedulingV1API.md +++ b/kubernetes/docs/SchedulingV1API.md @@ -18,7 +18,7 @@ Method | HTTP request | Description ```c // create a PriorityClass // -v1_priority_class_t* SchedulingV1API_createPriorityClass(apiClient_t *apiClient, v1_priority_class_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_priority_class_t* SchedulingV1API_createPriorityClass(apiClient_t *apiClient, v1_priority_class_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -26,7 +26,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **body** | **[v1_priority_class_t](v1_priority_class.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -51,26 +51,26 @@ Name | Type | Description | Notes ```c // delete collection of PriorityClass // -v1_status_t* SchedulingV1API_deleteCollectionPriorityClass(apiClient_t *apiClient, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* SchedulingV1API_deleteCollectionPriorityClass(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -93,7 +93,7 @@ Name | Type | Description | Notes ```c // delete a PriorityClass // -v1_status_t* SchedulingV1API_deletePriorityClass(apiClient_t *apiClient, char * name, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_status_t* SchedulingV1API_deletePriorityClass(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -101,10 +101,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the PriorityClass | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -156,24 +156,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind PriorityClass // -v1_priority_class_list_t* SchedulingV1API_listPriorityClass(apiClient_t *apiClient, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_priority_class_list_t* SchedulingV1API_listPriorityClass(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -195,7 +195,7 @@ Name | Type | Description | Notes ```c // partially update the specified PriorityClass // -v1_priority_class_t* SchedulingV1API_patchPriorityClass(apiClient_t *apiClient, char * name, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_priority_class_t* SchedulingV1API_patchPriorityClass(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -204,11 +204,11 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the PriorityClass | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -230,7 +230,7 @@ Name | Type | Description | Notes ```c // read the specified PriorityClass // -v1_priority_class_t* SchedulingV1API_readPriorityClass(apiClient_t *apiClient, char * name, char * pretty); +v1_priority_class_t* SchedulingV1API_readPriorityClass(apiClient_t *apiClient, char *name, char *pretty); ``` ### Parameters @@ -238,7 +238,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the PriorityClass | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -260,7 +260,7 @@ Name | Type | Description | Notes ```c // replace the specified PriorityClass // -v1_priority_class_t* SchedulingV1API_replacePriorityClass(apiClient_t *apiClient, char * name, v1_priority_class_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_priority_class_t* SchedulingV1API_replacePriorityClass(apiClient_t *apiClient, char *name, v1_priority_class_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -269,7 +269,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the PriorityClass | **body** | **[v1_priority_class_t](v1_priority_class.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] diff --git a/kubernetes/docs/StorageV1API.md b/kubernetes/docs/StorageV1API.md index ef516765..ec0bbec0 100644 --- a/kubernetes/docs/StorageV1API.md +++ b/kubernetes/docs/StorageV1API.md @@ -50,7 +50,7 @@ Method | HTTP request | Description ```c // create a CSIDriver // -v1_csi_driver_t* StorageV1API_createCSIDriver(apiClient_t *apiClient, v1_csi_driver_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_csi_driver_t* StorageV1API_createCSIDriver(apiClient_t *apiClient, v1_csi_driver_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -58,7 +58,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **body** | **[v1_csi_driver_t](v1_csi_driver.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -83,7 +83,7 @@ Name | Type | Description | Notes ```c // create a CSINode // -v1_csi_node_t* StorageV1API_createCSINode(apiClient_t *apiClient, v1_csi_node_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_csi_node_t* StorageV1API_createCSINode(apiClient_t *apiClient, v1_csi_node_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -91,7 +91,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **body** | **[v1_csi_node_t](v1_csi_node.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -116,7 +116,7 @@ Name | Type | Description | Notes ```c // create a CSIStorageCapacity // -v1_csi_storage_capacity_t* StorageV1API_createNamespacedCSIStorageCapacity(apiClient_t *apiClient, char * _namespace, v1_csi_storage_capacity_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_csi_storage_capacity_t* StorageV1API_createNamespacedCSIStorageCapacity(apiClient_t *apiClient, char *_namespace, v1_csi_storage_capacity_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -125,7 +125,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_csi_storage_capacity_t](v1_csi_storage_capacity.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -150,7 +150,7 @@ Name | Type | Description | Notes ```c // create a StorageClass // -v1_storage_class_t* StorageV1API_createStorageClass(apiClient_t *apiClient, v1_storage_class_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_storage_class_t* StorageV1API_createStorageClass(apiClient_t *apiClient, v1_storage_class_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -158,7 +158,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **body** | **[v1_storage_class_t](v1_storage_class.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -183,7 +183,7 @@ Name | Type | Description | Notes ```c // create a VolumeAttachment // -v1_volume_attachment_t* StorageV1API_createVolumeAttachment(apiClient_t *apiClient, v1_volume_attachment_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_volume_attachment_t* StorageV1API_createVolumeAttachment(apiClient_t *apiClient, v1_volume_attachment_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -191,7 +191,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **body** | **[v1_volume_attachment_t](v1_volume_attachment.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -216,7 +216,7 @@ Name | Type | Description | Notes ```c // delete a CSIDriver // -v1_csi_driver_t* StorageV1API_deleteCSIDriver(apiClient_t *apiClient, char * name, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_csi_driver_t* StorageV1API_deleteCSIDriver(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -224,10 +224,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the CSIDriver | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -251,7 +251,7 @@ Name | Type | Description | Notes ```c // delete a CSINode // -v1_csi_node_t* StorageV1API_deleteCSINode(apiClient_t *apiClient, char * name, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_csi_node_t* StorageV1API_deleteCSINode(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -259,10 +259,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the CSINode | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -286,26 +286,26 @@ Name | Type | Description | Notes ```c // delete collection of CSIDriver // -v1_status_t* StorageV1API_deleteCollectionCSIDriver(apiClient_t *apiClient, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* StorageV1API_deleteCollectionCSIDriver(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -328,26 +328,26 @@ Name | Type | Description | Notes ```c // delete collection of CSINode // -v1_status_t* StorageV1API_deleteCollectionCSINode(apiClient_t *apiClient, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* StorageV1API_deleteCollectionCSINode(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -370,7 +370,7 @@ Name | Type | Description | Notes ```c // delete collection of CSIStorageCapacity // -v1_status_t* StorageV1API_deleteCollectionNamespacedCSIStorageCapacity(apiClient_t *apiClient, char * _namespace, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* StorageV1API_deleteCollectionNamespacedCSIStorageCapacity(apiClient_t *apiClient, char *_namespace, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters @@ -378,19 +378,19 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -413,26 +413,26 @@ Name | Type | Description | Notes ```c // delete collection of StorageClass // -v1_status_t* StorageV1API_deleteCollectionStorageClass(apiClient_t *apiClient, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* StorageV1API_deleteCollectionStorageClass(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -455,26 +455,26 @@ Name | Type | Description | Notes ```c // delete collection of VolumeAttachment // -v1_status_t* StorageV1API_deleteCollectionVolumeAttachment(apiClient_t *apiClient, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* StorageV1API_deleteCollectionVolumeAttachment(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -497,7 +497,7 @@ Name | Type | Description | Notes ```c // delete a CSIStorageCapacity // -v1_status_t* StorageV1API_deleteNamespacedCSIStorageCapacity(apiClient_t *apiClient, char * name, char * _namespace, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_status_t* StorageV1API_deleteNamespacedCSIStorageCapacity(apiClient_t *apiClient, char *name, char *_namespace, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -506,10 +506,10 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the CSIStorageCapacity | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -533,7 +533,7 @@ Name | Type | Description | Notes ```c // delete a StorageClass // -v1_storage_class_t* StorageV1API_deleteStorageClass(apiClient_t *apiClient, char * name, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_storage_class_t* StorageV1API_deleteStorageClass(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -541,10 +541,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the StorageClass | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -568,7 +568,7 @@ Name | Type | Description | Notes ```c // delete a VolumeAttachment // -v1_volume_attachment_t* StorageV1API_deleteVolumeAttachment(apiClient_t *apiClient, char * name, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1_volume_attachment_t* StorageV1API_deleteVolumeAttachment(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters @@ -576,10 +576,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the VolumeAttachment | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] @@ -631,24 +631,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind CSIDriver // -v1_csi_driver_list_t* StorageV1API_listCSIDriver(apiClient_t *apiClient, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_csi_driver_list_t* StorageV1API_listCSIDriver(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -670,24 +670,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind CSINode // -v1_csi_node_list_t* StorageV1API_listCSINode(apiClient_t *apiClient, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_csi_node_list_t* StorageV1API_listCSINode(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -709,24 +709,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind CSIStorageCapacity // -v1_csi_storage_capacity_list_t* StorageV1API_listCSIStorageCapacityForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * pretty, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_csi_storage_capacity_list_t* StorageV1API_listCSIStorageCapacityForAllNamespaces(apiClient_t *apiClient, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *pretty, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**allowWatchBookmarks** | **int** | 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. | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**limit** | **int \*** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -748,7 +748,7 @@ Name | Type | Description | Notes ```c // list or watch objects of kind CSIStorageCapacity // -v1_csi_storage_capacity_list_t* StorageV1API_listNamespacedCSIStorageCapacity(apiClient_t *apiClient, char * _namespace, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_csi_storage_capacity_list_t* StorageV1API_listNamespacedCSIStorageCapacity(apiClient_t *apiClient, char *_namespace, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters @@ -756,17 +756,17 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -788,24 +788,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind StorageClass // -v1_storage_class_list_t* StorageV1API_listStorageClass(apiClient_t *apiClient, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_storage_class_list_t* StorageV1API_listStorageClass(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -827,24 +827,24 @@ Name | Type | Description | Notes ```c // list or watch objects of kind VolumeAttachment // -v1_volume_attachment_list_t* StorageV1API_listVolumeAttachment(apiClient_t *apiClient, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int sendInitialEvents, int timeoutSeconds, int watch); +v1_volume_attachment_list_t* StorageV1API_listVolumeAttachment(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**sendInitialEvents** | **int** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -866,7 +866,7 @@ Name | Type | Description | Notes ```c // partially update the specified CSIDriver // -v1_csi_driver_t* StorageV1API_patchCSIDriver(apiClient_t *apiClient, char * name, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_csi_driver_t* StorageV1API_patchCSIDriver(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -875,11 +875,11 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the CSIDriver | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -901,7 +901,7 @@ Name | Type | Description | Notes ```c // partially update the specified CSINode // -v1_csi_node_t* StorageV1API_patchCSINode(apiClient_t *apiClient, char * name, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_csi_node_t* StorageV1API_patchCSINode(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -910,11 +910,11 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the CSINode | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -936,7 +936,7 @@ Name | Type | Description | Notes ```c // partially update the specified CSIStorageCapacity // -v1_csi_storage_capacity_t* StorageV1API_patchNamespacedCSIStorageCapacity(apiClient_t *apiClient, char * name, char * _namespace, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_csi_storage_capacity_t* StorageV1API_patchNamespacedCSIStorageCapacity(apiClient_t *apiClient, char *name, char *_namespace, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -946,11 +946,11 @@ Name | Type | Description | Notes **name** | **char \*** | name of the CSIStorageCapacity | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -972,7 +972,7 @@ Name | Type | Description | Notes ```c // partially update the specified StorageClass // -v1_storage_class_t* StorageV1API_patchStorageClass(apiClient_t *apiClient, char * name, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_storage_class_t* StorageV1API_patchStorageClass(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -981,11 +981,11 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the StorageClass | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -1007,7 +1007,7 @@ Name | Type | Description | Notes ```c // partially update the specified VolumeAttachment // -v1_volume_attachment_t* StorageV1API_patchVolumeAttachment(apiClient_t *apiClient, char * name, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_volume_attachment_t* StorageV1API_patchVolumeAttachment(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -1016,11 +1016,11 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the VolumeAttachment | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -1042,7 +1042,7 @@ Name | Type | Description | Notes ```c // partially update status of the specified VolumeAttachment // -v1_volume_attachment_t* StorageV1API_patchVolumeAttachmentStatus(apiClient_t *apiClient, char * name, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1_volume_attachment_t* StorageV1API_patchVolumeAttachmentStatus(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters @@ -1051,11 +1051,11 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the VolumeAttachment | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type @@ -1077,7 +1077,7 @@ Name | Type | Description | Notes ```c // read the specified CSIDriver // -v1_csi_driver_t* StorageV1API_readCSIDriver(apiClient_t *apiClient, char * name, char * pretty); +v1_csi_driver_t* StorageV1API_readCSIDriver(apiClient_t *apiClient, char *name, char *pretty); ``` ### Parameters @@ -1085,7 +1085,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the CSIDriver | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -1107,7 +1107,7 @@ Name | Type | Description | Notes ```c // read the specified CSINode // -v1_csi_node_t* StorageV1API_readCSINode(apiClient_t *apiClient, char * name, char * pretty); +v1_csi_node_t* StorageV1API_readCSINode(apiClient_t *apiClient, char *name, char *pretty); ``` ### Parameters @@ -1115,7 +1115,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the CSINode | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -1137,7 +1137,7 @@ Name | Type | Description | Notes ```c // read the specified CSIStorageCapacity // -v1_csi_storage_capacity_t* StorageV1API_readNamespacedCSIStorageCapacity(apiClient_t *apiClient, char * name, char * _namespace, char * pretty); +v1_csi_storage_capacity_t* StorageV1API_readNamespacedCSIStorageCapacity(apiClient_t *apiClient, char *name, char *_namespace, char *pretty); ``` ### Parameters @@ -1146,7 +1146,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the CSIStorageCapacity | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -1168,7 +1168,7 @@ Name | Type | Description | Notes ```c // read the specified StorageClass // -v1_storage_class_t* StorageV1API_readStorageClass(apiClient_t *apiClient, char * name, char * pretty); +v1_storage_class_t* StorageV1API_readStorageClass(apiClient_t *apiClient, char *name, char *pretty); ``` ### Parameters @@ -1176,7 +1176,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the StorageClass | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -1198,7 +1198,7 @@ Name | Type | Description | Notes ```c // read the specified VolumeAttachment // -v1_volume_attachment_t* StorageV1API_readVolumeAttachment(apiClient_t *apiClient, char * name, char * pretty); +v1_volume_attachment_t* StorageV1API_readVolumeAttachment(apiClient_t *apiClient, char *name, char *pretty); ``` ### Parameters @@ -1206,7 +1206,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the VolumeAttachment | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -1228,7 +1228,7 @@ Name | Type | Description | Notes ```c // read status of the specified VolumeAttachment // -v1_volume_attachment_t* StorageV1API_readVolumeAttachmentStatus(apiClient_t *apiClient, char * name, char * pretty); +v1_volume_attachment_t* StorageV1API_readVolumeAttachmentStatus(apiClient_t *apiClient, char *name, char *pretty); ``` ### Parameters @@ -1236,7 +1236,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the VolumeAttachment | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type @@ -1258,7 +1258,7 @@ Name | Type | Description | Notes ```c // replace the specified CSIDriver // -v1_csi_driver_t* StorageV1API_replaceCSIDriver(apiClient_t *apiClient, char * name, v1_csi_driver_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_csi_driver_t* StorageV1API_replaceCSIDriver(apiClient_t *apiClient, char *name, v1_csi_driver_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -1267,7 +1267,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the CSIDriver | **body** | **[v1_csi_driver_t](v1_csi_driver.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -1292,7 +1292,7 @@ Name | Type | Description | Notes ```c // replace the specified CSINode // -v1_csi_node_t* StorageV1API_replaceCSINode(apiClient_t *apiClient, char * name, v1_csi_node_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_csi_node_t* StorageV1API_replaceCSINode(apiClient_t *apiClient, char *name, v1_csi_node_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -1301,7 +1301,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the CSINode | **body** | **[v1_csi_node_t](v1_csi_node.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -1326,7 +1326,7 @@ Name | Type | Description | Notes ```c // replace the specified CSIStorageCapacity // -v1_csi_storage_capacity_t* StorageV1API_replaceNamespacedCSIStorageCapacity(apiClient_t *apiClient, char * name, char * _namespace, v1_csi_storage_capacity_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_csi_storage_capacity_t* StorageV1API_replaceNamespacedCSIStorageCapacity(apiClient_t *apiClient, char *name, char *_namespace, v1_csi_storage_capacity_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -1336,7 +1336,7 @@ Name | Type | Description | Notes **name** | **char \*** | name of the CSIStorageCapacity | **_namespace** | **char \*** | object name and auth scope, such as for teams and projects | **body** | **[v1_csi_storage_capacity_t](v1_csi_storage_capacity.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -1361,7 +1361,7 @@ Name | Type | Description | Notes ```c // replace the specified StorageClass // -v1_storage_class_t* StorageV1API_replaceStorageClass(apiClient_t *apiClient, char * name, v1_storage_class_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_storage_class_t* StorageV1API_replaceStorageClass(apiClient_t *apiClient, char *name, v1_storage_class_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -1370,7 +1370,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the StorageClass | **body** | **[v1_storage_class_t](v1_storage_class.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -1395,7 +1395,7 @@ Name | Type | Description | Notes ```c // replace the specified VolumeAttachment // -v1_volume_attachment_t* StorageV1API_replaceVolumeAttachment(apiClient_t *apiClient, char * name, v1_volume_attachment_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_volume_attachment_t* StorageV1API_replaceVolumeAttachment(apiClient_t *apiClient, char *name, v1_volume_attachment_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -1404,7 +1404,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the VolumeAttachment | **body** | **[v1_volume_attachment_t](v1_volume_attachment.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] @@ -1429,7 +1429,7 @@ Name | Type | Description | Notes ```c // replace status of the specified VolumeAttachment // -v1_volume_attachment_t* StorageV1API_replaceVolumeAttachmentStatus(apiClient_t *apiClient, char * name, v1_volume_attachment_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1_volume_attachment_t* StorageV1API_replaceVolumeAttachmentStatus(apiClient_t *apiClient, char *name, v1_volume_attachment_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters @@ -1438,7 +1438,7 @@ Name | Type | Description | Notes **apiClient** | **apiClient_t \*** | context containing the client configuration | **name** | **char \*** | name of the VolumeAttachment | **body** | **[v1_volume_attachment_t](v1_volume_attachment.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] **fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] diff --git a/kubernetes/docs/StorageV1alpha1API.md b/kubernetes/docs/StorageV1alpha1API.md index fd51979b..b1e7fe27 100644 --- a/kubernetes/docs/StorageV1alpha1API.md +++ b/kubernetes/docs/StorageV1alpha1API.md @@ -4,38 +4,36 @@ All URIs are relative to *http://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- -[**StorageV1alpha1API_createNamespacedCSIStorageCapacity**](StorageV1alpha1API.md#StorageV1alpha1API_createNamespacedCSIStorageCapacity) | **POST** /apis/storage.k8s.io/v1alpha1/namespaces/{namespace}/csistoragecapacities | -[**StorageV1alpha1API_deleteCollectionNamespacedCSIStorageCapacity**](StorageV1alpha1API.md#StorageV1alpha1API_deleteCollectionNamespacedCSIStorageCapacity) | **DELETE** /apis/storage.k8s.io/v1alpha1/namespaces/{namespace}/csistoragecapacities | -[**StorageV1alpha1API_deleteNamespacedCSIStorageCapacity**](StorageV1alpha1API.md#StorageV1alpha1API_deleteNamespacedCSIStorageCapacity) | **DELETE** /apis/storage.k8s.io/v1alpha1/namespaces/{namespace}/csistoragecapacities/{name} | +[**StorageV1alpha1API_createVolumeAttributesClass**](StorageV1alpha1API.md#StorageV1alpha1API_createVolumeAttributesClass) | **POST** /apis/storage.k8s.io/v1alpha1/volumeattributesclasses | +[**StorageV1alpha1API_deleteCollectionVolumeAttributesClass**](StorageV1alpha1API.md#StorageV1alpha1API_deleteCollectionVolumeAttributesClass) | **DELETE** /apis/storage.k8s.io/v1alpha1/volumeattributesclasses | +[**StorageV1alpha1API_deleteVolumeAttributesClass**](StorageV1alpha1API.md#StorageV1alpha1API_deleteVolumeAttributesClass) | **DELETE** /apis/storage.k8s.io/v1alpha1/volumeattributesclasses/{name} | [**StorageV1alpha1API_getAPIResources**](StorageV1alpha1API.md#StorageV1alpha1API_getAPIResources) | **GET** /apis/storage.k8s.io/v1alpha1/ | -[**StorageV1alpha1API_listCSIStorageCapacityForAllNamespaces**](StorageV1alpha1API.md#StorageV1alpha1API_listCSIStorageCapacityForAllNamespaces) | **GET** /apis/storage.k8s.io/v1alpha1/csistoragecapacities | -[**StorageV1alpha1API_listNamespacedCSIStorageCapacity**](StorageV1alpha1API.md#StorageV1alpha1API_listNamespacedCSIStorageCapacity) | **GET** /apis/storage.k8s.io/v1alpha1/namespaces/{namespace}/csistoragecapacities | -[**StorageV1alpha1API_patchNamespacedCSIStorageCapacity**](StorageV1alpha1API.md#StorageV1alpha1API_patchNamespacedCSIStorageCapacity) | **PATCH** /apis/storage.k8s.io/v1alpha1/namespaces/{namespace}/csistoragecapacities/{name} | -[**StorageV1alpha1API_readNamespacedCSIStorageCapacity**](StorageV1alpha1API.md#StorageV1alpha1API_readNamespacedCSIStorageCapacity) | **GET** /apis/storage.k8s.io/v1alpha1/namespaces/{namespace}/csistoragecapacities/{name} | -[**StorageV1alpha1API_replaceNamespacedCSIStorageCapacity**](StorageV1alpha1API.md#StorageV1alpha1API_replaceNamespacedCSIStorageCapacity) | **PUT** /apis/storage.k8s.io/v1alpha1/namespaces/{namespace}/csistoragecapacities/{name} | +[**StorageV1alpha1API_listVolumeAttributesClass**](StorageV1alpha1API.md#StorageV1alpha1API_listVolumeAttributesClass) | **GET** /apis/storage.k8s.io/v1alpha1/volumeattributesclasses | +[**StorageV1alpha1API_patchVolumeAttributesClass**](StorageV1alpha1API.md#StorageV1alpha1API_patchVolumeAttributesClass) | **PATCH** /apis/storage.k8s.io/v1alpha1/volumeattributesclasses/{name} | +[**StorageV1alpha1API_readVolumeAttributesClass**](StorageV1alpha1API.md#StorageV1alpha1API_readVolumeAttributesClass) | **GET** /apis/storage.k8s.io/v1alpha1/volumeattributesclasses/{name} | +[**StorageV1alpha1API_replaceVolumeAttributesClass**](StorageV1alpha1API.md#StorageV1alpha1API_replaceVolumeAttributesClass) | **PUT** /apis/storage.k8s.io/v1alpha1/volumeattributesclasses/{name} | -# **StorageV1alpha1API_createNamespacedCSIStorageCapacity** +# **StorageV1alpha1API_createVolumeAttributesClass** ```c -// create a CSIStorageCapacity +// create a VolumeAttributesClass // -v1alpha1_csi_storage_capacity_t* StorageV1alpha1API_createNamespacedCSIStorageCapacity(apiClient_t *apiClient, char * _namespace, v1alpha1_csi_storage_capacity_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1alpha1_volume_attributes_class_t* StorageV1alpha1API_createVolumeAttributesClass(apiClient_t *apiClient, v1alpha1_volume_attributes_class_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**body** | **[v1alpha1_csi_storage_capacity_t](v1alpha1_csi_storage_capacity.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**body** | **[v1alpha1_volume_attributes_class_t](v1alpha1_volume_attributes_class.md) \*** | | +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] -**fieldValidation** | **char \*** | fieldValidation determines how the server should respond to unknown/duplicate fields in the object in the request. Introduced as alpha in 1.23, older servers or servers with the `ServerSideFieldValidation` feature disabled will discard valid values specified in this param and not perform any server side field validation. Valid values are: - Ignore: ignores unknown/duplicate fields. - Warn: responds with a warning for each unknown/duplicate field, but successfully serves the request. - Strict: fails the request on unknown/duplicate fields. | [optional] +**fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] ### Return type -[v1alpha1_csi_storage_capacity_t](v1alpha1_csi_storage_capacity.md) * +[v1alpha1_volume_attributes_class_t](v1alpha1_volume_attributes_class.md) * ### Authorization @@ -49,30 +47,30 @@ Name | Type | Description | Notes [[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) -# **StorageV1alpha1API_deleteCollectionNamespacedCSIStorageCapacity** +# **StorageV1alpha1API_deleteCollectionVolumeAttributesClass** ```c -// delete collection of CSIStorageCapacity +// delete collection of VolumeAttributesClass // -v1_status_t* StorageV1alpha1API_deleteCollectionNamespacedCSIStorageCapacity(apiClient_t *apiClient, char * _namespace, char * pretty, char * _continue, char * dryRun, char * fieldSelector, int gracePeriodSeconds, char * labelSelector, int limit, int orphanDependents, char * propagationPolicy, char * resourceVersion, char * resourceVersionMatch, int timeoutSeconds, v1_delete_options_t * body); +v1_status_t* StorageV1alpha1API_deleteCollectionVolumeAttributesClass(apiClient_t *apiClient, char *pretty, char *_continue, char *dryRun, char *fieldSelector, int *gracePeriodSeconds, char *labelSelector, int *limit, int *orphanDependents, char *propagationPolicy, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, v1_delete_options_t *body); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **_continue** | **char \*** | 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] **dryRun** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**orphanDependents** | **int** | 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] +**limit** | **int \*** | 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. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type @@ -91,29 +89,28 @@ Name | Type | Description | Notes [[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) -# **StorageV1alpha1API_deleteNamespacedCSIStorageCapacity** +# **StorageV1alpha1API_deleteVolumeAttributesClass** ```c -// delete a CSIStorageCapacity +// delete a VolumeAttributesClass // -v1_status_t* StorageV1alpha1API_deleteNamespacedCSIStorageCapacity(apiClient_t *apiClient, char * name, char * _namespace, char * pretty, char * dryRun, int gracePeriodSeconds, int orphanDependents, char * propagationPolicy, v1_delete_options_t * body); +v1alpha1_volume_attributes_class_t* StorageV1alpha1API_deleteVolumeAttributesClass(apiClient_t *apiClient, char *name, char *pretty, char *dryRun, int *gracePeriodSeconds, int *orphanDependents, char *propagationPolicy, v1_delete_options_t *body); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**name** | **char \*** | name of the CSIStorageCapacity | -**_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**name** | **char \*** | name of the VolumeAttributesClass | +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] -**gracePeriodSeconds** | **int** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] -**orphanDependents** | **int** | 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] +**gracePeriodSeconds** | **int \*** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] +**orphanDependents** | **int \*** | 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] **propagationPolicy** | **char \*** | 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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] **body** | **[v1_delete_options_t](v1_delete_options.md) \*** | | [optional] ### Return type -[v1_status_t](v1_status.md) * +[v1alpha1_volume_attributes_class_t](v1alpha1_volume_attributes_class.md) * ### Authorization @@ -155,70 +152,32 @@ Name | Type | Description | Notes [[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) -# **StorageV1alpha1API_listCSIStorageCapacityForAllNamespaces** -```c -// list or watch objects of kind CSIStorageCapacity -// -v1alpha1_csi_storage_capacity_list_t* StorageV1alpha1API_listCSIStorageCapacityForAllNamespaces(apiClient_t *apiClient, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * pretty, char * resourceVersion, char * resourceVersionMatch, int timeoutSeconds, int watch); -``` - -### Parameters -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -**apiClient** | **apiClient_t \*** | context containing the client configuration | -**allowWatchBookmarks** | **int** | 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. | [optional] -**_continue** | **char \*** | 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] -**fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] -**labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[v1alpha1_csi_storage_capacity_list_t](v1alpha1_csi_storage_capacity_list.md) * - - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - -[[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) - -# **StorageV1alpha1API_listNamespacedCSIStorageCapacity** +# **StorageV1alpha1API_listVolumeAttributesClass** ```c -// list or watch objects of kind CSIStorageCapacity +// list or watch objects of kind VolumeAttributesClass // -v1alpha1_csi_storage_capacity_list_t* StorageV1alpha1API_listNamespacedCSIStorageCapacity(apiClient_t *apiClient, char * _namespace, char * pretty, int allowWatchBookmarks, char * _continue, char * fieldSelector, char * labelSelector, int limit, char * resourceVersion, char * resourceVersionMatch, int timeoutSeconds, int watch); +v1alpha1_volume_attributes_class_list_t* StorageV1alpha1API_listVolumeAttributesClass(apiClient_t *apiClient, char *pretty, int *allowWatchBookmarks, char *_continue, char *fieldSelector, char *labelSelector, int *limit, char *resourceVersion, char *resourceVersionMatch, int *sendInitialEvents, int *timeoutSeconds, int *watch); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] -**allowWatchBookmarks** | **int** | 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. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] +**allowWatchBookmarks** | **int \*** | 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. | [optional] **_continue** | **char \*** | 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] **fieldSelector** | **char \*** | A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **labelSelector** | **char \*** | A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] -**limit** | **int** | 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. | [optional] +**limit** | **int \*** | 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. | [optional] **resourceVersion** | **char \*** | resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] **resourceVersionMatch** | **char \*** | resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset | [optional] -**timeoutSeconds** | **int** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] -**watch** | **int** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] +**sendInitialEvents** | **int \*** | `sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched. When `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan is interpreted as \"data at least as new as the provided `resourceVersion`\" and the bookmark event is send when the state is synced to a `resourceVersion` at least as fresh as the one provided by the ListOptions. If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the bookmark event is send when the state is synced at least to the moment when request started being processed. - `resourceVersionMatch` set to any other value or unset Invalid error is returned. Defaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise. | [optional] +**timeoutSeconds** | **int \*** | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] +**watch** | **int \*** | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[v1alpha1_csi_storage_capacity_list_t](v1alpha1_csi_storage_capacity_list.md) * +[v1alpha1_volume_attributes_class_list_t](v1alpha1_volume_attributes_class_list.md) * ### Authorization @@ -232,29 +191,28 @@ Name | Type | Description | Notes [[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) -# **StorageV1alpha1API_patchNamespacedCSIStorageCapacity** +# **StorageV1alpha1API_patchVolumeAttributesClass** ```c -// partially update the specified CSIStorageCapacity +// partially update the specified VolumeAttributesClass // -v1alpha1_csi_storage_capacity_t* StorageV1alpha1API_patchNamespacedCSIStorageCapacity(apiClient_t *apiClient, char * name, char * _namespace, object_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation, int force); +v1alpha1_volume_attributes_class_t* StorageV1alpha1API_patchVolumeAttributesClass(apiClient_t *apiClient, char *name, object_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation, int *force); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**name** | **char \*** | name of the CSIStorageCapacity | -**_namespace** | **char \*** | object name and auth scope, such as for teams and projects | +**name** | **char \*** | name of the VolumeAttributesClass | **body** | **[object_t](object.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] -**fieldValidation** | **char \*** | fieldValidation determines how the server should respond to unknown/duplicate fields in the object in the request. Introduced as alpha in 1.23, older servers or servers with the `ServerSideFieldValidation` feature disabled will discard valid values specified in this param and not perform any server side field validation. Valid values are: - Ignore: ignores unknown/duplicate fields. - Warn: responds with a warning for each unknown/duplicate field, but successfully serves the request. - Strict: fails the request on unknown/duplicate fields. | [optional] -**force** | **int** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] +**fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] +**force** | **int \*** | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] ### Return type -[v1alpha1_csi_storage_capacity_t](v1alpha1_csi_storage_capacity.md) * +[v1alpha1_volume_attributes_class_t](v1alpha1_volume_attributes_class.md) * ### Authorization @@ -268,24 +226,23 @@ Name | Type | Description | Notes [[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) -# **StorageV1alpha1API_readNamespacedCSIStorageCapacity** +# **StorageV1alpha1API_readVolumeAttributesClass** ```c -// read the specified CSIStorageCapacity +// read the specified VolumeAttributesClass // -v1alpha1_csi_storage_capacity_t* StorageV1alpha1API_readNamespacedCSIStorageCapacity(apiClient_t *apiClient, char * name, char * _namespace, char * pretty); +v1alpha1_volume_attributes_class_t* StorageV1alpha1API_readVolumeAttributesClass(apiClient_t *apiClient, char *name, char *pretty); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**name** | **char \*** | name of the CSIStorageCapacity | -**_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**name** | **char \*** | name of the VolumeAttributesClass | +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] ### Return type -[v1alpha1_csi_storage_capacity_t](v1alpha1_csi_storage_capacity.md) * +[v1alpha1_volume_attributes_class_t](v1alpha1_volume_attributes_class.md) * ### Authorization @@ -299,28 +256,27 @@ Name | Type | Description | Notes [[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) -# **StorageV1alpha1API_replaceNamespacedCSIStorageCapacity** +# **StorageV1alpha1API_replaceVolumeAttributesClass** ```c -// replace the specified CSIStorageCapacity +// replace the specified VolumeAttributesClass // -v1alpha1_csi_storage_capacity_t* StorageV1alpha1API_replaceNamespacedCSIStorageCapacity(apiClient_t *apiClient, char * name, char * _namespace, v1alpha1_csi_storage_capacity_t * body, char * pretty, char * dryRun, char * fieldManager, char * fieldValidation); +v1alpha1_volume_attributes_class_t* StorageV1alpha1API_replaceVolumeAttributesClass(apiClient_t *apiClient, char *name, v1alpha1_volume_attributes_class_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **apiClient** | **apiClient_t \*** | context containing the client configuration | -**name** | **char \*** | name of the CSIStorageCapacity | -**_namespace** | **char \*** | object name and auth scope, such as for teams and projects | -**body** | **[v1alpha1_csi_storage_capacity_t](v1alpha1_csi_storage_capacity.md) \*** | | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**name** | **char \*** | name of the VolumeAttributesClass | +**body** | **[v1alpha1_volume_attributes_class_t](v1alpha1_volume_attributes_class.md) \*** | | +**pretty** | **char \*** | If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). | [optional] **dryRun** | **char \*** | 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] **fieldManager** | **char \*** | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] -**fieldValidation** | **char \*** | fieldValidation determines how the server should respond to unknown/duplicate fields in the object in the request. Introduced as alpha in 1.23, older servers or servers with the `ServerSideFieldValidation` feature disabled will discard valid values specified in this param and not perform any server side field validation. Valid values are: - Ignore: ignores unknown/duplicate fields. - Warn: responds with a warning for each unknown/duplicate field, but successfully serves the request. - Strict: fails the request on unknown/duplicate fields. | [optional] +**fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. | [optional] ### Return type -[v1alpha1_csi_storage_capacity_t](v1alpha1_csi_storage_capacity.md) * +[v1alpha1_volume_attributes_class_t](v1alpha1_volume_attributes_class.md) * ### Authorization diff --git a/kubernetes/docs/core_v1_endpoint_port.md b/kubernetes/docs/core_v1_endpoint_port.md index 3e69c46b..6e4c5ea4 100644 --- a/kubernetes/docs/core_v1_endpoint_port.md +++ b/kubernetes/docs/core_v1_endpoint_port.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**app_protocol** | **char \*** | The application protocol for this port. This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either: * Un-prefixed protocol names - reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names). * Kubernetes-defined prefixed names: * 'kubernetes.io/h2c' - HTTP/2 over cleartext as described in https://www.rfc-editor.org/rfc/rfc7540 * 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455 * 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455 * Other protocols should use implementation-defined prefixed names such as mycompany.com/my-custom-protocol. | [optional] +**app_protocol** | **char \*** | The application protocol for this port. This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either: * Un-prefixed protocol names - reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names). * Kubernetes-defined prefixed names: * 'kubernetes.io/h2c' - HTTP/2 prior knowledge over cleartext as described in https://www.rfc-editor.org/rfc/rfc9113.html#name-starting-http-2-with-prior- * 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455 * 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455 * Other protocols should use implementation-defined prefixed names such as mycompany.com/my-custom-protocol. | [optional] **name** | **char \*** | The name of this port. This must match the 'name' field in the corresponding ServicePort. Must be a DNS_LABEL. Optional only if one port is defined. | [optional] **port** | **int** | The port number of the endpoint. | **protocol** | **char \*** | The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP. | [optional] diff --git a/kubernetes/docs/discovery_v1_endpoint_port.md b/kubernetes/docs/discovery_v1_endpoint_port.md index ec962dd2..8497f813 100644 --- a/kubernetes/docs/discovery_v1_endpoint_port.md +++ b/kubernetes/docs/discovery_v1_endpoint_port.md @@ -3,8 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**app_protocol** | **char \*** | The application protocol for this port. This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either: * Un-prefixed protocol names - reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names). * Kubernetes-defined prefixed names: * 'kubernetes.io/h2c' - HTTP/2 over cleartext as described in https://www.rfc-editor.org/rfc/rfc7540 * 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455 * 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455 * Other protocols should use implementation-defined prefixed names such as mycompany.com/my-custom-protocol. | [optional] -**name** | **char \*** | name represents the name of this port. All ports in an EndpointSlice must have a unique name. If the EndpointSlice is dervied from a Kubernetes service, this corresponds to the Service.ports[].name. Name must either be an empty string or pass DNS_LABEL validation: * must be no more than 63 characters long. * must consist of lower case alphanumeric characters or '-'. * must start and end with an alphanumeric character. Default is empty string. | [optional] +**app_protocol** | **char \*** | The application protocol for this port. This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either: * Un-prefixed protocol names - reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names). * Kubernetes-defined prefixed names: * 'kubernetes.io/h2c' - HTTP/2 prior knowledge over cleartext as described in https://www.rfc-editor.org/rfc/rfc9113.html#name-starting-http-2-with-prior- * 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455 * 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455 * Other protocols should use implementation-defined prefixed names such as mycompany.com/my-custom-protocol. | [optional] +**name** | **char \*** | name represents the name of this port. All ports in an EndpointSlice must have a unique name. If the EndpointSlice is derived from a Kubernetes service, this corresponds to the Service.ports[].name. Name must either be an empty string or pass DNS_LABEL validation: * must be no more than 63 characters long. * must consist of lower case alphanumeric characters or '-'. * must start and end with an alphanumeric character. Default is empty string. | [optional] **port** | **int** | port represents the port number of the endpoint. If this is not specified, ports are not restricted and must be interpreted in the context of the specific consumer. | [optional] **protocol** | **char \*** | protocol represents the IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP. | [optional] diff --git a/kubernetes/docs/flowcontrol_v1_subject.md b/kubernetes/docs/flowcontrol_v1_subject.md new file mode 100644 index 00000000..92db93af --- /dev/null +++ b/kubernetes/docs/flowcontrol_v1_subject.md @@ -0,0 +1,13 @@ +# flowcontrol_v1_subject_t + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**group** | [**v1_group_subject_t**](v1_group_subject.md) \* | | [optional] +**kind** | **char \*** | `kind` indicates which one of the other fields is non-empty. Required | +**service_account** | [**v1_service_account_subject_t**](v1_service_account_subject.md) \* | | [optional] +**user** | [**v1_user_subject_t**](v1_user_subject.md) \* | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/rbac_v1_subject.md b/kubernetes/docs/rbac_v1_subject.md new file mode 100644 index 00000000..3fd74866 --- /dev/null +++ b/kubernetes/docs/rbac_v1_subject.md @@ -0,0 +1,13 @@ +# rbac_v1_subject_t + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_group** | **char \*** | APIGroup holds the API group of the referenced subject. Defaults to \"\" for ServiceAccount subjects. Defaults to \"rbac.authorization.k8s.io\" for User and Group subjects. | [optional] +**kind** | **char \*** | Kind of object being referenced. Values defined by this API group are \"User\", \"Group\", and \"ServiceAccount\". If the Authorizer does not recognized the kind value, the Authorizer should report an error. | +**name** | **char \*** | Name of the object being referenced. | +**_namespace** | **char \*** | Namespace of the referenced object. If the object kind is non-namespace, such as \"User\" or \"Group\", and this value is not empty the Authorizer should report an error. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/v1_api_service_spec.md b/kubernetes/docs/v1_api_service_spec.md index b4512dbb..cef5e54e 100644 --- a/kubernetes/docs/v1_api_service_spec.md +++ b/kubernetes/docs/v1_api_service_spec.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **ca_bundle** | **char \*** | CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used. | [optional] **group** | **char \*** | Group is the API group name this server hosts | [optional] -**group_priority_minimum** | **int** | GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s | +**group_priority_minimum** | **int** | GroupPriorityMinimum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMinimum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s | **insecure_skip_tls_verify** | **int** | InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead. | [optional] **service** | [**apiregistration_v1_service_reference_t**](apiregistration_v1_service_reference.md) \* | | [optional] **version** | **char \*** | Version is the API version this server hosts. For example, \"v1\" | [optional] diff --git a/kubernetes/docs/v1_cluster_role_binding.md b/kubernetes/docs/v1_cluster_role_binding.md index d75d78e8..814f24c2 100644 --- a/kubernetes/docs/v1_cluster_role_binding.md +++ b/kubernetes/docs/v1_cluster_role_binding.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **kind** | **char \*** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**v1_object_meta_t**](v1_object_meta.md) \* | | [optional] **role_ref** | [**v1_role_ref_t**](v1_role_ref.md) \* | | -**subjects** | [**list_t**](v1_subject.md) \* | Subjects holds references to the objects the role applies to. | [optional] +**subjects** | [**list_t**](rbac_v1_subject.md) \* | Subjects holds references to the objects the role applies to. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/v1_cluster_trust_bundle_projection.md b/kubernetes/docs/v1_cluster_trust_bundle_projection.md new file mode 100644 index 00000000..3a917a95 --- /dev/null +++ b/kubernetes/docs/v1_cluster_trust_bundle_projection.md @@ -0,0 +1,14 @@ +# v1_cluster_trust_bundle_projection_t + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**label_selector** | [**v1_label_selector_t**](v1_label_selector.md) \* | | [optional] +**name** | **char \*** | Select a single ClusterTrustBundle by object name. Mutually-exclusive with signerName and labelSelector. | [optional] +**optional** | **int** | If true, don't block pod startup if the referenced ClusterTrustBundle(s) aren't available. If using name, then the named ClusterTrustBundle is allowed not to exist. If using signerName, then the combination of signerName and labelSelector is allowed to match zero ClusterTrustBundles. | [optional] +**path** | **char \*** | Relative path from the volume root to write the bundle. | +**signer_name** | **char \*** | Select all ClusterTrustBundles that match this signer name. Mutually-exclusive with name. The contents of all selected ClusterTrustBundles will be unified and deduplicated. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/v1_csi_driver_spec.md b/kubernetes/docs/v1_csi_driver_spec.md index 957bb3cd..32cb6e35 100644 --- a/kubernetes/docs/v1_csi_driver_spec.md +++ b/kubernetes/docs/v1_csi_driver_spec.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **attach_required** | **int** | attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called. This field is immutable. | [optional] **fs_group_policy** | **char \*** | fsGroupPolicy defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details. This field is immutable. Defaults to ReadWriteOnceWithFSType, which will examine each volume to determine if Kubernetes should modify ownership and permissions of the volume. With the default policy the defined fsGroup will only be applied if a fstype is defined and the volume's access mode contains ReadWriteOnce. | [optional] -**pod_info_on_mount** | **int** | podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations, if set to true. If set to false, pod information will not be passed on mount. Default is false. The CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext. The following VolumeConext will be passed if podInfoOnMount is set to true. This list might grow, but the prefix will be used. \"csi.storage.k8s.io/pod.name\": pod.Name \"csi.storage.k8s.io/pod.namespace\": pod.Namespace \"csi.storage.k8s.io/pod.uid\": string(pod.UID) \"csi.storage.k8s.io/ephemeral\": \"true\" if the volume is an ephemeral inline volume defined by a CSIVolumeSource, otherwise \"false\" \"csi.storage.k8s.io/ephemeral\" is a new feature in Kubernetes 1.16. It is only required for drivers which support both the \"Persistent\" and \"Ephemeral\" VolumeLifecycleMode. Other drivers can leave pod info disabled and/or ignore this field. As Kubernetes 1.15 doesn't support this field, drivers can only support one mode when deployed on such a cluster and the deployment determines which mode that is, for example via a command line parameter of the driver. This field is immutable. | [optional] +**pod_info_on_mount** | **int** | podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations, if set to true. If set to false, pod information will not be passed on mount. Default is false. The CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext. The following VolumeContext will be passed if podInfoOnMount is set to true. This list might grow, but the prefix will be used. \"csi.storage.k8s.io/pod.name\": pod.Name \"csi.storage.k8s.io/pod.namespace\": pod.Namespace \"csi.storage.k8s.io/pod.uid\": string(pod.UID) \"csi.storage.k8s.io/ephemeral\": \"true\" if the volume is an ephemeral inline volume defined by a CSIVolumeSource, otherwise \"false\" \"csi.storage.k8s.io/ephemeral\" is a new feature in Kubernetes 1.16. It is only required for drivers which support both the \"Persistent\" and \"Ephemeral\" VolumeLifecycleMode. Other drivers can leave pod info disabled and/or ignore this field. As Kubernetes 1.15 doesn't support this field, drivers can only support one mode when deployed on such a cluster and the deployment determines which mode that is, for example via a command line parameter of the driver. This field is immutable. | [optional] **requires_republish** | **int** | requiresRepublish indicates the CSI driver wants `NodePublishVolume` being periodically called to reflect any possible change in the mounted volume. This field defaults to false. Note: After a successful initial NodePublishVolume call, subsequent calls to NodePublishVolume should only update the contents of the volume. New mount points will not be seen by a running container. | [optional] **se_linux_mount** | **int** | seLinuxMount specifies if the CSI driver supports \"-o context\" mount option. When \"true\", the CSI driver must ensure that all volumes provided by this CSI driver can be mounted separately with different `-o context` options. This is typical for storage backends that provide volumes as filesystems on block devices or as independent shared volumes. Kubernetes will call NodeStage / NodePublish with \"-o context=xyz\" mount option when mounting a ReadWriteOncePod volume used in Pod that has explicitly set SELinux context. In the future, it may be expanded to other volume AccessModes. In any case, Kubernetes will ensure that the volume is mounted only with a single SELinux context. When \"false\", Kubernetes won't pass any special SELinux mount options to the driver. This is typical for volumes that represent subdirectories of a bigger shared filesystem. Default is \"false\". | [optional] **storage_capacity** | **int** | storageCapacity indicates that the CSI volume driver wants pod scheduling to consider the storage capacity that the driver deployment will report by creating CSIStorageCapacity objects with capacity information, if set to true. The check can be enabled immediately when deploying a driver. In that case, provisioning new volumes with late binding will pause until the driver deployment has published some suitable CSIStorageCapacity object. Alternatively, the driver can be deployed with the field unset or false and it can be flipped later when storage capacity information has been published. This field was immutable in Kubernetes <= 1.22 and now is mutable. | [optional] diff --git a/kubernetes/docs/v1_exempt_priority_level_configuration.md b/kubernetes/docs/v1_exempt_priority_level_configuration.md new file mode 100644 index 00000000..5f75636b --- /dev/null +++ b/kubernetes/docs/v1_exempt_priority_level_configuration.md @@ -0,0 +1,11 @@ +# v1_exempt_priority_level_configuration_t + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**lendable_percent** | **int** | `lendablePercent` prescribes the fraction of the level's NominalCL that can be borrowed by other priority levels. This value of this field must be between 0 and 100, inclusive, and it defaults to 0. The number of seats that other levels can borrow from this level, known as this level's LendableConcurrencyLimit (LendableCL), is defined as follows. LendableCL(i) = round( NominalCL(i) * lendablePercent(i)/100.0 ) | [optional] +**nominal_concurrency_shares** | **int** | `nominalConcurrencyShares` (NCS) contributes to the computation of the NominalConcurrencyLimit (NominalCL) of this level. This is the number of execution seats nominally reserved for this priority level. This DOES NOT limit the dispatching from this priority level but affects the other priority levels through the borrowing mechanism. The server's concurrency limit (ServerCL) is divided among all the priority levels in proportion to their NCS values: NominalCL(i) = ceil( ServerCL * NCS(i) / sum_ncs ) sum_ncs = sum[priority level k] NCS(k) Bigger numbers mean a larger nominal concurrency limit, at the expense of every other priority level. This field has a default value of zero. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/v1_flow_distinguisher_method.md b/kubernetes/docs/v1_flow_distinguisher_method.md new file mode 100644 index 00000000..58aafbd9 --- /dev/null +++ b/kubernetes/docs/v1_flow_distinguisher_method.md @@ -0,0 +1,10 @@ +# v1_flow_distinguisher_method_t + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**type** | **char \*** | `type` is the type of flow distinguisher method The supported types are \"ByUser\" and \"ByNamespace\". Required. | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/v1_flow_schema.md b/kubernetes/docs/v1_flow_schema.md new file mode 100644 index 00000000..bde2322e --- /dev/null +++ b/kubernetes/docs/v1_flow_schema.md @@ -0,0 +1,14 @@ +# v1_flow_schema_t + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_version** | **char \*** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] +**kind** | **char \*** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**metadata** | [**v1_object_meta_t**](v1_object_meta.md) \* | | [optional] +**spec** | [**v1_flow_schema_spec_t**](v1_flow_schema_spec.md) \* | | [optional] +**status** | [**v1_flow_schema_status_t**](v1_flow_schema_status.md) \* | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/v1_flow_schema_condition.md b/kubernetes/docs/v1_flow_schema_condition.md new file mode 100644 index 00000000..8cc7917b --- /dev/null +++ b/kubernetes/docs/v1_flow_schema_condition.md @@ -0,0 +1,14 @@ +# v1_flow_schema_condition_t + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**last_transition_time** | **char \*** | `lastTransitionTime` is the last time the condition transitioned from one status to another. | [optional] +**message** | **char \*** | `message` is a human-readable message indicating details about last transition. | [optional] +**reason** | **char \*** | `reason` is a unique, one-word, CamelCase reason for the condition's last transition. | [optional] +**status** | **char \*** | `status` is the status of the condition. Can be True, False, Unknown. Required. | [optional] +**type** | **char \*** | `type` is the type of the condition. Required. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/v1_flow_schema_list.md b/kubernetes/docs/v1_flow_schema_list.md new file mode 100644 index 00000000..96bdeed8 --- /dev/null +++ b/kubernetes/docs/v1_flow_schema_list.md @@ -0,0 +1,13 @@ +# v1_flow_schema_list_t + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_version** | **char \*** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] +**items** | [**list_t**](v1_flow_schema.md) \* | `items` is a list of FlowSchemas. | +**kind** | **char \*** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**metadata** | [**v1_list_meta_t**](v1_list_meta.md) \* | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/v1_flow_schema_spec.md b/kubernetes/docs/v1_flow_schema_spec.md new file mode 100644 index 00000000..67045373 --- /dev/null +++ b/kubernetes/docs/v1_flow_schema_spec.md @@ -0,0 +1,13 @@ +# v1_flow_schema_spec_t + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**distinguisher_method** | [**v1_flow_distinguisher_method_t**](v1_flow_distinguisher_method.md) \* | | [optional] +**matching_precedence** | **int** | `matchingPrecedence` is used to choose among the FlowSchemas that match a given request. The chosen FlowSchema is among those with the numerically lowest (which we take to be logically highest) MatchingPrecedence. Each MatchingPrecedence value must be ranged in [1,10000]. Note that if the precedence is not specified, it will be set to 1000 as default. | [optional] +**priority_level_configuration** | [**v1_priority_level_configuration_reference_t**](v1_priority_level_configuration_reference.md) \* | | +**rules** | [**list_t**](v1_policy_rules_with_subjects.md) \* | `rules` describes which requests will match this flow schema. This FlowSchema matches a request if and only if at least one member of rules matches the request. if it is an empty slice, there will be no requests matching the FlowSchema. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/v1_flow_schema_status.md b/kubernetes/docs/v1_flow_schema_status.md new file mode 100644 index 00000000..2c631c8c --- /dev/null +++ b/kubernetes/docs/v1_flow_schema_status.md @@ -0,0 +1,10 @@ +# v1_flow_schema_status_t + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**conditions** | [**list_t**](v1_flow_schema_condition.md) \* | `conditions` is a list of the current states of FlowSchema. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/v1_group_subject.md b/kubernetes/docs/v1_group_subject.md new file mode 100644 index 00000000..73ab0b73 --- /dev/null +++ b/kubernetes/docs/v1_group_subject.md @@ -0,0 +1,10 @@ +# v1_group_subject_t + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **char \*** | name is the user group that matches, or \"*\" to match all user groups. See https://github.com/kubernetes/apiserver/blob/master/pkg/authentication/user/user.go for some well-known group names. Required. | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/v1_job_spec.md b/kubernetes/docs/v1_job_spec.md index 0760fb79..590c2b01 100644 --- a/kubernetes/docs/v1_job_spec.md +++ b/kubernetes/docs/v1_job_spec.md @@ -5,14 +5,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **active_deadline_seconds** | **long** | Specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it; value must be positive integer. If a Job is suspended (at creation or through an update), this timer will effectively be stopped and reset when the Job is resumed again. | [optional] **backoff_limit** | **int** | Specifies the number of retries before marking this job failed. Defaults to 6 | [optional] -**backoff_limit_per_index** | **int** | Specifies the limit for the number of retries within an index before marking this index as failed. When enabled the number of failures per index is kept in the pod's batch.kubernetes.io/job-index-failure-count annotation. It can only be set when Job's completionMode=Indexed, and the Pod's restart policy is Never. The field is immutable. This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default). | [optional] +**backoff_limit_per_index** | **int** | Specifies the limit for the number of retries within an index before marking this index as failed. When enabled the number of failures per index is kept in the pod's batch.kubernetes.io/job-index-failure-count annotation. It can only be set when Job's completionMode=Indexed, and the Pod's restart policy is Never. The field is immutable. This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default). | [optional] **completion_mode** | **char \*** | completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`. `NonIndexed` means that the Job is considered complete when there have been .spec.completions successfully completed Pods. Each Pod completion is homologous to each other. `Indexed` means that the Pods of a Job get an associated completion index from 0 to (.spec.completions - 1), available in the annotation batch.kubernetes.io/job-completion-index. The Job is considered complete when there is one successfully completed Pod for each index. When value is `Indexed`, .spec.completions must be specified and `.spec.parallelism` must be less than or equal to 10^5. In addition, The Pod name takes the form `$(job-name)-$(index)-$(random-string)`, the Pod hostname takes the form `$(job-name)-$(index)`. More completion modes can be added in the future. If the Job controller observes a mode that it doesn't recognize, which is possible during upgrades due to version skew, the controller skips updates for the Job. | [optional] **completions** | **int** | Specifies the desired number of successfully finished pods the job should be run with. Setting to null means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ | [optional] **manual_selector** | **int** | manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector | [optional] -**max_failed_indexes** | **int** | Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set. Once the number of failed indexes exceeds this number the entire Job is marked as Failed and its execution is terminated. When left as null the job continues execution of all of its indexes and is marked with the `Complete` Job condition. It can only be specified when backoffLimitPerIndex is set. It can be null or up to completions. It is required and must be less than or equal to 10^4 when is completions greater than 10^5. This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default). | [optional] +**max_failed_indexes** | **int** | Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set. Once the number of failed indexes exceeds this number the entire Job is marked as Failed and its execution is terminated. When left as null the job continues execution of all of its indexes and is marked with the `Complete` Job condition. It can only be specified when backoffLimitPerIndex is set. It can be null or up to completions. It is required and must be less than or equal to 10^4 when is completions greater than 10^5. This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default). | [optional] **parallelism** | **int** | Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ | [optional] **pod_failure_policy** | [**v1_pod_failure_policy_t**](v1_pod_failure_policy.md) \* | | [optional] -**pod_replacement_policy** | **char \*** | podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods when they are terminating (has a metadata.deletionTimestamp) or failed. - Failed means to wait until a previously created Pod is fully terminated (has phase Failed or Succeeded) before creating a replacement Pod. When using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is an alpha field. Enable JobPodReplacementPolicy to be able to use this field. | [optional] +**pod_replacement_policy** | **char \*** | podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods when they are terminating (has a metadata.deletionTimestamp) or failed. - Failed means to wait until a previously created Pod is fully terminated (has phase Failed or Succeeded) before creating a replacement Pod. When using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is an beta field. To use this, enable the JobPodReplacementPolicy feature toggle. This is on by default. | [optional] **selector** | [**v1_label_selector_t**](v1_label_selector.md) \* | | [optional] **suspend** | **int** | suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false. | [optional] **_template** | [**v1_pod_template_spec_t**](v1_pod_template_spec.md) \* | | diff --git a/kubernetes/docs/v1_job_status.md b/kubernetes/docs/v1_job_status.md index 4ac3b1c7..07dbbbc5 100644 --- a/kubernetes/docs/v1_job_status.md +++ b/kubernetes/docs/v1_job_status.md @@ -8,11 +8,11 @@ Name | Type | Description | Notes **completion_time** | **char \*** | Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is only set when the job finishes successfully. | [optional] **conditions** | [**list_t**](v1_job_condition.md) \* | The latest available observations of an object's current state. When a Job fails, one of the conditions will have type \"Failed\" and status true. When a Job is suspended, one of the conditions will have type \"Suspended\" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type \"Complete\" and status true. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ | [optional] **failed** | **int** | The number of pods which reached phase Failed. | [optional] -**failed_indexes** | **char \*** | FailedIndexes holds the failed indexes when backoffLimitPerIndex=true. The indexes are represented in the text format analogous as for the `completedIndexes` field, ie. they are kept as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the failed indexes are 1, 3, 4, 5 and 7, they are represented as \"1,3-5,7\". This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default). | [optional] -**ready** | **int** | The number of pods which have a Ready condition. This field is beta-level. The job controller populates the field when the feature gate JobReadyPods is enabled (enabled by default). | [optional] +**failed_indexes** | **char \*** | FailedIndexes holds the failed indexes when backoffLimitPerIndex=true. The indexes are represented in the text format analogous as for the `completedIndexes` field, ie. they are kept as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the failed indexes are 1, 3, 4, 5 and 7, they are represented as \"1,3-5,7\". This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default). | [optional] +**ready** | **int** | The number of pods which have a Ready condition. | [optional] **start_time** | **char \*** | Represents time when the job controller started processing a job. When a Job is created in the suspended state, this field is not set until the first time it is resumed. This field is reset every time a Job is resumed from suspension. It is represented in RFC3339 form and is in UTC. | [optional] **succeeded** | **int** | The number of pods which reached phase Succeeded. | [optional] -**terminating** | **int** | The number of pods which are terminating (in phase Pending or Running and have a deletionTimestamp). This field is alpha-level. The job controller populates the field when the feature gate JobPodReplacementPolicy is enabled (disabled by default). | [optional] +**terminating** | **int** | The number of pods which are terminating (in phase Pending or Running and have a deletionTimestamp). This field is beta-level. The job controller populates the field when the feature gate JobPodReplacementPolicy is enabled (enabled by default). | [optional] **uncounted_terminated_pods** | [**v1_uncounted_terminated_pods_t**](v1_uncounted_terminated_pods.md) \* | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/v1_lifecycle_handler.md b/kubernetes/docs/v1_lifecycle_handler.md index ab35df6f..14fc4341 100644 --- a/kubernetes/docs/v1_lifecycle_handler.md +++ b/kubernetes/docs/v1_lifecycle_handler.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **exec** | [**v1_exec_action_t**](v1_exec_action.md) \* | | [optional] **http_get** | [**v1_http_get_action_t**](v1_http_get_action.md) \* | | [optional] +**sleep** | [**v1_sleep_action_t**](v1_sleep_action.md) \* | | [optional] **tcp_socket** | [**v1_tcp_socket_action_t**](v1_tcp_socket_action.md) \* | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/v1_limit_response.md b/kubernetes/docs/v1_limit_response.md new file mode 100644 index 00000000..e1be6f7c --- /dev/null +++ b/kubernetes/docs/v1_limit_response.md @@ -0,0 +1,11 @@ +# v1_limit_response_t + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**queuing** | [**v1_queuing_configuration_t**](v1_queuing_configuration.md) \* | | [optional] +**type** | **char \*** | `type` is \"Queue\" or \"Reject\". \"Queue\" means that requests that can not be executed upon arrival are held in a queue until they can be executed or a queuing limit is reached. \"Reject\" means that requests that can not be executed upon arrival are rejected. Required. | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/v1_limited_priority_level_configuration.md b/kubernetes/docs/v1_limited_priority_level_configuration.md new file mode 100644 index 00000000..7dd792af --- /dev/null +++ b/kubernetes/docs/v1_limited_priority_level_configuration.md @@ -0,0 +1,13 @@ +# v1_limited_priority_level_configuration_t + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**borrowing_limit_percent** | **int** | `borrowingLimitPercent`, if present, configures a limit on how many seats this priority level can borrow from other priority levels. The limit is known as this level's BorrowingConcurrencyLimit (BorrowingCL) and is a limit on the total number of seats that this level may borrow at any one time. This field holds the ratio of that limit to the level's nominal concurrency limit. When this field is non-nil, it must hold a non-negative integer and the limit is calculated as follows. BorrowingCL(i) = round( NominalCL(i) * borrowingLimitPercent(i)/100.0 ) The value of this field can be more than 100, implying that this priority level can borrow a number of seats that is greater than its own nominal concurrency limit (NominalCL). When this field is left `nil`, the limit is effectively infinite. | [optional] +**lendable_percent** | **int** | `lendablePercent` prescribes the fraction of the level's NominalCL that can be borrowed by other priority levels. The value of this field must be between 0 and 100, inclusive, and it defaults to 0. The number of seats that other levels can borrow from this level, known as this level's LendableConcurrencyLimit (LendableCL), is defined as follows. LendableCL(i) = round( NominalCL(i) * lendablePercent(i)/100.0 ) | [optional] +**limit_response** | [**v1_limit_response_t**](v1_limit_response.md) \* | | [optional] +**nominal_concurrency_shares** | **int** | `nominalConcurrencyShares` (NCS) contributes to the computation of the NominalConcurrencyLimit (NominalCL) of this level. This is the number of execution seats available at this priority level. This is used both for requests dispatched from this priority level as well as requests dispatched from other priority levels borrowing seats from this level. The server's concurrency limit (ServerCL) is divided among the Limited priority levels in proportion to their NCS values: NominalCL(i) = ceil( ServerCL * NCS(i) / sum_ncs ) sum_ncs = sum[priority level k] NCS(k) Bigger numbers mean a larger nominal concurrency limit, at the expense of every other priority level. If not specified, this field defaults to a value of 30. Setting this field to zero supports the construction of a \"jail\" for this priority level that is used to hold some request(s) | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/v1_load_balancer_ingress.md b/kubernetes/docs/v1_load_balancer_ingress.md index 0a34618a..70191934 100644 --- a/kubernetes/docs/v1_load_balancer_ingress.md +++ b/kubernetes/docs/v1_load_balancer_ingress.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **hostname** | **char \*** | Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers) | [optional] **ip** | **char \*** | IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers) | [optional] +**ip_mode** | **char \*** | IPMode specifies how the load-balancer IP behaves, and may only be specified when the ip field is specified. Setting this to \"VIP\" indicates that traffic is delivered to the node with the destination set to the load-balancer's IP and port. Setting this to \"Proxy\" indicates that traffic is delivered to the node or pod with the destination set to the node's IP and node port or the pod's IP and port. Service implementations may use this information to adjust traffic routing. | [optional] **ports** | [**list_t**](v1_port_status.md) \* | Ports is a list of records of service ports If used, every port defined in the service should have an entry in it | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/v1_modify_volume_status.md b/kubernetes/docs/v1_modify_volume_status.md new file mode 100644 index 00000000..e39ddea4 --- /dev/null +++ b/kubernetes/docs/v1_modify_volume_status.md @@ -0,0 +1,11 @@ +# v1_modify_volume_status_t + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | **char \*** | status is the status of the ControllerModifyVolume operation. It can be in any of following states: - Pending Pending indicates that the PersistentVolumeClaim cannot be modified due to unmet requirements, such as the specified VolumeAttributesClass not existing. - InProgress InProgress indicates that the volume is being modified. - Infeasible Infeasible indicates that the request has been rejected as invalid by the CSI driver. To resolve the error, a valid VolumeAttributesClass needs to be specified. Note: New statuses can be added in the future. Consumers should check for unknown statuses and fail appropriately. | +**target_volume_attributes_class_name** | **char \*** | targetVolumeAttributesClassName is the name of the VolumeAttributesClass the PVC currently being reconciled | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/v1_non_resource_policy_rule.md b/kubernetes/docs/v1_non_resource_policy_rule.md new file mode 100644 index 00000000..3fe0ff0f --- /dev/null +++ b/kubernetes/docs/v1_non_resource_policy_rule.md @@ -0,0 +1,11 @@ +# v1_non_resource_policy_rule_t + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**non_resource_urls** | **list_t \*** | `nonResourceURLs` is a set of url prefixes that a user should have access to and may not be empty. For example: - \"/healthz\" is legal - \"/hea*\" is illegal - \"/hea\" is legal but matches nothing - \"/hea/*\" also matches nothing - \"/healthz/*\" matches all per-component health checks. \"*\" matches all non-resource urls. if it is present, it must be the only entry. Required. | +**verbs** | **list_t \*** | `verbs` is a list of matching verbs and may not be empty. \"*\" matches all verbs. If it is present, it must be the only entry. Required. | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/v1_persistent_volume_claim_spec.md b/kubernetes/docs/v1_persistent_volume_claim_spec.md index 1746e269..dc088210 100644 --- a/kubernetes/docs/v1_persistent_volume_claim_spec.md +++ b/kubernetes/docs/v1_persistent_volume_claim_spec.md @@ -6,9 +6,10 @@ Name | Type | Description | Notes **access_modes** | **list_t \*** | accessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 | [optional] **data_source** | [**v1_typed_local_object_reference_t**](v1_typed_local_object_reference.md) \* | | [optional] **data_source_ref** | [**v1_typed_object_reference_t**](v1_typed_object_reference.md) \* | | [optional] -**resources** | [**v1_resource_requirements_t**](v1_resource_requirements.md) \* | | [optional] +**resources** | [**v1_volume_resource_requirements_t**](v1_volume_resource_requirements.md) \* | | [optional] **selector** | [**v1_label_selector_t**](v1_label_selector.md) \* | | [optional] **storage_class_name** | **char \*** | storageClassName is the name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 | [optional] +**volume_attributes_class_name** | **char \*** | volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it's not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled. | [optional] **volume_mode** | **char \*** | volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. | [optional] **volume_name** | **char \*** | volumeName is the binding reference to the PersistentVolume backing this claim. | [optional] diff --git a/kubernetes/docs/v1_persistent_volume_claim_status.md b/kubernetes/docs/v1_persistent_volume_claim_status.md index 7f9c4c85..cd017beb 100644 --- a/kubernetes/docs/v1_persistent_volume_claim_status.md +++ b/kubernetes/docs/v1_persistent_volume_claim_status.md @@ -8,6 +8,8 @@ Name | Type | Description | Notes **allocated_resources** | **list_t*** | allocatedResources tracks the resources allocated to a PVC including its capacity. Key names follow standard Kubernetes label syntax. Valid values are either: * Un-prefixed keys: - storage - the capacity of the volume. * Custom resources must use implementation-defined prefixed names such as \"example.com/my-custom-resource\" Apart from above values - keys that are unprefixed or have kubernetes.io prefix are considered reserved and hence may not be used. Capacity reported here may be larger than the actual capacity when a volume expansion operation is requested. For storage quota, the larger value from allocatedResources and PVC.spec.resources is used. If allocatedResources is not set, PVC.spec.resources alone is used for quota calculation. If a volume expansion capacity request is lowered, allocatedResources is only lowered if there are no expansion operations in progress and if the actual volume capacity is equal or lower than the requested capacity. A controller that receives PVC update with previously unknown resourceName should ignore the update for the purpose it was designed. For example - a controller that only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid resources associated with PVC. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature. | [optional] **capacity** | **list_t*** | capacity represents the actual resources of the underlying volume. | [optional] **conditions** | [**list_t**](v1_persistent_volume_claim_condition.md) \* | conditions is the current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'. | [optional] +**current_volume_attributes_class_name** | **char \*** | currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim This is an alpha field and requires enabling VolumeAttributesClass feature. | [optional] +**modify_volume_status** | [**v1_modify_volume_status_t**](v1_modify_volume_status.md) \* | | [optional] **phase** | **char \*** | phase represents the current phase of PersistentVolumeClaim. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/v1_persistent_volume_spec.md b/kubernetes/docs/v1_persistent_volume_spec.md index d3f30478..288b2855 100644 --- a/kubernetes/docs/v1_persistent_volume_spec.md +++ b/kubernetes/docs/v1_persistent_volume_spec.md @@ -31,6 +31,7 @@ Name | Type | Description | Notes **scale_io** | [**v1_scale_io_persistent_volume_source_t**](v1_scale_io_persistent_volume_source.md) \* | | [optional] **storage_class_name** | **char \*** | storageClassName is the name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass. | [optional] **storageos** | [**v1_storage_os_persistent_volume_source_t**](v1_storage_os_persistent_volume_source.md) \* | | [optional] +**volume_attributes_class_name** | **char \*** | Name of VolumeAttributesClass to which this persistent volume belongs. Empty value is not allowed. When this field is not set, it indicates that this volume does not belong to any VolumeAttributesClass. This field is mutable and can be changed by the CSI driver after a volume has been updated successfully to a new class. For an unbound PersistentVolume, the volumeAttributesClassName will be matched with unbound PersistentVolumeClaims during the binding process. This is an alpha field and requires enabling VolumeAttributesClass feature. | [optional] **volume_mode** | **char \*** | volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec. | [optional] **vsphere_volume** | [**v1_vsphere_virtual_disk_volume_source_t**](v1_vsphere_virtual_disk_volume_source.md) \* | | [optional] diff --git a/kubernetes/docs/v1_pod_affinity_term.md b/kubernetes/docs/v1_pod_affinity_term.md index 734460ab..17d54e31 100644 --- a/kubernetes/docs/v1_pod_affinity_term.md +++ b/kubernetes/docs/v1_pod_affinity_term.md @@ -4,6 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **label_selector** | [**v1_label_selector_t**](v1_label_selector.md) \* | | [optional] +**match_label_keys** | **list_t \*** | MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. Also, MatchLabelKeys cannot be set when LabelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. | [optional] +**mismatch_label_keys** | **list_t \*** | MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both MismatchLabelKeys and LabelSelector. Also, MismatchLabelKeys cannot be set when LabelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate. | [optional] **namespace_selector** | [**v1_label_selector_t**](v1_label_selector.md) \* | | [optional] **namespaces** | **list_t \*** | namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means \"this pod's namespace\". | [optional] **topology_key** | **char \*** | This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed. | diff --git a/kubernetes/docs/v1_pod_failure_policy_rule.md b/kubernetes/docs/v1_pod_failure_policy_rule.md index 83cae7c9..7f44fa06 100644 --- a/kubernetes/docs/v1_pod_failure_policy_rule.md +++ b/kubernetes/docs/v1_pod_failure_policy_rule.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**action** | **char \*** | Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are: - FailJob: indicates that the pod's job is marked as Failed and all running pods are terminated. - FailIndex: indicates that the pod's index is marked as Failed and will not be restarted. This value is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default). - Ignore: indicates that the counter towards the .backoffLimit is not incremented and a replacement pod is created. - Count: indicates that the pod is handled in the default way - the counter towards the .backoffLimit is incremented. Additional values are considered to be added in the future. Clients should react to an unknown action by skipping the rule. | +**action** | **char \*** | Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are: - FailJob: indicates that the pod's job is marked as Failed and all running pods are terminated. - FailIndex: indicates that the pod's index is marked as Failed and will not be restarted. This value is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default). - Ignore: indicates that the counter towards the .backoffLimit is not incremented and a replacement pod is created. - Count: indicates that the pod is handled in the default way - the counter towards the .backoffLimit is incremented. Additional values are considered to be added in the future. Clients should react to an unknown action by skipping the rule. | **on_exit_codes** | [**v1_pod_failure_policy_on_exit_codes_requirement_t**](v1_pod_failure_policy_on_exit_codes_requirement.md) \* | | [optional] **on_pod_conditions** | [**list_t**](v1_pod_failure_policy_on_pod_conditions_pattern.md) \* | Represents the requirement on the pod conditions. The requirement is represented as a list of pod condition patterns. The requirement is satisfied if at least one pattern matches an actual pod condition. At most 20 elements are allowed. | [optional] diff --git a/kubernetes/docs/v1_policy_rules_with_subjects.md b/kubernetes/docs/v1_policy_rules_with_subjects.md new file mode 100644 index 00000000..9705432b --- /dev/null +++ b/kubernetes/docs/v1_policy_rules_with_subjects.md @@ -0,0 +1,12 @@ +# v1_policy_rules_with_subjects_t + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**non_resource_rules** | [**list_t**](v1_non_resource_policy_rule.md) \* | `nonResourceRules` is a list of NonResourcePolicyRules that identify matching requests according to their verb and the target non-resource URL. | [optional] +**resource_rules** | [**list_t**](v1_resource_policy_rule.md) \* | `resourceRules` is a slice of ResourcePolicyRules that identify matching requests according to their verb and the target resource. At least one of `resourceRules` and `nonResourceRules` has to be non-empty. | [optional] +**subjects** | [**list_t**](flowcontrol_v1_subject.md) \* | subjects is the list of normal user, serviceaccount, or group that this rule cares about. There must be at least one member in this slice. A slice that includes both the system:authenticated and system:unauthenticated user groups matches every request. Required. | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/v1_priority_level_configuration.md b/kubernetes/docs/v1_priority_level_configuration.md new file mode 100644 index 00000000..a0bb7004 --- /dev/null +++ b/kubernetes/docs/v1_priority_level_configuration.md @@ -0,0 +1,14 @@ +# v1_priority_level_configuration_t + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_version** | **char \*** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] +**kind** | **char \*** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**metadata** | [**v1_object_meta_t**](v1_object_meta.md) \* | | [optional] +**spec** | [**v1_priority_level_configuration_spec_t**](v1_priority_level_configuration_spec.md) \* | | [optional] +**status** | [**v1_priority_level_configuration_status_t**](v1_priority_level_configuration_status.md) \* | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/v1_priority_level_configuration_condition.md b/kubernetes/docs/v1_priority_level_configuration_condition.md new file mode 100644 index 00000000..447cb2b5 --- /dev/null +++ b/kubernetes/docs/v1_priority_level_configuration_condition.md @@ -0,0 +1,14 @@ +# v1_priority_level_configuration_condition_t + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**last_transition_time** | **char \*** | `lastTransitionTime` is the last time the condition transitioned from one status to another. | [optional] +**message** | **char \*** | `message` is a human-readable message indicating details about last transition. | [optional] +**reason** | **char \*** | `reason` is a unique, one-word, CamelCase reason for the condition's last transition. | [optional] +**status** | **char \*** | `status` is the status of the condition. Can be True, False, Unknown. Required. | [optional] +**type** | **char \*** | `type` is the type of the condition. Required. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/v1_priority_level_configuration_list.md b/kubernetes/docs/v1_priority_level_configuration_list.md new file mode 100644 index 00000000..203dcfab --- /dev/null +++ b/kubernetes/docs/v1_priority_level_configuration_list.md @@ -0,0 +1,13 @@ +# v1_priority_level_configuration_list_t + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_version** | **char \*** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] +**items** | [**list_t**](v1_priority_level_configuration.md) \* | `items` is a list of request-priorities. | +**kind** | **char \*** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**metadata** | [**v1_list_meta_t**](v1_list_meta.md) \* | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/v1_priority_level_configuration_reference.md b/kubernetes/docs/v1_priority_level_configuration_reference.md new file mode 100644 index 00000000..ee3bea03 --- /dev/null +++ b/kubernetes/docs/v1_priority_level_configuration_reference.md @@ -0,0 +1,10 @@ +# v1_priority_level_configuration_reference_t + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **char \*** | `name` is the name of the priority level configuration being referenced Required. | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/v1_priority_level_configuration_spec.md b/kubernetes/docs/v1_priority_level_configuration_spec.md new file mode 100644 index 00000000..b92dea26 --- /dev/null +++ b/kubernetes/docs/v1_priority_level_configuration_spec.md @@ -0,0 +1,12 @@ +# v1_priority_level_configuration_spec_t + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**exempt** | [**v1_exempt_priority_level_configuration_t**](v1_exempt_priority_level_configuration.md) \* | | [optional] +**limited** | [**v1_limited_priority_level_configuration_t**](v1_limited_priority_level_configuration.md) \* | | [optional] +**type** | **char \*** | `type` indicates whether this priority level is subject to limitation on request execution. A value of `\"Exempt\"` means that requests of this priority level are not subject to a limit (and thus are never queued) and do not detract from the capacity made available to other priority levels. A value of `\"Limited\"` means that (a) requests of this priority level _are_ subject to limits and (b) some of the server's limited capacity is made available exclusively to this priority level. Required. | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/v1_priority_level_configuration_status.md b/kubernetes/docs/v1_priority_level_configuration_status.md new file mode 100644 index 00000000..86f70ac1 --- /dev/null +++ b/kubernetes/docs/v1_priority_level_configuration_status.md @@ -0,0 +1,10 @@ +# v1_priority_level_configuration_status_t + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**conditions** | [**list_t**](v1_priority_level_configuration_condition.md) \* | `conditions` is the current state of \"request-priority\". | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/v1_queuing_configuration.md b/kubernetes/docs/v1_queuing_configuration.md new file mode 100644 index 00000000..57825d1f --- /dev/null +++ b/kubernetes/docs/v1_queuing_configuration.md @@ -0,0 +1,12 @@ +# v1_queuing_configuration_t + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**hand_size** | **int** | `handSize` is a small positive number that configures the shuffle sharding of requests into queues. When enqueuing a request at this priority level the request's flow identifier (a string pair) is hashed and the hash value is used to shuffle the list of queues and deal a hand of the size specified here. The request is put into one of the shortest queues in that hand. `handSize` must be no larger than `queues`, and should be significantly smaller (so that a few heavy flows do not saturate most of the queues). See the user-facing documentation for more extensive guidance on setting this field. This field has a default value of 8. | [optional] +**queue_length_limit** | **int** | `queueLengthLimit` is the maximum number of requests allowed to be waiting in a given queue of this priority level at a time; excess requests are rejected. This value must be positive. If not specified, it will be defaulted to 50. | [optional] +**queues** | **int** | `queues` is the number of queues for this priority level. The queues exist independently at each apiserver. The value must be positive. Setting it to 1 effectively precludes shufflesharding and thus makes the distinguisher method of associated flow schemas irrelevant. This field has a default value of 64. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/v1_resource_policy_rule.md b/kubernetes/docs/v1_resource_policy_rule.md new file mode 100644 index 00000000..81a2a109 --- /dev/null +++ b/kubernetes/docs/v1_resource_policy_rule.md @@ -0,0 +1,14 @@ +# v1_resource_policy_rule_t + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_groups** | **list_t \*** | `apiGroups` is a list of matching API groups and may not be empty. \"*\" matches all API groups and, if present, must be the only entry. Required. | +**cluster_scope** | **int** | `clusterScope` indicates whether to match requests that do not specify a namespace (which happens either because the resource is not namespaced or the request targets all namespaces). If this field is omitted or false then the `namespaces` field must contain a non-empty list. | [optional] +**namespaces** | **list_t \*** | `namespaces` is a list of target namespaces that restricts matches. A request that specifies a target namespace matches only if either (a) this list contains that target namespace or (b) this list contains \"*\". Note that \"*\" matches any specified namespace but does not match a request that _does not specify_ a namespace (see the `clusterScope` field for that). This list may be empty, but only if `clusterScope` is true. | [optional] +**resources** | **list_t \*** | `resources` is a list of matching resources (i.e., lowercase and plural) with, if desired, subresource. For example, [ \"services\", \"nodes/status\" ]. This list may not be empty. \"*\" matches all resources and, if present, must be the only entry. Required. | +**verbs** | **list_t \*** | `verbs` is a list of matching verbs and may not be empty. \"*\" matches all verbs and, if present, must be the only entry. Required. | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/v1_role_binding.md b/kubernetes/docs/v1_role_binding.md index 915503b4..5b7be14e 100644 --- a/kubernetes/docs/v1_role_binding.md +++ b/kubernetes/docs/v1_role_binding.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **kind** | **char \*** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**v1_object_meta_t**](v1_object_meta.md) \* | | [optional] **role_ref** | [**v1_role_ref_t**](v1_role_ref.md) \* | | -**subjects** | [**list_t**](v1_subject.md) \* | Subjects holds references to the objects the role applies to. | [optional] +**subjects** | [**list_t**](rbac_v1_subject.md) \* | Subjects holds references to the objects the role applies to. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/v1_service_account_subject.md b/kubernetes/docs/v1_service_account_subject.md new file mode 100644 index 00000000..33ad596f --- /dev/null +++ b/kubernetes/docs/v1_service_account_subject.md @@ -0,0 +1,11 @@ +# v1_service_account_subject_t + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **char \*** | `name` is the name of matching ServiceAccount objects, or \"*\" to match regardless of name. Required. | +**_namespace** | **char \*** | `namespace` is the namespace of matching ServiceAccount objects. Required. | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/v1_service_port.md b/kubernetes/docs/v1_service_port.md index 78fc5daa..13c79c05 100644 --- a/kubernetes/docs/v1_service_port.md +++ b/kubernetes/docs/v1_service_port.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**app_protocol** | **char \*** | The application protocol for this port. This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either: * Un-prefixed protocol names - reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names). * Kubernetes-defined prefixed names: * 'kubernetes.io/h2c' - HTTP/2 over cleartext as described in https://www.rfc-editor.org/rfc/rfc7540 * 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455 * 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455 * Other protocols should use implementation-defined prefixed names such as mycompany.com/my-custom-protocol. | [optional] +**app_protocol** | **char \*** | The application protocol for this port. This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either: * Un-prefixed protocol names - reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names). * Kubernetes-defined prefixed names: * 'kubernetes.io/h2c' - HTTP/2 prior knowledge over cleartext as described in https://www.rfc-editor.org/rfc/rfc9113.html#name-starting-http-2-with-prior- * 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455 * 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455 * Other protocols should use implementation-defined prefixed names such as mycompany.com/my-custom-protocol. | [optional] **name** | **char \*** | The name of this port within the service. This must be a DNS_LABEL. All ports within a ServiceSpec must have unique names. When considering the endpoints for a Service, this must match the 'name' field in the EndpointPort. Optional if only one ServicePort is defined on this service. | [optional] **node_port** | **int** | The port on each node on which this service is exposed when type is NodePort or LoadBalancer. Usually assigned by the system. If a value is specified, in-range, and not in use it will be used, otherwise the operation will fail. If not specified, a port will be allocated if this Service requires one. If this field is specified when creating a Service which does not need it, creation will fail. This field will be wiped when updating a Service to no longer need it (e.g. changing type from NodePort to ClusterIP). More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport | [optional] **port** | **int** | The port that will be exposed by this service. | diff --git a/kubernetes/docs/v1_sleep_action.md b/kubernetes/docs/v1_sleep_action.md new file mode 100644 index 00000000..701b5b8b --- /dev/null +++ b/kubernetes/docs/v1_sleep_action.md @@ -0,0 +1,10 @@ +# v1_sleep_action_t + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**seconds** | **long** | Seconds is the number of seconds to sleep. | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/v1_user_subject.md b/kubernetes/docs/v1_user_subject.md new file mode 100644 index 00000000..3a061cec --- /dev/null +++ b/kubernetes/docs/v1_user_subject.md @@ -0,0 +1,10 @@ +# v1_user_subject_t + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **char \*** | `name` is the username that matches, or \"*\" to match all usernames. Required. | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/v1_validation_rule.md b/kubernetes/docs/v1_validation_rule.md index 7cd00043..327ebbe0 100644 --- a/kubernetes/docs/v1_validation_rule.md +++ b/kubernetes/docs/v1_validation_rule.md @@ -6,8 +6,9 @@ Name | Type | Description | Notes **field_path** | **char \*** | fieldPath represents the field path returned when the validation fails. It must be a relative JSON path (i.e. with array notation) scoped to the location of this x-kubernetes-validations extension in the schema and refer to an existing field. e.g. when validation checks if a specific attribute `foo` under a map `testMap`, the fieldPath could be set to `.testMap.foo` If the validation checks two lists must have unique attributes, the fieldPath could be set to either of the list: e.g. `.testList` It does not support list numeric index. It supports child operation to refer to an existing field currently. Refer to [JSONPath support in Kubernetes](https://kubernetes.io/docs/reference/kubectl/jsonpath/) for more info. Numeric index of array is not supported. For field name which contains special characters, use `['specialName']` to refer the field name. e.g. for attribute `foo.34$` appears in a list `testList`, the fieldPath could be set to `.testList['foo.34$']` | [optional] **message** | **char \*** | Message represents the message displayed when validation fails. The message is required if the Rule contains line breaks. The message must not contain line breaks. If unset, the message is \"failed rule: {Rule}\". e.g. \"must be a URL with the host matching spec.host\" | [optional] **message_expression** | **char \*** | MessageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a rule, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the rule; the only difference is the return type. Example: \"x must be less than max (\"+string(self.max)+\")\" | [optional] +**optional_old_self** | **int** | optionalOldSelf is used to opt a transition rule into evaluation even when the object is first created, or if the old object is missing the value. When enabled `oldSelf` will be a CEL optional whose value will be `None` if there is no old value, or when the object is initially created. You may check for presence of oldSelf using `oldSelf.hasValue()` and unwrap it after checking using `oldSelf.value()`. Check the CEL documentation for Optional types for more information: https://pkg.go.dev/github.com/google/cel-go/cel#OptionalTypes May not be set unless `oldSelf` is used in `rule`. | [optional] **reason** | **char \*** | reason provides a machine-readable validation failure reason that is returned to the caller when a request fails this validation rule. The HTTP status code returned to the caller will match the reason of the reason of the first failed validation rule. The currently supported reasons are: \"FieldValueInvalid\", \"FieldValueForbidden\", \"FieldValueRequired\", \"FieldValueDuplicate\". If not set, default to use \"FieldValueInvalid\". All future added reasons must be accepted by clients when reading this value and unknown reasons should be treated as FieldValueInvalid. | [optional] -**rule** | **char \*** | Rule represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec The Rule is scoped to the location of the x-kubernetes-validations extension in the schema. The `self` variable in the CEL expression is bound to the scoped value. Example: - Rule scoped to the root of a resource with a status subresource: {\"rule\": \"self.status.actual <= self.spec.maxDesired\"} If the Rule is scoped to an object with properties, the accessible properties of the object are field selectable via `self.field` and field presence can be checked via `has(self.field)`. Null valued fields are treated as absent fields in CEL expressions. If the Rule is scoped to an object with additionalProperties (i.e. a map) the value of the map are accessible via `self[mapKey]`, map containment can be checked via `mapKey in self` and all entries of the map are accessible via CEL macros and functions such as `self.all(...)`. If the Rule is scoped to an array, the elements of the array are accessible via `self[i]` and also by macros and functions. If the Rule is scoped to a scalar, `self` is bound to the scalar value. Examples: - Rule scoped to a map of objects: {\"rule\": \"self.components['Widget'].priority < 10\"} - Rule scoped to a list of integers: {\"rule\": \"self.values.all(value, value >= 0 && value < 100)\"} - Rule scoped to a string value: {\"rule\": \"self.startsWith('kube')\"} The `apiVersion`, `kind`, `metadata.name` and `metadata.generateName` are always accessible from the root of the object and from any x-kubernetes-embedded-resource annotated objects. No other metadata properties are accessible. Unknown data preserved in custom resources via x-kubernetes-preserve-unknown-fields is not accessible in CEL expressions. This includes: - Unknown field values that are preserved by object schemas with x-kubernetes-preserve-unknown-fields. - Object properties where the property schema is of an \"unknown type\". An \"unknown type\" is recursively defined as: - A schema with no type and x-kubernetes-preserve-unknown-fields set to true - An array where the items schema is of an \"unknown type\" - An object where the additionalProperties schema is of an \"unknown type\" Only property names of the form `[a-zA-Z_.-/][a-zA-Z0-9_.-/]*` are accessible. Accessible property names are escaped according to the following rules when accessed in the expression: - '__' escapes to '__underscores__' - '.' escapes to '__dot__' - '-' escapes to '__dash__' - '/' escapes to '__slash__' - Property names that exactly match a CEL RESERVED keyword escape to '__{keyword}__'. The keywords are: \"true\", \"false\", \"null\", \"in\", \"as\", \"break\", \"const\", \"continue\", \"else\", \"for\", \"function\", \"if\", \"import\", \"let\", \"loop\", \"package\", \"namespace\", \"return\". Examples: - Rule accessing a property named \"namespace\": {\"rule\": \"self.__namespace__ > 0\"} - Rule accessing a property named \"x-prop\": {\"rule\": \"self.x__dash__prop > 0\"} - Rule accessing a property named \"redact__d\": {\"rule\": \"self.redact__underscores__d > 0\"} Equality on arrays with x-kubernetes-list-type of 'set' or 'map' ignores element order, i.e. [1, 2] == [2, 1]. Concatenation on arrays with x-kubernetes-list-type use the semantics of the list type: - 'set': `X + Y` performs a union where the array positions of all elements in `X` are preserved and non-intersecting elements in `Y` are appended, retaining their partial order. - 'map': `X + Y` performs a merge where the array positions of all keys in `X` are preserved but the values are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with non-intersecting keys are appended, retaining their partial order. | +**rule** | **char \*** | Rule represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec The Rule is scoped to the location of the x-kubernetes-validations extension in the schema. The `self` variable in the CEL expression is bound to the scoped value. Example: - Rule scoped to the root of a resource with a status subresource: {\"rule\": \"self.status.actual <= self.spec.maxDesired\"} If the Rule is scoped to an object with properties, the accessible properties of the object are field selectable via `self.field` and field presence can be checked via `has(self.field)`. Null valued fields are treated as absent fields in CEL expressions. If the Rule is scoped to an object with additionalProperties (i.e. a map) the value of the map are accessible via `self[mapKey]`, map containment can be checked via `mapKey in self` and all entries of the map are accessible via CEL macros and functions such as `self.all(...)`. If the Rule is scoped to an array, the elements of the array are accessible via `self[i]` and also by macros and functions. If the Rule is scoped to a scalar, `self` is bound to the scalar value. Examples: - Rule scoped to a map of objects: {\"rule\": \"self.components['Widget'].priority < 10\"} - Rule scoped to a list of integers: {\"rule\": \"self.values.all(value, value >= 0 && value < 100)\"} - Rule scoped to a string value: {\"rule\": \"self.startsWith('kube')\"} The `apiVersion`, `kind`, `metadata.name` and `metadata.generateName` are always accessible from the root of the object and from any x-kubernetes-embedded-resource annotated objects. No other metadata properties are accessible. Unknown data preserved in custom resources via x-kubernetes-preserve-unknown-fields is not accessible in CEL expressions. This includes: - Unknown field values that are preserved by object schemas with x-kubernetes-preserve-unknown-fields. - Object properties where the property schema is of an \"unknown type\". An \"unknown type\" is recursively defined as: - A schema with no type and x-kubernetes-preserve-unknown-fields set to true - An array where the items schema is of an \"unknown type\" - An object where the additionalProperties schema is of an \"unknown type\" Only property names of the form `[a-zA-Z_.-/][a-zA-Z0-9_.-/]*` are accessible. Accessible property names are escaped according to the following rules when accessed in the expression: - '__' escapes to '__underscores__' - '.' escapes to '__dot__' - '-' escapes to '__dash__' - '/' escapes to '__slash__' - Property names that exactly match a CEL RESERVED keyword escape to '__{keyword}__'. The keywords are: \"true\", \"false\", \"null\", \"in\", \"as\", \"break\", \"const\", \"continue\", \"else\", \"for\", \"function\", \"if\", \"import\", \"let\", \"loop\", \"package\", \"namespace\", \"return\". Examples: - Rule accessing a property named \"namespace\": {\"rule\": \"self.__namespace__ > 0\"} - Rule accessing a property named \"x-prop\": {\"rule\": \"self.x__dash__prop > 0\"} - Rule accessing a property named \"redact__d\": {\"rule\": \"self.redact__underscores__d > 0\"} Equality on arrays with x-kubernetes-list-type of 'set' or 'map' ignores element order, i.e. [1, 2] == [2, 1]. Concatenation on arrays with x-kubernetes-list-type use the semantics of the list type: - 'set': `X + Y` performs a union where the array positions of all elements in `X` are preserved and non-intersecting elements in `Y` are appended, retaining their partial order. - 'map': `X + Y` performs a merge where the array positions of all keys in `X` are preserved but the values are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with non-intersecting keys are appended, retaining their partial order. If `rule` makes use of the `oldSelf` variable it is implicitly a `transition rule`. By default, the `oldSelf` variable is the same type as `self`. When `optionalOldSelf` is true, the `oldSelf` variable is a CEL optional variable whose value() is the same type as `self`. See the documentation for the `optionalOldSelf` field for details. Transition rules by default are applied only on UPDATE requests and are skipped if an old value could not be found. You can opt a transition rule into unconditional evaluation by setting `optionalOldSelf` to true. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/v1_volume_projection.md b/kubernetes/docs/v1_volume_projection.md index 09948907..7abc5769 100644 --- a/kubernetes/docs/v1_volume_projection.md +++ b/kubernetes/docs/v1_volume_projection.md @@ -3,6 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**cluster_trust_bundle** | [**v1_cluster_trust_bundle_projection_t**](v1_cluster_trust_bundle_projection.md) \* | | [optional] **config_map** | [**v1_config_map_projection_t**](v1_config_map_projection.md) \* | | [optional] **downward_api** | [**v1_downward_api_projection_t**](v1_downward_api_projection.md) \* | | [optional] **secret** | [**v1_secret_projection_t**](v1_secret_projection.md) \* | | [optional] diff --git a/kubernetes/docs/v1_volume_resource_requirements.md b/kubernetes/docs/v1_volume_resource_requirements.md new file mode 100644 index 00000000..778e33f9 --- /dev/null +++ b/kubernetes/docs/v1_volume_resource_requirements.md @@ -0,0 +1,11 @@ +# v1_volume_resource_requirements_t + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**limits** | **list_t*** | Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ | [optional] +**requests** | **list_t*** | Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/v1alpha1_parent_reference.md b/kubernetes/docs/v1alpha1_parent_reference.md index ac756bb2..eb8be5bd 100644 --- a/kubernetes/docs/v1alpha1_parent_reference.md +++ b/kubernetes/docs/v1alpha1_parent_reference.md @@ -7,7 +7,6 @@ Name | Type | Description | Notes **name** | **char \*** | Name is the name of the object being referenced. | [optional] **_namespace** | **char \*** | Namespace is the namespace of the object being referenced. | [optional] **resource** | **char \*** | Resource is the resource of the object being referenced. | [optional] -**uid** | **char \*** | UID is the uid of the object being referenced. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/v1alpha1_service_cidr.md b/kubernetes/docs/v1alpha1_service_cidr.md new file mode 100644 index 00000000..017b645d --- /dev/null +++ b/kubernetes/docs/v1alpha1_service_cidr.md @@ -0,0 +1,14 @@ +# v1alpha1_service_cidr_t + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_version** | **char \*** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] +**kind** | **char \*** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**metadata** | [**v1_object_meta_t**](v1_object_meta.md) \* | | [optional] +**spec** | [**v1alpha1_service_cidr_spec_t**](v1alpha1_service_cidr_spec.md) \* | | [optional] +**status** | [**v1alpha1_service_cidr_status_t**](v1alpha1_service_cidr_status.md) \* | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/v1alpha1_service_cidr_list.md b/kubernetes/docs/v1alpha1_service_cidr_list.md new file mode 100644 index 00000000..ce2c6319 --- /dev/null +++ b/kubernetes/docs/v1alpha1_service_cidr_list.md @@ -0,0 +1,13 @@ +# v1alpha1_service_cidr_list_t + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_version** | **char \*** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] +**items** | [**list_t**](v1alpha1_service_cidr.md) \* | items is the list of ServiceCIDRs. | +**kind** | **char \*** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**metadata** | [**v1_list_meta_t**](v1_list_meta.md) \* | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/v1alpha1_service_cidr_spec.md b/kubernetes/docs/v1alpha1_service_cidr_spec.md new file mode 100644 index 00000000..5f55d067 --- /dev/null +++ b/kubernetes/docs/v1alpha1_service_cidr_spec.md @@ -0,0 +1,10 @@ +# v1alpha1_service_cidr_spec_t + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**cidrs** | **list_t \*** | CIDRs defines the IP blocks in CIDR notation (e.g. \"192.168.0.0/24\" or \"2001:db8::/64\") from which to assign service cluster IPs. Max of two CIDRs is allowed, one of each IP family. This field is immutable. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/v1alpha1_service_cidr_status.md b/kubernetes/docs/v1alpha1_service_cidr_status.md new file mode 100644 index 00000000..89036c12 --- /dev/null +++ b/kubernetes/docs/v1alpha1_service_cidr_status.md @@ -0,0 +1,10 @@ +# v1alpha1_service_cidr_status_t + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**conditions** | [**list_t**](v1_condition.md) \* | conditions holds an array of metav1.Condition that describe the state of the ServiceCIDR. Current service state | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/v1alpha1_volume_attributes_class.md b/kubernetes/docs/v1alpha1_volume_attributes_class.md new file mode 100644 index 00000000..c6eb5b58 --- /dev/null +++ b/kubernetes/docs/v1alpha1_volume_attributes_class.md @@ -0,0 +1,14 @@ +# v1alpha1_volume_attributes_class_t + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_version** | **char \*** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] +**driver_name** | **char \*** | Name of the CSI driver This field is immutable. | +**kind** | **char \*** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**metadata** | [**v1_object_meta_t**](v1_object_meta.md) \* | | [optional] +**parameters** | **list_t*** | parameters hold volume attributes defined by the CSI driver. These values are opaque to the Kubernetes and are passed directly to the CSI driver. The underlying storage provider supports changing these attributes on an existing volume, however the parameters field itself is immutable. To invoke a volume update, a new VolumeAttributesClass should be created with new parameters, and the PersistentVolumeClaim should be updated to reference the new VolumeAttributesClass. This field is required and must contain at least one key/value pair. The keys cannot be empty, and the maximum number of parameters is 512, with a cumulative max size of 256K. If the CSI driver rejects invalid parameters, the target PersistentVolumeClaim will be set to an \"Infeasible\" state in the modifyVolumeStatus field. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/v1alpha1_volume_attributes_class_list.md b/kubernetes/docs/v1alpha1_volume_attributes_class_list.md new file mode 100644 index 00000000..d0bcf236 --- /dev/null +++ b/kubernetes/docs/v1alpha1_volume_attributes_class_list.md @@ -0,0 +1,13 @@ +# v1alpha1_volume_attributes_class_list_t + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_version** | **char \*** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources | [optional] +**items** | [**list_t**](v1alpha1_volume_attributes_class.md) \* | items is the list of VolumeAttributesClass objects. | +**kind** | **char \*** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**metadata** | [**v1_list_meta_t**](v1_list_meta.md) \* | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/model/flowcontrol_v1_subject.c b/kubernetes/model/flowcontrol_v1_subject.c new file mode 100644 index 00000000..5d8377e0 --- /dev/null +++ b/kubernetes/model/flowcontrol_v1_subject.c @@ -0,0 +1,176 @@ +#include +#include +#include +#include "flowcontrol_v1_subject.h" + + + +flowcontrol_v1_subject_t *flowcontrol_v1_subject_create( + v1_group_subject_t *group, + char *kind, + v1_service_account_subject_t *service_account, + v1_user_subject_t *user + ) { + flowcontrol_v1_subject_t *flowcontrol_v1_subject_local_var = malloc(sizeof(flowcontrol_v1_subject_t)); + if (!flowcontrol_v1_subject_local_var) { + return NULL; + } + flowcontrol_v1_subject_local_var->group = group; + flowcontrol_v1_subject_local_var->kind = kind; + flowcontrol_v1_subject_local_var->service_account = service_account; + flowcontrol_v1_subject_local_var->user = user; + + return flowcontrol_v1_subject_local_var; +} + + +void flowcontrol_v1_subject_free(flowcontrol_v1_subject_t *flowcontrol_v1_subject) { + if(NULL == flowcontrol_v1_subject){ + return ; + } + listEntry_t *listEntry; + if (flowcontrol_v1_subject->group) { + v1_group_subject_free(flowcontrol_v1_subject->group); + flowcontrol_v1_subject->group = NULL; + } + if (flowcontrol_v1_subject->kind) { + free(flowcontrol_v1_subject->kind); + flowcontrol_v1_subject->kind = NULL; + } + if (flowcontrol_v1_subject->service_account) { + v1_service_account_subject_free(flowcontrol_v1_subject->service_account); + flowcontrol_v1_subject->service_account = NULL; + } + if (flowcontrol_v1_subject->user) { + v1_user_subject_free(flowcontrol_v1_subject->user); + flowcontrol_v1_subject->user = NULL; + } + free(flowcontrol_v1_subject); +} + +cJSON *flowcontrol_v1_subject_convertToJSON(flowcontrol_v1_subject_t *flowcontrol_v1_subject) { + cJSON *item = cJSON_CreateObject(); + + // flowcontrol_v1_subject->group + if(flowcontrol_v1_subject->group) { + cJSON *group_local_JSON = v1_group_subject_convertToJSON(flowcontrol_v1_subject->group); + if(group_local_JSON == NULL) { + goto fail; //model + } + cJSON_AddItemToObject(item, "group", group_local_JSON); + if(item->child == NULL) { + goto fail; + } + } + + + // flowcontrol_v1_subject->kind + if (!flowcontrol_v1_subject->kind) { + goto fail; + } + if(cJSON_AddStringToObject(item, "kind", flowcontrol_v1_subject->kind) == NULL) { + goto fail; //String + } + + + // flowcontrol_v1_subject->service_account + if(flowcontrol_v1_subject->service_account) { + cJSON *service_account_local_JSON = v1_service_account_subject_convertToJSON(flowcontrol_v1_subject->service_account); + if(service_account_local_JSON == NULL) { + goto fail; //model + } + cJSON_AddItemToObject(item, "serviceAccount", service_account_local_JSON); + if(item->child == NULL) { + goto fail; + } + } + + + // flowcontrol_v1_subject->user + if(flowcontrol_v1_subject->user) { + cJSON *user_local_JSON = v1_user_subject_convertToJSON(flowcontrol_v1_subject->user); + if(user_local_JSON == NULL) { + goto fail; //model + } + cJSON_AddItemToObject(item, "user", user_local_JSON); + if(item->child == NULL) { + goto fail; + } + } + + return item; +fail: + if (item) { + cJSON_Delete(item); + } + return NULL; +} + +flowcontrol_v1_subject_t *flowcontrol_v1_subject_parseFromJSON(cJSON *flowcontrol_v1_subjectJSON){ + + flowcontrol_v1_subject_t *flowcontrol_v1_subject_local_var = NULL; + + // define the local variable for flowcontrol_v1_subject->group + v1_group_subject_t *group_local_nonprim = NULL; + + // define the local variable for flowcontrol_v1_subject->service_account + v1_service_account_subject_t *service_account_local_nonprim = NULL; + + // define the local variable for flowcontrol_v1_subject->user + v1_user_subject_t *user_local_nonprim = NULL; + + // flowcontrol_v1_subject->group + cJSON *group = cJSON_GetObjectItemCaseSensitive(flowcontrol_v1_subjectJSON, "group"); + if (group) { + group_local_nonprim = v1_group_subject_parseFromJSON(group); //nonprimitive + } + + // flowcontrol_v1_subject->kind + cJSON *kind = cJSON_GetObjectItemCaseSensitive(flowcontrol_v1_subjectJSON, "kind"); + if (!kind) { + goto end; + } + + + if(!cJSON_IsString(kind)) + { + goto end; //String + } + + // flowcontrol_v1_subject->service_account + cJSON *service_account = cJSON_GetObjectItemCaseSensitive(flowcontrol_v1_subjectJSON, "serviceAccount"); + if (service_account) { + service_account_local_nonprim = v1_service_account_subject_parseFromJSON(service_account); //nonprimitive + } + + // flowcontrol_v1_subject->user + cJSON *user = cJSON_GetObjectItemCaseSensitive(flowcontrol_v1_subjectJSON, "user"); + if (user) { + user_local_nonprim = v1_user_subject_parseFromJSON(user); //nonprimitive + } + + + flowcontrol_v1_subject_local_var = flowcontrol_v1_subject_create ( + group ? group_local_nonprim : NULL, + strdup(kind->valuestring), + service_account ? service_account_local_nonprim : NULL, + user ? user_local_nonprim : NULL + ); + + return flowcontrol_v1_subject_local_var; +end: + if (group_local_nonprim) { + v1_group_subject_free(group_local_nonprim); + group_local_nonprim = NULL; + } + if (service_account_local_nonprim) { + v1_service_account_subject_free(service_account_local_nonprim); + service_account_local_nonprim = NULL; + } + if (user_local_nonprim) { + v1_user_subject_free(user_local_nonprim); + user_local_nonprim = NULL; + } + return NULL; + +} diff --git a/kubernetes/model/flowcontrol_v1_subject.h b/kubernetes/model/flowcontrol_v1_subject.h new file mode 100644 index 00000000..c5ec114a --- /dev/null +++ b/kubernetes/model/flowcontrol_v1_subject.h @@ -0,0 +1,46 @@ +/* + * flowcontrol_v1_subject.h + * + * Subject matches the originator of a request, as identified by the request authentication system. There are three ways of matching an originator; by user, group, or service account. + */ + +#ifndef _flowcontrol_v1_subject_H_ +#define _flowcontrol_v1_subject_H_ + +#include +#include "../external/cJSON.h" +#include "../include/list.h" +#include "../include/keyValuePair.h" +#include "../include/binary.h" + +typedef struct flowcontrol_v1_subject_t flowcontrol_v1_subject_t; + +#include "v1_group_subject.h" +#include "v1_service_account_subject.h" +#include "v1_user_subject.h" + + + +typedef struct flowcontrol_v1_subject_t { + struct v1_group_subject_t *group; //model + char *kind; // string + struct v1_service_account_subject_t *service_account; //model + struct v1_user_subject_t *user; //model + +} flowcontrol_v1_subject_t; + +flowcontrol_v1_subject_t *flowcontrol_v1_subject_create( + v1_group_subject_t *group, + char *kind, + v1_service_account_subject_t *service_account, + v1_user_subject_t *user +); + +void flowcontrol_v1_subject_free(flowcontrol_v1_subject_t *flowcontrol_v1_subject); + +flowcontrol_v1_subject_t *flowcontrol_v1_subject_parseFromJSON(cJSON *flowcontrol_v1_subjectJSON); + +cJSON *flowcontrol_v1_subject_convertToJSON(flowcontrol_v1_subject_t *flowcontrol_v1_subject); + +#endif /* _flowcontrol_v1_subject_H_ */ + diff --git a/kubernetes/model/rbac_v1_subject.c b/kubernetes/model/rbac_v1_subject.c new file mode 100644 index 00000000..775d4ee9 --- /dev/null +++ b/kubernetes/model/rbac_v1_subject.c @@ -0,0 +1,153 @@ +#include +#include +#include +#include "rbac_v1_subject.h" + + + +rbac_v1_subject_t *rbac_v1_subject_create( + char *api_group, + char *kind, + char *name, + char *_namespace + ) { + rbac_v1_subject_t *rbac_v1_subject_local_var = malloc(sizeof(rbac_v1_subject_t)); + if (!rbac_v1_subject_local_var) { + return NULL; + } + rbac_v1_subject_local_var->api_group = api_group; + rbac_v1_subject_local_var->kind = kind; + rbac_v1_subject_local_var->name = name; + rbac_v1_subject_local_var->_namespace = _namespace; + + return rbac_v1_subject_local_var; +} + + +void rbac_v1_subject_free(rbac_v1_subject_t *rbac_v1_subject) { + if(NULL == rbac_v1_subject){ + return ; + } + listEntry_t *listEntry; + if (rbac_v1_subject->api_group) { + free(rbac_v1_subject->api_group); + rbac_v1_subject->api_group = NULL; + } + if (rbac_v1_subject->kind) { + free(rbac_v1_subject->kind); + rbac_v1_subject->kind = NULL; + } + if (rbac_v1_subject->name) { + free(rbac_v1_subject->name); + rbac_v1_subject->name = NULL; + } + if (rbac_v1_subject->_namespace) { + free(rbac_v1_subject->_namespace); + rbac_v1_subject->_namespace = NULL; + } + free(rbac_v1_subject); +} + +cJSON *rbac_v1_subject_convertToJSON(rbac_v1_subject_t *rbac_v1_subject) { + cJSON *item = cJSON_CreateObject(); + + // rbac_v1_subject->api_group + if(rbac_v1_subject->api_group) { + if(cJSON_AddStringToObject(item, "apiGroup", rbac_v1_subject->api_group) == NULL) { + goto fail; //String + } + } + + + // rbac_v1_subject->kind + if (!rbac_v1_subject->kind) { + goto fail; + } + if(cJSON_AddStringToObject(item, "kind", rbac_v1_subject->kind) == NULL) { + goto fail; //String + } + + + // rbac_v1_subject->name + if (!rbac_v1_subject->name) { + goto fail; + } + if(cJSON_AddStringToObject(item, "name", rbac_v1_subject->name) == NULL) { + goto fail; //String + } + + + // rbac_v1_subject->_namespace + if(rbac_v1_subject->_namespace) { + if(cJSON_AddStringToObject(item, "namespace", rbac_v1_subject->_namespace) == NULL) { + goto fail; //String + } + } + + return item; +fail: + if (item) { + cJSON_Delete(item); + } + return NULL; +} + +rbac_v1_subject_t *rbac_v1_subject_parseFromJSON(cJSON *rbac_v1_subjectJSON){ + + rbac_v1_subject_t *rbac_v1_subject_local_var = NULL; + + // rbac_v1_subject->api_group + cJSON *api_group = cJSON_GetObjectItemCaseSensitive(rbac_v1_subjectJSON, "apiGroup"); + if (api_group) { + if(!cJSON_IsString(api_group) && !cJSON_IsNull(api_group)) + { + goto end; //String + } + } + + // rbac_v1_subject->kind + cJSON *kind = cJSON_GetObjectItemCaseSensitive(rbac_v1_subjectJSON, "kind"); + if (!kind) { + goto end; + } + + + if(!cJSON_IsString(kind)) + { + goto end; //String + } + + // rbac_v1_subject->name + cJSON *name = cJSON_GetObjectItemCaseSensitive(rbac_v1_subjectJSON, "name"); + if (!name) { + goto end; + } + + + if(!cJSON_IsString(name)) + { + goto end; //String + } + + // rbac_v1_subject->_namespace + cJSON *_namespace = cJSON_GetObjectItemCaseSensitive(rbac_v1_subjectJSON, "namespace"); + if (_namespace) { + if(!cJSON_IsString(_namespace) && !cJSON_IsNull(_namespace)) + { + goto end; //String + } + } + + + rbac_v1_subject_local_var = rbac_v1_subject_create ( + api_group && !cJSON_IsNull(api_group) ? strdup(api_group->valuestring) : NULL, + strdup(kind->valuestring), + strdup(name->valuestring), + _namespace && !cJSON_IsNull(_namespace) ? strdup(_namespace->valuestring) : NULL + ); + + return rbac_v1_subject_local_var; +end: + return NULL; + +} diff --git a/kubernetes/model/v1_subject.h b/kubernetes/model/rbac_v1_subject.h similarity index 54% rename from kubernetes/model/v1_subject.h rename to kubernetes/model/rbac_v1_subject.h index 534a3802..3add3459 100644 --- a/kubernetes/model/v1_subject.h +++ b/kubernetes/model/rbac_v1_subject.h @@ -1,11 +1,11 @@ /* - * v1_subject.h + * rbac_v1_subject.h * * Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names. */ -#ifndef _v1_subject_H_ -#define _v1_subject_H_ +#ifndef _rbac_v1_subject_H_ +#define _rbac_v1_subject_H_ #include #include "../external/cJSON.h" @@ -13,31 +13,31 @@ #include "../include/keyValuePair.h" #include "../include/binary.h" -typedef struct v1_subject_t v1_subject_t; +typedef struct rbac_v1_subject_t rbac_v1_subject_t; -typedef struct v1_subject_t { +typedef struct rbac_v1_subject_t { char *api_group; // string char *kind; // string char *name; // string char *_namespace; // string -} v1_subject_t; +} rbac_v1_subject_t; -v1_subject_t *v1_subject_create( +rbac_v1_subject_t *rbac_v1_subject_create( char *api_group, char *kind, char *name, char *_namespace ); -void v1_subject_free(v1_subject_t *v1_subject); +void rbac_v1_subject_free(rbac_v1_subject_t *rbac_v1_subject); -v1_subject_t *v1_subject_parseFromJSON(cJSON *v1_subjectJSON); +rbac_v1_subject_t *rbac_v1_subject_parseFromJSON(cJSON *rbac_v1_subjectJSON); -cJSON *v1_subject_convertToJSON(v1_subject_t *v1_subject); +cJSON *rbac_v1_subject_convertToJSON(rbac_v1_subject_t *rbac_v1_subject); -#endif /* _v1_subject_H_ */ +#endif /* _rbac_v1_subject_H_ */ diff --git a/kubernetes/model/v1_cluster_role_binding.c b/kubernetes/model/v1_cluster_role_binding.c index 4b2bd29e..aeb44353 100644 --- a/kubernetes/model/v1_cluster_role_binding.c +++ b/kubernetes/model/v1_cluster_role_binding.c @@ -49,7 +49,7 @@ void v1_cluster_role_binding_free(v1_cluster_role_binding_t *v1_cluster_role_bin } if (v1_cluster_role_binding->subjects) { list_ForEach(listEntry, v1_cluster_role_binding->subjects) { - v1_subject_free(listEntry->data); + rbac_v1_subject_free(listEntry->data); } list_freeList(v1_cluster_role_binding->subjects); v1_cluster_role_binding->subjects = NULL; @@ -113,7 +113,7 @@ cJSON *v1_cluster_role_binding_convertToJSON(v1_cluster_role_binding_t *v1_clust listEntry_t *subjectsListEntry; if (v1_cluster_role_binding->subjects) { list_ForEach(subjectsListEntry, v1_cluster_role_binding->subjects) { - cJSON *itemLocal = v1_subject_convertToJSON(subjectsListEntry->data); + cJSON *itemLocal = rbac_v1_subject_convertToJSON(subjectsListEntry->data); if(itemLocal == NULL) { goto fail; } @@ -191,7 +191,7 @@ v1_cluster_role_binding_t *v1_cluster_role_binding_parseFromJSON(cJSON *v1_clust if(!cJSON_IsObject(subjects_local_nonprimitive)){ goto end; } - v1_subject_t *subjectsItem = v1_subject_parseFromJSON(subjects_local_nonprimitive); + rbac_v1_subject_t *subjectsItem = rbac_v1_subject_parseFromJSON(subjects_local_nonprimitive); list_addElement(subjectsList, subjectsItem); } @@ -219,7 +219,7 @@ v1_cluster_role_binding_t *v1_cluster_role_binding_parseFromJSON(cJSON *v1_clust if (subjectsList) { listEntry_t *listEntry = NULL; list_ForEach(listEntry, subjectsList) { - v1_subject_free(listEntry->data); + rbac_v1_subject_free(listEntry->data); listEntry->data = NULL; } list_freeList(subjectsList); diff --git a/kubernetes/model/v1_cluster_role_binding.h b/kubernetes/model/v1_cluster_role_binding.h index bfb54a0b..73a8de5b 100644 --- a/kubernetes/model/v1_cluster_role_binding.h +++ b/kubernetes/model/v1_cluster_role_binding.h @@ -15,9 +15,9 @@ typedef struct v1_cluster_role_binding_t v1_cluster_role_binding_t; +#include "rbac_v1_subject.h" #include "v1_object_meta.h" #include "v1_role_ref.h" -#include "v1_subject.h" diff --git a/kubernetes/model/v1_cluster_trust_bundle_projection.c b/kubernetes/model/v1_cluster_trust_bundle_projection.c new file mode 100644 index 00000000..a1ff3461 --- /dev/null +++ b/kubernetes/model/v1_cluster_trust_bundle_projection.c @@ -0,0 +1,178 @@ +#include +#include +#include +#include "v1_cluster_trust_bundle_projection.h" + + + +v1_cluster_trust_bundle_projection_t *v1_cluster_trust_bundle_projection_create( + v1_label_selector_t *label_selector, + char *name, + int optional, + char *path, + char *signer_name + ) { + v1_cluster_trust_bundle_projection_t *v1_cluster_trust_bundle_projection_local_var = malloc(sizeof(v1_cluster_trust_bundle_projection_t)); + if (!v1_cluster_trust_bundle_projection_local_var) { + return NULL; + } + v1_cluster_trust_bundle_projection_local_var->label_selector = label_selector; + v1_cluster_trust_bundle_projection_local_var->name = name; + v1_cluster_trust_bundle_projection_local_var->optional = optional; + v1_cluster_trust_bundle_projection_local_var->path = path; + v1_cluster_trust_bundle_projection_local_var->signer_name = signer_name; + + return v1_cluster_trust_bundle_projection_local_var; +} + + +void v1_cluster_trust_bundle_projection_free(v1_cluster_trust_bundle_projection_t *v1_cluster_trust_bundle_projection) { + if(NULL == v1_cluster_trust_bundle_projection){ + return ; + } + listEntry_t *listEntry; + if (v1_cluster_trust_bundle_projection->label_selector) { + v1_label_selector_free(v1_cluster_trust_bundle_projection->label_selector); + v1_cluster_trust_bundle_projection->label_selector = NULL; + } + if (v1_cluster_trust_bundle_projection->name) { + free(v1_cluster_trust_bundle_projection->name); + v1_cluster_trust_bundle_projection->name = NULL; + } + if (v1_cluster_trust_bundle_projection->path) { + free(v1_cluster_trust_bundle_projection->path); + v1_cluster_trust_bundle_projection->path = NULL; + } + if (v1_cluster_trust_bundle_projection->signer_name) { + free(v1_cluster_trust_bundle_projection->signer_name); + v1_cluster_trust_bundle_projection->signer_name = NULL; + } + free(v1_cluster_trust_bundle_projection); +} + +cJSON *v1_cluster_trust_bundle_projection_convertToJSON(v1_cluster_trust_bundle_projection_t *v1_cluster_trust_bundle_projection) { + cJSON *item = cJSON_CreateObject(); + + // v1_cluster_trust_bundle_projection->label_selector + if(v1_cluster_trust_bundle_projection->label_selector) { + cJSON *label_selector_local_JSON = v1_label_selector_convertToJSON(v1_cluster_trust_bundle_projection->label_selector); + if(label_selector_local_JSON == NULL) { + goto fail; //model + } + cJSON_AddItemToObject(item, "labelSelector", label_selector_local_JSON); + if(item->child == NULL) { + goto fail; + } + } + + + // v1_cluster_trust_bundle_projection->name + if(v1_cluster_trust_bundle_projection->name) { + if(cJSON_AddStringToObject(item, "name", v1_cluster_trust_bundle_projection->name) == NULL) { + goto fail; //String + } + } + + + // v1_cluster_trust_bundle_projection->optional + if(v1_cluster_trust_bundle_projection->optional) { + if(cJSON_AddBoolToObject(item, "optional", v1_cluster_trust_bundle_projection->optional) == NULL) { + goto fail; //Bool + } + } + + + // v1_cluster_trust_bundle_projection->path + if (!v1_cluster_trust_bundle_projection->path) { + goto fail; + } + if(cJSON_AddStringToObject(item, "path", v1_cluster_trust_bundle_projection->path) == NULL) { + goto fail; //String + } + + + // v1_cluster_trust_bundle_projection->signer_name + if(v1_cluster_trust_bundle_projection->signer_name) { + if(cJSON_AddStringToObject(item, "signerName", v1_cluster_trust_bundle_projection->signer_name) == NULL) { + goto fail; //String + } + } + + return item; +fail: + if (item) { + cJSON_Delete(item); + } + return NULL; +} + +v1_cluster_trust_bundle_projection_t *v1_cluster_trust_bundle_projection_parseFromJSON(cJSON *v1_cluster_trust_bundle_projectionJSON){ + + v1_cluster_trust_bundle_projection_t *v1_cluster_trust_bundle_projection_local_var = NULL; + + // define the local variable for v1_cluster_trust_bundle_projection->label_selector + v1_label_selector_t *label_selector_local_nonprim = NULL; + + // v1_cluster_trust_bundle_projection->label_selector + cJSON *label_selector = cJSON_GetObjectItemCaseSensitive(v1_cluster_trust_bundle_projectionJSON, "labelSelector"); + if (label_selector) { + label_selector_local_nonprim = v1_label_selector_parseFromJSON(label_selector); //nonprimitive + } + + // v1_cluster_trust_bundle_projection->name + cJSON *name = cJSON_GetObjectItemCaseSensitive(v1_cluster_trust_bundle_projectionJSON, "name"); + if (name) { + if(!cJSON_IsString(name) && !cJSON_IsNull(name)) + { + goto end; //String + } + } + + // v1_cluster_trust_bundle_projection->optional + cJSON *optional = cJSON_GetObjectItemCaseSensitive(v1_cluster_trust_bundle_projectionJSON, "optional"); + if (optional) { + if(!cJSON_IsBool(optional)) + { + goto end; //Bool + } + } + + // v1_cluster_trust_bundle_projection->path + cJSON *path = cJSON_GetObjectItemCaseSensitive(v1_cluster_trust_bundle_projectionJSON, "path"); + if (!path) { + goto end; + } + + + if(!cJSON_IsString(path)) + { + goto end; //String + } + + // v1_cluster_trust_bundle_projection->signer_name + cJSON *signer_name = cJSON_GetObjectItemCaseSensitive(v1_cluster_trust_bundle_projectionJSON, "signerName"); + if (signer_name) { + if(!cJSON_IsString(signer_name) && !cJSON_IsNull(signer_name)) + { + goto end; //String + } + } + + + v1_cluster_trust_bundle_projection_local_var = v1_cluster_trust_bundle_projection_create ( + label_selector ? label_selector_local_nonprim : NULL, + name && !cJSON_IsNull(name) ? strdup(name->valuestring) : NULL, + optional ? optional->valueint : 0, + strdup(path->valuestring), + signer_name && !cJSON_IsNull(signer_name) ? strdup(signer_name->valuestring) : NULL + ); + + return v1_cluster_trust_bundle_projection_local_var; +end: + if (label_selector_local_nonprim) { + v1_label_selector_free(label_selector_local_nonprim); + label_selector_local_nonprim = NULL; + } + return NULL; + +} diff --git a/kubernetes/model/v1_cluster_trust_bundle_projection.h b/kubernetes/model/v1_cluster_trust_bundle_projection.h new file mode 100644 index 00000000..76e197f5 --- /dev/null +++ b/kubernetes/model/v1_cluster_trust_bundle_projection.h @@ -0,0 +1,46 @@ +/* + * v1_cluster_trust_bundle_projection.h + * + * ClusterTrustBundleProjection describes how to select a set of ClusterTrustBundle objects and project their contents into the pod filesystem. + */ + +#ifndef _v1_cluster_trust_bundle_projection_H_ +#define _v1_cluster_trust_bundle_projection_H_ + +#include +#include "../external/cJSON.h" +#include "../include/list.h" +#include "../include/keyValuePair.h" +#include "../include/binary.h" + +typedef struct v1_cluster_trust_bundle_projection_t v1_cluster_trust_bundle_projection_t; + +#include "v1_label_selector.h" + + + +typedef struct v1_cluster_trust_bundle_projection_t { + struct v1_label_selector_t *label_selector; //model + char *name; // string + int optional; //boolean + char *path; // string + char *signer_name; // string + +} v1_cluster_trust_bundle_projection_t; + +v1_cluster_trust_bundle_projection_t *v1_cluster_trust_bundle_projection_create( + v1_label_selector_t *label_selector, + char *name, + int optional, + char *path, + char *signer_name +); + +void v1_cluster_trust_bundle_projection_free(v1_cluster_trust_bundle_projection_t *v1_cluster_trust_bundle_projection); + +v1_cluster_trust_bundle_projection_t *v1_cluster_trust_bundle_projection_parseFromJSON(cJSON *v1_cluster_trust_bundle_projectionJSON); + +cJSON *v1_cluster_trust_bundle_projection_convertToJSON(v1_cluster_trust_bundle_projection_t *v1_cluster_trust_bundle_projection); + +#endif /* _v1_cluster_trust_bundle_projection_H_ */ + diff --git a/kubernetes/model/v1_exempt_priority_level_configuration.c b/kubernetes/model/v1_exempt_priority_level_configuration.c new file mode 100644 index 00000000..e04ae5b2 --- /dev/null +++ b/kubernetes/model/v1_exempt_priority_level_configuration.c @@ -0,0 +1,89 @@ +#include +#include +#include +#include "v1_exempt_priority_level_configuration.h" + + + +v1_exempt_priority_level_configuration_t *v1_exempt_priority_level_configuration_create( + int lendable_percent, + int nominal_concurrency_shares + ) { + v1_exempt_priority_level_configuration_t *v1_exempt_priority_level_configuration_local_var = malloc(sizeof(v1_exempt_priority_level_configuration_t)); + if (!v1_exempt_priority_level_configuration_local_var) { + return NULL; + } + v1_exempt_priority_level_configuration_local_var->lendable_percent = lendable_percent; + v1_exempt_priority_level_configuration_local_var->nominal_concurrency_shares = nominal_concurrency_shares; + + return v1_exempt_priority_level_configuration_local_var; +} + + +void v1_exempt_priority_level_configuration_free(v1_exempt_priority_level_configuration_t *v1_exempt_priority_level_configuration) { + if(NULL == v1_exempt_priority_level_configuration){ + return ; + } + listEntry_t *listEntry; + free(v1_exempt_priority_level_configuration); +} + +cJSON *v1_exempt_priority_level_configuration_convertToJSON(v1_exempt_priority_level_configuration_t *v1_exempt_priority_level_configuration) { + cJSON *item = cJSON_CreateObject(); + + // v1_exempt_priority_level_configuration->lendable_percent + if(v1_exempt_priority_level_configuration->lendable_percent) { + if(cJSON_AddNumberToObject(item, "lendablePercent", v1_exempt_priority_level_configuration->lendable_percent) == NULL) { + goto fail; //Numeric + } + } + + + // v1_exempt_priority_level_configuration->nominal_concurrency_shares + if(v1_exempt_priority_level_configuration->nominal_concurrency_shares) { + if(cJSON_AddNumberToObject(item, "nominalConcurrencyShares", v1_exempt_priority_level_configuration->nominal_concurrency_shares) == NULL) { + goto fail; //Numeric + } + } + + return item; +fail: + if (item) { + cJSON_Delete(item); + } + return NULL; +} + +v1_exempt_priority_level_configuration_t *v1_exempt_priority_level_configuration_parseFromJSON(cJSON *v1_exempt_priority_level_configurationJSON){ + + v1_exempt_priority_level_configuration_t *v1_exempt_priority_level_configuration_local_var = NULL; + + // v1_exempt_priority_level_configuration->lendable_percent + cJSON *lendable_percent = cJSON_GetObjectItemCaseSensitive(v1_exempt_priority_level_configurationJSON, "lendablePercent"); + if (lendable_percent) { + if(!cJSON_IsNumber(lendable_percent)) + { + goto end; //Numeric + } + } + + // v1_exempt_priority_level_configuration->nominal_concurrency_shares + cJSON *nominal_concurrency_shares = cJSON_GetObjectItemCaseSensitive(v1_exempt_priority_level_configurationJSON, "nominalConcurrencyShares"); + if (nominal_concurrency_shares) { + if(!cJSON_IsNumber(nominal_concurrency_shares)) + { + goto end; //Numeric + } + } + + + v1_exempt_priority_level_configuration_local_var = v1_exempt_priority_level_configuration_create ( + lendable_percent ? lendable_percent->valuedouble : 0, + nominal_concurrency_shares ? nominal_concurrency_shares->valuedouble : 0 + ); + + return v1_exempt_priority_level_configuration_local_var; +end: + return NULL; + +} diff --git a/kubernetes/model/v1_exempt_priority_level_configuration.h b/kubernetes/model/v1_exempt_priority_level_configuration.h new file mode 100644 index 00000000..866f4eea --- /dev/null +++ b/kubernetes/model/v1_exempt_priority_level_configuration.h @@ -0,0 +1,39 @@ +/* + * v1_exempt_priority_level_configuration.h + * + * ExemptPriorityLevelConfiguration describes the configurable aspects of the handling of exempt requests. In the mandatory exempt configuration object the values in the fields here can be modified by authorized users, unlike the rest of the `spec`. + */ + +#ifndef _v1_exempt_priority_level_configuration_H_ +#define _v1_exempt_priority_level_configuration_H_ + +#include +#include "../external/cJSON.h" +#include "../include/list.h" +#include "../include/keyValuePair.h" +#include "../include/binary.h" + +typedef struct v1_exempt_priority_level_configuration_t v1_exempt_priority_level_configuration_t; + + + + +typedef struct v1_exempt_priority_level_configuration_t { + int lendable_percent; //numeric + int nominal_concurrency_shares; //numeric + +} v1_exempt_priority_level_configuration_t; + +v1_exempt_priority_level_configuration_t *v1_exempt_priority_level_configuration_create( + int lendable_percent, + int nominal_concurrency_shares +); + +void v1_exempt_priority_level_configuration_free(v1_exempt_priority_level_configuration_t *v1_exempt_priority_level_configuration); + +v1_exempt_priority_level_configuration_t *v1_exempt_priority_level_configuration_parseFromJSON(cJSON *v1_exempt_priority_level_configurationJSON); + +cJSON *v1_exempt_priority_level_configuration_convertToJSON(v1_exempt_priority_level_configuration_t *v1_exempt_priority_level_configuration); + +#endif /* _v1_exempt_priority_level_configuration_H_ */ + diff --git a/kubernetes/model/v1_flow_distinguisher_method.c b/kubernetes/model/v1_flow_distinguisher_method.c new file mode 100644 index 00000000..b861bdfb --- /dev/null +++ b/kubernetes/model/v1_flow_distinguisher_method.c @@ -0,0 +1,77 @@ +#include +#include +#include +#include "v1_flow_distinguisher_method.h" + + + +v1_flow_distinguisher_method_t *v1_flow_distinguisher_method_create( + char *type + ) { + v1_flow_distinguisher_method_t *v1_flow_distinguisher_method_local_var = malloc(sizeof(v1_flow_distinguisher_method_t)); + if (!v1_flow_distinguisher_method_local_var) { + return NULL; + } + v1_flow_distinguisher_method_local_var->type = type; + + return v1_flow_distinguisher_method_local_var; +} + + +void v1_flow_distinguisher_method_free(v1_flow_distinguisher_method_t *v1_flow_distinguisher_method) { + if(NULL == v1_flow_distinguisher_method){ + return ; + } + listEntry_t *listEntry; + if (v1_flow_distinguisher_method->type) { + free(v1_flow_distinguisher_method->type); + v1_flow_distinguisher_method->type = NULL; + } + free(v1_flow_distinguisher_method); +} + +cJSON *v1_flow_distinguisher_method_convertToJSON(v1_flow_distinguisher_method_t *v1_flow_distinguisher_method) { + cJSON *item = cJSON_CreateObject(); + + // v1_flow_distinguisher_method->type + if (!v1_flow_distinguisher_method->type) { + goto fail; + } + if(cJSON_AddStringToObject(item, "type", v1_flow_distinguisher_method->type) == NULL) { + goto fail; //String + } + + return item; +fail: + if (item) { + cJSON_Delete(item); + } + return NULL; +} + +v1_flow_distinguisher_method_t *v1_flow_distinguisher_method_parseFromJSON(cJSON *v1_flow_distinguisher_methodJSON){ + + v1_flow_distinguisher_method_t *v1_flow_distinguisher_method_local_var = NULL; + + // v1_flow_distinguisher_method->type + cJSON *type = cJSON_GetObjectItemCaseSensitive(v1_flow_distinguisher_methodJSON, "type"); + if (!type) { + goto end; + } + + + if(!cJSON_IsString(type)) + { + goto end; //String + } + + + v1_flow_distinguisher_method_local_var = v1_flow_distinguisher_method_create ( + strdup(type->valuestring) + ); + + return v1_flow_distinguisher_method_local_var; +end: + return NULL; + +} diff --git a/kubernetes/model/v1_flow_distinguisher_method.h b/kubernetes/model/v1_flow_distinguisher_method.h new file mode 100644 index 00000000..2b10ada9 --- /dev/null +++ b/kubernetes/model/v1_flow_distinguisher_method.h @@ -0,0 +1,37 @@ +/* + * v1_flow_distinguisher_method.h + * + * FlowDistinguisherMethod specifies the method of a flow distinguisher. + */ + +#ifndef _v1_flow_distinguisher_method_H_ +#define _v1_flow_distinguisher_method_H_ + +#include +#include "../external/cJSON.h" +#include "../include/list.h" +#include "../include/keyValuePair.h" +#include "../include/binary.h" + +typedef struct v1_flow_distinguisher_method_t v1_flow_distinguisher_method_t; + + + + +typedef struct v1_flow_distinguisher_method_t { + char *type; // string + +} v1_flow_distinguisher_method_t; + +v1_flow_distinguisher_method_t *v1_flow_distinguisher_method_create( + char *type +); + +void v1_flow_distinguisher_method_free(v1_flow_distinguisher_method_t *v1_flow_distinguisher_method); + +v1_flow_distinguisher_method_t *v1_flow_distinguisher_method_parseFromJSON(cJSON *v1_flow_distinguisher_methodJSON); + +cJSON *v1_flow_distinguisher_method_convertToJSON(v1_flow_distinguisher_method_t *v1_flow_distinguisher_method); + +#endif /* _v1_flow_distinguisher_method_H_ */ + diff --git a/kubernetes/model/v1_flow_schema.c b/kubernetes/model/v1_flow_schema.c new file mode 100644 index 00000000..b9ccf760 --- /dev/null +++ b/kubernetes/model/v1_flow_schema.c @@ -0,0 +1,196 @@ +#include +#include +#include +#include "v1_flow_schema.h" + + + +v1_flow_schema_t *v1_flow_schema_create( + char *api_version, + char *kind, + v1_object_meta_t *metadata, + v1_flow_schema_spec_t *spec, + v1_flow_schema_status_t *status + ) { + v1_flow_schema_t *v1_flow_schema_local_var = malloc(sizeof(v1_flow_schema_t)); + if (!v1_flow_schema_local_var) { + return NULL; + } + v1_flow_schema_local_var->api_version = api_version; + v1_flow_schema_local_var->kind = kind; + v1_flow_schema_local_var->metadata = metadata; + v1_flow_schema_local_var->spec = spec; + v1_flow_schema_local_var->status = status; + + return v1_flow_schema_local_var; +} + + +void v1_flow_schema_free(v1_flow_schema_t *v1_flow_schema) { + if(NULL == v1_flow_schema){ + return ; + } + listEntry_t *listEntry; + if (v1_flow_schema->api_version) { + free(v1_flow_schema->api_version); + v1_flow_schema->api_version = NULL; + } + if (v1_flow_schema->kind) { + free(v1_flow_schema->kind); + v1_flow_schema->kind = NULL; + } + if (v1_flow_schema->metadata) { + v1_object_meta_free(v1_flow_schema->metadata); + v1_flow_schema->metadata = NULL; + } + if (v1_flow_schema->spec) { + v1_flow_schema_spec_free(v1_flow_schema->spec); + v1_flow_schema->spec = NULL; + } + if (v1_flow_schema->status) { + v1_flow_schema_status_free(v1_flow_schema->status); + v1_flow_schema->status = NULL; + } + free(v1_flow_schema); +} + +cJSON *v1_flow_schema_convertToJSON(v1_flow_schema_t *v1_flow_schema) { + cJSON *item = cJSON_CreateObject(); + + // v1_flow_schema->api_version + if(v1_flow_schema->api_version) { + if(cJSON_AddStringToObject(item, "apiVersion", v1_flow_schema->api_version) == NULL) { + goto fail; //String + } + } + + + // v1_flow_schema->kind + if(v1_flow_schema->kind) { + if(cJSON_AddStringToObject(item, "kind", v1_flow_schema->kind) == NULL) { + goto fail; //String + } + } + + + // v1_flow_schema->metadata + if(v1_flow_schema->metadata) { + cJSON *metadata_local_JSON = v1_object_meta_convertToJSON(v1_flow_schema->metadata); + if(metadata_local_JSON == NULL) { + goto fail; //model + } + cJSON_AddItemToObject(item, "metadata", metadata_local_JSON); + if(item->child == NULL) { + goto fail; + } + } + + + // v1_flow_schema->spec + if(v1_flow_schema->spec) { + cJSON *spec_local_JSON = v1_flow_schema_spec_convertToJSON(v1_flow_schema->spec); + if(spec_local_JSON == NULL) { + goto fail; //model + } + cJSON_AddItemToObject(item, "spec", spec_local_JSON); + if(item->child == NULL) { + goto fail; + } + } + + + // v1_flow_schema->status + if(v1_flow_schema->status) { + cJSON *status_local_JSON = v1_flow_schema_status_convertToJSON(v1_flow_schema->status); + if(status_local_JSON == NULL) { + goto fail; //model + } + cJSON_AddItemToObject(item, "status", status_local_JSON); + if(item->child == NULL) { + goto fail; + } + } + + return item; +fail: + if (item) { + cJSON_Delete(item); + } + return NULL; +} + +v1_flow_schema_t *v1_flow_schema_parseFromJSON(cJSON *v1_flow_schemaJSON){ + + v1_flow_schema_t *v1_flow_schema_local_var = NULL; + + // define the local variable for v1_flow_schema->metadata + v1_object_meta_t *metadata_local_nonprim = NULL; + + // define the local variable for v1_flow_schema->spec + v1_flow_schema_spec_t *spec_local_nonprim = NULL; + + // define the local variable for v1_flow_schema->status + v1_flow_schema_status_t *status_local_nonprim = NULL; + + // v1_flow_schema->api_version + cJSON *api_version = cJSON_GetObjectItemCaseSensitive(v1_flow_schemaJSON, "apiVersion"); + if (api_version) { + if(!cJSON_IsString(api_version) && !cJSON_IsNull(api_version)) + { + goto end; //String + } + } + + // v1_flow_schema->kind + cJSON *kind = cJSON_GetObjectItemCaseSensitive(v1_flow_schemaJSON, "kind"); + if (kind) { + if(!cJSON_IsString(kind) && !cJSON_IsNull(kind)) + { + goto end; //String + } + } + + // v1_flow_schema->metadata + cJSON *metadata = cJSON_GetObjectItemCaseSensitive(v1_flow_schemaJSON, "metadata"); + if (metadata) { + metadata_local_nonprim = v1_object_meta_parseFromJSON(metadata); //nonprimitive + } + + // v1_flow_schema->spec + cJSON *spec = cJSON_GetObjectItemCaseSensitive(v1_flow_schemaJSON, "spec"); + if (spec) { + spec_local_nonprim = v1_flow_schema_spec_parseFromJSON(spec); //nonprimitive + } + + // v1_flow_schema->status + cJSON *status = cJSON_GetObjectItemCaseSensitive(v1_flow_schemaJSON, "status"); + if (status) { + status_local_nonprim = v1_flow_schema_status_parseFromJSON(status); //nonprimitive + } + + + v1_flow_schema_local_var = v1_flow_schema_create ( + api_version && !cJSON_IsNull(api_version) ? strdup(api_version->valuestring) : NULL, + kind && !cJSON_IsNull(kind) ? strdup(kind->valuestring) : NULL, + metadata ? metadata_local_nonprim : NULL, + spec ? spec_local_nonprim : NULL, + status ? status_local_nonprim : NULL + ); + + return v1_flow_schema_local_var; +end: + if (metadata_local_nonprim) { + v1_object_meta_free(metadata_local_nonprim); + metadata_local_nonprim = NULL; + } + if (spec_local_nonprim) { + v1_flow_schema_spec_free(spec_local_nonprim); + spec_local_nonprim = NULL; + } + if (status_local_nonprim) { + v1_flow_schema_status_free(status_local_nonprim); + status_local_nonprim = NULL; + } + return NULL; + +} diff --git a/kubernetes/model/v1_flow_schema.h b/kubernetes/model/v1_flow_schema.h new file mode 100644 index 00000000..913577d0 --- /dev/null +++ b/kubernetes/model/v1_flow_schema.h @@ -0,0 +1,48 @@ +/* + * v1_flow_schema.h + * + * FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a \"flow distinguisher\". + */ + +#ifndef _v1_flow_schema_H_ +#define _v1_flow_schema_H_ + +#include +#include "../external/cJSON.h" +#include "../include/list.h" +#include "../include/keyValuePair.h" +#include "../include/binary.h" + +typedef struct v1_flow_schema_t v1_flow_schema_t; + +#include "v1_flow_schema_spec.h" +#include "v1_flow_schema_status.h" +#include "v1_object_meta.h" + + + +typedef struct v1_flow_schema_t { + char *api_version; // string + char *kind; // string + struct v1_object_meta_t *metadata; //model + struct v1_flow_schema_spec_t *spec; //model + struct v1_flow_schema_status_t *status; //model + +} v1_flow_schema_t; + +v1_flow_schema_t *v1_flow_schema_create( + char *api_version, + char *kind, + v1_object_meta_t *metadata, + v1_flow_schema_spec_t *spec, + v1_flow_schema_status_t *status +); + +void v1_flow_schema_free(v1_flow_schema_t *v1_flow_schema); + +v1_flow_schema_t *v1_flow_schema_parseFromJSON(cJSON *v1_flow_schemaJSON); + +cJSON *v1_flow_schema_convertToJSON(v1_flow_schema_t *v1_flow_schema); + +#endif /* _v1_flow_schema_H_ */ + diff --git a/kubernetes/model/v1_flow_schema_condition.c b/kubernetes/model/v1_flow_schema_condition.c new file mode 100644 index 00000000..3467e0b4 --- /dev/null +++ b/kubernetes/model/v1_flow_schema_condition.c @@ -0,0 +1,169 @@ +#include +#include +#include +#include "v1_flow_schema_condition.h" + + + +v1_flow_schema_condition_t *v1_flow_schema_condition_create( + char *last_transition_time, + char *message, + char *reason, + char *status, + char *type + ) { + v1_flow_schema_condition_t *v1_flow_schema_condition_local_var = malloc(sizeof(v1_flow_schema_condition_t)); + if (!v1_flow_schema_condition_local_var) { + return NULL; + } + v1_flow_schema_condition_local_var->last_transition_time = last_transition_time; + v1_flow_schema_condition_local_var->message = message; + v1_flow_schema_condition_local_var->reason = reason; + v1_flow_schema_condition_local_var->status = status; + v1_flow_schema_condition_local_var->type = type; + + return v1_flow_schema_condition_local_var; +} + + +void v1_flow_schema_condition_free(v1_flow_schema_condition_t *v1_flow_schema_condition) { + if(NULL == v1_flow_schema_condition){ + return ; + } + listEntry_t *listEntry; + if (v1_flow_schema_condition->last_transition_time) { + free(v1_flow_schema_condition->last_transition_time); + v1_flow_schema_condition->last_transition_time = NULL; + } + if (v1_flow_schema_condition->message) { + free(v1_flow_schema_condition->message); + v1_flow_schema_condition->message = NULL; + } + if (v1_flow_schema_condition->reason) { + free(v1_flow_schema_condition->reason); + v1_flow_schema_condition->reason = NULL; + } + if (v1_flow_schema_condition->status) { + free(v1_flow_schema_condition->status); + v1_flow_schema_condition->status = NULL; + } + if (v1_flow_schema_condition->type) { + free(v1_flow_schema_condition->type); + v1_flow_schema_condition->type = NULL; + } + free(v1_flow_schema_condition); +} + +cJSON *v1_flow_schema_condition_convertToJSON(v1_flow_schema_condition_t *v1_flow_schema_condition) { + cJSON *item = cJSON_CreateObject(); + + // v1_flow_schema_condition->last_transition_time + if(v1_flow_schema_condition->last_transition_time) { + if(cJSON_AddStringToObject(item, "lastTransitionTime", v1_flow_schema_condition->last_transition_time) == NULL) { + goto fail; //Date-Time + } + } + + + // v1_flow_schema_condition->message + if(v1_flow_schema_condition->message) { + if(cJSON_AddStringToObject(item, "message", v1_flow_schema_condition->message) == NULL) { + goto fail; //String + } + } + + + // v1_flow_schema_condition->reason + if(v1_flow_schema_condition->reason) { + if(cJSON_AddStringToObject(item, "reason", v1_flow_schema_condition->reason) == NULL) { + goto fail; //String + } + } + + + // v1_flow_schema_condition->status + if(v1_flow_schema_condition->status) { + if(cJSON_AddStringToObject(item, "status", v1_flow_schema_condition->status) == NULL) { + goto fail; //String + } + } + + + // v1_flow_schema_condition->type + if(v1_flow_schema_condition->type) { + if(cJSON_AddStringToObject(item, "type", v1_flow_schema_condition->type) == NULL) { + goto fail; //String + } + } + + return item; +fail: + if (item) { + cJSON_Delete(item); + } + return NULL; +} + +v1_flow_schema_condition_t *v1_flow_schema_condition_parseFromJSON(cJSON *v1_flow_schema_conditionJSON){ + + v1_flow_schema_condition_t *v1_flow_schema_condition_local_var = NULL; + + // v1_flow_schema_condition->last_transition_time + cJSON *last_transition_time = cJSON_GetObjectItemCaseSensitive(v1_flow_schema_conditionJSON, "lastTransitionTime"); + if (last_transition_time) { + if(!cJSON_IsString(last_transition_time) && !cJSON_IsNull(last_transition_time)) + { + goto end; //DateTime + } + } + + // v1_flow_schema_condition->message + cJSON *message = cJSON_GetObjectItemCaseSensitive(v1_flow_schema_conditionJSON, "message"); + if (message) { + if(!cJSON_IsString(message) && !cJSON_IsNull(message)) + { + goto end; //String + } + } + + // v1_flow_schema_condition->reason + cJSON *reason = cJSON_GetObjectItemCaseSensitive(v1_flow_schema_conditionJSON, "reason"); + if (reason) { + if(!cJSON_IsString(reason) && !cJSON_IsNull(reason)) + { + goto end; //String + } + } + + // v1_flow_schema_condition->status + cJSON *status = cJSON_GetObjectItemCaseSensitive(v1_flow_schema_conditionJSON, "status"); + if (status) { + if(!cJSON_IsString(status) && !cJSON_IsNull(status)) + { + goto end; //String + } + } + + // v1_flow_schema_condition->type + cJSON *type = cJSON_GetObjectItemCaseSensitive(v1_flow_schema_conditionJSON, "type"); + if (type) { + if(!cJSON_IsString(type) && !cJSON_IsNull(type)) + { + goto end; //String + } + } + + + v1_flow_schema_condition_local_var = v1_flow_schema_condition_create ( + last_transition_time && !cJSON_IsNull(last_transition_time) ? strdup(last_transition_time->valuestring) : NULL, + message && !cJSON_IsNull(message) ? strdup(message->valuestring) : NULL, + reason && !cJSON_IsNull(reason) ? strdup(reason->valuestring) : NULL, + status && !cJSON_IsNull(status) ? strdup(status->valuestring) : NULL, + type && !cJSON_IsNull(type) ? strdup(type->valuestring) : NULL + ); + + return v1_flow_schema_condition_local_var; +end: + return NULL; + +} diff --git a/kubernetes/model/v1_flow_schema_condition.h b/kubernetes/model/v1_flow_schema_condition.h new file mode 100644 index 00000000..ba30bdc7 --- /dev/null +++ b/kubernetes/model/v1_flow_schema_condition.h @@ -0,0 +1,45 @@ +/* + * v1_flow_schema_condition.h + * + * FlowSchemaCondition describes conditions for a FlowSchema. + */ + +#ifndef _v1_flow_schema_condition_H_ +#define _v1_flow_schema_condition_H_ + +#include +#include "../external/cJSON.h" +#include "../include/list.h" +#include "../include/keyValuePair.h" +#include "../include/binary.h" + +typedef struct v1_flow_schema_condition_t v1_flow_schema_condition_t; + + + + +typedef struct v1_flow_schema_condition_t { + char *last_transition_time; //date time + char *message; // string + char *reason; // string + char *status; // string + char *type; // string + +} v1_flow_schema_condition_t; + +v1_flow_schema_condition_t *v1_flow_schema_condition_create( + char *last_transition_time, + char *message, + char *reason, + char *status, + char *type +); + +void v1_flow_schema_condition_free(v1_flow_schema_condition_t *v1_flow_schema_condition); + +v1_flow_schema_condition_t *v1_flow_schema_condition_parseFromJSON(cJSON *v1_flow_schema_conditionJSON); + +cJSON *v1_flow_schema_condition_convertToJSON(v1_flow_schema_condition_t *v1_flow_schema_condition); + +#endif /* _v1_flow_schema_condition_H_ */ + diff --git a/kubernetes/model/v1_flow_schema_list.c b/kubernetes/model/v1_flow_schema_list.c new file mode 100644 index 00000000..25b68455 --- /dev/null +++ b/kubernetes/model/v1_flow_schema_list.c @@ -0,0 +1,197 @@ +#include +#include +#include +#include "v1_flow_schema_list.h" + + + +v1_flow_schema_list_t *v1_flow_schema_list_create( + char *api_version, + list_t *items, + char *kind, + v1_list_meta_t *metadata + ) { + v1_flow_schema_list_t *v1_flow_schema_list_local_var = malloc(sizeof(v1_flow_schema_list_t)); + if (!v1_flow_schema_list_local_var) { + return NULL; + } + v1_flow_schema_list_local_var->api_version = api_version; + v1_flow_schema_list_local_var->items = items; + v1_flow_schema_list_local_var->kind = kind; + v1_flow_schema_list_local_var->metadata = metadata; + + return v1_flow_schema_list_local_var; +} + + +void v1_flow_schema_list_free(v1_flow_schema_list_t *v1_flow_schema_list) { + if(NULL == v1_flow_schema_list){ + return ; + } + listEntry_t *listEntry; + if (v1_flow_schema_list->api_version) { + free(v1_flow_schema_list->api_version); + v1_flow_schema_list->api_version = NULL; + } + if (v1_flow_schema_list->items) { + list_ForEach(listEntry, v1_flow_schema_list->items) { + v1_flow_schema_free(listEntry->data); + } + list_freeList(v1_flow_schema_list->items); + v1_flow_schema_list->items = NULL; + } + if (v1_flow_schema_list->kind) { + free(v1_flow_schema_list->kind); + v1_flow_schema_list->kind = NULL; + } + if (v1_flow_schema_list->metadata) { + v1_list_meta_free(v1_flow_schema_list->metadata); + v1_flow_schema_list->metadata = NULL; + } + free(v1_flow_schema_list); +} + +cJSON *v1_flow_schema_list_convertToJSON(v1_flow_schema_list_t *v1_flow_schema_list) { + cJSON *item = cJSON_CreateObject(); + + // v1_flow_schema_list->api_version + if(v1_flow_schema_list->api_version) { + if(cJSON_AddStringToObject(item, "apiVersion", v1_flow_schema_list->api_version) == NULL) { + goto fail; //String + } + } + + + // v1_flow_schema_list->items + if (!v1_flow_schema_list->items) { + goto fail; + } + cJSON *items = cJSON_AddArrayToObject(item, "items"); + if(items == NULL) { + goto fail; //nonprimitive container + } + + listEntry_t *itemsListEntry; + if (v1_flow_schema_list->items) { + list_ForEach(itemsListEntry, v1_flow_schema_list->items) { + cJSON *itemLocal = v1_flow_schema_convertToJSON(itemsListEntry->data); + if(itemLocal == NULL) { + goto fail; + } + cJSON_AddItemToArray(items, itemLocal); + } + } + + + // v1_flow_schema_list->kind + if(v1_flow_schema_list->kind) { + if(cJSON_AddStringToObject(item, "kind", v1_flow_schema_list->kind) == NULL) { + goto fail; //String + } + } + + + // v1_flow_schema_list->metadata + if(v1_flow_schema_list->metadata) { + cJSON *metadata_local_JSON = v1_list_meta_convertToJSON(v1_flow_schema_list->metadata); + if(metadata_local_JSON == NULL) { + goto fail; //model + } + cJSON_AddItemToObject(item, "metadata", metadata_local_JSON); + if(item->child == NULL) { + goto fail; + } + } + + return item; +fail: + if (item) { + cJSON_Delete(item); + } + return NULL; +} + +v1_flow_schema_list_t *v1_flow_schema_list_parseFromJSON(cJSON *v1_flow_schema_listJSON){ + + v1_flow_schema_list_t *v1_flow_schema_list_local_var = NULL; + + // define the local list for v1_flow_schema_list->items + list_t *itemsList = NULL; + + // define the local variable for v1_flow_schema_list->metadata + v1_list_meta_t *metadata_local_nonprim = NULL; + + // v1_flow_schema_list->api_version + cJSON *api_version = cJSON_GetObjectItemCaseSensitive(v1_flow_schema_listJSON, "apiVersion"); + if (api_version) { + if(!cJSON_IsString(api_version) && !cJSON_IsNull(api_version)) + { + goto end; //String + } + } + + // v1_flow_schema_list->items + cJSON *items = cJSON_GetObjectItemCaseSensitive(v1_flow_schema_listJSON, "items"); + if (!items) { + goto end; + } + + + cJSON *items_local_nonprimitive = NULL; + if(!cJSON_IsArray(items)){ + goto end; //nonprimitive container + } + + itemsList = list_createList(); + + cJSON_ArrayForEach(items_local_nonprimitive,items ) + { + if(!cJSON_IsObject(items_local_nonprimitive)){ + goto end; + } + v1_flow_schema_t *itemsItem = v1_flow_schema_parseFromJSON(items_local_nonprimitive); + + list_addElement(itemsList, itemsItem); + } + + // v1_flow_schema_list->kind + cJSON *kind = cJSON_GetObjectItemCaseSensitive(v1_flow_schema_listJSON, "kind"); + if (kind) { + if(!cJSON_IsString(kind) && !cJSON_IsNull(kind)) + { + goto end; //String + } + } + + // v1_flow_schema_list->metadata + cJSON *metadata = cJSON_GetObjectItemCaseSensitive(v1_flow_schema_listJSON, "metadata"); + if (metadata) { + metadata_local_nonprim = v1_list_meta_parseFromJSON(metadata); //nonprimitive + } + + + v1_flow_schema_list_local_var = v1_flow_schema_list_create ( + api_version && !cJSON_IsNull(api_version) ? strdup(api_version->valuestring) : NULL, + itemsList, + kind && !cJSON_IsNull(kind) ? strdup(kind->valuestring) : NULL, + metadata ? metadata_local_nonprim : NULL + ); + + return v1_flow_schema_list_local_var; +end: + if (itemsList) { + listEntry_t *listEntry = NULL; + list_ForEach(listEntry, itemsList) { + v1_flow_schema_free(listEntry->data); + listEntry->data = NULL; + } + list_freeList(itemsList); + itemsList = NULL; + } + if (metadata_local_nonprim) { + v1_list_meta_free(metadata_local_nonprim); + metadata_local_nonprim = NULL; + } + return NULL; + +} diff --git a/kubernetes/model/v1_flow_schema_list.h b/kubernetes/model/v1_flow_schema_list.h new file mode 100644 index 00000000..ffaa7316 --- /dev/null +++ b/kubernetes/model/v1_flow_schema_list.h @@ -0,0 +1,45 @@ +/* + * v1_flow_schema_list.h + * + * FlowSchemaList is a list of FlowSchema objects. + */ + +#ifndef _v1_flow_schema_list_H_ +#define _v1_flow_schema_list_H_ + +#include +#include "../external/cJSON.h" +#include "../include/list.h" +#include "../include/keyValuePair.h" +#include "../include/binary.h" + +typedef struct v1_flow_schema_list_t v1_flow_schema_list_t; + +#include "v1_flow_schema.h" +#include "v1_list_meta.h" + + + +typedef struct v1_flow_schema_list_t { + char *api_version; // string + list_t *items; //nonprimitive container + char *kind; // string + struct v1_list_meta_t *metadata; //model + +} v1_flow_schema_list_t; + +v1_flow_schema_list_t *v1_flow_schema_list_create( + char *api_version, + list_t *items, + char *kind, + v1_list_meta_t *metadata +); + +void v1_flow_schema_list_free(v1_flow_schema_list_t *v1_flow_schema_list); + +v1_flow_schema_list_t *v1_flow_schema_list_parseFromJSON(cJSON *v1_flow_schema_listJSON); + +cJSON *v1_flow_schema_list_convertToJSON(v1_flow_schema_list_t *v1_flow_schema_list); + +#endif /* _v1_flow_schema_list_H_ */ + diff --git a/kubernetes/model/v1_flow_schema_spec.c b/kubernetes/model/v1_flow_schema_spec.c new file mode 100644 index 00000000..06cec938 --- /dev/null +++ b/kubernetes/model/v1_flow_schema_spec.c @@ -0,0 +1,202 @@ +#include +#include +#include +#include "v1_flow_schema_spec.h" + + + +v1_flow_schema_spec_t *v1_flow_schema_spec_create( + v1_flow_distinguisher_method_t *distinguisher_method, + int matching_precedence, + v1_priority_level_configuration_reference_t *priority_level_configuration, + list_t *rules + ) { + v1_flow_schema_spec_t *v1_flow_schema_spec_local_var = malloc(sizeof(v1_flow_schema_spec_t)); + if (!v1_flow_schema_spec_local_var) { + return NULL; + } + v1_flow_schema_spec_local_var->distinguisher_method = distinguisher_method; + v1_flow_schema_spec_local_var->matching_precedence = matching_precedence; + v1_flow_schema_spec_local_var->priority_level_configuration = priority_level_configuration; + v1_flow_schema_spec_local_var->rules = rules; + + return v1_flow_schema_spec_local_var; +} + + +void v1_flow_schema_spec_free(v1_flow_schema_spec_t *v1_flow_schema_spec) { + if(NULL == v1_flow_schema_spec){ + return ; + } + listEntry_t *listEntry; + if (v1_flow_schema_spec->distinguisher_method) { + v1_flow_distinguisher_method_free(v1_flow_schema_spec->distinguisher_method); + v1_flow_schema_spec->distinguisher_method = NULL; + } + if (v1_flow_schema_spec->priority_level_configuration) { + v1_priority_level_configuration_reference_free(v1_flow_schema_spec->priority_level_configuration); + v1_flow_schema_spec->priority_level_configuration = NULL; + } + if (v1_flow_schema_spec->rules) { + list_ForEach(listEntry, v1_flow_schema_spec->rules) { + v1_policy_rules_with_subjects_free(listEntry->data); + } + list_freeList(v1_flow_schema_spec->rules); + v1_flow_schema_spec->rules = NULL; + } + free(v1_flow_schema_spec); +} + +cJSON *v1_flow_schema_spec_convertToJSON(v1_flow_schema_spec_t *v1_flow_schema_spec) { + cJSON *item = cJSON_CreateObject(); + + // v1_flow_schema_spec->distinguisher_method + if(v1_flow_schema_spec->distinguisher_method) { + cJSON *distinguisher_method_local_JSON = v1_flow_distinguisher_method_convertToJSON(v1_flow_schema_spec->distinguisher_method); + if(distinguisher_method_local_JSON == NULL) { + goto fail; //model + } + cJSON_AddItemToObject(item, "distinguisherMethod", distinguisher_method_local_JSON); + if(item->child == NULL) { + goto fail; + } + } + + + // v1_flow_schema_spec->matching_precedence + if(v1_flow_schema_spec->matching_precedence) { + if(cJSON_AddNumberToObject(item, "matchingPrecedence", v1_flow_schema_spec->matching_precedence) == NULL) { + goto fail; //Numeric + } + } + + + // v1_flow_schema_spec->priority_level_configuration + if (!v1_flow_schema_spec->priority_level_configuration) { + goto fail; + } + cJSON *priority_level_configuration_local_JSON = v1_priority_level_configuration_reference_convertToJSON(v1_flow_schema_spec->priority_level_configuration); + if(priority_level_configuration_local_JSON == NULL) { + goto fail; //model + } + cJSON_AddItemToObject(item, "priorityLevelConfiguration", priority_level_configuration_local_JSON); + if(item->child == NULL) { + goto fail; + } + + + // v1_flow_schema_spec->rules + if(v1_flow_schema_spec->rules) { + cJSON *rules = cJSON_AddArrayToObject(item, "rules"); + if(rules == NULL) { + goto fail; //nonprimitive container + } + + listEntry_t *rulesListEntry; + if (v1_flow_schema_spec->rules) { + list_ForEach(rulesListEntry, v1_flow_schema_spec->rules) { + cJSON *itemLocal = v1_policy_rules_with_subjects_convertToJSON(rulesListEntry->data); + if(itemLocal == NULL) { + goto fail; + } + cJSON_AddItemToArray(rules, itemLocal); + } + } + } + + return item; +fail: + if (item) { + cJSON_Delete(item); + } + return NULL; +} + +v1_flow_schema_spec_t *v1_flow_schema_spec_parseFromJSON(cJSON *v1_flow_schema_specJSON){ + + v1_flow_schema_spec_t *v1_flow_schema_spec_local_var = NULL; + + // define the local variable for v1_flow_schema_spec->distinguisher_method + v1_flow_distinguisher_method_t *distinguisher_method_local_nonprim = NULL; + + // define the local variable for v1_flow_schema_spec->priority_level_configuration + v1_priority_level_configuration_reference_t *priority_level_configuration_local_nonprim = NULL; + + // define the local list for v1_flow_schema_spec->rules + list_t *rulesList = NULL; + + // v1_flow_schema_spec->distinguisher_method + cJSON *distinguisher_method = cJSON_GetObjectItemCaseSensitive(v1_flow_schema_specJSON, "distinguisherMethod"); + if (distinguisher_method) { + distinguisher_method_local_nonprim = v1_flow_distinguisher_method_parseFromJSON(distinguisher_method); //nonprimitive + } + + // v1_flow_schema_spec->matching_precedence + cJSON *matching_precedence = cJSON_GetObjectItemCaseSensitive(v1_flow_schema_specJSON, "matchingPrecedence"); + if (matching_precedence) { + if(!cJSON_IsNumber(matching_precedence)) + { + goto end; //Numeric + } + } + + // v1_flow_schema_spec->priority_level_configuration + cJSON *priority_level_configuration = cJSON_GetObjectItemCaseSensitive(v1_flow_schema_specJSON, "priorityLevelConfiguration"); + if (!priority_level_configuration) { + goto end; + } + + + priority_level_configuration_local_nonprim = v1_priority_level_configuration_reference_parseFromJSON(priority_level_configuration); //nonprimitive + + // v1_flow_schema_spec->rules + cJSON *rules = cJSON_GetObjectItemCaseSensitive(v1_flow_schema_specJSON, "rules"); + if (rules) { + cJSON *rules_local_nonprimitive = NULL; + if(!cJSON_IsArray(rules)){ + goto end; //nonprimitive container + } + + rulesList = list_createList(); + + cJSON_ArrayForEach(rules_local_nonprimitive,rules ) + { + if(!cJSON_IsObject(rules_local_nonprimitive)){ + goto end; + } + v1_policy_rules_with_subjects_t *rulesItem = v1_policy_rules_with_subjects_parseFromJSON(rules_local_nonprimitive); + + list_addElement(rulesList, rulesItem); + } + } + + + v1_flow_schema_spec_local_var = v1_flow_schema_spec_create ( + distinguisher_method ? distinguisher_method_local_nonprim : NULL, + matching_precedence ? matching_precedence->valuedouble : 0, + priority_level_configuration_local_nonprim, + rules ? rulesList : NULL + ); + + return v1_flow_schema_spec_local_var; +end: + if (distinguisher_method_local_nonprim) { + v1_flow_distinguisher_method_free(distinguisher_method_local_nonprim); + distinguisher_method_local_nonprim = NULL; + } + if (priority_level_configuration_local_nonprim) { + v1_priority_level_configuration_reference_free(priority_level_configuration_local_nonprim); + priority_level_configuration_local_nonprim = NULL; + } + if (rulesList) { + listEntry_t *listEntry = NULL; + list_ForEach(listEntry, rulesList) { + v1_policy_rules_with_subjects_free(listEntry->data); + listEntry->data = NULL; + } + list_freeList(rulesList); + rulesList = NULL; + } + return NULL; + +} diff --git a/kubernetes/model/v1_flow_schema_spec.h b/kubernetes/model/v1_flow_schema_spec.h new file mode 100644 index 00000000..90c774a1 --- /dev/null +++ b/kubernetes/model/v1_flow_schema_spec.h @@ -0,0 +1,46 @@ +/* + * v1_flow_schema_spec.h + * + * FlowSchemaSpec describes how the FlowSchema's specification looks like. + */ + +#ifndef _v1_flow_schema_spec_H_ +#define _v1_flow_schema_spec_H_ + +#include +#include "../external/cJSON.h" +#include "../include/list.h" +#include "../include/keyValuePair.h" +#include "../include/binary.h" + +typedef struct v1_flow_schema_spec_t v1_flow_schema_spec_t; + +#include "v1_flow_distinguisher_method.h" +#include "v1_policy_rules_with_subjects.h" +#include "v1_priority_level_configuration_reference.h" + + + +typedef struct v1_flow_schema_spec_t { + struct v1_flow_distinguisher_method_t *distinguisher_method; //model + int matching_precedence; //numeric + struct v1_priority_level_configuration_reference_t *priority_level_configuration; //model + list_t *rules; //nonprimitive container + +} v1_flow_schema_spec_t; + +v1_flow_schema_spec_t *v1_flow_schema_spec_create( + v1_flow_distinguisher_method_t *distinguisher_method, + int matching_precedence, + v1_priority_level_configuration_reference_t *priority_level_configuration, + list_t *rules +); + +void v1_flow_schema_spec_free(v1_flow_schema_spec_t *v1_flow_schema_spec); + +v1_flow_schema_spec_t *v1_flow_schema_spec_parseFromJSON(cJSON *v1_flow_schema_specJSON); + +cJSON *v1_flow_schema_spec_convertToJSON(v1_flow_schema_spec_t *v1_flow_schema_spec); + +#endif /* _v1_flow_schema_spec_H_ */ + diff --git a/kubernetes/model/v1_flow_schema_status.c b/kubernetes/model/v1_flow_schema_status.c new file mode 100644 index 00000000..4fc3b3d5 --- /dev/null +++ b/kubernetes/model/v1_flow_schema_status.c @@ -0,0 +1,112 @@ +#include +#include +#include +#include "v1_flow_schema_status.h" + + + +v1_flow_schema_status_t *v1_flow_schema_status_create( + list_t *conditions + ) { + v1_flow_schema_status_t *v1_flow_schema_status_local_var = malloc(sizeof(v1_flow_schema_status_t)); + if (!v1_flow_schema_status_local_var) { + return NULL; + } + v1_flow_schema_status_local_var->conditions = conditions; + + return v1_flow_schema_status_local_var; +} + + +void v1_flow_schema_status_free(v1_flow_schema_status_t *v1_flow_schema_status) { + if(NULL == v1_flow_schema_status){ + return ; + } + listEntry_t *listEntry; + if (v1_flow_schema_status->conditions) { + list_ForEach(listEntry, v1_flow_schema_status->conditions) { + v1_flow_schema_condition_free(listEntry->data); + } + list_freeList(v1_flow_schema_status->conditions); + v1_flow_schema_status->conditions = NULL; + } + free(v1_flow_schema_status); +} + +cJSON *v1_flow_schema_status_convertToJSON(v1_flow_schema_status_t *v1_flow_schema_status) { + cJSON *item = cJSON_CreateObject(); + + // v1_flow_schema_status->conditions + if(v1_flow_schema_status->conditions) { + cJSON *conditions = cJSON_AddArrayToObject(item, "conditions"); + if(conditions == NULL) { + goto fail; //nonprimitive container + } + + listEntry_t *conditionsListEntry; + if (v1_flow_schema_status->conditions) { + list_ForEach(conditionsListEntry, v1_flow_schema_status->conditions) { + cJSON *itemLocal = v1_flow_schema_condition_convertToJSON(conditionsListEntry->data); + if(itemLocal == NULL) { + goto fail; + } + cJSON_AddItemToArray(conditions, itemLocal); + } + } + } + + return item; +fail: + if (item) { + cJSON_Delete(item); + } + return NULL; +} + +v1_flow_schema_status_t *v1_flow_schema_status_parseFromJSON(cJSON *v1_flow_schema_statusJSON){ + + v1_flow_schema_status_t *v1_flow_schema_status_local_var = NULL; + + // define the local list for v1_flow_schema_status->conditions + list_t *conditionsList = NULL; + + // v1_flow_schema_status->conditions + cJSON *conditions = cJSON_GetObjectItemCaseSensitive(v1_flow_schema_statusJSON, "conditions"); + if (conditions) { + cJSON *conditions_local_nonprimitive = NULL; + if(!cJSON_IsArray(conditions)){ + goto end; //nonprimitive container + } + + conditionsList = list_createList(); + + cJSON_ArrayForEach(conditions_local_nonprimitive,conditions ) + { + if(!cJSON_IsObject(conditions_local_nonprimitive)){ + goto end; + } + v1_flow_schema_condition_t *conditionsItem = v1_flow_schema_condition_parseFromJSON(conditions_local_nonprimitive); + + list_addElement(conditionsList, conditionsItem); + } + } + + + v1_flow_schema_status_local_var = v1_flow_schema_status_create ( + conditions ? conditionsList : NULL + ); + + return v1_flow_schema_status_local_var; +end: + if (conditionsList) { + listEntry_t *listEntry = NULL; + list_ForEach(listEntry, conditionsList) { + v1_flow_schema_condition_free(listEntry->data); + listEntry->data = NULL; + } + list_freeList(conditionsList); + conditionsList = NULL; + } + return NULL; + +} diff --git a/kubernetes/model/v1_flow_schema_status.h b/kubernetes/model/v1_flow_schema_status.h new file mode 100644 index 00000000..bdd919a9 --- /dev/null +++ b/kubernetes/model/v1_flow_schema_status.h @@ -0,0 +1,38 @@ +/* + * v1_flow_schema_status.h + * + * FlowSchemaStatus represents the current state of a FlowSchema. + */ + +#ifndef _v1_flow_schema_status_H_ +#define _v1_flow_schema_status_H_ + +#include +#include "../external/cJSON.h" +#include "../include/list.h" +#include "../include/keyValuePair.h" +#include "../include/binary.h" + +typedef struct v1_flow_schema_status_t v1_flow_schema_status_t; + +#include "v1_flow_schema_condition.h" + + + +typedef struct v1_flow_schema_status_t { + list_t *conditions; //nonprimitive container + +} v1_flow_schema_status_t; + +v1_flow_schema_status_t *v1_flow_schema_status_create( + list_t *conditions +); + +void v1_flow_schema_status_free(v1_flow_schema_status_t *v1_flow_schema_status); + +v1_flow_schema_status_t *v1_flow_schema_status_parseFromJSON(cJSON *v1_flow_schema_statusJSON); + +cJSON *v1_flow_schema_status_convertToJSON(v1_flow_schema_status_t *v1_flow_schema_status); + +#endif /* _v1_flow_schema_status_H_ */ + diff --git a/kubernetes/model/v1_group_subject.c b/kubernetes/model/v1_group_subject.c new file mode 100644 index 00000000..cc13b333 --- /dev/null +++ b/kubernetes/model/v1_group_subject.c @@ -0,0 +1,77 @@ +#include +#include +#include +#include "v1_group_subject.h" + + + +v1_group_subject_t *v1_group_subject_create( + char *name + ) { + v1_group_subject_t *v1_group_subject_local_var = malloc(sizeof(v1_group_subject_t)); + if (!v1_group_subject_local_var) { + return NULL; + } + v1_group_subject_local_var->name = name; + + return v1_group_subject_local_var; +} + + +void v1_group_subject_free(v1_group_subject_t *v1_group_subject) { + if(NULL == v1_group_subject){ + return ; + } + listEntry_t *listEntry; + if (v1_group_subject->name) { + free(v1_group_subject->name); + v1_group_subject->name = NULL; + } + free(v1_group_subject); +} + +cJSON *v1_group_subject_convertToJSON(v1_group_subject_t *v1_group_subject) { + cJSON *item = cJSON_CreateObject(); + + // v1_group_subject->name + if (!v1_group_subject->name) { + goto fail; + } + if(cJSON_AddStringToObject(item, "name", v1_group_subject->name) == NULL) { + goto fail; //String + } + + return item; +fail: + if (item) { + cJSON_Delete(item); + } + return NULL; +} + +v1_group_subject_t *v1_group_subject_parseFromJSON(cJSON *v1_group_subjectJSON){ + + v1_group_subject_t *v1_group_subject_local_var = NULL; + + // v1_group_subject->name + cJSON *name = cJSON_GetObjectItemCaseSensitive(v1_group_subjectJSON, "name"); + if (!name) { + goto end; + } + + + if(!cJSON_IsString(name)) + { + goto end; //String + } + + + v1_group_subject_local_var = v1_group_subject_create ( + strdup(name->valuestring) + ); + + return v1_group_subject_local_var; +end: + return NULL; + +} diff --git a/kubernetes/model/v1_group_subject.h b/kubernetes/model/v1_group_subject.h new file mode 100644 index 00000000..1e66fbc7 --- /dev/null +++ b/kubernetes/model/v1_group_subject.h @@ -0,0 +1,37 @@ +/* + * v1_group_subject.h + * + * GroupSubject holds detailed information for group-kind subject. + */ + +#ifndef _v1_group_subject_H_ +#define _v1_group_subject_H_ + +#include +#include "../external/cJSON.h" +#include "../include/list.h" +#include "../include/keyValuePair.h" +#include "../include/binary.h" + +typedef struct v1_group_subject_t v1_group_subject_t; + + + + +typedef struct v1_group_subject_t { + char *name; // string + +} v1_group_subject_t; + +v1_group_subject_t *v1_group_subject_create( + char *name +); + +void v1_group_subject_free(v1_group_subject_t *v1_group_subject); + +v1_group_subject_t *v1_group_subject_parseFromJSON(cJSON *v1_group_subjectJSON); + +cJSON *v1_group_subject_convertToJSON(v1_group_subject_t *v1_group_subject); + +#endif /* _v1_group_subject_H_ */ + diff --git a/kubernetes/model/v1_lifecycle_handler.c b/kubernetes/model/v1_lifecycle_handler.c index f3882eb1..76c951a2 100644 --- a/kubernetes/model/v1_lifecycle_handler.c +++ b/kubernetes/model/v1_lifecycle_handler.c @@ -8,6 +8,7 @@ v1_lifecycle_handler_t *v1_lifecycle_handler_create( v1_exec_action_t *exec, v1_http_get_action_t *http_get, + v1_sleep_action_t *sleep, v1_tcp_socket_action_t *tcp_socket ) { v1_lifecycle_handler_t *v1_lifecycle_handler_local_var = malloc(sizeof(v1_lifecycle_handler_t)); @@ -16,6 +17,7 @@ v1_lifecycle_handler_t *v1_lifecycle_handler_create( } v1_lifecycle_handler_local_var->exec = exec; v1_lifecycle_handler_local_var->http_get = http_get; + v1_lifecycle_handler_local_var->sleep = sleep; v1_lifecycle_handler_local_var->tcp_socket = tcp_socket; return v1_lifecycle_handler_local_var; @@ -35,6 +37,10 @@ void v1_lifecycle_handler_free(v1_lifecycle_handler_t *v1_lifecycle_handler) { v1_http_get_action_free(v1_lifecycle_handler->http_get); v1_lifecycle_handler->http_get = NULL; } + if (v1_lifecycle_handler->sleep) { + v1_sleep_action_free(v1_lifecycle_handler->sleep); + v1_lifecycle_handler->sleep = NULL; + } if (v1_lifecycle_handler->tcp_socket) { v1_tcp_socket_action_free(v1_lifecycle_handler->tcp_socket); v1_lifecycle_handler->tcp_socket = NULL; @@ -71,6 +77,19 @@ cJSON *v1_lifecycle_handler_convertToJSON(v1_lifecycle_handler_t *v1_lifecycle_h } + // v1_lifecycle_handler->sleep + if(v1_lifecycle_handler->sleep) { + cJSON *sleep_local_JSON = v1_sleep_action_convertToJSON(v1_lifecycle_handler->sleep); + if(sleep_local_JSON == NULL) { + goto fail; //model + } + cJSON_AddItemToObject(item, "sleep", sleep_local_JSON); + if(item->child == NULL) { + goto fail; + } + } + + // v1_lifecycle_handler->tcp_socket if(v1_lifecycle_handler->tcp_socket) { cJSON *tcp_socket_local_JSON = v1_tcp_socket_action_convertToJSON(v1_lifecycle_handler->tcp_socket); @@ -101,6 +120,9 @@ v1_lifecycle_handler_t *v1_lifecycle_handler_parseFromJSON(cJSON *v1_lifecycle_h // define the local variable for v1_lifecycle_handler->http_get v1_http_get_action_t *http_get_local_nonprim = NULL; + // define the local variable for v1_lifecycle_handler->sleep + v1_sleep_action_t *sleep_local_nonprim = NULL; + // define the local variable for v1_lifecycle_handler->tcp_socket v1_tcp_socket_action_t *tcp_socket_local_nonprim = NULL; @@ -116,6 +138,12 @@ v1_lifecycle_handler_t *v1_lifecycle_handler_parseFromJSON(cJSON *v1_lifecycle_h http_get_local_nonprim = v1_http_get_action_parseFromJSON(http_get); //nonprimitive } + // v1_lifecycle_handler->sleep + cJSON *sleep = cJSON_GetObjectItemCaseSensitive(v1_lifecycle_handlerJSON, "sleep"); + if (sleep) { + sleep_local_nonprim = v1_sleep_action_parseFromJSON(sleep); //nonprimitive + } + // v1_lifecycle_handler->tcp_socket cJSON *tcp_socket = cJSON_GetObjectItemCaseSensitive(v1_lifecycle_handlerJSON, "tcpSocket"); if (tcp_socket) { @@ -126,6 +154,7 @@ v1_lifecycle_handler_t *v1_lifecycle_handler_parseFromJSON(cJSON *v1_lifecycle_h v1_lifecycle_handler_local_var = v1_lifecycle_handler_create ( exec ? exec_local_nonprim : NULL, http_get ? http_get_local_nonprim : NULL, + sleep ? sleep_local_nonprim : NULL, tcp_socket ? tcp_socket_local_nonprim : NULL ); @@ -139,6 +168,10 @@ v1_lifecycle_handler_t *v1_lifecycle_handler_parseFromJSON(cJSON *v1_lifecycle_h v1_http_get_action_free(http_get_local_nonprim); http_get_local_nonprim = NULL; } + if (sleep_local_nonprim) { + v1_sleep_action_free(sleep_local_nonprim); + sleep_local_nonprim = NULL; + } if (tcp_socket_local_nonprim) { v1_tcp_socket_action_free(tcp_socket_local_nonprim); tcp_socket_local_nonprim = NULL; diff --git a/kubernetes/model/v1_lifecycle_handler.h b/kubernetes/model/v1_lifecycle_handler.h index 25e0524e..9294a3b4 100644 --- a/kubernetes/model/v1_lifecycle_handler.h +++ b/kubernetes/model/v1_lifecycle_handler.h @@ -17,6 +17,7 @@ typedef struct v1_lifecycle_handler_t v1_lifecycle_handler_t; #include "v1_exec_action.h" #include "v1_http_get_action.h" +#include "v1_sleep_action.h" #include "v1_tcp_socket_action.h" @@ -24,6 +25,7 @@ typedef struct v1_lifecycle_handler_t v1_lifecycle_handler_t; typedef struct v1_lifecycle_handler_t { struct v1_exec_action_t *exec; //model struct v1_http_get_action_t *http_get; //model + struct v1_sleep_action_t *sleep; //model struct v1_tcp_socket_action_t *tcp_socket; //model } v1_lifecycle_handler_t; @@ -31,6 +33,7 @@ typedef struct v1_lifecycle_handler_t { v1_lifecycle_handler_t *v1_lifecycle_handler_create( v1_exec_action_t *exec, v1_http_get_action_t *http_get, + v1_sleep_action_t *sleep, v1_tcp_socket_action_t *tcp_socket ); diff --git a/kubernetes/model/v1_limit_response.c b/kubernetes/model/v1_limit_response.c new file mode 100644 index 00000000..70c4bfbe --- /dev/null +++ b/kubernetes/model/v1_limit_response.c @@ -0,0 +1,110 @@ +#include +#include +#include +#include "v1_limit_response.h" + + + +v1_limit_response_t *v1_limit_response_create( + v1_queuing_configuration_t *queuing, + char *type + ) { + v1_limit_response_t *v1_limit_response_local_var = malloc(sizeof(v1_limit_response_t)); + if (!v1_limit_response_local_var) { + return NULL; + } + v1_limit_response_local_var->queuing = queuing; + v1_limit_response_local_var->type = type; + + return v1_limit_response_local_var; +} + + +void v1_limit_response_free(v1_limit_response_t *v1_limit_response) { + if(NULL == v1_limit_response){ + return ; + } + listEntry_t *listEntry; + if (v1_limit_response->queuing) { + v1_queuing_configuration_free(v1_limit_response->queuing); + v1_limit_response->queuing = NULL; + } + if (v1_limit_response->type) { + free(v1_limit_response->type); + v1_limit_response->type = NULL; + } + free(v1_limit_response); +} + +cJSON *v1_limit_response_convertToJSON(v1_limit_response_t *v1_limit_response) { + cJSON *item = cJSON_CreateObject(); + + // v1_limit_response->queuing + if(v1_limit_response->queuing) { + cJSON *queuing_local_JSON = v1_queuing_configuration_convertToJSON(v1_limit_response->queuing); + if(queuing_local_JSON == NULL) { + goto fail; //model + } + cJSON_AddItemToObject(item, "queuing", queuing_local_JSON); + if(item->child == NULL) { + goto fail; + } + } + + + // v1_limit_response->type + if (!v1_limit_response->type) { + goto fail; + } + if(cJSON_AddStringToObject(item, "type", v1_limit_response->type) == NULL) { + goto fail; //String + } + + return item; +fail: + if (item) { + cJSON_Delete(item); + } + return NULL; +} + +v1_limit_response_t *v1_limit_response_parseFromJSON(cJSON *v1_limit_responseJSON){ + + v1_limit_response_t *v1_limit_response_local_var = NULL; + + // define the local variable for v1_limit_response->queuing + v1_queuing_configuration_t *queuing_local_nonprim = NULL; + + // v1_limit_response->queuing + cJSON *queuing = cJSON_GetObjectItemCaseSensitive(v1_limit_responseJSON, "queuing"); + if (queuing) { + queuing_local_nonprim = v1_queuing_configuration_parseFromJSON(queuing); //nonprimitive + } + + // v1_limit_response->type + cJSON *type = cJSON_GetObjectItemCaseSensitive(v1_limit_responseJSON, "type"); + if (!type) { + goto end; + } + + + if(!cJSON_IsString(type)) + { + goto end; //String + } + + + v1_limit_response_local_var = v1_limit_response_create ( + queuing ? queuing_local_nonprim : NULL, + strdup(type->valuestring) + ); + + return v1_limit_response_local_var; +end: + if (queuing_local_nonprim) { + v1_queuing_configuration_free(queuing_local_nonprim); + queuing_local_nonprim = NULL; + } + return NULL; + +} diff --git a/kubernetes/model/v1_limit_response.h b/kubernetes/model/v1_limit_response.h new file mode 100644 index 00000000..1657d12f --- /dev/null +++ b/kubernetes/model/v1_limit_response.h @@ -0,0 +1,40 @@ +/* + * v1_limit_response.h + * + * LimitResponse defines how to handle requests that can not be executed right now. + */ + +#ifndef _v1_limit_response_H_ +#define _v1_limit_response_H_ + +#include +#include "../external/cJSON.h" +#include "../include/list.h" +#include "../include/keyValuePair.h" +#include "../include/binary.h" + +typedef struct v1_limit_response_t v1_limit_response_t; + +#include "v1_queuing_configuration.h" + + + +typedef struct v1_limit_response_t { + struct v1_queuing_configuration_t *queuing; //model + char *type; // string + +} v1_limit_response_t; + +v1_limit_response_t *v1_limit_response_create( + v1_queuing_configuration_t *queuing, + char *type +); + +void v1_limit_response_free(v1_limit_response_t *v1_limit_response); + +v1_limit_response_t *v1_limit_response_parseFromJSON(cJSON *v1_limit_responseJSON); + +cJSON *v1_limit_response_convertToJSON(v1_limit_response_t *v1_limit_response); + +#endif /* _v1_limit_response_H_ */ + diff --git a/kubernetes/model/v1_limited_priority_level_configuration.c b/kubernetes/model/v1_limited_priority_level_configuration.c new file mode 100644 index 00000000..fa355a6c --- /dev/null +++ b/kubernetes/model/v1_limited_priority_level_configuration.c @@ -0,0 +1,142 @@ +#include +#include +#include +#include "v1_limited_priority_level_configuration.h" + + + +v1_limited_priority_level_configuration_t *v1_limited_priority_level_configuration_create( + int borrowing_limit_percent, + int lendable_percent, + v1_limit_response_t *limit_response, + int nominal_concurrency_shares + ) { + v1_limited_priority_level_configuration_t *v1_limited_priority_level_configuration_local_var = malloc(sizeof(v1_limited_priority_level_configuration_t)); + if (!v1_limited_priority_level_configuration_local_var) { + return NULL; + } + v1_limited_priority_level_configuration_local_var->borrowing_limit_percent = borrowing_limit_percent; + v1_limited_priority_level_configuration_local_var->lendable_percent = lendable_percent; + v1_limited_priority_level_configuration_local_var->limit_response = limit_response; + v1_limited_priority_level_configuration_local_var->nominal_concurrency_shares = nominal_concurrency_shares; + + return v1_limited_priority_level_configuration_local_var; +} + + +void v1_limited_priority_level_configuration_free(v1_limited_priority_level_configuration_t *v1_limited_priority_level_configuration) { + if(NULL == v1_limited_priority_level_configuration){ + return ; + } + listEntry_t *listEntry; + if (v1_limited_priority_level_configuration->limit_response) { + v1_limit_response_free(v1_limited_priority_level_configuration->limit_response); + v1_limited_priority_level_configuration->limit_response = NULL; + } + free(v1_limited_priority_level_configuration); +} + +cJSON *v1_limited_priority_level_configuration_convertToJSON(v1_limited_priority_level_configuration_t *v1_limited_priority_level_configuration) { + cJSON *item = cJSON_CreateObject(); + + // v1_limited_priority_level_configuration->borrowing_limit_percent + if(v1_limited_priority_level_configuration->borrowing_limit_percent) { + if(cJSON_AddNumberToObject(item, "borrowingLimitPercent", v1_limited_priority_level_configuration->borrowing_limit_percent) == NULL) { + goto fail; //Numeric + } + } + + + // v1_limited_priority_level_configuration->lendable_percent + if(v1_limited_priority_level_configuration->lendable_percent) { + if(cJSON_AddNumberToObject(item, "lendablePercent", v1_limited_priority_level_configuration->lendable_percent) == NULL) { + goto fail; //Numeric + } + } + + + // v1_limited_priority_level_configuration->limit_response + if(v1_limited_priority_level_configuration->limit_response) { + cJSON *limit_response_local_JSON = v1_limit_response_convertToJSON(v1_limited_priority_level_configuration->limit_response); + if(limit_response_local_JSON == NULL) { + goto fail; //model + } + cJSON_AddItemToObject(item, "limitResponse", limit_response_local_JSON); + if(item->child == NULL) { + goto fail; + } + } + + + // v1_limited_priority_level_configuration->nominal_concurrency_shares + if(v1_limited_priority_level_configuration->nominal_concurrency_shares) { + if(cJSON_AddNumberToObject(item, "nominalConcurrencyShares", v1_limited_priority_level_configuration->nominal_concurrency_shares) == NULL) { + goto fail; //Numeric + } + } + + return item; +fail: + if (item) { + cJSON_Delete(item); + } + return NULL; +} + +v1_limited_priority_level_configuration_t *v1_limited_priority_level_configuration_parseFromJSON(cJSON *v1_limited_priority_level_configurationJSON){ + + v1_limited_priority_level_configuration_t *v1_limited_priority_level_configuration_local_var = NULL; + + // define the local variable for v1_limited_priority_level_configuration->limit_response + v1_limit_response_t *limit_response_local_nonprim = NULL; + + // v1_limited_priority_level_configuration->borrowing_limit_percent + cJSON *borrowing_limit_percent = cJSON_GetObjectItemCaseSensitive(v1_limited_priority_level_configurationJSON, "borrowingLimitPercent"); + if (borrowing_limit_percent) { + if(!cJSON_IsNumber(borrowing_limit_percent)) + { + goto end; //Numeric + } + } + + // v1_limited_priority_level_configuration->lendable_percent + cJSON *lendable_percent = cJSON_GetObjectItemCaseSensitive(v1_limited_priority_level_configurationJSON, "lendablePercent"); + if (lendable_percent) { + if(!cJSON_IsNumber(lendable_percent)) + { + goto end; //Numeric + } + } + + // v1_limited_priority_level_configuration->limit_response + cJSON *limit_response = cJSON_GetObjectItemCaseSensitive(v1_limited_priority_level_configurationJSON, "limitResponse"); + if (limit_response) { + limit_response_local_nonprim = v1_limit_response_parseFromJSON(limit_response); //nonprimitive + } + + // v1_limited_priority_level_configuration->nominal_concurrency_shares + cJSON *nominal_concurrency_shares = cJSON_GetObjectItemCaseSensitive(v1_limited_priority_level_configurationJSON, "nominalConcurrencyShares"); + if (nominal_concurrency_shares) { + if(!cJSON_IsNumber(nominal_concurrency_shares)) + { + goto end; //Numeric + } + } + + + v1_limited_priority_level_configuration_local_var = v1_limited_priority_level_configuration_create ( + borrowing_limit_percent ? borrowing_limit_percent->valuedouble : 0, + lendable_percent ? lendable_percent->valuedouble : 0, + limit_response ? limit_response_local_nonprim : NULL, + nominal_concurrency_shares ? nominal_concurrency_shares->valuedouble : 0 + ); + + return v1_limited_priority_level_configuration_local_var; +end: + if (limit_response_local_nonprim) { + v1_limit_response_free(limit_response_local_nonprim); + limit_response_local_nonprim = NULL; + } + return NULL; + +} diff --git a/kubernetes/model/v1_limited_priority_level_configuration.h b/kubernetes/model/v1_limited_priority_level_configuration.h new file mode 100644 index 00000000..7ece176a --- /dev/null +++ b/kubernetes/model/v1_limited_priority_level_configuration.h @@ -0,0 +1,44 @@ +/* + * v1_limited_priority_level_configuration.h + * + * LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues: - How are requests for this priority level limited? - What should be done with requests that exceed the limit? + */ + +#ifndef _v1_limited_priority_level_configuration_H_ +#define _v1_limited_priority_level_configuration_H_ + +#include +#include "../external/cJSON.h" +#include "../include/list.h" +#include "../include/keyValuePair.h" +#include "../include/binary.h" + +typedef struct v1_limited_priority_level_configuration_t v1_limited_priority_level_configuration_t; + +#include "v1_limit_response.h" + + + +typedef struct v1_limited_priority_level_configuration_t { + int borrowing_limit_percent; //numeric + int lendable_percent; //numeric + struct v1_limit_response_t *limit_response; //model + int nominal_concurrency_shares; //numeric + +} v1_limited_priority_level_configuration_t; + +v1_limited_priority_level_configuration_t *v1_limited_priority_level_configuration_create( + int borrowing_limit_percent, + int lendable_percent, + v1_limit_response_t *limit_response, + int nominal_concurrency_shares +); + +void v1_limited_priority_level_configuration_free(v1_limited_priority_level_configuration_t *v1_limited_priority_level_configuration); + +v1_limited_priority_level_configuration_t *v1_limited_priority_level_configuration_parseFromJSON(cJSON *v1_limited_priority_level_configurationJSON); + +cJSON *v1_limited_priority_level_configuration_convertToJSON(v1_limited_priority_level_configuration_t *v1_limited_priority_level_configuration); + +#endif /* _v1_limited_priority_level_configuration_H_ */ + diff --git a/kubernetes/model/v1_load_balancer_ingress.c b/kubernetes/model/v1_load_balancer_ingress.c index bc80c160..c23e1460 100644 --- a/kubernetes/model/v1_load_balancer_ingress.c +++ b/kubernetes/model/v1_load_balancer_ingress.c @@ -8,6 +8,7 @@ v1_load_balancer_ingress_t *v1_load_balancer_ingress_create( char *hostname, char *ip, + char *ip_mode, list_t *ports ) { v1_load_balancer_ingress_t *v1_load_balancer_ingress_local_var = malloc(sizeof(v1_load_balancer_ingress_t)); @@ -16,6 +17,7 @@ v1_load_balancer_ingress_t *v1_load_balancer_ingress_create( } v1_load_balancer_ingress_local_var->hostname = hostname; v1_load_balancer_ingress_local_var->ip = ip; + v1_load_balancer_ingress_local_var->ip_mode = ip_mode; v1_load_balancer_ingress_local_var->ports = ports; return v1_load_balancer_ingress_local_var; @@ -35,6 +37,10 @@ void v1_load_balancer_ingress_free(v1_load_balancer_ingress_t *v1_load_balancer_ free(v1_load_balancer_ingress->ip); v1_load_balancer_ingress->ip = NULL; } + if (v1_load_balancer_ingress->ip_mode) { + free(v1_load_balancer_ingress->ip_mode); + v1_load_balancer_ingress->ip_mode = NULL; + } if (v1_load_balancer_ingress->ports) { list_ForEach(listEntry, v1_load_balancer_ingress->ports) { v1_port_status_free(listEntry->data); @@ -64,6 +70,14 @@ cJSON *v1_load_balancer_ingress_convertToJSON(v1_load_balancer_ingress_t *v1_loa } + // v1_load_balancer_ingress->ip_mode + if(v1_load_balancer_ingress->ip_mode) { + if(cJSON_AddStringToObject(item, "ipMode", v1_load_balancer_ingress->ip_mode) == NULL) { + goto fail; //String + } + } + + // v1_load_balancer_ingress->ports if(v1_load_balancer_ingress->ports) { cJSON *ports = cJSON_AddArrayToObject(item, "ports"); @@ -116,6 +130,15 @@ v1_load_balancer_ingress_t *v1_load_balancer_ingress_parseFromJSON(cJSON *v1_loa } } + // v1_load_balancer_ingress->ip_mode + cJSON *ip_mode = cJSON_GetObjectItemCaseSensitive(v1_load_balancer_ingressJSON, "ipMode"); + if (ip_mode) { + if(!cJSON_IsString(ip_mode) && !cJSON_IsNull(ip_mode)) + { + goto end; //String + } + } + // v1_load_balancer_ingress->ports cJSON *ports = cJSON_GetObjectItemCaseSensitive(v1_load_balancer_ingressJSON, "ports"); if (ports) { @@ -141,6 +164,7 @@ v1_load_balancer_ingress_t *v1_load_balancer_ingress_parseFromJSON(cJSON *v1_loa v1_load_balancer_ingress_local_var = v1_load_balancer_ingress_create ( hostname && !cJSON_IsNull(hostname) ? strdup(hostname->valuestring) : NULL, ip && !cJSON_IsNull(ip) ? strdup(ip->valuestring) : NULL, + ip_mode && !cJSON_IsNull(ip_mode) ? strdup(ip_mode->valuestring) : NULL, ports ? portsList : NULL ); diff --git a/kubernetes/model/v1_load_balancer_ingress.h b/kubernetes/model/v1_load_balancer_ingress.h index 40a29f63..c0842135 100644 --- a/kubernetes/model/v1_load_balancer_ingress.h +++ b/kubernetes/model/v1_load_balancer_ingress.h @@ -22,6 +22,7 @@ typedef struct v1_load_balancer_ingress_t v1_load_balancer_ingress_t; typedef struct v1_load_balancer_ingress_t { char *hostname; // string char *ip; // string + char *ip_mode; // string list_t *ports; //nonprimitive container } v1_load_balancer_ingress_t; @@ -29,6 +30,7 @@ typedef struct v1_load_balancer_ingress_t { v1_load_balancer_ingress_t *v1_load_balancer_ingress_create( char *hostname, char *ip, + char *ip_mode, list_t *ports ); diff --git a/kubernetes/model/v1_modify_volume_status.c b/kubernetes/model/v1_modify_volume_status.c new file mode 100644 index 00000000..0ee6cb3f --- /dev/null +++ b/kubernetes/model/v1_modify_volume_status.c @@ -0,0 +1,101 @@ +#include +#include +#include +#include "v1_modify_volume_status.h" + + + +v1_modify_volume_status_t *v1_modify_volume_status_create( + char *status, + char *target_volume_attributes_class_name + ) { + v1_modify_volume_status_t *v1_modify_volume_status_local_var = malloc(sizeof(v1_modify_volume_status_t)); + if (!v1_modify_volume_status_local_var) { + return NULL; + } + v1_modify_volume_status_local_var->status = status; + v1_modify_volume_status_local_var->target_volume_attributes_class_name = target_volume_attributes_class_name; + + return v1_modify_volume_status_local_var; +} + + +void v1_modify_volume_status_free(v1_modify_volume_status_t *v1_modify_volume_status) { + if(NULL == v1_modify_volume_status){ + return ; + } + listEntry_t *listEntry; + if (v1_modify_volume_status->status) { + free(v1_modify_volume_status->status); + v1_modify_volume_status->status = NULL; + } + if (v1_modify_volume_status->target_volume_attributes_class_name) { + free(v1_modify_volume_status->target_volume_attributes_class_name); + v1_modify_volume_status->target_volume_attributes_class_name = NULL; + } + free(v1_modify_volume_status); +} + +cJSON *v1_modify_volume_status_convertToJSON(v1_modify_volume_status_t *v1_modify_volume_status) { + cJSON *item = cJSON_CreateObject(); + + // v1_modify_volume_status->status + if (!v1_modify_volume_status->status) { + goto fail; + } + if(cJSON_AddStringToObject(item, "status", v1_modify_volume_status->status) == NULL) { + goto fail; //String + } + + + // v1_modify_volume_status->target_volume_attributes_class_name + if(v1_modify_volume_status->target_volume_attributes_class_name) { + if(cJSON_AddStringToObject(item, "targetVolumeAttributesClassName", v1_modify_volume_status->target_volume_attributes_class_name) == NULL) { + goto fail; //String + } + } + + return item; +fail: + if (item) { + cJSON_Delete(item); + } + return NULL; +} + +v1_modify_volume_status_t *v1_modify_volume_status_parseFromJSON(cJSON *v1_modify_volume_statusJSON){ + + v1_modify_volume_status_t *v1_modify_volume_status_local_var = NULL; + + // v1_modify_volume_status->status + cJSON *status = cJSON_GetObjectItemCaseSensitive(v1_modify_volume_statusJSON, "status"); + if (!status) { + goto end; + } + + + if(!cJSON_IsString(status)) + { + goto end; //String + } + + // v1_modify_volume_status->target_volume_attributes_class_name + cJSON *target_volume_attributes_class_name = cJSON_GetObjectItemCaseSensitive(v1_modify_volume_statusJSON, "targetVolumeAttributesClassName"); + if (target_volume_attributes_class_name) { + if(!cJSON_IsString(target_volume_attributes_class_name) && !cJSON_IsNull(target_volume_attributes_class_name)) + { + goto end; //String + } + } + + + v1_modify_volume_status_local_var = v1_modify_volume_status_create ( + strdup(status->valuestring), + target_volume_attributes_class_name && !cJSON_IsNull(target_volume_attributes_class_name) ? strdup(target_volume_attributes_class_name->valuestring) : NULL + ); + + return v1_modify_volume_status_local_var; +end: + return NULL; + +} diff --git a/kubernetes/model/v1_modify_volume_status.h b/kubernetes/model/v1_modify_volume_status.h new file mode 100644 index 00000000..a24aad32 --- /dev/null +++ b/kubernetes/model/v1_modify_volume_status.h @@ -0,0 +1,39 @@ +/* + * v1_modify_volume_status.h + * + * ModifyVolumeStatus represents the status object of ControllerModifyVolume operation + */ + +#ifndef _v1_modify_volume_status_H_ +#define _v1_modify_volume_status_H_ + +#include +#include "../external/cJSON.h" +#include "../include/list.h" +#include "../include/keyValuePair.h" +#include "../include/binary.h" + +typedef struct v1_modify_volume_status_t v1_modify_volume_status_t; + + + + +typedef struct v1_modify_volume_status_t { + char *status; // string + char *target_volume_attributes_class_name; // string + +} v1_modify_volume_status_t; + +v1_modify_volume_status_t *v1_modify_volume_status_create( + char *status, + char *target_volume_attributes_class_name +); + +void v1_modify_volume_status_free(v1_modify_volume_status_t *v1_modify_volume_status); + +v1_modify_volume_status_t *v1_modify_volume_status_parseFromJSON(cJSON *v1_modify_volume_statusJSON); + +cJSON *v1_modify_volume_status_convertToJSON(v1_modify_volume_status_t *v1_modify_volume_status); + +#endif /* _v1_modify_volume_status_H_ */ + diff --git a/kubernetes/model/v1beta2_non_resource_policy_rule.c b/kubernetes/model/v1_non_resource_policy_rule.c similarity index 52% rename from kubernetes/model/v1beta2_non_resource_policy_rule.c rename to kubernetes/model/v1_non_resource_policy_rule.c index aed39890..9066c751 100644 --- a/kubernetes/model/v1beta2_non_resource_policy_rule.c +++ b/kubernetes/model/v1_non_resource_policy_rule.c @@ -1,52 +1,52 @@ #include #include #include -#include "v1beta2_non_resource_policy_rule.h" +#include "v1_non_resource_policy_rule.h" -v1beta2_non_resource_policy_rule_t *v1beta2_non_resource_policy_rule_create( +v1_non_resource_policy_rule_t *v1_non_resource_policy_rule_create( list_t *non_resource_urls, list_t *verbs ) { - v1beta2_non_resource_policy_rule_t *v1beta2_non_resource_policy_rule_local_var = malloc(sizeof(v1beta2_non_resource_policy_rule_t)); - if (!v1beta2_non_resource_policy_rule_local_var) { + v1_non_resource_policy_rule_t *v1_non_resource_policy_rule_local_var = malloc(sizeof(v1_non_resource_policy_rule_t)); + if (!v1_non_resource_policy_rule_local_var) { return NULL; } - v1beta2_non_resource_policy_rule_local_var->non_resource_urls = non_resource_urls; - v1beta2_non_resource_policy_rule_local_var->verbs = verbs; + v1_non_resource_policy_rule_local_var->non_resource_urls = non_resource_urls; + v1_non_resource_policy_rule_local_var->verbs = verbs; - return v1beta2_non_resource_policy_rule_local_var; + return v1_non_resource_policy_rule_local_var; } -void v1beta2_non_resource_policy_rule_free(v1beta2_non_resource_policy_rule_t *v1beta2_non_resource_policy_rule) { - if(NULL == v1beta2_non_resource_policy_rule){ +void v1_non_resource_policy_rule_free(v1_non_resource_policy_rule_t *v1_non_resource_policy_rule) { + if(NULL == v1_non_resource_policy_rule){ return ; } listEntry_t *listEntry; - if (v1beta2_non_resource_policy_rule->non_resource_urls) { - list_ForEach(listEntry, v1beta2_non_resource_policy_rule->non_resource_urls) { + if (v1_non_resource_policy_rule->non_resource_urls) { + list_ForEach(listEntry, v1_non_resource_policy_rule->non_resource_urls) { free(listEntry->data); } - list_freeList(v1beta2_non_resource_policy_rule->non_resource_urls); - v1beta2_non_resource_policy_rule->non_resource_urls = NULL; + list_freeList(v1_non_resource_policy_rule->non_resource_urls); + v1_non_resource_policy_rule->non_resource_urls = NULL; } - if (v1beta2_non_resource_policy_rule->verbs) { - list_ForEach(listEntry, v1beta2_non_resource_policy_rule->verbs) { + if (v1_non_resource_policy_rule->verbs) { + list_ForEach(listEntry, v1_non_resource_policy_rule->verbs) { free(listEntry->data); } - list_freeList(v1beta2_non_resource_policy_rule->verbs); - v1beta2_non_resource_policy_rule->verbs = NULL; + list_freeList(v1_non_resource_policy_rule->verbs); + v1_non_resource_policy_rule->verbs = NULL; } - free(v1beta2_non_resource_policy_rule); + free(v1_non_resource_policy_rule); } -cJSON *v1beta2_non_resource_policy_rule_convertToJSON(v1beta2_non_resource_policy_rule_t *v1beta2_non_resource_policy_rule) { +cJSON *v1_non_resource_policy_rule_convertToJSON(v1_non_resource_policy_rule_t *v1_non_resource_policy_rule) { cJSON *item = cJSON_CreateObject(); - // v1beta2_non_resource_policy_rule->non_resource_urls - if (!v1beta2_non_resource_policy_rule->non_resource_urls) { + // v1_non_resource_policy_rule->non_resource_urls + if (!v1_non_resource_policy_rule->non_resource_urls) { goto fail; } cJSON *non_resource_urls = cJSON_AddArrayToObject(item, "nonResourceURLs"); @@ -55,7 +55,7 @@ cJSON *v1beta2_non_resource_policy_rule_convertToJSON(v1beta2_non_resource_polic } listEntry_t *non_resource_urlsListEntry; - list_ForEach(non_resource_urlsListEntry, v1beta2_non_resource_policy_rule->non_resource_urls) { + list_ForEach(non_resource_urlsListEntry, v1_non_resource_policy_rule->non_resource_urls) { if(cJSON_AddStringToObject(non_resource_urls, "", (char*)non_resource_urlsListEntry->data) == NULL) { goto fail; @@ -63,8 +63,8 @@ cJSON *v1beta2_non_resource_policy_rule_convertToJSON(v1beta2_non_resource_polic } - // v1beta2_non_resource_policy_rule->verbs - if (!v1beta2_non_resource_policy_rule->verbs) { + // v1_non_resource_policy_rule->verbs + if (!v1_non_resource_policy_rule->verbs) { goto fail; } cJSON *verbs = cJSON_AddArrayToObject(item, "verbs"); @@ -73,7 +73,7 @@ cJSON *v1beta2_non_resource_policy_rule_convertToJSON(v1beta2_non_resource_polic } listEntry_t *verbsListEntry; - list_ForEach(verbsListEntry, v1beta2_non_resource_policy_rule->verbs) { + list_ForEach(verbsListEntry, v1_non_resource_policy_rule->verbs) { if(cJSON_AddStringToObject(verbs, "", (char*)verbsListEntry->data) == NULL) { goto fail; @@ -88,18 +88,18 @@ cJSON *v1beta2_non_resource_policy_rule_convertToJSON(v1beta2_non_resource_polic return NULL; } -v1beta2_non_resource_policy_rule_t *v1beta2_non_resource_policy_rule_parseFromJSON(cJSON *v1beta2_non_resource_policy_ruleJSON){ +v1_non_resource_policy_rule_t *v1_non_resource_policy_rule_parseFromJSON(cJSON *v1_non_resource_policy_ruleJSON){ - v1beta2_non_resource_policy_rule_t *v1beta2_non_resource_policy_rule_local_var = NULL; + v1_non_resource_policy_rule_t *v1_non_resource_policy_rule_local_var = NULL; - // define the local list for v1beta2_non_resource_policy_rule->non_resource_urls + // define the local list for v1_non_resource_policy_rule->non_resource_urls list_t *non_resource_urlsList = NULL; - // define the local list for v1beta2_non_resource_policy_rule->verbs + // define the local list for v1_non_resource_policy_rule->verbs list_t *verbsList = NULL; - // v1beta2_non_resource_policy_rule->non_resource_urls - cJSON *non_resource_urls = cJSON_GetObjectItemCaseSensitive(v1beta2_non_resource_policy_ruleJSON, "nonResourceURLs"); + // v1_non_resource_policy_rule->non_resource_urls + cJSON *non_resource_urls = cJSON_GetObjectItemCaseSensitive(v1_non_resource_policy_ruleJSON, "nonResourceURLs"); if (!non_resource_urls) { goto end; } @@ -120,8 +120,8 @@ v1beta2_non_resource_policy_rule_t *v1beta2_non_resource_policy_rule_parseFromJS list_addElement(non_resource_urlsList , strdup(non_resource_urls_local->valuestring)); } - // v1beta2_non_resource_policy_rule->verbs - cJSON *verbs = cJSON_GetObjectItemCaseSensitive(v1beta2_non_resource_policy_ruleJSON, "verbs"); + // v1_non_resource_policy_rule->verbs + cJSON *verbs = cJSON_GetObjectItemCaseSensitive(v1_non_resource_policy_ruleJSON, "verbs"); if (!verbs) { goto end; } @@ -143,12 +143,12 @@ v1beta2_non_resource_policy_rule_t *v1beta2_non_resource_policy_rule_parseFromJS } - v1beta2_non_resource_policy_rule_local_var = v1beta2_non_resource_policy_rule_create ( + v1_non_resource_policy_rule_local_var = v1_non_resource_policy_rule_create ( non_resource_urlsList, verbsList ); - return v1beta2_non_resource_policy_rule_local_var; + return v1_non_resource_policy_rule_local_var; end: if (non_resource_urlsList) { listEntry_t *listEntry = NULL; diff --git a/kubernetes/model/v1_non_resource_policy_rule.h b/kubernetes/model/v1_non_resource_policy_rule.h new file mode 100644 index 00000000..7c6d800b --- /dev/null +++ b/kubernetes/model/v1_non_resource_policy_rule.h @@ -0,0 +1,39 @@ +/* + * v1_non_resource_policy_rule.h + * + * NonResourcePolicyRule is a predicate that matches non-resource requests according to their verb and the target non-resource URL. A NonResourcePolicyRule matches a request if and only if both (a) at least one member of verbs matches the request and (b) at least one member of nonResourceURLs matches the request. + */ + +#ifndef _v1_non_resource_policy_rule_H_ +#define _v1_non_resource_policy_rule_H_ + +#include +#include "../external/cJSON.h" +#include "../include/list.h" +#include "../include/keyValuePair.h" +#include "../include/binary.h" + +typedef struct v1_non_resource_policy_rule_t v1_non_resource_policy_rule_t; + + + + +typedef struct v1_non_resource_policy_rule_t { + list_t *non_resource_urls; //primitive container + list_t *verbs; //primitive container + +} v1_non_resource_policy_rule_t; + +v1_non_resource_policy_rule_t *v1_non_resource_policy_rule_create( + list_t *non_resource_urls, + list_t *verbs +); + +void v1_non_resource_policy_rule_free(v1_non_resource_policy_rule_t *v1_non_resource_policy_rule); + +v1_non_resource_policy_rule_t *v1_non_resource_policy_rule_parseFromJSON(cJSON *v1_non_resource_policy_ruleJSON); + +cJSON *v1_non_resource_policy_rule_convertToJSON(v1_non_resource_policy_rule_t *v1_non_resource_policy_rule); + +#endif /* _v1_non_resource_policy_rule_H_ */ + diff --git a/kubernetes/model/v1_persistent_volume_claim_spec.c b/kubernetes/model/v1_persistent_volume_claim_spec.c index 7c371539..b638899e 100644 --- a/kubernetes/model/v1_persistent_volume_claim_spec.c +++ b/kubernetes/model/v1_persistent_volume_claim_spec.c @@ -9,9 +9,10 @@ v1_persistent_volume_claim_spec_t *v1_persistent_volume_claim_spec_create( list_t *access_modes, v1_typed_local_object_reference_t *data_source, v1_typed_object_reference_t *data_source_ref, - v1_resource_requirements_t *resources, + v1_volume_resource_requirements_t *resources, v1_label_selector_t *selector, char *storage_class_name, + char *volume_attributes_class_name, char *volume_mode, char *volume_name ) { @@ -25,6 +26,7 @@ v1_persistent_volume_claim_spec_t *v1_persistent_volume_claim_spec_create( v1_persistent_volume_claim_spec_local_var->resources = resources; v1_persistent_volume_claim_spec_local_var->selector = selector; v1_persistent_volume_claim_spec_local_var->storage_class_name = storage_class_name; + v1_persistent_volume_claim_spec_local_var->volume_attributes_class_name = volume_attributes_class_name; v1_persistent_volume_claim_spec_local_var->volume_mode = volume_mode; v1_persistent_volume_claim_spec_local_var->volume_name = volume_name; @@ -53,7 +55,7 @@ void v1_persistent_volume_claim_spec_free(v1_persistent_volume_claim_spec_t *v1_ v1_persistent_volume_claim_spec->data_source_ref = NULL; } if (v1_persistent_volume_claim_spec->resources) { - v1_resource_requirements_free(v1_persistent_volume_claim_spec->resources); + v1_volume_resource_requirements_free(v1_persistent_volume_claim_spec->resources); v1_persistent_volume_claim_spec->resources = NULL; } if (v1_persistent_volume_claim_spec->selector) { @@ -64,6 +66,10 @@ void v1_persistent_volume_claim_spec_free(v1_persistent_volume_claim_spec_t *v1_ free(v1_persistent_volume_claim_spec->storage_class_name); v1_persistent_volume_claim_spec->storage_class_name = NULL; } + if (v1_persistent_volume_claim_spec->volume_attributes_class_name) { + free(v1_persistent_volume_claim_spec->volume_attributes_class_name); + v1_persistent_volume_claim_spec->volume_attributes_class_name = NULL; + } if (v1_persistent_volume_claim_spec->volume_mode) { free(v1_persistent_volume_claim_spec->volume_mode); v1_persistent_volume_claim_spec->volume_mode = NULL; @@ -123,7 +129,7 @@ cJSON *v1_persistent_volume_claim_spec_convertToJSON(v1_persistent_volume_claim_ // v1_persistent_volume_claim_spec->resources if(v1_persistent_volume_claim_spec->resources) { - cJSON *resources_local_JSON = v1_resource_requirements_convertToJSON(v1_persistent_volume_claim_spec->resources); + cJSON *resources_local_JSON = v1_volume_resource_requirements_convertToJSON(v1_persistent_volume_claim_spec->resources); if(resources_local_JSON == NULL) { goto fail; //model } @@ -155,6 +161,14 @@ cJSON *v1_persistent_volume_claim_spec_convertToJSON(v1_persistent_volume_claim_ } + // v1_persistent_volume_claim_spec->volume_attributes_class_name + if(v1_persistent_volume_claim_spec->volume_attributes_class_name) { + if(cJSON_AddStringToObject(item, "volumeAttributesClassName", v1_persistent_volume_claim_spec->volume_attributes_class_name) == NULL) { + goto fail; //String + } + } + + // v1_persistent_volume_claim_spec->volume_mode if(v1_persistent_volume_claim_spec->volume_mode) { if(cJSON_AddStringToObject(item, "volumeMode", v1_persistent_volume_claim_spec->volume_mode) == NULL) { @@ -192,7 +206,7 @@ v1_persistent_volume_claim_spec_t *v1_persistent_volume_claim_spec_parseFromJSON v1_typed_object_reference_t *data_source_ref_local_nonprim = NULL; // define the local variable for v1_persistent_volume_claim_spec->resources - v1_resource_requirements_t *resources_local_nonprim = NULL; + v1_volume_resource_requirements_t *resources_local_nonprim = NULL; // define the local variable for v1_persistent_volume_claim_spec->selector v1_label_selector_t *selector_local_nonprim = NULL; @@ -231,7 +245,7 @@ v1_persistent_volume_claim_spec_t *v1_persistent_volume_claim_spec_parseFromJSON // v1_persistent_volume_claim_spec->resources cJSON *resources = cJSON_GetObjectItemCaseSensitive(v1_persistent_volume_claim_specJSON, "resources"); if (resources) { - resources_local_nonprim = v1_resource_requirements_parseFromJSON(resources); //nonprimitive + resources_local_nonprim = v1_volume_resource_requirements_parseFromJSON(resources); //nonprimitive } // v1_persistent_volume_claim_spec->selector @@ -249,6 +263,15 @@ v1_persistent_volume_claim_spec_t *v1_persistent_volume_claim_spec_parseFromJSON } } + // v1_persistent_volume_claim_spec->volume_attributes_class_name + cJSON *volume_attributes_class_name = cJSON_GetObjectItemCaseSensitive(v1_persistent_volume_claim_specJSON, "volumeAttributesClassName"); + if (volume_attributes_class_name) { + if(!cJSON_IsString(volume_attributes_class_name) && !cJSON_IsNull(volume_attributes_class_name)) + { + goto end; //String + } + } + // v1_persistent_volume_claim_spec->volume_mode cJSON *volume_mode = cJSON_GetObjectItemCaseSensitive(v1_persistent_volume_claim_specJSON, "volumeMode"); if (volume_mode) { @@ -275,6 +298,7 @@ v1_persistent_volume_claim_spec_t *v1_persistent_volume_claim_spec_parseFromJSON resources ? resources_local_nonprim : NULL, selector ? selector_local_nonprim : NULL, storage_class_name && !cJSON_IsNull(storage_class_name) ? strdup(storage_class_name->valuestring) : NULL, + volume_attributes_class_name && !cJSON_IsNull(volume_attributes_class_name) ? strdup(volume_attributes_class_name->valuestring) : NULL, volume_mode && !cJSON_IsNull(volume_mode) ? strdup(volume_mode->valuestring) : NULL, volume_name && !cJSON_IsNull(volume_name) ? strdup(volume_name->valuestring) : NULL ); @@ -299,7 +323,7 @@ v1_persistent_volume_claim_spec_t *v1_persistent_volume_claim_spec_parseFromJSON data_source_ref_local_nonprim = NULL; } if (resources_local_nonprim) { - v1_resource_requirements_free(resources_local_nonprim); + v1_volume_resource_requirements_free(resources_local_nonprim); resources_local_nonprim = NULL; } if (selector_local_nonprim) { diff --git a/kubernetes/model/v1_persistent_volume_claim_spec.h b/kubernetes/model/v1_persistent_volume_claim_spec.h index 6c7d21b6..7eb23a38 100644 --- a/kubernetes/model/v1_persistent_volume_claim_spec.h +++ b/kubernetes/model/v1_persistent_volume_claim_spec.h @@ -16,9 +16,9 @@ typedef struct v1_persistent_volume_claim_spec_t v1_persistent_volume_claim_spec_t; #include "v1_label_selector.h" -#include "v1_resource_requirements.h" #include "v1_typed_local_object_reference.h" #include "v1_typed_object_reference.h" +#include "v1_volume_resource_requirements.h" @@ -26,9 +26,10 @@ typedef struct v1_persistent_volume_claim_spec_t { list_t *access_modes; //primitive container struct v1_typed_local_object_reference_t *data_source; //model struct v1_typed_object_reference_t *data_source_ref; //model - struct v1_resource_requirements_t *resources; //model + struct v1_volume_resource_requirements_t *resources; //model struct v1_label_selector_t *selector; //model char *storage_class_name; // string + char *volume_attributes_class_name; // string char *volume_mode; // string char *volume_name; // string @@ -38,9 +39,10 @@ v1_persistent_volume_claim_spec_t *v1_persistent_volume_claim_spec_create( list_t *access_modes, v1_typed_local_object_reference_t *data_source, v1_typed_object_reference_t *data_source_ref, - v1_resource_requirements_t *resources, + v1_volume_resource_requirements_t *resources, v1_label_selector_t *selector, char *storage_class_name, + char *volume_attributes_class_name, char *volume_mode, char *volume_name ); diff --git a/kubernetes/model/v1_persistent_volume_claim_status.c b/kubernetes/model/v1_persistent_volume_claim_status.c index 8a8252b7..d05ee5b1 100644 --- a/kubernetes/model/v1_persistent_volume_claim_status.c +++ b/kubernetes/model/v1_persistent_volume_claim_status.c @@ -11,6 +11,8 @@ v1_persistent_volume_claim_status_t *v1_persistent_volume_claim_status_create( list_t* allocated_resources, list_t* capacity, list_t *conditions, + char *current_volume_attributes_class_name, + v1_modify_volume_status_t *modify_volume_status, char *phase ) { v1_persistent_volume_claim_status_t *v1_persistent_volume_claim_status_local_var = malloc(sizeof(v1_persistent_volume_claim_status_t)); @@ -22,6 +24,8 @@ v1_persistent_volume_claim_status_t *v1_persistent_volume_claim_status_create( v1_persistent_volume_claim_status_local_var->allocated_resources = allocated_resources; v1_persistent_volume_claim_status_local_var->capacity = capacity; v1_persistent_volume_claim_status_local_var->conditions = conditions; + v1_persistent_volume_claim_status_local_var->current_volume_attributes_class_name = current_volume_attributes_class_name; + v1_persistent_volume_claim_status_local_var->modify_volume_status = modify_volume_status; v1_persistent_volume_claim_status_local_var->phase = phase; return v1_persistent_volume_claim_status_local_var; @@ -77,6 +81,14 @@ void v1_persistent_volume_claim_status_free(v1_persistent_volume_claim_status_t list_freeList(v1_persistent_volume_claim_status->conditions); v1_persistent_volume_claim_status->conditions = NULL; } + if (v1_persistent_volume_claim_status->current_volume_attributes_class_name) { + free(v1_persistent_volume_claim_status->current_volume_attributes_class_name); + v1_persistent_volume_claim_status->current_volume_attributes_class_name = NULL; + } + if (v1_persistent_volume_claim_status->modify_volume_status) { + v1_modify_volume_status_free(v1_persistent_volume_claim_status->modify_volume_status); + v1_persistent_volume_claim_status->modify_volume_status = NULL; + } if (v1_persistent_volume_claim_status->phase) { free(v1_persistent_volume_claim_status->phase); v1_persistent_volume_claim_status->phase = NULL; @@ -184,6 +196,27 @@ cJSON *v1_persistent_volume_claim_status_convertToJSON(v1_persistent_volume_clai } + // v1_persistent_volume_claim_status->current_volume_attributes_class_name + if(v1_persistent_volume_claim_status->current_volume_attributes_class_name) { + if(cJSON_AddStringToObject(item, "currentVolumeAttributesClassName", v1_persistent_volume_claim_status->current_volume_attributes_class_name) == NULL) { + goto fail; //String + } + } + + + // v1_persistent_volume_claim_status->modify_volume_status + if(v1_persistent_volume_claim_status->modify_volume_status) { + cJSON *modify_volume_status_local_JSON = v1_modify_volume_status_convertToJSON(v1_persistent_volume_claim_status->modify_volume_status); + if(modify_volume_status_local_JSON == NULL) { + goto fail; //model + } + cJSON_AddItemToObject(item, "modifyVolumeStatus", modify_volume_status_local_JSON); + if(item->child == NULL) { + goto fail; + } + } + + // v1_persistent_volume_claim_status->phase if(v1_persistent_volume_claim_status->phase) { if(cJSON_AddStringToObject(item, "phase", v1_persistent_volume_claim_status->phase) == NULL) { @@ -218,6 +251,9 @@ v1_persistent_volume_claim_status_t *v1_persistent_volume_claim_status_parseFrom // define the local list for v1_persistent_volume_claim_status->conditions list_t *conditionsList = NULL; + // define the local variable for v1_persistent_volume_claim_status->modify_volume_status + v1_modify_volume_status_t *modify_volume_status_local_nonprim = NULL; + // v1_persistent_volume_claim_status->access_modes cJSON *access_modes = cJSON_GetObjectItemCaseSensitive(v1_persistent_volume_claim_statusJSON, "accessModes"); if (access_modes) { @@ -333,6 +369,21 @@ v1_persistent_volume_claim_status_t *v1_persistent_volume_claim_status_parseFrom } } + // v1_persistent_volume_claim_status->current_volume_attributes_class_name + cJSON *current_volume_attributes_class_name = cJSON_GetObjectItemCaseSensitive(v1_persistent_volume_claim_statusJSON, "currentVolumeAttributesClassName"); + if (current_volume_attributes_class_name) { + if(!cJSON_IsString(current_volume_attributes_class_name) && !cJSON_IsNull(current_volume_attributes_class_name)) + { + goto end; //String + } + } + + // v1_persistent_volume_claim_status->modify_volume_status + cJSON *modify_volume_status = cJSON_GetObjectItemCaseSensitive(v1_persistent_volume_claim_statusJSON, "modifyVolumeStatus"); + if (modify_volume_status) { + modify_volume_status_local_nonprim = v1_modify_volume_status_parseFromJSON(modify_volume_status); //nonprimitive + } + // v1_persistent_volume_claim_status->phase cJSON *phase = cJSON_GetObjectItemCaseSensitive(v1_persistent_volume_claim_statusJSON, "phase"); if (phase) { @@ -349,6 +400,8 @@ v1_persistent_volume_claim_status_t *v1_persistent_volume_claim_status_parseFrom allocated_resources ? allocated_resourcesList : NULL, capacity ? capacityList : NULL, conditions ? conditionsList : NULL, + current_volume_attributes_class_name && !cJSON_IsNull(current_volume_attributes_class_name) ? strdup(current_volume_attributes_class_name->valuestring) : NULL, + modify_volume_status ? modify_volume_status_local_nonprim : NULL, phase && !cJSON_IsNull(phase) ? strdup(phase->valuestring) : NULL ); @@ -414,6 +467,10 @@ v1_persistent_volume_claim_status_t *v1_persistent_volume_claim_status_parseFrom list_freeList(conditionsList); conditionsList = NULL; } + if (modify_volume_status_local_nonprim) { + v1_modify_volume_status_free(modify_volume_status_local_nonprim); + modify_volume_status_local_nonprim = NULL; + } return NULL; } diff --git a/kubernetes/model/v1_persistent_volume_claim_status.h b/kubernetes/model/v1_persistent_volume_claim_status.h index 634ab8d6..02a50f11 100644 --- a/kubernetes/model/v1_persistent_volume_claim_status.h +++ b/kubernetes/model/v1_persistent_volume_claim_status.h @@ -15,6 +15,7 @@ typedef struct v1_persistent_volume_claim_status_t v1_persistent_volume_claim_status_t; +#include "v1_modify_volume_status.h" #include "v1_persistent_volume_claim_condition.h" @@ -25,6 +26,8 @@ typedef struct v1_persistent_volume_claim_status_t { list_t* allocated_resources; //map list_t* capacity; //map list_t *conditions; //nonprimitive container + char *current_volume_attributes_class_name; // string + struct v1_modify_volume_status_t *modify_volume_status; //model char *phase; // string } v1_persistent_volume_claim_status_t; @@ -35,6 +38,8 @@ v1_persistent_volume_claim_status_t *v1_persistent_volume_claim_status_create( list_t* allocated_resources, list_t* capacity, list_t *conditions, + char *current_volume_attributes_class_name, + v1_modify_volume_status_t *modify_volume_status, char *phase ); diff --git a/kubernetes/model/v1_persistent_volume_spec.c b/kubernetes/model/v1_persistent_volume_spec.c index 99e5589a..e14f826b 100644 --- a/kubernetes/model/v1_persistent_volume_spec.c +++ b/kubernetes/model/v1_persistent_volume_spec.c @@ -34,6 +34,7 @@ v1_persistent_volume_spec_t *v1_persistent_volume_spec_create( v1_scale_io_persistent_volume_source_t *scale_io, char *storage_class_name, v1_storage_os_persistent_volume_source_t *storageos, + char *volume_attributes_class_name, char *volume_mode, v1_vsphere_virtual_disk_volume_source_t *vsphere_volume ) { @@ -69,6 +70,7 @@ v1_persistent_volume_spec_t *v1_persistent_volume_spec_create( v1_persistent_volume_spec_local_var->scale_io = scale_io; v1_persistent_volume_spec_local_var->storage_class_name = storage_class_name; v1_persistent_volume_spec_local_var->storageos = storageos; + v1_persistent_volume_spec_local_var->volume_attributes_class_name = volume_attributes_class_name; v1_persistent_volume_spec_local_var->volume_mode = volume_mode; v1_persistent_volume_spec_local_var->vsphere_volume = vsphere_volume; @@ -205,6 +207,10 @@ void v1_persistent_volume_spec_free(v1_persistent_volume_spec_t *v1_persistent_v v1_storage_os_persistent_volume_source_free(v1_persistent_volume_spec->storageos); v1_persistent_volume_spec->storageos = NULL; } + if (v1_persistent_volume_spec->volume_attributes_class_name) { + free(v1_persistent_volume_spec->volume_attributes_class_name); + v1_persistent_volume_spec->volume_attributes_class_name = NULL; + } if (v1_persistent_volume_spec->volume_mode) { free(v1_persistent_volume_spec->volume_mode); v1_persistent_volume_spec->volume_mode = NULL; @@ -588,6 +594,14 @@ cJSON *v1_persistent_volume_spec_convertToJSON(v1_persistent_volume_spec_t *v1_p } + // v1_persistent_volume_spec->volume_attributes_class_name + if(v1_persistent_volume_spec->volume_attributes_class_name) { + if(cJSON_AddStringToObject(item, "volumeAttributesClassName", v1_persistent_volume_spec->volume_attributes_class_name) == NULL) { + goto fail; //String + } + } + + // v1_persistent_volume_spec->volume_mode if(v1_persistent_volume_spec->volume_mode) { if(cJSON_AddStringToObject(item, "volumeMode", v1_persistent_volume_spec->volume_mode) == NULL) { @@ -920,6 +934,15 @@ v1_persistent_volume_spec_t *v1_persistent_volume_spec_parseFromJSON(cJSON *v1_p storageos_local_nonprim = v1_storage_os_persistent_volume_source_parseFromJSON(storageos); //nonprimitive } + // v1_persistent_volume_spec->volume_attributes_class_name + cJSON *volume_attributes_class_name = cJSON_GetObjectItemCaseSensitive(v1_persistent_volume_specJSON, "volumeAttributesClassName"); + if (volume_attributes_class_name) { + if(!cJSON_IsString(volume_attributes_class_name) && !cJSON_IsNull(volume_attributes_class_name)) + { + goto end; //String + } + } + // v1_persistent_volume_spec->volume_mode cJSON *volume_mode = cJSON_GetObjectItemCaseSensitive(v1_persistent_volume_specJSON, "volumeMode"); if (volume_mode) { @@ -965,6 +988,7 @@ v1_persistent_volume_spec_t *v1_persistent_volume_spec_parseFromJSON(cJSON *v1_p scale_io ? scale_io_local_nonprim : NULL, storage_class_name && !cJSON_IsNull(storage_class_name) ? strdup(storage_class_name->valuestring) : NULL, storageos ? storageos_local_nonprim : NULL, + volume_attributes_class_name && !cJSON_IsNull(volume_attributes_class_name) ? strdup(volume_attributes_class_name->valuestring) : NULL, volume_mode && !cJSON_IsNull(volume_mode) ? strdup(volume_mode->valuestring) : NULL, vsphere_volume ? vsphere_volume_local_nonprim : NULL ); diff --git a/kubernetes/model/v1_persistent_volume_spec.h b/kubernetes/model/v1_persistent_volume_spec.h index f642bf0b..15a32460 100644 --- a/kubernetes/model/v1_persistent_volume_spec.h +++ b/kubernetes/model/v1_persistent_volume_spec.h @@ -71,6 +71,7 @@ typedef struct v1_persistent_volume_spec_t { struct v1_scale_io_persistent_volume_source_t *scale_io; //model char *storage_class_name; // string struct v1_storage_os_persistent_volume_source_t *storageos; //model + char *volume_attributes_class_name; // string char *volume_mode; // string struct v1_vsphere_virtual_disk_volume_source_t *vsphere_volume; //model @@ -105,6 +106,7 @@ v1_persistent_volume_spec_t *v1_persistent_volume_spec_create( v1_scale_io_persistent_volume_source_t *scale_io, char *storage_class_name, v1_storage_os_persistent_volume_source_t *storageos, + char *volume_attributes_class_name, char *volume_mode, v1_vsphere_virtual_disk_volume_source_t *vsphere_volume ); diff --git a/kubernetes/model/v1_pod_affinity_term.c b/kubernetes/model/v1_pod_affinity_term.c index df2fbcda..1a0b96e9 100644 --- a/kubernetes/model/v1_pod_affinity_term.c +++ b/kubernetes/model/v1_pod_affinity_term.c @@ -7,6 +7,8 @@ v1_pod_affinity_term_t *v1_pod_affinity_term_create( v1_label_selector_t *label_selector, + list_t *match_label_keys, + list_t *mismatch_label_keys, v1_label_selector_t *namespace_selector, list_t *namespaces, char *topology_key @@ -16,6 +18,8 @@ v1_pod_affinity_term_t *v1_pod_affinity_term_create( return NULL; } v1_pod_affinity_term_local_var->label_selector = label_selector; + v1_pod_affinity_term_local_var->match_label_keys = match_label_keys; + v1_pod_affinity_term_local_var->mismatch_label_keys = mismatch_label_keys; v1_pod_affinity_term_local_var->namespace_selector = namespace_selector; v1_pod_affinity_term_local_var->namespaces = namespaces; v1_pod_affinity_term_local_var->topology_key = topology_key; @@ -33,6 +37,20 @@ void v1_pod_affinity_term_free(v1_pod_affinity_term_t *v1_pod_affinity_term) { v1_label_selector_free(v1_pod_affinity_term->label_selector); v1_pod_affinity_term->label_selector = NULL; } + if (v1_pod_affinity_term->match_label_keys) { + list_ForEach(listEntry, v1_pod_affinity_term->match_label_keys) { + free(listEntry->data); + } + list_freeList(v1_pod_affinity_term->match_label_keys); + v1_pod_affinity_term->match_label_keys = NULL; + } + if (v1_pod_affinity_term->mismatch_label_keys) { + list_ForEach(listEntry, v1_pod_affinity_term->mismatch_label_keys) { + free(listEntry->data); + } + list_freeList(v1_pod_affinity_term->mismatch_label_keys); + v1_pod_affinity_term->mismatch_label_keys = NULL; + } if (v1_pod_affinity_term->namespace_selector) { v1_label_selector_free(v1_pod_affinity_term->namespace_selector); v1_pod_affinity_term->namespace_selector = NULL; @@ -67,6 +85,40 @@ cJSON *v1_pod_affinity_term_convertToJSON(v1_pod_affinity_term_t *v1_pod_affinit } + // v1_pod_affinity_term->match_label_keys + if(v1_pod_affinity_term->match_label_keys) { + cJSON *match_label_keys = cJSON_AddArrayToObject(item, "matchLabelKeys"); + if(match_label_keys == NULL) { + goto fail; //primitive container + } + + listEntry_t *match_label_keysListEntry; + list_ForEach(match_label_keysListEntry, v1_pod_affinity_term->match_label_keys) { + if(cJSON_AddStringToObject(match_label_keys, "", (char*)match_label_keysListEntry->data) == NULL) + { + goto fail; + } + } + } + + + // v1_pod_affinity_term->mismatch_label_keys + if(v1_pod_affinity_term->mismatch_label_keys) { + cJSON *mismatch_label_keys = cJSON_AddArrayToObject(item, "mismatchLabelKeys"); + if(mismatch_label_keys == NULL) { + goto fail; //primitive container + } + + listEntry_t *mismatch_label_keysListEntry; + list_ForEach(mismatch_label_keysListEntry, v1_pod_affinity_term->mismatch_label_keys) { + if(cJSON_AddStringToObject(mismatch_label_keys, "", (char*)mismatch_label_keysListEntry->data) == NULL) + { + goto fail; + } + } + } + + // v1_pod_affinity_term->namespace_selector if(v1_pod_affinity_term->namespace_selector) { cJSON *namespace_selector_local_JSON = v1_label_selector_convertToJSON(v1_pod_affinity_term->namespace_selector); @@ -120,6 +172,12 @@ v1_pod_affinity_term_t *v1_pod_affinity_term_parseFromJSON(cJSON *v1_pod_affinit // define the local variable for v1_pod_affinity_term->label_selector v1_label_selector_t *label_selector_local_nonprim = NULL; + // define the local list for v1_pod_affinity_term->match_label_keys + list_t *match_label_keysList = NULL; + + // define the local list for v1_pod_affinity_term->mismatch_label_keys + list_t *mismatch_label_keysList = NULL; + // define the local variable for v1_pod_affinity_term->namespace_selector v1_label_selector_t *namespace_selector_local_nonprim = NULL; @@ -132,6 +190,44 @@ v1_pod_affinity_term_t *v1_pod_affinity_term_parseFromJSON(cJSON *v1_pod_affinit label_selector_local_nonprim = v1_label_selector_parseFromJSON(label_selector); //nonprimitive } + // v1_pod_affinity_term->match_label_keys + cJSON *match_label_keys = cJSON_GetObjectItemCaseSensitive(v1_pod_affinity_termJSON, "matchLabelKeys"); + if (match_label_keys) { + cJSON *match_label_keys_local = NULL; + if(!cJSON_IsArray(match_label_keys)) { + goto end;//primitive container + } + match_label_keysList = list_createList(); + + cJSON_ArrayForEach(match_label_keys_local, match_label_keys) + { + if(!cJSON_IsString(match_label_keys_local)) + { + goto end; + } + list_addElement(match_label_keysList , strdup(match_label_keys_local->valuestring)); + } + } + + // v1_pod_affinity_term->mismatch_label_keys + cJSON *mismatch_label_keys = cJSON_GetObjectItemCaseSensitive(v1_pod_affinity_termJSON, "mismatchLabelKeys"); + if (mismatch_label_keys) { + cJSON *mismatch_label_keys_local = NULL; + if(!cJSON_IsArray(mismatch_label_keys)) { + goto end;//primitive container + } + mismatch_label_keysList = list_createList(); + + cJSON_ArrayForEach(mismatch_label_keys_local, mismatch_label_keys) + { + if(!cJSON_IsString(mismatch_label_keys_local)) + { + goto end; + } + list_addElement(mismatch_label_keysList , strdup(mismatch_label_keys_local->valuestring)); + } + } + // v1_pod_affinity_term->namespace_selector cJSON *namespace_selector = cJSON_GetObjectItemCaseSensitive(v1_pod_affinity_termJSON, "namespaceSelector"); if (namespace_selector) { @@ -172,6 +268,8 @@ v1_pod_affinity_term_t *v1_pod_affinity_term_parseFromJSON(cJSON *v1_pod_affinit v1_pod_affinity_term_local_var = v1_pod_affinity_term_create ( label_selector ? label_selector_local_nonprim : NULL, + match_label_keys ? match_label_keysList : NULL, + mismatch_label_keys ? mismatch_label_keysList : NULL, namespace_selector ? namespace_selector_local_nonprim : NULL, namespaces ? namespacesList : NULL, strdup(topology_key->valuestring) @@ -183,6 +281,24 @@ v1_pod_affinity_term_t *v1_pod_affinity_term_parseFromJSON(cJSON *v1_pod_affinit v1_label_selector_free(label_selector_local_nonprim); label_selector_local_nonprim = NULL; } + if (match_label_keysList) { + listEntry_t *listEntry = NULL; + list_ForEach(listEntry, match_label_keysList) { + free(listEntry->data); + listEntry->data = NULL; + } + list_freeList(match_label_keysList); + match_label_keysList = NULL; + } + if (mismatch_label_keysList) { + listEntry_t *listEntry = NULL; + list_ForEach(listEntry, mismatch_label_keysList) { + free(listEntry->data); + listEntry->data = NULL; + } + list_freeList(mismatch_label_keysList); + mismatch_label_keysList = NULL; + } if (namespace_selector_local_nonprim) { v1_label_selector_free(namespace_selector_local_nonprim); namespace_selector_local_nonprim = NULL; diff --git a/kubernetes/model/v1_pod_affinity_term.h b/kubernetes/model/v1_pod_affinity_term.h index 8f8f3662..5b737535 100644 --- a/kubernetes/model/v1_pod_affinity_term.h +++ b/kubernetes/model/v1_pod_affinity_term.h @@ -21,6 +21,8 @@ typedef struct v1_pod_affinity_term_t v1_pod_affinity_term_t; typedef struct v1_pod_affinity_term_t { struct v1_label_selector_t *label_selector; //model + list_t *match_label_keys; //primitive container + list_t *mismatch_label_keys; //primitive container struct v1_label_selector_t *namespace_selector; //model list_t *namespaces; //primitive container char *topology_key; // string @@ -29,6 +31,8 @@ typedef struct v1_pod_affinity_term_t { v1_pod_affinity_term_t *v1_pod_affinity_term_create( v1_label_selector_t *label_selector, + list_t *match_label_keys, + list_t *mismatch_label_keys, v1_label_selector_t *namespace_selector, list_t *namespaces, char *topology_key diff --git a/kubernetes/model/v1_policy_rules_with_subjects.c b/kubernetes/model/v1_policy_rules_with_subjects.c new file mode 100644 index 00000000..a1cf218a --- /dev/null +++ b/kubernetes/model/v1_policy_rules_with_subjects.c @@ -0,0 +1,242 @@ +#include +#include +#include +#include "v1_policy_rules_with_subjects.h" + + + +v1_policy_rules_with_subjects_t *v1_policy_rules_with_subjects_create( + list_t *non_resource_rules, + list_t *resource_rules, + list_t *subjects + ) { + v1_policy_rules_with_subjects_t *v1_policy_rules_with_subjects_local_var = malloc(sizeof(v1_policy_rules_with_subjects_t)); + if (!v1_policy_rules_with_subjects_local_var) { + return NULL; + } + v1_policy_rules_with_subjects_local_var->non_resource_rules = non_resource_rules; + v1_policy_rules_with_subjects_local_var->resource_rules = resource_rules; + v1_policy_rules_with_subjects_local_var->subjects = subjects; + + return v1_policy_rules_with_subjects_local_var; +} + + +void v1_policy_rules_with_subjects_free(v1_policy_rules_with_subjects_t *v1_policy_rules_with_subjects) { + if(NULL == v1_policy_rules_with_subjects){ + return ; + } + listEntry_t *listEntry; + if (v1_policy_rules_with_subjects->non_resource_rules) { + list_ForEach(listEntry, v1_policy_rules_with_subjects->non_resource_rules) { + v1_non_resource_policy_rule_free(listEntry->data); + } + list_freeList(v1_policy_rules_with_subjects->non_resource_rules); + v1_policy_rules_with_subjects->non_resource_rules = NULL; + } + if (v1_policy_rules_with_subjects->resource_rules) { + list_ForEach(listEntry, v1_policy_rules_with_subjects->resource_rules) { + v1_resource_policy_rule_free(listEntry->data); + } + list_freeList(v1_policy_rules_with_subjects->resource_rules); + v1_policy_rules_with_subjects->resource_rules = NULL; + } + if (v1_policy_rules_with_subjects->subjects) { + list_ForEach(listEntry, v1_policy_rules_with_subjects->subjects) { + flowcontrol_v1_subject_free(listEntry->data); + } + list_freeList(v1_policy_rules_with_subjects->subjects); + v1_policy_rules_with_subjects->subjects = NULL; + } + free(v1_policy_rules_with_subjects); +} + +cJSON *v1_policy_rules_with_subjects_convertToJSON(v1_policy_rules_with_subjects_t *v1_policy_rules_with_subjects) { + cJSON *item = cJSON_CreateObject(); + + // v1_policy_rules_with_subjects->non_resource_rules + if(v1_policy_rules_with_subjects->non_resource_rules) { + cJSON *non_resource_rules = cJSON_AddArrayToObject(item, "nonResourceRules"); + if(non_resource_rules == NULL) { + goto fail; //nonprimitive container + } + + listEntry_t *non_resource_rulesListEntry; + if (v1_policy_rules_with_subjects->non_resource_rules) { + list_ForEach(non_resource_rulesListEntry, v1_policy_rules_with_subjects->non_resource_rules) { + cJSON *itemLocal = v1_non_resource_policy_rule_convertToJSON(non_resource_rulesListEntry->data); + if(itemLocal == NULL) { + goto fail; + } + cJSON_AddItemToArray(non_resource_rules, itemLocal); + } + } + } + + + // v1_policy_rules_with_subjects->resource_rules + if(v1_policy_rules_with_subjects->resource_rules) { + cJSON *resource_rules = cJSON_AddArrayToObject(item, "resourceRules"); + if(resource_rules == NULL) { + goto fail; //nonprimitive container + } + + listEntry_t *resource_rulesListEntry; + if (v1_policy_rules_with_subjects->resource_rules) { + list_ForEach(resource_rulesListEntry, v1_policy_rules_with_subjects->resource_rules) { + cJSON *itemLocal = v1_resource_policy_rule_convertToJSON(resource_rulesListEntry->data); + if(itemLocal == NULL) { + goto fail; + } + cJSON_AddItemToArray(resource_rules, itemLocal); + } + } + } + + + // v1_policy_rules_with_subjects->subjects + if (!v1_policy_rules_with_subjects->subjects) { + goto fail; + } + cJSON *subjects = cJSON_AddArrayToObject(item, "subjects"); + if(subjects == NULL) { + goto fail; //nonprimitive container + } + + listEntry_t *subjectsListEntry; + if (v1_policy_rules_with_subjects->subjects) { + list_ForEach(subjectsListEntry, v1_policy_rules_with_subjects->subjects) { + cJSON *itemLocal = flowcontrol_v1_subject_convertToJSON(subjectsListEntry->data); + if(itemLocal == NULL) { + goto fail; + } + cJSON_AddItemToArray(subjects, itemLocal); + } + } + + return item; +fail: + if (item) { + cJSON_Delete(item); + } + return NULL; +} + +v1_policy_rules_with_subjects_t *v1_policy_rules_with_subjects_parseFromJSON(cJSON *v1_policy_rules_with_subjectsJSON){ + + v1_policy_rules_with_subjects_t *v1_policy_rules_with_subjects_local_var = NULL; + + // define the local list for v1_policy_rules_with_subjects->non_resource_rules + list_t *non_resource_rulesList = NULL; + + // define the local list for v1_policy_rules_with_subjects->resource_rules + list_t *resource_rulesList = NULL; + + // define the local list for v1_policy_rules_with_subjects->subjects + list_t *subjectsList = NULL; + + // v1_policy_rules_with_subjects->non_resource_rules + cJSON *non_resource_rules = cJSON_GetObjectItemCaseSensitive(v1_policy_rules_with_subjectsJSON, "nonResourceRules"); + if (non_resource_rules) { + cJSON *non_resource_rules_local_nonprimitive = NULL; + if(!cJSON_IsArray(non_resource_rules)){ + goto end; //nonprimitive container + } + + non_resource_rulesList = list_createList(); + + cJSON_ArrayForEach(non_resource_rules_local_nonprimitive,non_resource_rules ) + { + if(!cJSON_IsObject(non_resource_rules_local_nonprimitive)){ + goto end; + } + v1_non_resource_policy_rule_t *non_resource_rulesItem = v1_non_resource_policy_rule_parseFromJSON(non_resource_rules_local_nonprimitive); + + list_addElement(non_resource_rulesList, non_resource_rulesItem); + } + } + + // v1_policy_rules_with_subjects->resource_rules + cJSON *resource_rules = cJSON_GetObjectItemCaseSensitive(v1_policy_rules_with_subjectsJSON, "resourceRules"); + if (resource_rules) { + cJSON *resource_rules_local_nonprimitive = NULL; + if(!cJSON_IsArray(resource_rules)){ + goto end; //nonprimitive container + } + + resource_rulesList = list_createList(); + + cJSON_ArrayForEach(resource_rules_local_nonprimitive,resource_rules ) + { + if(!cJSON_IsObject(resource_rules_local_nonprimitive)){ + goto end; + } + v1_resource_policy_rule_t *resource_rulesItem = v1_resource_policy_rule_parseFromJSON(resource_rules_local_nonprimitive); + + list_addElement(resource_rulesList, resource_rulesItem); + } + } + + // v1_policy_rules_with_subjects->subjects + cJSON *subjects = cJSON_GetObjectItemCaseSensitive(v1_policy_rules_with_subjectsJSON, "subjects"); + if (!subjects) { + goto end; + } + + + cJSON *subjects_local_nonprimitive = NULL; + if(!cJSON_IsArray(subjects)){ + goto end; //nonprimitive container + } + + subjectsList = list_createList(); + + cJSON_ArrayForEach(subjects_local_nonprimitive,subjects ) + { + if(!cJSON_IsObject(subjects_local_nonprimitive)){ + goto end; + } + flowcontrol_v1_subject_t *subjectsItem = flowcontrol_v1_subject_parseFromJSON(subjects_local_nonprimitive); + + list_addElement(subjectsList, subjectsItem); + } + + + v1_policy_rules_with_subjects_local_var = v1_policy_rules_with_subjects_create ( + non_resource_rules ? non_resource_rulesList : NULL, + resource_rules ? resource_rulesList : NULL, + subjectsList + ); + + return v1_policy_rules_with_subjects_local_var; +end: + if (non_resource_rulesList) { + listEntry_t *listEntry = NULL; + list_ForEach(listEntry, non_resource_rulesList) { + v1_non_resource_policy_rule_free(listEntry->data); + listEntry->data = NULL; + } + list_freeList(non_resource_rulesList); + non_resource_rulesList = NULL; + } + if (resource_rulesList) { + listEntry_t *listEntry = NULL; + list_ForEach(listEntry, resource_rulesList) { + v1_resource_policy_rule_free(listEntry->data); + listEntry->data = NULL; + } + list_freeList(resource_rulesList); + resource_rulesList = NULL; + } + if (subjectsList) { + listEntry_t *listEntry = NULL; + list_ForEach(listEntry, subjectsList) { + flowcontrol_v1_subject_free(listEntry->data); + listEntry->data = NULL; + } + list_freeList(subjectsList); + subjectsList = NULL; + } + return NULL; + +} diff --git a/kubernetes/model/v1_policy_rules_with_subjects.h b/kubernetes/model/v1_policy_rules_with_subjects.h new file mode 100644 index 00000000..d0dcceff --- /dev/null +++ b/kubernetes/model/v1_policy_rules_with_subjects.h @@ -0,0 +1,44 @@ +/* + * v1_policy_rules_with_subjects.h + * + * PolicyRulesWithSubjects prescribes a test that applies to a request to an apiserver. The test considers the subject making the request, the verb being requested, and the resource to be acted upon. This PolicyRulesWithSubjects matches a request if and only if both (a) at least one member of subjects matches the request and (b) at least one member of resourceRules or nonResourceRules matches the request. + */ + +#ifndef _v1_policy_rules_with_subjects_H_ +#define _v1_policy_rules_with_subjects_H_ + +#include +#include "../external/cJSON.h" +#include "../include/list.h" +#include "../include/keyValuePair.h" +#include "../include/binary.h" + +typedef struct v1_policy_rules_with_subjects_t v1_policy_rules_with_subjects_t; + +#include "flowcontrol_v1_subject.h" +#include "v1_non_resource_policy_rule.h" +#include "v1_resource_policy_rule.h" + + + +typedef struct v1_policy_rules_with_subjects_t { + list_t *non_resource_rules; //nonprimitive container + list_t *resource_rules; //nonprimitive container + list_t *subjects; //nonprimitive container + +} v1_policy_rules_with_subjects_t; + +v1_policy_rules_with_subjects_t *v1_policy_rules_with_subjects_create( + list_t *non_resource_rules, + list_t *resource_rules, + list_t *subjects +); + +void v1_policy_rules_with_subjects_free(v1_policy_rules_with_subjects_t *v1_policy_rules_with_subjects); + +v1_policy_rules_with_subjects_t *v1_policy_rules_with_subjects_parseFromJSON(cJSON *v1_policy_rules_with_subjectsJSON); + +cJSON *v1_policy_rules_with_subjects_convertToJSON(v1_policy_rules_with_subjects_t *v1_policy_rules_with_subjects); + +#endif /* _v1_policy_rules_with_subjects_H_ */ + diff --git a/kubernetes/model/v1_priority_level_configuration.c b/kubernetes/model/v1_priority_level_configuration.c new file mode 100644 index 00000000..44466d7d --- /dev/null +++ b/kubernetes/model/v1_priority_level_configuration.c @@ -0,0 +1,196 @@ +#include +#include +#include +#include "v1_priority_level_configuration.h" + + + +v1_priority_level_configuration_t *v1_priority_level_configuration_create( + char *api_version, + char *kind, + v1_object_meta_t *metadata, + v1_priority_level_configuration_spec_t *spec, + v1_priority_level_configuration_status_t *status + ) { + v1_priority_level_configuration_t *v1_priority_level_configuration_local_var = malloc(sizeof(v1_priority_level_configuration_t)); + if (!v1_priority_level_configuration_local_var) { + return NULL; + } + v1_priority_level_configuration_local_var->api_version = api_version; + v1_priority_level_configuration_local_var->kind = kind; + v1_priority_level_configuration_local_var->metadata = metadata; + v1_priority_level_configuration_local_var->spec = spec; + v1_priority_level_configuration_local_var->status = status; + + return v1_priority_level_configuration_local_var; +} + + +void v1_priority_level_configuration_free(v1_priority_level_configuration_t *v1_priority_level_configuration) { + if(NULL == v1_priority_level_configuration){ + return ; + } + listEntry_t *listEntry; + if (v1_priority_level_configuration->api_version) { + free(v1_priority_level_configuration->api_version); + v1_priority_level_configuration->api_version = NULL; + } + if (v1_priority_level_configuration->kind) { + free(v1_priority_level_configuration->kind); + v1_priority_level_configuration->kind = NULL; + } + if (v1_priority_level_configuration->metadata) { + v1_object_meta_free(v1_priority_level_configuration->metadata); + v1_priority_level_configuration->metadata = NULL; + } + if (v1_priority_level_configuration->spec) { + v1_priority_level_configuration_spec_free(v1_priority_level_configuration->spec); + v1_priority_level_configuration->spec = NULL; + } + if (v1_priority_level_configuration->status) { + v1_priority_level_configuration_status_free(v1_priority_level_configuration->status); + v1_priority_level_configuration->status = NULL; + } + free(v1_priority_level_configuration); +} + +cJSON *v1_priority_level_configuration_convertToJSON(v1_priority_level_configuration_t *v1_priority_level_configuration) { + cJSON *item = cJSON_CreateObject(); + + // v1_priority_level_configuration->api_version + if(v1_priority_level_configuration->api_version) { + if(cJSON_AddStringToObject(item, "apiVersion", v1_priority_level_configuration->api_version) == NULL) { + goto fail; //String + } + } + + + // v1_priority_level_configuration->kind + if(v1_priority_level_configuration->kind) { + if(cJSON_AddStringToObject(item, "kind", v1_priority_level_configuration->kind) == NULL) { + goto fail; //String + } + } + + + // v1_priority_level_configuration->metadata + if(v1_priority_level_configuration->metadata) { + cJSON *metadata_local_JSON = v1_object_meta_convertToJSON(v1_priority_level_configuration->metadata); + if(metadata_local_JSON == NULL) { + goto fail; //model + } + cJSON_AddItemToObject(item, "metadata", metadata_local_JSON); + if(item->child == NULL) { + goto fail; + } + } + + + // v1_priority_level_configuration->spec + if(v1_priority_level_configuration->spec) { + cJSON *spec_local_JSON = v1_priority_level_configuration_spec_convertToJSON(v1_priority_level_configuration->spec); + if(spec_local_JSON == NULL) { + goto fail; //model + } + cJSON_AddItemToObject(item, "spec", spec_local_JSON); + if(item->child == NULL) { + goto fail; + } + } + + + // v1_priority_level_configuration->status + if(v1_priority_level_configuration->status) { + cJSON *status_local_JSON = v1_priority_level_configuration_status_convertToJSON(v1_priority_level_configuration->status); + if(status_local_JSON == NULL) { + goto fail; //model + } + cJSON_AddItemToObject(item, "status", status_local_JSON); + if(item->child == NULL) { + goto fail; + } + } + + return item; +fail: + if (item) { + cJSON_Delete(item); + } + return NULL; +} + +v1_priority_level_configuration_t *v1_priority_level_configuration_parseFromJSON(cJSON *v1_priority_level_configurationJSON){ + + v1_priority_level_configuration_t *v1_priority_level_configuration_local_var = NULL; + + // define the local variable for v1_priority_level_configuration->metadata + v1_object_meta_t *metadata_local_nonprim = NULL; + + // define the local variable for v1_priority_level_configuration->spec + v1_priority_level_configuration_spec_t *spec_local_nonprim = NULL; + + // define the local variable for v1_priority_level_configuration->status + v1_priority_level_configuration_status_t *status_local_nonprim = NULL; + + // v1_priority_level_configuration->api_version + cJSON *api_version = cJSON_GetObjectItemCaseSensitive(v1_priority_level_configurationJSON, "apiVersion"); + if (api_version) { + if(!cJSON_IsString(api_version) && !cJSON_IsNull(api_version)) + { + goto end; //String + } + } + + // v1_priority_level_configuration->kind + cJSON *kind = cJSON_GetObjectItemCaseSensitive(v1_priority_level_configurationJSON, "kind"); + if (kind) { + if(!cJSON_IsString(kind) && !cJSON_IsNull(kind)) + { + goto end; //String + } + } + + // v1_priority_level_configuration->metadata + cJSON *metadata = cJSON_GetObjectItemCaseSensitive(v1_priority_level_configurationJSON, "metadata"); + if (metadata) { + metadata_local_nonprim = v1_object_meta_parseFromJSON(metadata); //nonprimitive + } + + // v1_priority_level_configuration->spec + cJSON *spec = cJSON_GetObjectItemCaseSensitive(v1_priority_level_configurationJSON, "spec"); + if (spec) { + spec_local_nonprim = v1_priority_level_configuration_spec_parseFromJSON(spec); //nonprimitive + } + + // v1_priority_level_configuration->status + cJSON *status = cJSON_GetObjectItemCaseSensitive(v1_priority_level_configurationJSON, "status"); + if (status) { + status_local_nonprim = v1_priority_level_configuration_status_parseFromJSON(status); //nonprimitive + } + + + v1_priority_level_configuration_local_var = v1_priority_level_configuration_create ( + api_version && !cJSON_IsNull(api_version) ? strdup(api_version->valuestring) : NULL, + kind && !cJSON_IsNull(kind) ? strdup(kind->valuestring) : NULL, + metadata ? metadata_local_nonprim : NULL, + spec ? spec_local_nonprim : NULL, + status ? status_local_nonprim : NULL + ); + + return v1_priority_level_configuration_local_var; +end: + if (metadata_local_nonprim) { + v1_object_meta_free(metadata_local_nonprim); + metadata_local_nonprim = NULL; + } + if (spec_local_nonprim) { + v1_priority_level_configuration_spec_free(spec_local_nonprim); + spec_local_nonprim = NULL; + } + if (status_local_nonprim) { + v1_priority_level_configuration_status_free(status_local_nonprim); + status_local_nonprim = NULL; + } + return NULL; + +} diff --git a/kubernetes/model/v1_priority_level_configuration.h b/kubernetes/model/v1_priority_level_configuration.h new file mode 100644 index 00000000..fd815882 --- /dev/null +++ b/kubernetes/model/v1_priority_level_configuration.h @@ -0,0 +1,48 @@ +/* + * v1_priority_level_configuration.h + * + * PriorityLevelConfiguration represents the configuration of a priority level. + */ + +#ifndef _v1_priority_level_configuration_H_ +#define _v1_priority_level_configuration_H_ + +#include +#include "../external/cJSON.h" +#include "../include/list.h" +#include "../include/keyValuePair.h" +#include "../include/binary.h" + +typedef struct v1_priority_level_configuration_t v1_priority_level_configuration_t; + +#include "v1_object_meta.h" +#include "v1_priority_level_configuration_spec.h" +#include "v1_priority_level_configuration_status.h" + + + +typedef struct v1_priority_level_configuration_t { + char *api_version; // string + char *kind; // string + struct v1_object_meta_t *metadata; //model + struct v1_priority_level_configuration_spec_t *spec; //model + struct v1_priority_level_configuration_status_t *status; //model + +} v1_priority_level_configuration_t; + +v1_priority_level_configuration_t *v1_priority_level_configuration_create( + char *api_version, + char *kind, + v1_object_meta_t *metadata, + v1_priority_level_configuration_spec_t *spec, + v1_priority_level_configuration_status_t *status +); + +void v1_priority_level_configuration_free(v1_priority_level_configuration_t *v1_priority_level_configuration); + +v1_priority_level_configuration_t *v1_priority_level_configuration_parseFromJSON(cJSON *v1_priority_level_configurationJSON); + +cJSON *v1_priority_level_configuration_convertToJSON(v1_priority_level_configuration_t *v1_priority_level_configuration); + +#endif /* _v1_priority_level_configuration_H_ */ + diff --git a/kubernetes/model/v1_priority_level_configuration_condition.c b/kubernetes/model/v1_priority_level_configuration_condition.c new file mode 100644 index 00000000..640a7b7d --- /dev/null +++ b/kubernetes/model/v1_priority_level_configuration_condition.c @@ -0,0 +1,169 @@ +#include +#include +#include +#include "v1_priority_level_configuration_condition.h" + + + +v1_priority_level_configuration_condition_t *v1_priority_level_configuration_condition_create( + char *last_transition_time, + char *message, + char *reason, + char *status, + char *type + ) { + v1_priority_level_configuration_condition_t *v1_priority_level_configuration_condition_local_var = malloc(sizeof(v1_priority_level_configuration_condition_t)); + if (!v1_priority_level_configuration_condition_local_var) { + return NULL; + } + v1_priority_level_configuration_condition_local_var->last_transition_time = last_transition_time; + v1_priority_level_configuration_condition_local_var->message = message; + v1_priority_level_configuration_condition_local_var->reason = reason; + v1_priority_level_configuration_condition_local_var->status = status; + v1_priority_level_configuration_condition_local_var->type = type; + + return v1_priority_level_configuration_condition_local_var; +} + + +void v1_priority_level_configuration_condition_free(v1_priority_level_configuration_condition_t *v1_priority_level_configuration_condition) { + if(NULL == v1_priority_level_configuration_condition){ + return ; + } + listEntry_t *listEntry; + if (v1_priority_level_configuration_condition->last_transition_time) { + free(v1_priority_level_configuration_condition->last_transition_time); + v1_priority_level_configuration_condition->last_transition_time = NULL; + } + if (v1_priority_level_configuration_condition->message) { + free(v1_priority_level_configuration_condition->message); + v1_priority_level_configuration_condition->message = NULL; + } + if (v1_priority_level_configuration_condition->reason) { + free(v1_priority_level_configuration_condition->reason); + v1_priority_level_configuration_condition->reason = NULL; + } + if (v1_priority_level_configuration_condition->status) { + free(v1_priority_level_configuration_condition->status); + v1_priority_level_configuration_condition->status = NULL; + } + if (v1_priority_level_configuration_condition->type) { + free(v1_priority_level_configuration_condition->type); + v1_priority_level_configuration_condition->type = NULL; + } + free(v1_priority_level_configuration_condition); +} + +cJSON *v1_priority_level_configuration_condition_convertToJSON(v1_priority_level_configuration_condition_t *v1_priority_level_configuration_condition) { + cJSON *item = cJSON_CreateObject(); + + // v1_priority_level_configuration_condition->last_transition_time + if(v1_priority_level_configuration_condition->last_transition_time) { + if(cJSON_AddStringToObject(item, "lastTransitionTime", v1_priority_level_configuration_condition->last_transition_time) == NULL) { + goto fail; //Date-Time + } + } + + + // v1_priority_level_configuration_condition->message + if(v1_priority_level_configuration_condition->message) { + if(cJSON_AddStringToObject(item, "message", v1_priority_level_configuration_condition->message) == NULL) { + goto fail; //String + } + } + + + // v1_priority_level_configuration_condition->reason + if(v1_priority_level_configuration_condition->reason) { + if(cJSON_AddStringToObject(item, "reason", v1_priority_level_configuration_condition->reason) == NULL) { + goto fail; //String + } + } + + + // v1_priority_level_configuration_condition->status + if(v1_priority_level_configuration_condition->status) { + if(cJSON_AddStringToObject(item, "status", v1_priority_level_configuration_condition->status) == NULL) { + goto fail; //String + } + } + + + // v1_priority_level_configuration_condition->type + if(v1_priority_level_configuration_condition->type) { + if(cJSON_AddStringToObject(item, "type", v1_priority_level_configuration_condition->type) == NULL) { + goto fail; //String + } + } + + return item; +fail: + if (item) { + cJSON_Delete(item); + } + return NULL; +} + +v1_priority_level_configuration_condition_t *v1_priority_level_configuration_condition_parseFromJSON(cJSON *v1_priority_level_configuration_conditionJSON){ + + v1_priority_level_configuration_condition_t *v1_priority_level_configuration_condition_local_var = NULL; + + // v1_priority_level_configuration_condition->last_transition_time + cJSON *last_transition_time = cJSON_GetObjectItemCaseSensitive(v1_priority_level_configuration_conditionJSON, "lastTransitionTime"); + if (last_transition_time) { + if(!cJSON_IsString(last_transition_time) && !cJSON_IsNull(last_transition_time)) + { + goto end; //DateTime + } + } + + // v1_priority_level_configuration_condition->message + cJSON *message = cJSON_GetObjectItemCaseSensitive(v1_priority_level_configuration_conditionJSON, "message"); + if (message) { + if(!cJSON_IsString(message) && !cJSON_IsNull(message)) + { + goto end; //String + } + } + + // v1_priority_level_configuration_condition->reason + cJSON *reason = cJSON_GetObjectItemCaseSensitive(v1_priority_level_configuration_conditionJSON, "reason"); + if (reason) { + if(!cJSON_IsString(reason) && !cJSON_IsNull(reason)) + { + goto end; //String + } + } + + // v1_priority_level_configuration_condition->status + cJSON *status = cJSON_GetObjectItemCaseSensitive(v1_priority_level_configuration_conditionJSON, "status"); + if (status) { + if(!cJSON_IsString(status) && !cJSON_IsNull(status)) + { + goto end; //String + } + } + + // v1_priority_level_configuration_condition->type + cJSON *type = cJSON_GetObjectItemCaseSensitive(v1_priority_level_configuration_conditionJSON, "type"); + if (type) { + if(!cJSON_IsString(type) && !cJSON_IsNull(type)) + { + goto end; //String + } + } + + + v1_priority_level_configuration_condition_local_var = v1_priority_level_configuration_condition_create ( + last_transition_time && !cJSON_IsNull(last_transition_time) ? strdup(last_transition_time->valuestring) : NULL, + message && !cJSON_IsNull(message) ? strdup(message->valuestring) : NULL, + reason && !cJSON_IsNull(reason) ? strdup(reason->valuestring) : NULL, + status && !cJSON_IsNull(status) ? strdup(status->valuestring) : NULL, + type && !cJSON_IsNull(type) ? strdup(type->valuestring) : NULL + ); + + return v1_priority_level_configuration_condition_local_var; +end: + return NULL; + +} diff --git a/kubernetes/model/v1_priority_level_configuration_condition.h b/kubernetes/model/v1_priority_level_configuration_condition.h new file mode 100644 index 00000000..9ad531ff --- /dev/null +++ b/kubernetes/model/v1_priority_level_configuration_condition.h @@ -0,0 +1,45 @@ +/* + * v1_priority_level_configuration_condition.h + * + * PriorityLevelConfigurationCondition defines the condition of priority level. + */ + +#ifndef _v1_priority_level_configuration_condition_H_ +#define _v1_priority_level_configuration_condition_H_ + +#include +#include "../external/cJSON.h" +#include "../include/list.h" +#include "../include/keyValuePair.h" +#include "../include/binary.h" + +typedef struct v1_priority_level_configuration_condition_t v1_priority_level_configuration_condition_t; + + + + +typedef struct v1_priority_level_configuration_condition_t { + char *last_transition_time; //date time + char *message; // string + char *reason; // string + char *status; // string + char *type; // string + +} v1_priority_level_configuration_condition_t; + +v1_priority_level_configuration_condition_t *v1_priority_level_configuration_condition_create( + char *last_transition_time, + char *message, + char *reason, + char *status, + char *type +); + +void v1_priority_level_configuration_condition_free(v1_priority_level_configuration_condition_t *v1_priority_level_configuration_condition); + +v1_priority_level_configuration_condition_t *v1_priority_level_configuration_condition_parseFromJSON(cJSON *v1_priority_level_configuration_conditionJSON); + +cJSON *v1_priority_level_configuration_condition_convertToJSON(v1_priority_level_configuration_condition_t *v1_priority_level_configuration_condition); + +#endif /* _v1_priority_level_configuration_condition_H_ */ + diff --git a/kubernetes/model/v1_priority_level_configuration_list.c b/kubernetes/model/v1_priority_level_configuration_list.c new file mode 100644 index 00000000..934fcd1d --- /dev/null +++ b/kubernetes/model/v1_priority_level_configuration_list.c @@ -0,0 +1,197 @@ +#include +#include +#include +#include "v1_priority_level_configuration_list.h" + + + +v1_priority_level_configuration_list_t *v1_priority_level_configuration_list_create( + char *api_version, + list_t *items, + char *kind, + v1_list_meta_t *metadata + ) { + v1_priority_level_configuration_list_t *v1_priority_level_configuration_list_local_var = malloc(sizeof(v1_priority_level_configuration_list_t)); + if (!v1_priority_level_configuration_list_local_var) { + return NULL; + } + v1_priority_level_configuration_list_local_var->api_version = api_version; + v1_priority_level_configuration_list_local_var->items = items; + v1_priority_level_configuration_list_local_var->kind = kind; + v1_priority_level_configuration_list_local_var->metadata = metadata; + + return v1_priority_level_configuration_list_local_var; +} + + +void v1_priority_level_configuration_list_free(v1_priority_level_configuration_list_t *v1_priority_level_configuration_list) { + if(NULL == v1_priority_level_configuration_list){ + return ; + } + listEntry_t *listEntry; + if (v1_priority_level_configuration_list->api_version) { + free(v1_priority_level_configuration_list->api_version); + v1_priority_level_configuration_list->api_version = NULL; + } + if (v1_priority_level_configuration_list->items) { + list_ForEach(listEntry, v1_priority_level_configuration_list->items) { + v1_priority_level_configuration_free(listEntry->data); + } + list_freeList(v1_priority_level_configuration_list->items); + v1_priority_level_configuration_list->items = NULL; + } + if (v1_priority_level_configuration_list->kind) { + free(v1_priority_level_configuration_list->kind); + v1_priority_level_configuration_list->kind = NULL; + } + if (v1_priority_level_configuration_list->metadata) { + v1_list_meta_free(v1_priority_level_configuration_list->metadata); + v1_priority_level_configuration_list->metadata = NULL; + } + free(v1_priority_level_configuration_list); +} + +cJSON *v1_priority_level_configuration_list_convertToJSON(v1_priority_level_configuration_list_t *v1_priority_level_configuration_list) { + cJSON *item = cJSON_CreateObject(); + + // v1_priority_level_configuration_list->api_version + if(v1_priority_level_configuration_list->api_version) { + if(cJSON_AddStringToObject(item, "apiVersion", v1_priority_level_configuration_list->api_version) == NULL) { + goto fail; //String + } + } + + + // v1_priority_level_configuration_list->items + if (!v1_priority_level_configuration_list->items) { + goto fail; + } + cJSON *items = cJSON_AddArrayToObject(item, "items"); + if(items == NULL) { + goto fail; //nonprimitive container + } + + listEntry_t *itemsListEntry; + if (v1_priority_level_configuration_list->items) { + list_ForEach(itemsListEntry, v1_priority_level_configuration_list->items) { + cJSON *itemLocal = v1_priority_level_configuration_convertToJSON(itemsListEntry->data); + if(itemLocal == NULL) { + goto fail; + } + cJSON_AddItemToArray(items, itemLocal); + } + } + + + // v1_priority_level_configuration_list->kind + if(v1_priority_level_configuration_list->kind) { + if(cJSON_AddStringToObject(item, "kind", v1_priority_level_configuration_list->kind) == NULL) { + goto fail; //String + } + } + + + // v1_priority_level_configuration_list->metadata + if(v1_priority_level_configuration_list->metadata) { + cJSON *metadata_local_JSON = v1_list_meta_convertToJSON(v1_priority_level_configuration_list->metadata); + if(metadata_local_JSON == NULL) { + goto fail; //model + } + cJSON_AddItemToObject(item, "metadata", metadata_local_JSON); + if(item->child == NULL) { + goto fail; + } + } + + return item; +fail: + if (item) { + cJSON_Delete(item); + } + return NULL; +} + +v1_priority_level_configuration_list_t *v1_priority_level_configuration_list_parseFromJSON(cJSON *v1_priority_level_configuration_listJSON){ + + v1_priority_level_configuration_list_t *v1_priority_level_configuration_list_local_var = NULL; + + // define the local list for v1_priority_level_configuration_list->items + list_t *itemsList = NULL; + + // define the local variable for v1_priority_level_configuration_list->metadata + v1_list_meta_t *metadata_local_nonprim = NULL; + + // v1_priority_level_configuration_list->api_version + cJSON *api_version = cJSON_GetObjectItemCaseSensitive(v1_priority_level_configuration_listJSON, "apiVersion"); + if (api_version) { + if(!cJSON_IsString(api_version) && !cJSON_IsNull(api_version)) + { + goto end; //String + } + } + + // v1_priority_level_configuration_list->items + cJSON *items = cJSON_GetObjectItemCaseSensitive(v1_priority_level_configuration_listJSON, "items"); + if (!items) { + goto end; + } + + + cJSON *items_local_nonprimitive = NULL; + if(!cJSON_IsArray(items)){ + goto end; //nonprimitive container + } + + itemsList = list_createList(); + + cJSON_ArrayForEach(items_local_nonprimitive,items ) + { + if(!cJSON_IsObject(items_local_nonprimitive)){ + goto end; + } + v1_priority_level_configuration_t *itemsItem = v1_priority_level_configuration_parseFromJSON(items_local_nonprimitive); + + list_addElement(itemsList, itemsItem); + } + + // v1_priority_level_configuration_list->kind + cJSON *kind = cJSON_GetObjectItemCaseSensitive(v1_priority_level_configuration_listJSON, "kind"); + if (kind) { + if(!cJSON_IsString(kind) && !cJSON_IsNull(kind)) + { + goto end; //String + } + } + + // v1_priority_level_configuration_list->metadata + cJSON *metadata = cJSON_GetObjectItemCaseSensitive(v1_priority_level_configuration_listJSON, "metadata"); + if (metadata) { + metadata_local_nonprim = v1_list_meta_parseFromJSON(metadata); //nonprimitive + } + + + v1_priority_level_configuration_list_local_var = v1_priority_level_configuration_list_create ( + api_version && !cJSON_IsNull(api_version) ? strdup(api_version->valuestring) : NULL, + itemsList, + kind && !cJSON_IsNull(kind) ? strdup(kind->valuestring) : NULL, + metadata ? metadata_local_nonprim : NULL + ); + + return v1_priority_level_configuration_list_local_var; +end: + if (itemsList) { + listEntry_t *listEntry = NULL; + list_ForEach(listEntry, itemsList) { + v1_priority_level_configuration_free(listEntry->data); + listEntry->data = NULL; + } + list_freeList(itemsList); + itemsList = NULL; + } + if (metadata_local_nonprim) { + v1_list_meta_free(metadata_local_nonprim); + metadata_local_nonprim = NULL; + } + return NULL; + +} diff --git a/kubernetes/model/v1_priority_level_configuration_list.h b/kubernetes/model/v1_priority_level_configuration_list.h new file mode 100644 index 00000000..7f1d391e --- /dev/null +++ b/kubernetes/model/v1_priority_level_configuration_list.h @@ -0,0 +1,45 @@ +/* + * v1_priority_level_configuration_list.h + * + * PriorityLevelConfigurationList is a list of PriorityLevelConfiguration objects. + */ + +#ifndef _v1_priority_level_configuration_list_H_ +#define _v1_priority_level_configuration_list_H_ + +#include +#include "../external/cJSON.h" +#include "../include/list.h" +#include "../include/keyValuePair.h" +#include "../include/binary.h" + +typedef struct v1_priority_level_configuration_list_t v1_priority_level_configuration_list_t; + +#include "v1_list_meta.h" +#include "v1_priority_level_configuration.h" + + + +typedef struct v1_priority_level_configuration_list_t { + char *api_version; // string + list_t *items; //nonprimitive container + char *kind; // string + struct v1_list_meta_t *metadata; //model + +} v1_priority_level_configuration_list_t; + +v1_priority_level_configuration_list_t *v1_priority_level_configuration_list_create( + char *api_version, + list_t *items, + char *kind, + v1_list_meta_t *metadata +); + +void v1_priority_level_configuration_list_free(v1_priority_level_configuration_list_t *v1_priority_level_configuration_list); + +v1_priority_level_configuration_list_t *v1_priority_level_configuration_list_parseFromJSON(cJSON *v1_priority_level_configuration_listJSON); + +cJSON *v1_priority_level_configuration_list_convertToJSON(v1_priority_level_configuration_list_t *v1_priority_level_configuration_list); + +#endif /* _v1_priority_level_configuration_list_H_ */ + diff --git a/kubernetes/model/v1_priority_level_configuration_reference.c b/kubernetes/model/v1_priority_level_configuration_reference.c new file mode 100644 index 00000000..c26680e8 --- /dev/null +++ b/kubernetes/model/v1_priority_level_configuration_reference.c @@ -0,0 +1,77 @@ +#include +#include +#include +#include "v1_priority_level_configuration_reference.h" + + + +v1_priority_level_configuration_reference_t *v1_priority_level_configuration_reference_create( + char *name + ) { + v1_priority_level_configuration_reference_t *v1_priority_level_configuration_reference_local_var = malloc(sizeof(v1_priority_level_configuration_reference_t)); + if (!v1_priority_level_configuration_reference_local_var) { + return NULL; + } + v1_priority_level_configuration_reference_local_var->name = name; + + return v1_priority_level_configuration_reference_local_var; +} + + +void v1_priority_level_configuration_reference_free(v1_priority_level_configuration_reference_t *v1_priority_level_configuration_reference) { + if(NULL == v1_priority_level_configuration_reference){ + return ; + } + listEntry_t *listEntry; + if (v1_priority_level_configuration_reference->name) { + free(v1_priority_level_configuration_reference->name); + v1_priority_level_configuration_reference->name = NULL; + } + free(v1_priority_level_configuration_reference); +} + +cJSON *v1_priority_level_configuration_reference_convertToJSON(v1_priority_level_configuration_reference_t *v1_priority_level_configuration_reference) { + cJSON *item = cJSON_CreateObject(); + + // v1_priority_level_configuration_reference->name + if (!v1_priority_level_configuration_reference->name) { + goto fail; + } + if(cJSON_AddStringToObject(item, "name", v1_priority_level_configuration_reference->name) == NULL) { + goto fail; //String + } + + return item; +fail: + if (item) { + cJSON_Delete(item); + } + return NULL; +} + +v1_priority_level_configuration_reference_t *v1_priority_level_configuration_reference_parseFromJSON(cJSON *v1_priority_level_configuration_referenceJSON){ + + v1_priority_level_configuration_reference_t *v1_priority_level_configuration_reference_local_var = NULL; + + // v1_priority_level_configuration_reference->name + cJSON *name = cJSON_GetObjectItemCaseSensitive(v1_priority_level_configuration_referenceJSON, "name"); + if (!name) { + goto end; + } + + + if(!cJSON_IsString(name)) + { + goto end; //String + } + + + v1_priority_level_configuration_reference_local_var = v1_priority_level_configuration_reference_create ( + strdup(name->valuestring) + ); + + return v1_priority_level_configuration_reference_local_var; +end: + return NULL; + +} diff --git a/kubernetes/model/v1_priority_level_configuration_reference.h b/kubernetes/model/v1_priority_level_configuration_reference.h new file mode 100644 index 00000000..04ba915b --- /dev/null +++ b/kubernetes/model/v1_priority_level_configuration_reference.h @@ -0,0 +1,37 @@ +/* + * v1_priority_level_configuration_reference.h + * + * PriorityLevelConfigurationReference contains information that points to the \"request-priority\" being used. + */ + +#ifndef _v1_priority_level_configuration_reference_H_ +#define _v1_priority_level_configuration_reference_H_ + +#include +#include "../external/cJSON.h" +#include "../include/list.h" +#include "../include/keyValuePair.h" +#include "../include/binary.h" + +typedef struct v1_priority_level_configuration_reference_t v1_priority_level_configuration_reference_t; + + + + +typedef struct v1_priority_level_configuration_reference_t { + char *name; // string + +} v1_priority_level_configuration_reference_t; + +v1_priority_level_configuration_reference_t *v1_priority_level_configuration_reference_create( + char *name +); + +void v1_priority_level_configuration_reference_free(v1_priority_level_configuration_reference_t *v1_priority_level_configuration_reference); + +v1_priority_level_configuration_reference_t *v1_priority_level_configuration_reference_parseFromJSON(cJSON *v1_priority_level_configuration_referenceJSON); + +cJSON *v1_priority_level_configuration_reference_convertToJSON(v1_priority_level_configuration_reference_t *v1_priority_level_configuration_reference); + +#endif /* _v1_priority_level_configuration_reference_H_ */ + diff --git a/kubernetes/model/v1_priority_level_configuration_spec.c b/kubernetes/model/v1_priority_level_configuration_spec.c new file mode 100644 index 00000000..aef08b6f --- /dev/null +++ b/kubernetes/model/v1_priority_level_configuration_spec.c @@ -0,0 +1,143 @@ +#include +#include +#include +#include "v1_priority_level_configuration_spec.h" + + + +v1_priority_level_configuration_spec_t *v1_priority_level_configuration_spec_create( + v1_exempt_priority_level_configuration_t *exempt, + v1_limited_priority_level_configuration_t *limited, + char *type + ) { + v1_priority_level_configuration_spec_t *v1_priority_level_configuration_spec_local_var = malloc(sizeof(v1_priority_level_configuration_spec_t)); + if (!v1_priority_level_configuration_spec_local_var) { + return NULL; + } + v1_priority_level_configuration_spec_local_var->exempt = exempt; + v1_priority_level_configuration_spec_local_var->limited = limited; + v1_priority_level_configuration_spec_local_var->type = type; + + return v1_priority_level_configuration_spec_local_var; +} + + +void v1_priority_level_configuration_spec_free(v1_priority_level_configuration_spec_t *v1_priority_level_configuration_spec) { + if(NULL == v1_priority_level_configuration_spec){ + return ; + } + listEntry_t *listEntry; + if (v1_priority_level_configuration_spec->exempt) { + v1_exempt_priority_level_configuration_free(v1_priority_level_configuration_spec->exempt); + v1_priority_level_configuration_spec->exempt = NULL; + } + if (v1_priority_level_configuration_spec->limited) { + v1_limited_priority_level_configuration_free(v1_priority_level_configuration_spec->limited); + v1_priority_level_configuration_spec->limited = NULL; + } + if (v1_priority_level_configuration_spec->type) { + free(v1_priority_level_configuration_spec->type); + v1_priority_level_configuration_spec->type = NULL; + } + free(v1_priority_level_configuration_spec); +} + +cJSON *v1_priority_level_configuration_spec_convertToJSON(v1_priority_level_configuration_spec_t *v1_priority_level_configuration_spec) { + cJSON *item = cJSON_CreateObject(); + + // v1_priority_level_configuration_spec->exempt + if(v1_priority_level_configuration_spec->exempt) { + cJSON *exempt_local_JSON = v1_exempt_priority_level_configuration_convertToJSON(v1_priority_level_configuration_spec->exempt); + if(exempt_local_JSON == NULL) { + goto fail; //model + } + cJSON_AddItemToObject(item, "exempt", exempt_local_JSON); + if(item->child == NULL) { + goto fail; + } + } + + + // v1_priority_level_configuration_spec->limited + if(v1_priority_level_configuration_spec->limited) { + cJSON *limited_local_JSON = v1_limited_priority_level_configuration_convertToJSON(v1_priority_level_configuration_spec->limited); + if(limited_local_JSON == NULL) { + goto fail; //model + } + cJSON_AddItemToObject(item, "limited", limited_local_JSON); + if(item->child == NULL) { + goto fail; + } + } + + + // v1_priority_level_configuration_spec->type + if (!v1_priority_level_configuration_spec->type) { + goto fail; + } + if(cJSON_AddStringToObject(item, "type", v1_priority_level_configuration_spec->type) == NULL) { + goto fail; //String + } + + return item; +fail: + if (item) { + cJSON_Delete(item); + } + return NULL; +} + +v1_priority_level_configuration_spec_t *v1_priority_level_configuration_spec_parseFromJSON(cJSON *v1_priority_level_configuration_specJSON){ + + v1_priority_level_configuration_spec_t *v1_priority_level_configuration_spec_local_var = NULL; + + // define the local variable for v1_priority_level_configuration_spec->exempt + v1_exempt_priority_level_configuration_t *exempt_local_nonprim = NULL; + + // define the local variable for v1_priority_level_configuration_spec->limited + v1_limited_priority_level_configuration_t *limited_local_nonprim = NULL; + + // v1_priority_level_configuration_spec->exempt + cJSON *exempt = cJSON_GetObjectItemCaseSensitive(v1_priority_level_configuration_specJSON, "exempt"); + if (exempt) { + exempt_local_nonprim = v1_exempt_priority_level_configuration_parseFromJSON(exempt); //nonprimitive + } + + // v1_priority_level_configuration_spec->limited + cJSON *limited = cJSON_GetObjectItemCaseSensitive(v1_priority_level_configuration_specJSON, "limited"); + if (limited) { + limited_local_nonprim = v1_limited_priority_level_configuration_parseFromJSON(limited); //nonprimitive + } + + // v1_priority_level_configuration_spec->type + cJSON *type = cJSON_GetObjectItemCaseSensitive(v1_priority_level_configuration_specJSON, "type"); + if (!type) { + goto end; + } + + + if(!cJSON_IsString(type)) + { + goto end; //String + } + + + v1_priority_level_configuration_spec_local_var = v1_priority_level_configuration_spec_create ( + exempt ? exempt_local_nonprim : NULL, + limited ? limited_local_nonprim : NULL, + strdup(type->valuestring) + ); + + return v1_priority_level_configuration_spec_local_var; +end: + if (exempt_local_nonprim) { + v1_exempt_priority_level_configuration_free(exempt_local_nonprim); + exempt_local_nonprim = NULL; + } + if (limited_local_nonprim) { + v1_limited_priority_level_configuration_free(limited_local_nonprim); + limited_local_nonprim = NULL; + } + return NULL; + +} diff --git a/kubernetes/model/v1_priority_level_configuration_spec.h b/kubernetes/model/v1_priority_level_configuration_spec.h new file mode 100644 index 00000000..22fdaa49 --- /dev/null +++ b/kubernetes/model/v1_priority_level_configuration_spec.h @@ -0,0 +1,43 @@ +/* + * v1_priority_level_configuration_spec.h + * + * PriorityLevelConfigurationSpec specifies the configuration of a priority level. + */ + +#ifndef _v1_priority_level_configuration_spec_H_ +#define _v1_priority_level_configuration_spec_H_ + +#include +#include "../external/cJSON.h" +#include "../include/list.h" +#include "../include/keyValuePair.h" +#include "../include/binary.h" + +typedef struct v1_priority_level_configuration_spec_t v1_priority_level_configuration_spec_t; + +#include "v1_exempt_priority_level_configuration.h" +#include "v1_limited_priority_level_configuration.h" + + + +typedef struct v1_priority_level_configuration_spec_t { + struct v1_exempt_priority_level_configuration_t *exempt; //model + struct v1_limited_priority_level_configuration_t *limited; //model + char *type; // string + +} v1_priority_level_configuration_spec_t; + +v1_priority_level_configuration_spec_t *v1_priority_level_configuration_spec_create( + v1_exempt_priority_level_configuration_t *exempt, + v1_limited_priority_level_configuration_t *limited, + char *type +); + +void v1_priority_level_configuration_spec_free(v1_priority_level_configuration_spec_t *v1_priority_level_configuration_spec); + +v1_priority_level_configuration_spec_t *v1_priority_level_configuration_spec_parseFromJSON(cJSON *v1_priority_level_configuration_specJSON); + +cJSON *v1_priority_level_configuration_spec_convertToJSON(v1_priority_level_configuration_spec_t *v1_priority_level_configuration_spec); + +#endif /* _v1_priority_level_configuration_spec_H_ */ + diff --git a/kubernetes/model/v1_priority_level_configuration_status.c b/kubernetes/model/v1_priority_level_configuration_status.c new file mode 100644 index 00000000..d9f506c7 --- /dev/null +++ b/kubernetes/model/v1_priority_level_configuration_status.c @@ -0,0 +1,112 @@ +#include +#include +#include +#include "v1_priority_level_configuration_status.h" + + + +v1_priority_level_configuration_status_t *v1_priority_level_configuration_status_create( + list_t *conditions + ) { + v1_priority_level_configuration_status_t *v1_priority_level_configuration_status_local_var = malloc(sizeof(v1_priority_level_configuration_status_t)); + if (!v1_priority_level_configuration_status_local_var) { + return NULL; + } + v1_priority_level_configuration_status_local_var->conditions = conditions; + + return v1_priority_level_configuration_status_local_var; +} + + +void v1_priority_level_configuration_status_free(v1_priority_level_configuration_status_t *v1_priority_level_configuration_status) { + if(NULL == v1_priority_level_configuration_status){ + return ; + } + listEntry_t *listEntry; + if (v1_priority_level_configuration_status->conditions) { + list_ForEach(listEntry, v1_priority_level_configuration_status->conditions) { + v1_priority_level_configuration_condition_free(listEntry->data); + } + list_freeList(v1_priority_level_configuration_status->conditions); + v1_priority_level_configuration_status->conditions = NULL; + } + free(v1_priority_level_configuration_status); +} + +cJSON *v1_priority_level_configuration_status_convertToJSON(v1_priority_level_configuration_status_t *v1_priority_level_configuration_status) { + cJSON *item = cJSON_CreateObject(); + + // v1_priority_level_configuration_status->conditions + if(v1_priority_level_configuration_status->conditions) { + cJSON *conditions = cJSON_AddArrayToObject(item, "conditions"); + if(conditions == NULL) { + goto fail; //nonprimitive container + } + + listEntry_t *conditionsListEntry; + if (v1_priority_level_configuration_status->conditions) { + list_ForEach(conditionsListEntry, v1_priority_level_configuration_status->conditions) { + cJSON *itemLocal = v1_priority_level_configuration_condition_convertToJSON(conditionsListEntry->data); + if(itemLocal == NULL) { + goto fail; + } + cJSON_AddItemToArray(conditions, itemLocal); + } + } + } + + return item; +fail: + if (item) { + cJSON_Delete(item); + } + return NULL; +} + +v1_priority_level_configuration_status_t *v1_priority_level_configuration_status_parseFromJSON(cJSON *v1_priority_level_configuration_statusJSON){ + + v1_priority_level_configuration_status_t *v1_priority_level_configuration_status_local_var = NULL; + + // define the local list for v1_priority_level_configuration_status->conditions + list_t *conditionsList = NULL; + + // v1_priority_level_configuration_status->conditions + cJSON *conditions = cJSON_GetObjectItemCaseSensitive(v1_priority_level_configuration_statusJSON, "conditions"); + if (conditions) { + cJSON *conditions_local_nonprimitive = NULL; + if(!cJSON_IsArray(conditions)){ + goto end; //nonprimitive container + } + + conditionsList = list_createList(); + + cJSON_ArrayForEach(conditions_local_nonprimitive,conditions ) + { + if(!cJSON_IsObject(conditions_local_nonprimitive)){ + goto end; + } + v1_priority_level_configuration_condition_t *conditionsItem = v1_priority_level_configuration_condition_parseFromJSON(conditions_local_nonprimitive); + + list_addElement(conditionsList, conditionsItem); + } + } + + + v1_priority_level_configuration_status_local_var = v1_priority_level_configuration_status_create ( + conditions ? conditionsList : NULL + ); + + return v1_priority_level_configuration_status_local_var; +end: + if (conditionsList) { + listEntry_t *listEntry = NULL; + list_ForEach(listEntry, conditionsList) { + v1_priority_level_configuration_condition_free(listEntry->data); + listEntry->data = NULL; + } + list_freeList(conditionsList); + conditionsList = NULL; + } + return NULL; + +} diff --git a/kubernetes/model/v1_priority_level_configuration_status.h b/kubernetes/model/v1_priority_level_configuration_status.h new file mode 100644 index 00000000..3e07df38 --- /dev/null +++ b/kubernetes/model/v1_priority_level_configuration_status.h @@ -0,0 +1,38 @@ +/* + * v1_priority_level_configuration_status.h + * + * PriorityLevelConfigurationStatus represents the current state of a \"request-priority\". + */ + +#ifndef _v1_priority_level_configuration_status_H_ +#define _v1_priority_level_configuration_status_H_ + +#include +#include "../external/cJSON.h" +#include "../include/list.h" +#include "../include/keyValuePair.h" +#include "../include/binary.h" + +typedef struct v1_priority_level_configuration_status_t v1_priority_level_configuration_status_t; + +#include "v1_priority_level_configuration_condition.h" + + + +typedef struct v1_priority_level_configuration_status_t { + list_t *conditions; //nonprimitive container + +} v1_priority_level_configuration_status_t; + +v1_priority_level_configuration_status_t *v1_priority_level_configuration_status_create( + list_t *conditions +); + +void v1_priority_level_configuration_status_free(v1_priority_level_configuration_status_t *v1_priority_level_configuration_status); + +v1_priority_level_configuration_status_t *v1_priority_level_configuration_status_parseFromJSON(cJSON *v1_priority_level_configuration_statusJSON); + +cJSON *v1_priority_level_configuration_status_convertToJSON(v1_priority_level_configuration_status_t *v1_priority_level_configuration_status); + +#endif /* _v1_priority_level_configuration_status_H_ */ + diff --git a/kubernetes/model/v1_queuing_configuration.c b/kubernetes/model/v1_queuing_configuration.c new file mode 100644 index 00000000..5ec4aa51 --- /dev/null +++ b/kubernetes/model/v1_queuing_configuration.c @@ -0,0 +1,109 @@ +#include +#include +#include +#include "v1_queuing_configuration.h" + + + +v1_queuing_configuration_t *v1_queuing_configuration_create( + int hand_size, + int queue_length_limit, + int queues + ) { + v1_queuing_configuration_t *v1_queuing_configuration_local_var = malloc(sizeof(v1_queuing_configuration_t)); + if (!v1_queuing_configuration_local_var) { + return NULL; + } + v1_queuing_configuration_local_var->hand_size = hand_size; + v1_queuing_configuration_local_var->queue_length_limit = queue_length_limit; + v1_queuing_configuration_local_var->queues = queues; + + return v1_queuing_configuration_local_var; +} + + +void v1_queuing_configuration_free(v1_queuing_configuration_t *v1_queuing_configuration) { + if(NULL == v1_queuing_configuration){ + return ; + } + listEntry_t *listEntry; + free(v1_queuing_configuration); +} + +cJSON *v1_queuing_configuration_convertToJSON(v1_queuing_configuration_t *v1_queuing_configuration) { + cJSON *item = cJSON_CreateObject(); + + // v1_queuing_configuration->hand_size + if(v1_queuing_configuration->hand_size) { + if(cJSON_AddNumberToObject(item, "handSize", v1_queuing_configuration->hand_size) == NULL) { + goto fail; //Numeric + } + } + + + // v1_queuing_configuration->queue_length_limit + if(v1_queuing_configuration->queue_length_limit) { + if(cJSON_AddNumberToObject(item, "queueLengthLimit", v1_queuing_configuration->queue_length_limit) == NULL) { + goto fail; //Numeric + } + } + + + // v1_queuing_configuration->queues + if(v1_queuing_configuration->queues) { + if(cJSON_AddNumberToObject(item, "queues", v1_queuing_configuration->queues) == NULL) { + goto fail; //Numeric + } + } + + return item; +fail: + if (item) { + cJSON_Delete(item); + } + return NULL; +} + +v1_queuing_configuration_t *v1_queuing_configuration_parseFromJSON(cJSON *v1_queuing_configurationJSON){ + + v1_queuing_configuration_t *v1_queuing_configuration_local_var = NULL; + + // v1_queuing_configuration->hand_size + cJSON *hand_size = cJSON_GetObjectItemCaseSensitive(v1_queuing_configurationJSON, "handSize"); + if (hand_size) { + if(!cJSON_IsNumber(hand_size)) + { + goto end; //Numeric + } + } + + // v1_queuing_configuration->queue_length_limit + cJSON *queue_length_limit = cJSON_GetObjectItemCaseSensitive(v1_queuing_configurationJSON, "queueLengthLimit"); + if (queue_length_limit) { + if(!cJSON_IsNumber(queue_length_limit)) + { + goto end; //Numeric + } + } + + // v1_queuing_configuration->queues + cJSON *queues = cJSON_GetObjectItemCaseSensitive(v1_queuing_configurationJSON, "queues"); + if (queues) { + if(!cJSON_IsNumber(queues)) + { + goto end; //Numeric + } + } + + + v1_queuing_configuration_local_var = v1_queuing_configuration_create ( + hand_size ? hand_size->valuedouble : 0, + queue_length_limit ? queue_length_limit->valuedouble : 0, + queues ? queues->valuedouble : 0 + ); + + return v1_queuing_configuration_local_var; +end: + return NULL; + +} diff --git a/kubernetes/model/v1_queuing_configuration.h b/kubernetes/model/v1_queuing_configuration.h new file mode 100644 index 00000000..f1c6ed3e --- /dev/null +++ b/kubernetes/model/v1_queuing_configuration.h @@ -0,0 +1,41 @@ +/* + * v1_queuing_configuration.h + * + * QueuingConfiguration holds the configuration parameters for queuing + */ + +#ifndef _v1_queuing_configuration_H_ +#define _v1_queuing_configuration_H_ + +#include +#include "../external/cJSON.h" +#include "../include/list.h" +#include "../include/keyValuePair.h" +#include "../include/binary.h" + +typedef struct v1_queuing_configuration_t v1_queuing_configuration_t; + + + + +typedef struct v1_queuing_configuration_t { + int hand_size; //numeric + int queue_length_limit; //numeric + int queues; //numeric + +} v1_queuing_configuration_t; + +v1_queuing_configuration_t *v1_queuing_configuration_create( + int hand_size, + int queue_length_limit, + int queues +); + +void v1_queuing_configuration_free(v1_queuing_configuration_t *v1_queuing_configuration); + +v1_queuing_configuration_t *v1_queuing_configuration_parseFromJSON(cJSON *v1_queuing_configurationJSON); + +cJSON *v1_queuing_configuration_convertToJSON(v1_queuing_configuration_t *v1_queuing_configuration); + +#endif /* _v1_queuing_configuration_H_ */ + diff --git a/kubernetes/model/v1beta2_resource_policy_rule.c b/kubernetes/model/v1_resource_policy_rule.c similarity index 54% rename from kubernetes/model/v1beta2_resource_policy_rule.c rename to kubernetes/model/v1_resource_policy_rule.c index 22a9457a..13f7504f 100644 --- a/kubernetes/model/v1beta2_resource_policy_rule.c +++ b/kubernetes/model/v1_resource_policy_rule.c @@ -1,72 +1,72 @@ #include #include #include -#include "v1beta2_resource_policy_rule.h" +#include "v1_resource_policy_rule.h" -v1beta2_resource_policy_rule_t *v1beta2_resource_policy_rule_create( +v1_resource_policy_rule_t *v1_resource_policy_rule_create( list_t *api_groups, int cluster_scope, list_t *namespaces, list_t *resources, list_t *verbs ) { - v1beta2_resource_policy_rule_t *v1beta2_resource_policy_rule_local_var = malloc(sizeof(v1beta2_resource_policy_rule_t)); - if (!v1beta2_resource_policy_rule_local_var) { + v1_resource_policy_rule_t *v1_resource_policy_rule_local_var = malloc(sizeof(v1_resource_policy_rule_t)); + if (!v1_resource_policy_rule_local_var) { return NULL; } - v1beta2_resource_policy_rule_local_var->api_groups = api_groups; - v1beta2_resource_policy_rule_local_var->cluster_scope = cluster_scope; - v1beta2_resource_policy_rule_local_var->namespaces = namespaces; - v1beta2_resource_policy_rule_local_var->resources = resources; - v1beta2_resource_policy_rule_local_var->verbs = verbs; + v1_resource_policy_rule_local_var->api_groups = api_groups; + v1_resource_policy_rule_local_var->cluster_scope = cluster_scope; + v1_resource_policy_rule_local_var->namespaces = namespaces; + v1_resource_policy_rule_local_var->resources = resources; + v1_resource_policy_rule_local_var->verbs = verbs; - return v1beta2_resource_policy_rule_local_var; + return v1_resource_policy_rule_local_var; } -void v1beta2_resource_policy_rule_free(v1beta2_resource_policy_rule_t *v1beta2_resource_policy_rule) { - if(NULL == v1beta2_resource_policy_rule){ +void v1_resource_policy_rule_free(v1_resource_policy_rule_t *v1_resource_policy_rule) { + if(NULL == v1_resource_policy_rule){ return ; } listEntry_t *listEntry; - if (v1beta2_resource_policy_rule->api_groups) { - list_ForEach(listEntry, v1beta2_resource_policy_rule->api_groups) { + if (v1_resource_policy_rule->api_groups) { + list_ForEach(listEntry, v1_resource_policy_rule->api_groups) { free(listEntry->data); } - list_freeList(v1beta2_resource_policy_rule->api_groups); - v1beta2_resource_policy_rule->api_groups = NULL; + list_freeList(v1_resource_policy_rule->api_groups); + v1_resource_policy_rule->api_groups = NULL; } - if (v1beta2_resource_policy_rule->namespaces) { - list_ForEach(listEntry, v1beta2_resource_policy_rule->namespaces) { + if (v1_resource_policy_rule->namespaces) { + list_ForEach(listEntry, v1_resource_policy_rule->namespaces) { free(listEntry->data); } - list_freeList(v1beta2_resource_policy_rule->namespaces); - v1beta2_resource_policy_rule->namespaces = NULL; + list_freeList(v1_resource_policy_rule->namespaces); + v1_resource_policy_rule->namespaces = NULL; } - if (v1beta2_resource_policy_rule->resources) { - list_ForEach(listEntry, v1beta2_resource_policy_rule->resources) { + if (v1_resource_policy_rule->resources) { + list_ForEach(listEntry, v1_resource_policy_rule->resources) { free(listEntry->data); } - list_freeList(v1beta2_resource_policy_rule->resources); - v1beta2_resource_policy_rule->resources = NULL; + list_freeList(v1_resource_policy_rule->resources); + v1_resource_policy_rule->resources = NULL; } - if (v1beta2_resource_policy_rule->verbs) { - list_ForEach(listEntry, v1beta2_resource_policy_rule->verbs) { + if (v1_resource_policy_rule->verbs) { + list_ForEach(listEntry, v1_resource_policy_rule->verbs) { free(listEntry->data); } - list_freeList(v1beta2_resource_policy_rule->verbs); - v1beta2_resource_policy_rule->verbs = NULL; + list_freeList(v1_resource_policy_rule->verbs); + v1_resource_policy_rule->verbs = NULL; } - free(v1beta2_resource_policy_rule); + free(v1_resource_policy_rule); } -cJSON *v1beta2_resource_policy_rule_convertToJSON(v1beta2_resource_policy_rule_t *v1beta2_resource_policy_rule) { +cJSON *v1_resource_policy_rule_convertToJSON(v1_resource_policy_rule_t *v1_resource_policy_rule) { cJSON *item = cJSON_CreateObject(); - // v1beta2_resource_policy_rule->api_groups - if (!v1beta2_resource_policy_rule->api_groups) { + // v1_resource_policy_rule->api_groups + if (!v1_resource_policy_rule->api_groups) { goto fail; } cJSON *api_groups = cJSON_AddArrayToObject(item, "apiGroups"); @@ -75,7 +75,7 @@ cJSON *v1beta2_resource_policy_rule_convertToJSON(v1beta2_resource_policy_rule_t } listEntry_t *api_groupsListEntry; - list_ForEach(api_groupsListEntry, v1beta2_resource_policy_rule->api_groups) { + list_ForEach(api_groupsListEntry, v1_resource_policy_rule->api_groups) { if(cJSON_AddStringToObject(api_groups, "", (char*)api_groupsListEntry->data) == NULL) { goto fail; @@ -83,23 +83,23 @@ cJSON *v1beta2_resource_policy_rule_convertToJSON(v1beta2_resource_policy_rule_t } - // v1beta2_resource_policy_rule->cluster_scope - if(v1beta2_resource_policy_rule->cluster_scope) { - if(cJSON_AddBoolToObject(item, "clusterScope", v1beta2_resource_policy_rule->cluster_scope) == NULL) { + // v1_resource_policy_rule->cluster_scope + if(v1_resource_policy_rule->cluster_scope) { + if(cJSON_AddBoolToObject(item, "clusterScope", v1_resource_policy_rule->cluster_scope) == NULL) { goto fail; //Bool } } - // v1beta2_resource_policy_rule->namespaces - if(v1beta2_resource_policy_rule->namespaces) { + // v1_resource_policy_rule->namespaces + if(v1_resource_policy_rule->namespaces) { cJSON *namespaces = cJSON_AddArrayToObject(item, "namespaces"); if(namespaces == NULL) { goto fail; //primitive container } listEntry_t *namespacesListEntry; - list_ForEach(namespacesListEntry, v1beta2_resource_policy_rule->namespaces) { + list_ForEach(namespacesListEntry, v1_resource_policy_rule->namespaces) { if(cJSON_AddStringToObject(namespaces, "", (char*)namespacesListEntry->data) == NULL) { goto fail; @@ -108,8 +108,8 @@ cJSON *v1beta2_resource_policy_rule_convertToJSON(v1beta2_resource_policy_rule_t } - // v1beta2_resource_policy_rule->resources - if (!v1beta2_resource_policy_rule->resources) { + // v1_resource_policy_rule->resources + if (!v1_resource_policy_rule->resources) { goto fail; } cJSON *resources = cJSON_AddArrayToObject(item, "resources"); @@ -118,7 +118,7 @@ cJSON *v1beta2_resource_policy_rule_convertToJSON(v1beta2_resource_policy_rule_t } listEntry_t *resourcesListEntry; - list_ForEach(resourcesListEntry, v1beta2_resource_policy_rule->resources) { + list_ForEach(resourcesListEntry, v1_resource_policy_rule->resources) { if(cJSON_AddStringToObject(resources, "", (char*)resourcesListEntry->data) == NULL) { goto fail; @@ -126,8 +126,8 @@ cJSON *v1beta2_resource_policy_rule_convertToJSON(v1beta2_resource_policy_rule_t } - // v1beta2_resource_policy_rule->verbs - if (!v1beta2_resource_policy_rule->verbs) { + // v1_resource_policy_rule->verbs + if (!v1_resource_policy_rule->verbs) { goto fail; } cJSON *verbs = cJSON_AddArrayToObject(item, "verbs"); @@ -136,7 +136,7 @@ cJSON *v1beta2_resource_policy_rule_convertToJSON(v1beta2_resource_policy_rule_t } listEntry_t *verbsListEntry; - list_ForEach(verbsListEntry, v1beta2_resource_policy_rule->verbs) { + list_ForEach(verbsListEntry, v1_resource_policy_rule->verbs) { if(cJSON_AddStringToObject(verbs, "", (char*)verbsListEntry->data) == NULL) { goto fail; @@ -151,24 +151,24 @@ cJSON *v1beta2_resource_policy_rule_convertToJSON(v1beta2_resource_policy_rule_t return NULL; } -v1beta2_resource_policy_rule_t *v1beta2_resource_policy_rule_parseFromJSON(cJSON *v1beta2_resource_policy_ruleJSON){ +v1_resource_policy_rule_t *v1_resource_policy_rule_parseFromJSON(cJSON *v1_resource_policy_ruleJSON){ - v1beta2_resource_policy_rule_t *v1beta2_resource_policy_rule_local_var = NULL; + v1_resource_policy_rule_t *v1_resource_policy_rule_local_var = NULL; - // define the local list for v1beta2_resource_policy_rule->api_groups + // define the local list for v1_resource_policy_rule->api_groups list_t *api_groupsList = NULL; - // define the local list for v1beta2_resource_policy_rule->namespaces + // define the local list for v1_resource_policy_rule->namespaces list_t *namespacesList = NULL; - // define the local list for v1beta2_resource_policy_rule->resources + // define the local list for v1_resource_policy_rule->resources list_t *resourcesList = NULL; - // define the local list for v1beta2_resource_policy_rule->verbs + // define the local list for v1_resource_policy_rule->verbs list_t *verbsList = NULL; - // v1beta2_resource_policy_rule->api_groups - cJSON *api_groups = cJSON_GetObjectItemCaseSensitive(v1beta2_resource_policy_ruleJSON, "apiGroups"); + // v1_resource_policy_rule->api_groups + cJSON *api_groups = cJSON_GetObjectItemCaseSensitive(v1_resource_policy_ruleJSON, "apiGroups"); if (!api_groups) { goto end; } @@ -189,8 +189,8 @@ v1beta2_resource_policy_rule_t *v1beta2_resource_policy_rule_parseFromJSON(cJSON list_addElement(api_groupsList , strdup(api_groups_local->valuestring)); } - // v1beta2_resource_policy_rule->cluster_scope - cJSON *cluster_scope = cJSON_GetObjectItemCaseSensitive(v1beta2_resource_policy_ruleJSON, "clusterScope"); + // v1_resource_policy_rule->cluster_scope + cJSON *cluster_scope = cJSON_GetObjectItemCaseSensitive(v1_resource_policy_ruleJSON, "clusterScope"); if (cluster_scope) { if(!cJSON_IsBool(cluster_scope)) { @@ -198,8 +198,8 @@ v1beta2_resource_policy_rule_t *v1beta2_resource_policy_rule_parseFromJSON(cJSON } } - // v1beta2_resource_policy_rule->namespaces - cJSON *namespaces = cJSON_GetObjectItemCaseSensitive(v1beta2_resource_policy_ruleJSON, "namespaces"); + // v1_resource_policy_rule->namespaces + cJSON *namespaces = cJSON_GetObjectItemCaseSensitive(v1_resource_policy_ruleJSON, "namespaces"); if (namespaces) { cJSON *namespaces_local = NULL; if(!cJSON_IsArray(namespaces)) { @@ -217,8 +217,8 @@ v1beta2_resource_policy_rule_t *v1beta2_resource_policy_rule_parseFromJSON(cJSON } } - // v1beta2_resource_policy_rule->resources - cJSON *resources = cJSON_GetObjectItemCaseSensitive(v1beta2_resource_policy_ruleJSON, "resources"); + // v1_resource_policy_rule->resources + cJSON *resources = cJSON_GetObjectItemCaseSensitive(v1_resource_policy_ruleJSON, "resources"); if (!resources) { goto end; } @@ -239,8 +239,8 @@ v1beta2_resource_policy_rule_t *v1beta2_resource_policy_rule_parseFromJSON(cJSON list_addElement(resourcesList , strdup(resources_local->valuestring)); } - // v1beta2_resource_policy_rule->verbs - cJSON *verbs = cJSON_GetObjectItemCaseSensitive(v1beta2_resource_policy_ruleJSON, "verbs"); + // v1_resource_policy_rule->verbs + cJSON *verbs = cJSON_GetObjectItemCaseSensitive(v1_resource_policy_ruleJSON, "verbs"); if (!verbs) { goto end; } @@ -262,7 +262,7 @@ v1beta2_resource_policy_rule_t *v1beta2_resource_policy_rule_parseFromJSON(cJSON } - v1beta2_resource_policy_rule_local_var = v1beta2_resource_policy_rule_create ( + v1_resource_policy_rule_local_var = v1_resource_policy_rule_create ( api_groupsList, cluster_scope ? cluster_scope->valueint : 0, namespaces ? namespacesList : NULL, @@ -270,7 +270,7 @@ v1beta2_resource_policy_rule_t *v1beta2_resource_policy_rule_parseFromJSON(cJSON verbsList ); - return v1beta2_resource_policy_rule_local_var; + return v1_resource_policy_rule_local_var; end: if (api_groupsList) { listEntry_t *listEntry = NULL; diff --git a/kubernetes/model/v1beta2_resource_policy_rule.h b/kubernetes/model/v1_resource_policy_rule.h similarity index 60% rename from kubernetes/model/v1beta2_resource_policy_rule.h rename to kubernetes/model/v1_resource_policy_rule.h index 408b5b2a..004fcf32 100644 --- a/kubernetes/model/v1beta2_resource_policy_rule.h +++ b/kubernetes/model/v1_resource_policy_rule.h @@ -1,11 +1,11 @@ /* - * v1beta2_resource_policy_rule.h + * v1_resource_policy_rule.h * * ResourcePolicyRule is a predicate that matches some resource requests, testing the request's verb and the target resource. A ResourcePolicyRule matches a resource request if and only if: (a) at least one member of verbs matches the request, (b) at least one member of apiGroups matches the request, (c) at least one member of resources matches the request, and (d) either (d1) the request does not specify a namespace (i.e., `Namespace==\"\"`) and clusterScope is true or (d2) the request specifies a namespace and least one member of namespaces matches the request's namespace. */ -#ifndef _v1beta2_resource_policy_rule_H_ -#define _v1beta2_resource_policy_rule_H_ +#ifndef _v1_resource_policy_rule_H_ +#define _v1_resource_policy_rule_H_ #include #include "../external/cJSON.h" @@ -13,21 +13,21 @@ #include "../include/keyValuePair.h" #include "../include/binary.h" -typedef struct v1beta2_resource_policy_rule_t v1beta2_resource_policy_rule_t; +typedef struct v1_resource_policy_rule_t v1_resource_policy_rule_t; -typedef struct v1beta2_resource_policy_rule_t { +typedef struct v1_resource_policy_rule_t { list_t *api_groups; //primitive container int cluster_scope; //boolean list_t *namespaces; //primitive container list_t *resources; //primitive container list_t *verbs; //primitive container -} v1beta2_resource_policy_rule_t; +} v1_resource_policy_rule_t; -v1beta2_resource_policy_rule_t *v1beta2_resource_policy_rule_create( +v1_resource_policy_rule_t *v1_resource_policy_rule_create( list_t *api_groups, int cluster_scope, list_t *namespaces, @@ -35,11 +35,11 @@ v1beta2_resource_policy_rule_t *v1beta2_resource_policy_rule_create( list_t *verbs ); -void v1beta2_resource_policy_rule_free(v1beta2_resource_policy_rule_t *v1beta2_resource_policy_rule); +void v1_resource_policy_rule_free(v1_resource_policy_rule_t *v1_resource_policy_rule); -v1beta2_resource_policy_rule_t *v1beta2_resource_policy_rule_parseFromJSON(cJSON *v1beta2_resource_policy_ruleJSON); +v1_resource_policy_rule_t *v1_resource_policy_rule_parseFromJSON(cJSON *v1_resource_policy_ruleJSON); -cJSON *v1beta2_resource_policy_rule_convertToJSON(v1beta2_resource_policy_rule_t *v1beta2_resource_policy_rule); +cJSON *v1_resource_policy_rule_convertToJSON(v1_resource_policy_rule_t *v1_resource_policy_rule); -#endif /* _v1beta2_resource_policy_rule_H_ */ +#endif /* _v1_resource_policy_rule_H_ */ diff --git a/kubernetes/model/v1_role_binding.c b/kubernetes/model/v1_role_binding.c index 284c7f2f..abd533b5 100644 --- a/kubernetes/model/v1_role_binding.c +++ b/kubernetes/model/v1_role_binding.c @@ -49,7 +49,7 @@ void v1_role_binding_free(v1_role_binding_t *v1_role_binding) { } if (v1_role_binding->subjects) { list_ForEach(listEntry, v1_role_binding->subjects) { - v1_subject_free(listEntry->data); + rbac_v1_subject_free(listEntry->data); } list_freeList(v1_role_binding->subjects); v1_role_binding->subjects = NULL; @@ -113,7 +113,7 @@ cJSON *v1_role_binding_convertToJSON(v1_role_binding_t *v1_role_binding) { listEntry_t *subjectsListEntry; if (v1_role_binding->subjects) { list_ForEach(subjectsListEntry, v1_role_binding->subjects) { - cJSON *itemLocal = v1_subject_convertToJSON(subjectsListEntry->data); + cJSON *itemLocal = rbac_v1_subject_convertToJSON(subjectsListEntry->data); if(itemLocal == NULL) { goto fail; } @@ -191,7 +191,7 @@ v1_role_binding_t *v1_role_binding_parseFromJSON(cJSON *v1_role_bindingJSON){ if(!cJSON_IsObject(subjects_local_nonprimitive)){ goto end; } - v1_subject_t *subjectsItem = v1_subject_parseFromJSON(subjects_local_nonprimitive); + rbac_v1_subject_t *subjectsItem = rbac_v1_subject_parseFromJSON(subjects_local_nonprimitive); list_addElement(subjectsList, subjectsItem); } @@ -219,7 +219,7 @@ v1_role_binding_t *v1_role_binding_parseFromJSON(cJSON *v1_role_bindingJSON){ if (subjectsList) { listEntry_t *listEntry = NULL; list_ForEach(listEntry, subjectsList) { - v1_subject_free(listEntry->data); + rbac_v1_subject_free(listEntry->data); listEntry->data = NULL; } list_freeList(subjectsList); diff --git a/kubernetes/model/v1_role_binding.h b/kubernetes/model/v1_role_binding.h index 72122e98..6070da49 100644 --- a/kubernetes/model/v1_role_binding.h +++ b/kubernetes/model/v1_role_binding.h @@ -15,9 +15,9 @@ typedef struct v1_role_binding_t v1_role_binding_t; +#include "rbac_v1_subject.h" #include "v1_object_meta.h" #include "v1_role_ref.h" -#include "v1_subject.h" diff --git a/kubernetes/model/v1_service_account_subject.c b/kubernetes/model/v1_service_account_subject.c new file mode 100644 index 00000000..43e0c2e9 --- /dev/null +++ b/kubernetes/model/v1_service_account_subject.c @@ -0,0 +1,105 @@ +#include +#include +#include +#include "v1_service_account_subject.h" + + + +v1_service_account_subject_t *v1_service_account_subject_create( + char *name, + char *_namespace + ) { + v1_service_account_subject_t *v1_service_account_subject_local_var = malloc(sizeof(v1_service_account_subject_t)); + if (!v1_service_account_subject_local_var) { + return NULL; + } + v1_service_account_subject_local_var->name = name; + v1_service_account_subject_local_var->_namespace = _namespace; + + return v1_service_account_subject_local_var; +} + + +void v1_service_account_subject_free(v1_service_account_subject_t *v1_service_account_subject) { + if(NULL == v1_service_account_subject){ + return ; + } + listEntry_t *listEntry; + if (v1_service_account_subject->name) { + free(v1_service_account_subject->name); + v1_service_account_subject->name = NULL; + } + if (v1_service_account_subject->_namespace) { + free(v1_service_account_subject->_namespace); + v1_service_account_subject->_namespace = NULL; + } + free(v1_service_account_subject); +} + +cJSON *v1_service_account_subject_convertToJSON(v1_service_account_subject_t *v1_service_account_subject) { + cJSON *item = cJSON_CreateObject(); + + // v1_service_account_subject->name + if (!v1_service_account_subject->name) { + goto fail; + } + if(cJSON_AddStringToObject(item, "name", v1_service_account_subject->name) == NULL) { + goto fail; //String + } + + + // v1_service_account_subject->_namespace + if (!v1_service_account_subject->_namespace) { + goto fail; + } + if(cJSON_AddStringToObject(item, "namespace", v1_service_account_subject->_namespace) == NULL) { + goto fail; //String + } + + return item; +fail: + if (item) { + cJSON_Delete(item); + } + return NULL; +} + +v1_service_account_subject_t *v1_service_account_subject_parseFromJSON(cJSON *v1_service_account_subjectJSON){ + + v1_service_account_subject_t *v1_service_account_subject_local_var = NULL; + + // v1_service_account_subject->name + cJSON *name = cJSON_GetObjectItemCaseSensitive(v1_service_account_subjectJSON, "name"); + if (!name) { + goto end; + } + + + if(!cJSON_IsString(name)) + { + goto end; //String + } + + // v1_service_account_subject->_namespace + cJSON *_namespace = cJSON_GetObjectItemCaseSensitive(v1_service_account_subjectJSON, "namespace"); + if (!_namespace) { + goto end; + } + + + if(!cJSON_IsString(_namespace)) + { + goto end; //String + } + + + v1_service_account_subject_local_var = v1_service_account_subject_create ( + strdup(name->valuestring), + strdup(_namespace->valuestring) + ); + + return v1_service_account_subject_local_var; +end: + return NULL; + +} diff --git a/kubernetes/model/v1_service_account_subject.h b/kubernetes/model/v1_service_account_subject.h new file mode 100644 index 00000000..0ba21e36 --- /dev/null +++ b/kubernetes/model/v1_service_account_subject.h @@ -0,0 +1,39 @@ +/* + * v1_service_account_subject.h + * + * ServiceAccountSubject holds detailed information for service-account-kind subject. + */ + +#ifndef _v1_service_account_subject_H_ +#define _v1_service_account_subject_H_ + +#include +#include "../external/cJSON.h" +#include "../include/list.h" +#include "../include/keyValuePair.h" +#include "../include/binary.h" + +typedef struct v1_service_account_subject_t v1_service_account_subject_t; + + + + +typedef struct v1_service_account_subject_t { + char *name; // string + char *_namespace; // string + +} v1_service_account_subject_t; + +v1_service_account_subject_t *v1_service_account_subject_create( + char *name, + char *_namespace +); + +void v1_service_account_subject_free(v1_service_account_subject_t *v1_service_account_subject); + +v1_service_account_subject_t *v1_service_account_subject_parseFromJSON(cJSON *v1_service_account_subjectJSON); + +cJSON *v1_service_account_subject_convertToJSON(v1_service_account_subject_t *v1_service_account_subject); + +#endif /* _v1_service_account_subject_H_ */ + diff --git a/kubernetes/model/v1_sleep_action.c b/kubernetes/model/v1_sleep_action.c new file mode 100644 index 00000000..6fd1a24d --- /dev/null +++ b/kubernetes/model/v1_sleep_action.c @@ -0,0 +1,73 @@ +#include +#include +#include +#include "v1_sleep_action.h" + + + +v1_sleep_action_t *v1_sleep_action_create( + long seconds + ) { + v1_sleep_action_t *v1_sleep_action_local_var = malloc(sizeof(v1_sleep_action_t)); + if (!v1_sleep_action_local_var) { + return NULL; + } + v1_sleep_action_local_var->seconds = seconds; + + return v1_sleep_action_local_var; +} + + +void v1_sleep_action_free(v1_sleep_action_t *v1_sleep_action) { + if(NULL == v1_sleep_action){ + return ; + } + listEntry_t *listEntry; + free(v1_sleep_action); +} + +cJSON *v1_sleep_action_convertToJSON(v1_sleep_action_t *v1_sleep_action) { + cJSON *item = cJSON_CreateObject(); + + // v1_sleep_action->seconds + if (!v1_sleep_action->seconds) { + goto fail; + } + if(cJSON_AddNumberToObject(item, "seconds", v1_sleep_action->seconds) == NULL) { + goto fail; //Numeric + } + + return item; +fail: + if (item) { + cJSON_Delete(item); + } + return NULL; +} + +v1_sleep_action_t *v1_sleep_action_parseFromJSON(cJSON *v1_sleep_actionJSON){ + + v1_sleep_action_t *v1_sleep_action_local_var = NULL; + + // v1_sleep_action->seconds + cJSON *seconds = cJSON_GetObjectItemCaseSensitive(v1_sleep_actionJSON, "seconds"); + if (!seconds) { + goto end; + } + + + if(!cJSON_IsNumber(seconds)) + { + goto end; //Numeric + } + + + v1_sleep_action_local_var = v1_sleep_action_create ( + seconds->valuedouble + ); + + return v1_sleep_action_local_var; +end: + return NULL; + +} diff --git a/kubernetes/model/v1_sleep_action.h b/kubernetes/model/v1_sleep_action.h new file mode 100644 index 00000000..2fc969a7 --- /dev/null +++ b/kubernetes/model/v1_sleep_action.h @@ -0,0 +1,37 @@ +/* + * v1_sleep_action.h + * + * SleepAction describes a \"sleep\" action. + */ + +#ifndef _v1_sleep_action_H_ +#define _v1_sleep_action_H_ + +#include +#include "../external/cJSON.h" +#include "../include/list.h" +#include "../include/keyValuePair.h" +#include "../include/binary.h" + +typedef struct v1_sleep_action_t v1_sleep_action_t; + + + + +typedef struct v1_sleep_action_t { + long seconds; //numeric + +} v1_sleep_action_t; + +v1_sleep_action_t *v1_sleep_action_create( + long seconds +); + +void v1_sleep_action_free(v1_sleep_action_t *v1_sleep_action); + +v1_sleep_action_t *v1_sleep_action_parseFromJSON(cJSON *v1_sleep_actionJSON); + +cJSON *v1_sleep_action_convertToJSON(v1_sleep_action_t *v1_sleep_action); + +#endif /* _v1_sleep_action_H_ */ + diff --git a/kubernetes/model/v1_subject.c b/kubernetes/model/v1_subject.c deleted file mode 100644 index fce89412..00000000 --- a/kubernetes/model/v1_subject.c +++ /dev/null @@ -1,153 +0,0 @@ -#include -#include -#include -#include "v1_subject.h" - - - -v1_subject_t *v1_subject_create( - char *api_group, - char *kind, - char *name, - char *_namespace - ) { - v1_subject_t *v1_subject_local_var = malloc(sizeof(v1_subject_t)); - if (!v1_subject_local_var) { - return NULL; - } - v1_subject_local_var->api_group = api_group; - v1_subject_local_var->kind = kind; - v1_subject_local_var->name = name; - v1_subject_local_var->_namespace = _namespace; - - return v1_subject_local_var; -} - - -void v1_subject_free(v1_subject_t *v1_subject) { - if(NULL == v1_subject){ - return ; - } - listEntry_t *listEntry; - if (v1_subject->api_group) { - free(v1_subject->api_group); - v1_subject->api_group = NULL; - } - if (v1_subject->kind) { - free(v1_subject->kind); - v1_subject->kind = NULL; - } - if (v1_subject->name) { - free(v1_subject->name); - v1_subject->name = NULL; - } - if (v1_subject->_namespace) { - free(v1_subject->_namespace); - v1_subject->_namespace = NULL; - } - free(v1_subject); -} - -cJSON *v1_subject_convertToJSON(v1_subject_t *v1_subject) { - cJSON *item = cJSON_CreateObject(); - - // v1_subject->api_group - if(v1_subject->api_group) { - if(cJSON_AddStringToObject(item, "apiGroup", v1_subject->api_group) == NULL) { - goto fail; //String - } - } - - - // v1_subject->kind - if (!v1_subject->kind) { - goto fail; - } - if(cJSON_AddStringToObject(item, "kind", v1_subject->kind) == NULL) { - goto fail; //String - } - - - // v1_subject->name - if (!v1_subject->name) { - goto fail; - } - if(cJSON_AddStringToObject(item, "name", v1_subject->name) == NULL) { - goto fail; //String - } - - - // v1_subject->_namespace - if(v1_subject->_namespace) { - if(cJSON_AddStringToObject(item, "namespace", v1_subject->_namespace) == NULL) { - goto fail; //String - } - } - - return item; -fail: - if (item) { - cJSON_Delete(item); - } - return NULL; -} - -v1_subject_t *v1_subject_parseFromJSON(cJSON *v1_subjectJSON){ - - v1_subject_t *v1_subject_local_var = NULL; - - // v1_subject->api_group - cJSON *api_group = cJSON_GetObjectItemCaseSensitive(v1_subjectJSON, "apiGroup"); - if (api_group) { - if(!cJSON_IsString(api_group) && !cJSON_IsNull(api_group)) - { - goto end; //String - } - } - - // v1_subject->kind - cJSON *kind = cJSON_GetObjectItemCaseSensitive(v1_subjectJSON, "kind"); - if (!kind) { - goto end; - } - - - if(!cJSON_IsString(kind)) - { - goto end; //String - } - - // v1_subject->name - cJSON *name = cJSON_GetObjectItemCaseSensitive(v1_subjectJSON, "name"); - if (!name) { - goto end; - } - - - if(!cJSON_IsString(name)) - { - goto end; //String - } - - // v1_subject->_namespace - cJSON *_namespace = cJSON_GetObjectItemCaseSensitive(v1_subjectJSON, "namespace"); - if (_namespace) { - if(!cJSON_IsString(_namespace) && !cJSON_IsNull(_namespace)) - { - goto end; //String - } - } - - - v1_subject_local_var = v1_subject_create ( - api_group && !cJSON_IsNull(api_group) ? strdup(api_group->valuestring) : NULL, - strdup(kind->valuestring), - strdup(name->valuestring), - _namespace && !cJSON_IsNull(_namespace) ? strdup(_namespace->valuestring) : NULL - ); - - return v1_subject_local_var; -end: - return NULL; - -} diff --git a/kubernetes/model/v1_user_subject.c b/kubernetes/model/v1_user_subject.c new file mode 100644 index 00000000..ccb793a8 --- /dev/null +++ b/kubernetes/model/v1_user_subject.c @@ -0,0 +1,77 @@ +#include +#include +#include +#include "v1_user_subject.h" + + + +v1_user_subject_t *v1_user_subject_create( + char *name + ) { + v1_user_subject_t *v1_user_subject_local_var = malloc(sizeof(v1_user_subject_t)); + if (!v1_user_subject_local_var) { + return NULL; + } + v1_user_subject_local_var->name = name; + + return v1_user_subject_local_var; +} + + +void v1_user_subject_free(v1_user_subject_t *v1_user_subject) { + if(NULL == v1_user_subject){ + return ; + } + listEntry_t *listEntry; + if (v1_user_subject->name) { + free(v1_user_subject->name); + v1_user_subject->name = NULL; + } + free(v1_user_subject); +} + +cJSON *v1_user_subject_convertToJSON(v1_user_subject_t *v1_user_subject) { + cJSON *item = cJSON_CreateObject(); + + // v1_user_subject->name + if (!v1_user_subject->name) { + goto fail; + } + if(cJSON_AddStringToObject(item, "name", v1_user_subject->name) == NULL) { + goto fail; //String + } + + return item; +fail: + if (item) { + cJSON_Delete(item); + } + return NULL; +} + +v1_user_subject_t *v1_user_subject_parseFromJSON(cJSON *v1_user_subjectJSON){ + + v1_user_subject_t *v1_user_subject_local_var = NULL; + + // v1_user_subject->name + cJSON *name = cJSON_GetObjectItemCaseSensitive(v1_user_subjectJSON, "name"); + if (!name) { + goto end; + } + + + if(!cJSON_IsString(name)) + { + goto end; //String + } + + + v1_user_subject_local_var = v1_user_subject_create ( + strdup(name->valuestring) + ); + + return v1_user_subject_local_var; +end: + return NULL; + +} diff --git a/kubernetes/model/v1_user_subject.h b/kubernetes/model/v1_user_subject.h new file mode 100644 index 00000000..918df977 --- /dev/null +++ b/kubernetes/model/v1_user_subject.h @@ -0,0 +1,37 @@ +/* + * v1_user_subject.h + * + * UserSubject holds detailed information for user-kind subject. + */ + +#ifndef _v1_user_subject_H_ +#define _v1_user_subject_H_ + +#include +#include "../external/cJSON.h" +#include "../include/list.h" +#include "../include/keyValuePair.h" +#include "../include/binary.h" + +typedef struct v1_user_subject_t v1_user_subject_t; + + + + +typedef struct v1_user_subject_t { + char *name; // string + +} v1_user_subject_t; + +v1_user_subject_t *v1_user_subject_create( + char *name +); + +void v1_user_subject_free(v1_user_subject_t *v1_user_subject); + +v1_user_subject_t *v1_user_subject_parseFromJSON(cJSON *v1_user_subjectJSON); + +cJSON *v1_user_subject_convertToJSON(v1_user_subject_t *v1_user_subject); + +#endif /* _v1_user_subject_H_ */ + diff --git a/kubernetes/model/v1_validation_rule.c b/kubernetes/model/v1_validation_rule.c index 3381ee4f..6958ae64 100644 --- a/kubernetes/model/v1_validation_rule.c +++ b/kubernetes/model/v1_validation_rule.c @@ -9,6 +9,7 @@ v1_validation_rule_t *v1_validation_rule_create( char *field_path, char *message, char *message_expression, + int optional_old_self, char *reason, char *rule ) { @@ -19,6 +20,7 @@ v1_validation_rule_t *v1_validation_rule_create( v1_validation_rule_local_var->field_path = field_path; v1_validation_rule_local_var->message = message; v1_validation_rule_local_var->message_expression = message_expression; + v1_validation_rule_local_var->optional_old_self = optional_old_self; v1_validation_rule_local_var->reason = reason; v1_validation_rule_local_var->rule = rule; @@ -81,6 +83,14 @@ cJSON *v1_validation_rule_convertToJSON(v1_validation_rule_t *v1_validation_rule } + // v1_validation_rule->optional_old_self + if(v1_validation_rule->optional_old_self) { + if(cJSON_AddBoolToObject(item, "optionalOldSelf", v1_validation_rule->optional_old_self) == NULL) { + goto fail; //Bool + } + } + + // v1_validation_rule->reason if(v1_validation_rule->reason) { if(cJSON_AddStringToObject(item, "reason", v1_validation_rule->reason) == NULL) { @@ -136,6 +146,15 @@ v1_validation_rule_t *v1_validation_rule_parseFromJSON(cJSON *v1_validation_rule } } + // v1_validation_rule->optional_old_self + cJSON *optional_old_self = cJSON_GetObjectItemCaseSensitive(v1_validation_ruleJSON, "optionalOldSelf"); + if (optional_old_self) { + if(!cJSON_IsBool(optional_old_self)) + { + goto end; //Bool + } + } + // v1_validation_rule->reason cJSON *reason = cJSON_GetObjectItemCaseSensitive(v1_validation_ruleJSON, "reason"); if (reason) { @@ -162,6 +181,7 @@ v1_validation_rule_t *v1_validation_rule_parseFromJSON(cJSON *v1_validation_rule field_path && !cJSON_IsNull(field_path) ? strdup(field_path->valuestring) : NULL, message && !cJSON_IsNull(message) ? strdup(message->valuestring) : NULL, message_expression && !cJSON_IsNull(message_expression) ? strdup(message_expression->valuestring) : NULL, + optional_old_self ? optional_old_self->valueint : 0, reason && !cJSON_IsNull(reason) ? strdup(reason->valuestring) : NULL, strdup(rule->valuestring) ); diff --git a/kubernetes/model/v1_validation_rule.h b/kubernetes/model/v1_validation_rule.h index dca1666a..e2c44d67 100644 --- a/kubernetes/model/v1_validation_rule.h +++ b/kubernetes/model/v1_validation_rule.h @@ -22,6 +22,7 @@ typedef struct v1_validation_rule_t { char *field_path; // string char *message; // string char *message_expression; // string + int optional_old_self; //boolean char *reason; // string char *rule; // string @@ -31,6 +32,7 @@ v1_validation_rule_t *v1_validation_rule_create( char *field_path, char *message, char *message_expression, + int optional_old_self, char *reason, char *rule ); diff --git a/kubernetes/model/v1_volume_projection.c b/kubernetes/model/v1_volume_projection.c index 5b3b3e73..20061317 100644 --- a/kubernetes/model/v1_volume_projection.c +++ b/kubernetes/model/v1_volume_projection.c @@ -6,6 +6,7 @@ v1_volume_projection_t *v1_volume_projection_create( + v1_cluster_trust_bundle_projection_t *cluster_trust_bundle, v1_config_map_projection_t *config_map, v1_downward_api_projection_t *downward_api, v1_secret_projection_t *secret, @@ -15,6 +16,7 @@ v1_volume_projection_t *v1_volume_projection_create( if (!v1_volume_projection_local_var) { return NULL; } + v1_volume_projection_local_var->cluster_trust_bundle = cluster_trust_bundle; v1_volume_projection_local_var->config_map = config_map; v1_volume_projection_local_var->downward_api = downward_api; v1_volume_projection_local_var->secret = secret; @@ -29,6 +31,10 @@ void v1_volume_projection_free(v1_volume_projection_t *v1_volume_projection) { return ; } listEntry_t *listEntry; + if (v1_volume_projection->cluster_trust_bundle) { + v1_cluster_trust_bundle_projection_free(v1_volume_projection->cluster_trust_bundle); + v1_volume_projection->cluster_trust_bundle = NULL; + } if (v1_volume_projection->config_map) { v1_config_map_projection_free(v1_volume_projection->config_map); v1_volume_projection->config_map = NULL; @@ -51,6 +57,19 @@ void v1_volume_projection_free(v1_volume_projection_t *v1_volume_projection) { cJSON *v1_volume_projection_convertToJSON(v1_volume_projection_t *v1_volume_projection) { cJSON *item = cJSON_CreateObject(); + // v1_volume_projection->cluster_trust_bundle + if(v1_volume_projection->cluster_trust_bundle) { + cJSON *cluster_trust_bundle_local_JSON = v1_cluster_trust_bundle_projection_convertToJSON(v1_volume_projection->cluster_trust_bundle); + if(cluster_trust_bundle_local_JSON == NULL) { + goto fail; //model + } + cJSON_AddItemToObject(item, "clusterTrustBundle", cluster_trust_bundle_local_JSON); + if(item->child == NULL) { + goto fail; + } + } + + // v1_volume_projection->config_map if(v1_volume_projection->config_map) { cJSON *config_map_local_JSON = v1_config_map_projection_convertToJSON(v1_volume_projection->config_map); @@ -114,6 +133,9 @@ v1_volume_projection_t *v1_volume_projection_parseFromJSON(cJSON *v1_volume_proj v1_volume_projection_t *v1_volume_projection_local_var = NULL; + // define the local variable for v1_volume_projection->cluster_trust_bundle + v1_cluster_trust_bundle_projection_t *cluster_trust_bundle_local_nonprim = NULL; + // define the local variable for v1_volume_projection->config_map v1_config_map_projection_t *config_map_local_nonprim = NULL; @@ -126,6 +148,12 @@ v1_volume_projection_t *v1_volume_projection_parseFromJSON(cJSON *v1_volume_proj // define the local variable for v1_volume_projection->service_account_token v1_service_account_token_projection_t *service_account_token_local_nonprim = NULL; + // v1_volume_projection->cluster_trust_bundle + cJSON *cluster_trust_bundle = cJSON_GetObjectItemCaseSensitive(v1_volume_projectionJSON, "clusterTrustBundle"); + if (cluster_trust_bundle) { + cluster_trust_bundle_local_nonprim = v1_cluster_trust_bundle_projection_parseFromJSON(cluster_trust_bundle); //nonprimitive + } + // v1_volume_projection->config_map cJSON *config_map = cJSON_GetObjectItemCaseSensitive(v1_volume_projectionJSON, "configMap"); if (config_map) { @@ -152,6 +180,7 @@ v1_volume_projection_t *v1_volume_projection_parseFromJSON(cJSON *v1_volume_proj v1_volume_projection_local_var = v1_volume_projection_create ( + cluster_trust_bundle ? cluster_trust_bundle_local_nonprim : NULL, config_map ? config_map_local_nonprim : NULL, downward_api ? downward_api_local_nonprim : NULL, secret ? secret_local_nonprim : NULL, @@ -160,6 +189,10 @@ v1_volume_projection_t *v1_volume_projection_parseFromJSON(cJSON *v1_volume_proj return v1_volume_projection_local_var; end: + if (cluster_trust_bundle_local_nonprim) { + v1_cluster_trust_bundle_projection_free(cluster_trust_bundle_local_nonprim); + cluster_trust_bundle_local_nonprim = NULL; + } if (config_map_local_nonprim) { v1_config_map_projection_free(config_map_local_nonprim); config_map_local_nonprim = NULL; diff --git a/kubernetes/model/v1_volume_projection.h b/kubernetes/model/v1_volume_projection.h index 12c994a5..097b06cd 100644 --- a/kubernetes/model/v1_volume_projection.h +++ b/kubernetes/model/v1_volume_projection.h @@ -15,6 +15,7 @@ typedef struct v1_volume_projection_t v1_volume_projection_t; +#include "v1_cluster_trust_bundle_projection.h" #include "v1_config_map_projection.h" #include "v1_downward_api_projection.h" #include "v1_secret_projection.h" @@ -23,6 +24,7 @@ typedef struct v1_volume_projection_t v1_volume_projection_t; typedef struct v1_volume_projection_t { + struct v1_cluster_trust_bundle_projection_t *cluster_trust_bundle; //model struct v1_config_map_projection_t *config_map; //model struct v1_downward_api_projection_t *downward_api; //model struct v1_secret_projection_t *secret; //model @@ -31,6 +33,7 @@ typedef struct v1_volume_projection_t { } v1_volume_projection_t; v1_volume_projection_t *v1_volume_projection_create( + v1_cluster_trust_bundle_projection_t *cluster_trust_bundle, v1_config_map_projection_t *config_map, v1_downward_api_projection_t *downward_api, v1_secret_projection_t *secret, diff --git a/kubernetes/model/v1_volume_resource_requirements.c b/kubernetes/model/v1_volume_resource_requirements.c new file mode 100644 index 00000000..05652dcf --- /dev/null +++ b/kubernetes/model/v1_volume_resource_requirements.c @@ -0,0 +1,199 @@ +#include +#include +#include +#include "v1_volume_resource_requirements.h" + + + +v1_volume_resource_requirements_t *v1_volume_resource_requirements_create( + list_t* limits, + list_t* requests + ) { + v1_volume_resource_requirements_t *v1_volume_resource_requirements_local_var = malloc(sizeof(v1_volume_resource_requirements_t)); + if (!v1_volume_resource_requirements_local_var) { + return NULL; + } + v1_volume_resource_requirements_local_var->limits = limits; + v1_volume_resource_requirements_local_var->requests = requests; + + return v1_volume_resource_requirements_local_var; +} + + +void v1_volume_resource_requirements_free(v1_volume_resource_requirements_t *v1_volume_resource_requirements) { + if(NULL == v1_volume_resource_requirements){ + return ; + } + listEntry_t *listEntry; + if (v1_volume_resource_requirements->limits) { + list_ForEach(listEntry, v1_volume_resource_requirements->limits) { + keyValuePair_t *localKeyValue = (keyValuePair_t*) listEntry->data; + free (localKeyValue->key); + free (localKeyValue->value); + keyValuePair_free(localKeyValue); + } + list_freeList(v1_volume_resource_requirements->limits); + v1_volume_resource_requirements->limits = NULL; + } + if (v1_volume_resource_requirements->requests) { + list_ForEach(listEntry, v1_volume_resource_requirements->requests) { + keyValuePair_t *localKeyValue = (keyValuePair_t*) listEntry->data; + free (localKeyValue->key); + free (localKeyValue->value); + keyValuePair_free(localKeyValue); + } + list_freeList(v1_volume_resource_requirements->requests); + v1_volume_resource_requirements->requests = NULL; + } + free(v1_volume_resource_requirements); +} + +cJSON *v1_volume_resource_requirements_convertToJSON(v1_volume_resource_requirements_t *v1_volume_resource_requirements) { + cJSON *item = cJSON_CreateObject(); + + // v1_volume_resource_requirements->limits + if(v1_volume_resource_requirements->limits) { + cJSON *limits = cJSON_AddObjectToObject(item, "limits"); + if(limits == NULL) { + goto fail; //primitive map container + } + cJSON *localMapObject = limits; + listEntry_t *limitsListEntry; + if (v1_volume_resource_requirements->limits) { + list_ForEach(limitsListEntry, v1_volume_resource_requirements->limits) { + keyValuePair_t *localKeyValue = (keyValuePair_t*)limitsListEntry->data; + if(cJSON_AddStringToObject(localMapObject, localKeyValue->key, (char*)localKeyValue->value) == NULL) + { + goto fail; + } + } + } + } + + + // v1_volume_resource_requirements->requests + if(v1_volume_resource_requirements->requests) { + cJSON *requests = cJSON_AddObjectToObject(item, "requests"); + if(requests == NULL) { + goto fail; //primitive map container + } + cJSON *localMapObject = requests; + listEntry_t *requestsListEntry; + if (v1_volume_resource_requirements->requests) { + list_ForEach(requestsListEntry, v1_volume_resource_requirements->requests) { + keyValuePair_t *localKeyValue = (keyValuePair_t*)requestsListEntry->data; + if(cJSON_AddStringToObject(localMapObject, localKeyValue->key, (char*)localKeyValue->value) == NULL) + { + goto fail; + } + } + } + } + + return item; +fail: + if (item) { + cJSON_Delete(item); + } + return NULL; +} + +v1_volume_resource_requirements_t *v1_volume_resource_requirements_parseFromJSON(cJSON *v1_volume_resource_requirementsJSON){ + + v1_volume_resource_requirements_t *v1_volume_resource_requirements_local_var = NULL; + + // define the local map for v1_volume_resource_requirements->limits + list_t *limitsList = NULL; + + // define the local map for v1_volume_resource_requirements->requests + list_t *requestsList = NULL; + + // v1_volume_resource_requirements->limits + cJSON *limits = cJSON_GetObjectItemCaseSensitive(v1_volume_resource_requirementsJSON, "limits"); + if (limits) { + cJSON *limits_local_map = NULL; + if(!cJSON_IsObject(limits) && !cJSON_IsNull(limits)) + { + goto end;//primitive map container + } + if(cJSON_IsObject(limits)) + { + limitsList = list_createList(); + keyValuePair_t *localMapKeyPair; + cJSON_ArrayForEach(limits_local_map, limits) + { + cJSON *localMapObject = limits_local_map; + if(!cJSON_IsString(localMapObject)) + { + goto end; + } + localMapKeyPair = keyValuePair_create(strdup(localMapObject->string),strdup(localMapObject->valuestring)); + list_addElement(limitsList , localMapKeyPair); + } + } + } + + // v1_volume_resource_requirements->requests + cJSON *requests = cJSON_GetObjectItemCaseSensitive(v1_volume_resource_requirementsJSON, "requests"); + if (requests) { + cJSON *requests_local_map = NULL; + if(!cJSON_IsObject(requests) && !cJSON_IsNull(requests)) + { + goto end;//primitive map container + } + if(cJSON_IsObject(requests)) + { + requestsList = list_createList(); + keyValuePair_t *localMapKeyPair; + cJSON_ArrayForEach(requests_local_map, requests) + { + cJSON *localMapObject = requests_local_map; + if(!cJSON_IsString(localMapObject)) + { + goto end; + } + localMapKeyPair = keyValuePair_create(strdup(localMapObject->string),strdup(localMapObject->valuestring)); + list_addElement(requestsList , localMapKeyPair); + } + } + } + + + v1_volume_resource_requirements_local_var = v1_volume_resource_requirements_create ( + limits ? limitsList : NULL, + requests ? requestsList : NULL + ); + + return v1_volume_resource_requirements_local_var; +end: + if (limitsList) { + listEntry_t *listEntry = NULL; + list_ForEach(listEntry, limitsList) { + keyValuePair_t *localKeyValue = (keyValuePair_t*) listEntry->data; + free(localKeyValue->key); + localKeyValue->key = NULL; + free(localKeyValue->value); + localKeyValue->value = NULL; + keyValuePair_free(localKeyValue); + localKeyValue = NULL; + } + list_freeList(limitsList); + limitsList = NULL; + } + if (requestsList) { + listEntry_t *listEntry = NULL; + list_ForEach(listEntry, requestsList) { + keyValuePair_t *localKeyValue = (keyValuePair_t*) listEntry->data; + free(localKeyValue->key); + localKeyValue->key = NULL; + free(localKeyValue->value); + localKeyValue->value = NULL; + keyValuePair_free(localKeyValue); + localKeyValue = NULL; + } + list_freeList(requestsList); + requestsList = NULL; + } + return NULL; + +} diff --git a/kubernetes/model/v1_volume_resource_requirements.h b/kubernetes/model/v1_volume_resource_requirements.h new file mode 100644 index 00000000..0b21a31b --- /dev/null +++ b/kubernetes/model/v1_volume_resource_requirements.h @@ -0,0 +1,39 @@ +/* + * v1_volume_resource_requirements.h + * + * VolumeResourceRequirements describes the storage resource requirements for a volume. + */ + +#ifndef _v1_volume_resource_requirements_H_ +#define _v1_volume_resource_requirements_H_ + +#include +#include "../external/cJSON.h" +#include "../include/list.h" +#include "../include/keyValuePair.h" +#include "../include/binary.h" + +typedef struct v1_volume_resource_requirements_t v1_volume_resource_requirements_t; + + + + +typedef struct v1_volume_resource_requirements_t { + list_t* limits; //map + list_t* requests; //map + +} v1_volume_resource_requirements_t; + +v1_volume_resource_requirements_t *v1_volume_resource_requirements_create( + list_t* limits, + list_t* requests +); + +void v1_volume_resource_requirements_free(v1_volume_resource_requirements_t *v1_volume_resource_requirements); + +v1_volume_resource_requirements_t *v1_volume_resource_requirements_parseFromJSON(cJSON *v1_volume_resource_requirementsJSON); + +cJSON *v1_volume_resource_requirements_convertToJSON(v1_volume_resource_requirements_t *v1_volume_resource_requirements); + +#endif /* _v1_volume_resource_requirements_H_ */ + diff --git a/kubernetes/model/v1alpha1_cluster_cidr.c b/kubernetes/model/v1alpha1_cluster_cidr.c deleted file mode 100644 index 820aea32..00000000 --- a/kubernetes/model/v1alpha1_cluster_cidr.c +++ /dev/null @@ -1,163 +0,0 @@ -#include -#include -#include -#include "v1alpha1_cluster_cidr.h" - - - -v1alpha1_cluster_cidr_t *v1alpha1_cluster_cidr_create( - char *api_version, - char *kind, - v1_object_meta_t *metadata, - v1alpha1_cluster_cidr_spec_t *spec - ) { - v1alpha1_cluster_cidr_t *v1alpha1_cluster_cidr_local_var = malloc(sizeof(v1alpha1_cluster_cidr_t)); - if (!v1alpha1_cluster_cidr_local_var) { - return NULL; - } - v1alpha1_cluster_cidr_local_var->api_version = api_version; - v1alpha1_cluster_cidr_local_var->kind = kind; - v1alpha1_cluster_cidr_local_var->metadata = metadata; - v1alpha1_cluster_cidr_local_var->spec = spec; - - return v1alpha1_cluster_cidr_local_var; -} - - -void v1alpha1_cluster_cidr_free(v1alpha1_cluster_cidr_t *v1alpha1_cluster_cidr) { - if(NULL == v1alpha1_cluster_cidr){ - return ; - } - listEntry_t *listEntry; - if (v1alpha1_cluster_cidr->api_version) { - free(v1alpha1_cluster_cidr->api_version); - v1alpha1_cluster_cidr->api_version = NULL; - } - if (v1alpha1_cluster_cidr->kind) { - free(v1alpha1_cluster_cidr->kind); - v1alpha1_cluster_cidr->kind = NULL; - } - if (v1alpha1_cluster_cidr->metadata) { - v1_object_meta_free(v1alpha1_cluster_cidr->metadata); - v1alpha1_cluster_cidr->metadata = NULL; - } - if (v1alpha1_cluster_cidr->spec) { - v1alpha1_cluster_cidr_spec_free(v1alpha1_cluster_cidr->spec); - v1alpha1_cluster_cidr->spec = NULL; - } - free(v1alpha1_cluster_cidr); -} - -cJSON *v1alpha1_cluster_cidr_convertToJSON(v1alpha1_cluster_cidr_t *v1alpha1_cluster_cidr) { - cJSON *item = cJSON_CreateObject(); - - // v1alpha1_cluster_cidr->api_version - if(v1alpha1_cluster_cidr->api_version) { - if(cJSON_AddStringToObject(item, "apiVersion", v1alpha1_cluster_cidr->api_version) == NULL) { - goto fail; //String - } - } - - - // v1alpha1_cluster_cidr->kind - if(v1alpha1_cluster_cidr->kind) { - if(cJSON_AddStringToObject(item, "kind", v1alpha1_cluster_cidr->kind) == NULL) { - goto fail; //String - } - } - - - // v1alpha1_cluster_cidr->metadata - if(v1alpha1_cluster_cidr->metadata) { - cJSON *metadata_local_JSON = v1_object_meta_convertToJSON(v1alpha1_cluster_cidr->metadata); - if(metadata_local_JSON == NULL) { - goto fail; //model - } - cJSON_AddItemToObject(item, "metadata", metadata_local_JSON); - if(item->child == NULL) { - goto fail; - } - } - - - // v1alpha1_cluster_cidr->spec - if(v1alpha1_cluster_cidr->spec) { - cJSON *spec_local_JSON = v1alpha1_cluster_cidr_spec_convertToJSON(v1alpha1_cluster_cidr->spec); - if(spec_local_JSON == NULL) { - goto fail; //model - } - cJSON_AddItemToObject(item, "spec", spec_local_JSON); - if(item->child == NULL) { - goto fail; - } - } - - return item; -fail: - if (item) { - cJSON_Delete(item); - } - return NULL; -} - -v1alpha1_cluster_cidr_t *v1alpha1_cluster_cidr_parseFromJSON(cJSON *v1alpha1_cluster_cidrJSON){ - - v1alpha1_cluster_cidr_t *v1alpha1_cluster_cidr_local_var = NULL; - - // define the local variable for v1alpha1_cluster_cidr->metadata - v1_object_meta_t *metadata_local_nonprim = NULL; - - // define the local variable for v1alpha1_cluster_cidr->spec - v1alpha1_cluster_cidr_spec_t *spec_local_nonprim = NULL; - - // v1alpha1_cluster_cidr->api_version - cJSON *api_version = cJSON_GetObjectItemCaseSensitive(v1alpha1_cluster_cidrJSON, "apiVersion"); - if (api_version) { - if(!cJSON_IsString(api_version) && !cJSON_IsNull(api_version)) - { - goto end; //String - } - } - - // v1alpha1_cluster_cidr->kind - cJSON *kind = cJSON_GetObjectItemCaseSensitive(v1alpha1_cluster_cidrJSON, "kind"); - if (kind) { - if(!cJSON_IsString(kind) && !cJSON_IsNull(kind)) - { - goto end; //String - } - } - - // v1alpha1_cluster_cidr->metadata - cJSON *metadata = cJSON_GetObjectItemCaseSensitive(v1alpha1_cluster_cidrJSON, "metadata"); - if (metadata) { - metadata_local_nonprim = v1_object_meta_parseFromJSON(metadata); //nonprimitive - } - - // v1alpha1_cluster_cidr->spec - cJSON *spec = cJSON_GetObjectItemCaseSensitive(v1alpha1_cluster_cidrJSON, "spec"); - if (spec) { - spec_local_nonprim = v1alpha1_cluster_cidr_spec_parseFromJSON(spec); //nonprimitive - } - - - v1alpha1_cluster_cidr_local_var = v1alpha1_cluster_cidr_create ( - api_version && !cJSON_IsNull(api_version) ? strdup(api_version->valuestring) : NULL, - kind && !cJSON_IsNull(kind) ? strdup(kind->valuestring) : NULL, - metadata ? metadata_local_nonprim : NULL, - spec ? spec_local_nonprim : NULL - ); - - return v1alpha1_cluster_cidr_local_var; -end: - if (metadata_local_nonprim) { - v1_object_meta_free(metadata_local_nonprim); - metadata_local_nonprim = NULL; - } - if (spec_local_nonprim) { - v1alpha1_cluster_cidr_spec_free(spec_local_nonprim); - spec_local_nonprim = NULL; - } - return NULL; - -} diff --git a/kubernetes/model/v1alpha1_cluster_cidr.h b/kubernetes/model/v1alpha1_cluster_cidr.h deleted file mode 100644 index 88ad58c1..00000000 --- a/kubernetes/model/v1alpha1_cluster_cidr.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * v1alpha1_cluster_cidr.h - * - * ClusterCIDR represents a single configuration for per-Node Pod CIDR allocations when the MultiCIDRRangeAllocator is enabled (see the config for kube-controller-manager). A cluster may have any number of ClusterCIDR resources, all of which will be considered when allocating a CIDR for a Node. A ClusterCIDR is eligible to be used for a given Node when the node selector matches the node in question and has free CIDRs to allocate. In case of multiple matching ClusterCIDR resources, the allocator will attempt to break ties using internal heuristics, but any ClusterCIDR whose node selector matches the Node may be used. - */ - -#ifndef _v1alpha1_cluster_cidr_H_ -#define _v1alpha1_cluster_cidr_H_ - -#include -#include "../external/cJSON.h" -#include "../include/list.h" -#include "../include/keyValuePair.h" -#include "../include/binary.h" - -typedef struct v1alpha1_cluster_cidr_t v1alpha1_cluster_cidr_t; - -#include "v1_object_meta.h" -#include "v1alpha1_cluster_cidr_spec.h" - - - -typedef struct v1alpha1_cluster_cidr_t { - char *api_version; // string - char *kind; // string - struct v1_object_meta_t *metadata; //model - struct v1alpha1_cluster_cidr_spec_t *spec; //model - -} v1alpha1_cluster_cidr_t; - -v1alpha1_cluster_cidr_t *v1alpha1_cluster_cidr_create( - char *api_version, - char *kind, - v1_object_meta_t *metadata, - v1alpha1_cluster_cidr_spec_t *spec -); - -void v1alpha1_cluster_cidr_free(v1alpha1_cluster_cidr_t *v1alpha1_cluster_cidr); - -v1alpha1_cluster_cidr_t *v1alpha1_cluster_cidr_parseFromJSON(cJSON *v1alpha1_cluster_cidrJSON); - -cJSON *v1alpha1_cluster_cidr_convertToJSON(v1alpha1_cluster_cidr_t *v1alpha1_cluster_cidr); - -#endif /* _v1alpha1_cluster_cidr_H_ */ - diff --git a/kubernetes/model/v1alpha1_cluster_cidr_list.c b/kubernetes/model/v1alpha1_cluster_cidr_list.c deleted file mode 100644 index ebfd52fa..00000000 --- a/kubernetes/model/v1alpha1_cluster_cidr_list.c +++ /dev/null @@ -1,197 +0,0 @@ -#include -#include -#include -#include "v1alpha1_cluster_cidr_list.h" - - - -v1alpha1_cluster_cidr_list_t *v1alpha1_cluster_cidr_list_create( - char *api_version, - list_t *items, - char *kind, - v1_list_meta_t *metadata - ) { - v1alpha1_cluster_cidr_list_t *v1alpha1_cluster_cidr_list_local_var = malloc(sizeof(v1alpha1_cluster_cidr_list_t)); - if (!v1alpha1_cluster_cidr_list_local_var) { - return NULL; - } - v1alpha1_cluster_cidr_list_local_var->api_version = api_version; - v1alpha1_cluster_cidr_list_local_var->items = items; - v1alpha1_cluster_cidr_list_local_var->kind = kind; - v1alpha1_cluster_cidr_list_local_var->metadata = metadata; - - return v1alpha1_cluster_cidr_list_local_var; -} - - -void v1alpha1_cluster_cidr_list_free(v1alpha1_cluster_cidr_list_t *v1alpha1_cluster_cidr_list) { - if(NULL == v1alpha1_cluster_cidr_list){ - return ; - } - listEntry_t *listEntry; - if (v1alpha1_cluster_cidr_list->api_version) { - free(v1alpha1_cluster_cidr_list->api_version); - v1alpha1_cluster_cidr_list->api_version = NULL; - } - if (v1alpha1_cluster_cidr_list->items) { - list_ForEach(listEntry, v1alpha1_cluster_cidr_list->items) { - v1alpha1_cluster_cidr_free(listEntry->data); - } - list_freeList(v1alpha1_cluster_cidr_list->items); - v1alpha1_cluster_cidr_list->items = NULL; - } - if (v1alpha1_cluster_cidr_list->kind) { - free(v1alpha1_cluster_cidr_list->kind); - v1alpha1_cluster_cidr_list->kind = NULL; - } - if (v1alpha1_cluster_cidr_list->metadata) { - v1_list_meta_free(v1alpha1_cluster_cidr_list->metadata); - v1alpha1_cluster_cidr_list->metadata = NULL; - } - free(v1alpha1_cluster_cidr_list); -} - -cJSON *v1alpha1_cluster_cidr_list_convertToJSON(v1alpha1_cluster_cidr_list_t *v1alpha1_cluster_cidr_list) { - cJSON *item = cJSON_CreateObject(); - - // v1alpha1_cluster_cidr_list->api_version - if(v1alpha1_cluster_cidr_list->api_version) { - if(cJSON_AddStringToObject(item, "apiVersion", v1alpha1_cluster_cidr_list->api_version) == NULL) { - goto fail; //String - } - } - - - // v1alpha1_cluster_cidr_list->items - if (!v1alpha1_cluster_cidr_list->items) { - goto fail; - } - cJSON *items = cJSON_AddArrayToObject(item, "items"); - if(items == NULL) { - goto fail; //nonprimitive container - } - - listEntry_t *itemsListEntry; - if (v1alpha1_cluster_cidr_list->items) { - list_ForEach(itemsListEntry, v1alpha1_cluster_cidr_list->items) { - cJSON *itemLocal = v1alpha1_cluster_cidr_convertToJSON(itemsListEntry->data); - if(itemLocal == NULL) { - goto fail; - } - cJSON_AddItemToArray(items, itemLocal); - } - } - - - // v1alpha1_cluster_cidr_list->kind - if(v1alpha1_cluster_cidr_list->kind) { - if(cJSON_AddStringToObject(item, "kind", v1alpha1_cluster_cidr_list->kind) == NULL) { - goto fail; //String - } - } - - - // v1alpha1_cluster_cidr_list->metadata - if(v1alpha1_cluster_cidr_list->metadata) { - cJSON *metadata_local_JSON = v1_list_meta_convertToJSON(v1alpha1_cluster_cidr_list->metadata); - if(metadata_local_JSON == NULL) { - goto fail; //model - } - cJSON_AddItemToObject(item, "metadata", metadata_local_JSON); - if(item->child == NULL) { - goto fail; - } - } - - return item; -fail: - if (item) { - cJSON_Delete(item); - } - return NULL; -} - -v1alpha1_cluster_cidr_list_t *v1alpha1_cluster_cidr_list_parseFromJSON(cJSON *v1alpha1_cluster_cidr_listJSON){ - - v1alpha1_cluster_cidr_list_t *v1alpha1_cluster_cidr_list_local_var = NULL; - - // define the local list for v1alpha1_cluster_cidr_list->items - list_t *itemsList = NULL; - - // define the local variable for v1alpha1_cluster_cidr_list->metadata - v1_list_meta_t *metadata_local_nonprim = NULL; - - // v1alpha1_cluster_cidr_list->api_version - cJSON *api_version = cJSON_GetObjectItemCaseSensitive(v1alpha1_cluster_cidr_listJSON, "apiVersion"); - if (api_version) { - if(!cJSON_IsString(api_version) && !cJSON_IsNull(api_version)) - { - goto end; //String - } - } - - // v1alpha1_cluster_cidr_list->items - cJSON *items = cJSON_GetObjectItemCaseSensitive(v1alpha1_cluster_cidr_listJSON, "items"); - if (!items) { - goto end; - } - - - cJSON *items_local_nonprimitive = NULL; - if(!cJSON_IsArray(items)){ - goto end; //nonprimitive container - } - - itemsList = list_createList(); - - cJSON_ArrayForEach(items_local_nonprimitive,items ) - { - if(!cJSON_IsObject(items_local_nonprimitive)){ - goto end; - } - v1alpha1_cluster_cidr_t *itemsItem = v1alpha1_cluster_cidr_parseFromJSON(items_local_nonprimitive); - - list_addElement(itemsList, itemsItem); - } - - // v1alpha1_cluster_cidr_list->kind - cJSON *kind = cJSON_GetObjectItemCaseSensitive(v1alpha1_cluster_cidr_listJSON, "kind"); - if (kind) { - if(!cJSON_IsString(kind) && !cJSON_IsNull(kind)) - { - goto end; //String - } - } - - // v1alpha1_cluster_cidr_list->metadata - cJSON *metadata = cJSON_GetObjectItemCaseSensitive(v1alpha1_cluster_cidr_listJSON, "metadata"); - if (metadata) { - metadata_local_nonprim = v1_list_meta_parseFromJSON(metadata); //nonprimitive - } - - - v1alpha1_cluster_cidr_list_local_var = v1alpha1_cluster_cidr_list_create ( - api_version && !cJSON_IsNull(api_version) ? strdup(api_version->valuestring) : NULL, - itemsList, - kind && !cJSON_IsNull(kind) ? strdup(kind->valuestring) : NULL, - metadata ? metadata_local_nonprim : NULL - ); - - return v1alpha1_cluster_cidr_list_local_var; -end: - if (itemsList) { - listEntry_t *listEntry = NULL; - list_ForEach(listEntry, itemsList) { - v1alpha1_cluster_cidr_free(listEntry->data); - listEntry->data = NULL; - } - list_freeList(itemsList); - itemsList = NULL; - } - if (metadata_local_nonprim) { - v1_list_meta_free(metadata_local_nonprim); - metadata_local_nonprim = NULL; - } - return NULL; - -} diff --git a/kubernetes/model/v1alpha1_cluster_cidr_list.h b/kubernetes/model/v1alpha1_cluster_cidr_list.h deleted file mode 100644 index 6a62c3f5..00000000 --- a/kubernetes/model/v1alpha1_cluster_cidr_list.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * v1alpha1_cluster_cidr_list.h - * - * ClusterCIDRList contains a list of ClusterCIDR. - */ - -#ifndef _v1alpha1_cluster_cidr_list_H_ -#define _v1alpha1_cluster_cidr_list_H_ - -#include -#include "../external/cJSON.h" -#include "../include/list.h" -#include "../include/keyValuePair.h" -#include "../include/binary.h" - -typedef struct v1alpha1_cluster_cidr_list_t v1alpha1_cluster_cidr_list_t; - -#include "v1_list_meta.h" -#include "v1alpha1_cluster_cidr.h" - - - -typedef struct v1alpha1_cluster_cidr_list_t { - char *api_version; // string - list_t *items; //nonprimitive container - char *kind; // string - struct v1_list_meta_t *metadata; //model - -} v1alpha1_cluster_cidr_list_t; - -v1alpha1_cluster_cidr_list_t *v1alpha1_cluster_cidr_list_create( - char *api_version, - list_t *items, - char *kind, - v1_list_meta_t *metadata -); - -void v1alpha1_cluster_cidr_list_free(v1alpha1_cluster_cidr_list_t *v1alpha1_cluster_cidr_list); - -v1alpha1_cluster_cidr_list_t *v1alpha1_cluster_cidr_list_parseFromJSON(cJSON *v1alpha1_cluster_cidr_listJSON); - -cJSON *v1alpha1_cluster_cidr_list_convertToJSON(v1alpha1_cluster_cidr_list_t *v1alpha1_cluster_cidr_list); - -#endif /* _v1alpha1_cluster_cidr_list_H_ */ - diff --git a/kubernetes/model/v1alpha1_cluster_cidr_spec.c b/kubernetes/model/v1alpha1_cluster_cidr_spec.c deleted file mode 100644 index d13c050c..00000000 --- a/kubernetes/model/v1alpha1_cluster_cidr_spec.c +++ /dev/null @@ -1,154 +0,0 @@ -#include -#include -#include -#include "v1alpha1_cluster_cidr_spec.h" - - - -v1alpha1_cluster_cidr_spec_t *v1alpha1_cluster_cidr_spec_create( - char *ipv4, - char *ipv6, - v1_node_selector_t *node_selector, - int per_node_host_bits - ) { - v1alpha1_cluster_cidr_spec_t *v1alpha1_cluster_cidr_spec_local_var = malloc(sizeof(v1alpha1_cluster_cidr_spec_t)); - if (!v1alpha1_cluster_cidr_spec_local_var) { - return NULL; - } - v1alpha1_cluster_cidr_spec_local_var->ipv4 = ipv4; - v1alpha1_cluster_cidr_spec_local_var->ipv6 = ipv6; - v1alpha1_cluster_cidr_spec_local_var->node_selector = node_selector; - v1alpha1_cluster_cidr_spec_local_var->per_node_host_bits = per_node_host_bits; - - return v1alpha1_cluster_cidr_spec_local_var; -} - - -void v1alpha1_cluster_cidr_spec_free(v1alpha1_cluster_cidr_spec_t *v1alpha1_cluster_cidr_spec) { - if(NULL == v1alpha1_cluster_cidr_spec){ - return ; - } - listEntry_t *listEntry; - if (v1alpha1_cluster_cidr_spec->ipv4) { - free(v1alpha1_cluster_cidr_spec->ipv4); - v1alpha1_cluster_cidr_spec->ipv4 = NULL; - } - if (v1alpha1_cluster_cidr_spec->ipv6) { - free(v1alpha1_cluster_cidr_spec->ipv6); - v1alpha1_cluster_cidr_spec->ipv6 = NULL; - } - if (v1alpha1_cluster_cidr_spec->node_selector) { - v1_node_selector_free(v1alpha1_cluster_cidr_spec->node_selector); - v1alpha1_cluster_cidr_spec->node_selector = NULL; - } - free(v1alpha1_cluster_cidr_spec); -} - -cJSON *v1alpha1_cluster_cidr_spec_convertToJSON(v1alpha1_cluster_cidr_spec_t *v1alpha1_cluster_cidr_spec) { - cJSON *item = cJSON_CreateObject(); - - // v1alpha1_cluster_cidr_spec->ipv4 - if(v1alpha1_cluster_cidr_spec->ipv4) { - if(cJSON_AddStringToObject(item, "ipv4", v1alpha1_cluster_cidr_spec->ipv4) == NULL) { - goto fail; //String - } - } - - - // v1alpha1_cluster_cidr_spec->ipv6 - if(v1alpha1_cluster_cidr_spec->ipv6) { - if(cJSON_AddStringToObject(item, "ipv6", v1alpha1_cluster_cidr_spec->ipv6) == NULL) { - goto fail; //String - } - } - - - // v1alpha1_cluster_cidr_spec->node_selector - if(v1alpha1_cluster_cidr_spec->node_selector) { - cJSON *node_selector_local_JSON = v1_node_selector_convertToJSON(v1alpha1_cluster_cidr_spec->node_selector); - if(node_selector_local_JSON == NULL) { - goto fail; //model - } - cJSON_AddItemToObject(item, "nodeSelector", node_selector_local_JSON); - if(item->child == NULL) { - goto fail; - } - } - - - // v1alpha1_cluster_cidr_spec->per_node_host_bits - if (!v1alpha1_cluster_cidr_spec->per_node_host_bits) { - goto fail; - } - if(cJSON_AddNumberToObject(item, "perNodeHostBits", v1alpha1_cluster_cidr_spec->per_node_host_bits) == NULL) { - goto fail; //Numeric - } - - return item; -fail: - if (item) { - cJSON_Delete(item); - } - return NULL; -} - -v1alpha1_cluster_cidr_spec_t *v1alpha1_cluster_cidr_spec_parseFromJSON(cJSON *v1alpha1_cluster_cidr_specJSON){ - - v1alpha1_cluster_cidr_spec_t *v1alpha1_cluster_cidr_spec_local_var = NULL; - - // define the local variable for v1alpha1_cluster_cidr_spec->node_selector - v1_node_selector_t *node_selector_local_nonprim = NULL; - - // v1alpha1_cluster_cidr_spec->ipv4 - cJSON *ipv4 = cJSON_GetObjectItemCaseSensitive(v1alpha1_cluster_cidr_specJSON, "ipv4"); - if (ipv4) { - if(!cJSON_IsString(ipv4) && !cJSON_IsNull(ipv4)) - { - goto end; //String - } - } - - // v1alpha1_cluster_cidr_spec->ipv6 - cJSON *ipv6 = cJSON_GetObjectItemCaseSensitive(v1alpha1_cluster_cidr_specJSON, "ipv6"); - if (ipv6) { - if(!cJSON_IsString(ipv6) && !cJSON_IsNull(ipv6)) - { - goto end; //String - } - } - - // v1alpha1_cluster_cidr_spec->node_selector - cJSON *node_selector = cJSON_GetObjectItemCaseSensitive(v1alpha1_cluster_cidr_specJSON, "nodeSelector"); - if (node_selector) { - node_selector_local_nonprim = v1_node_selector_parseFromJSON(node_selector); //nonprimitive - } - - // v1alpha1_cluster_cidr_spec->per_node_host_bits - cJSON *per_node_host_bits = cJSON_GetObjectItemCaseSensitive(v1alpha1_cluster_cidr_specJSON, "perNodeHostBits"); - if (!per_node_host_bits) { - goto end; - } - - - if(!cJSON_IsNumber(per_node_host_bits)) - { - goto end; //Numeric - } - - - v1alpha1_cluster_cidr_spec_local_var = v1alpha1_cluster_cidr_spec_create ( - ipv4 && !cJSON_IsNull(ipv4) ? strdup(ipv4->valuestring) : NULL, - ipv6 && !cJSON_IsNull(ipv6) ? strdup(ipv6->valuestring) : NULL, - node_selector ? node_selector_local_nonprim : NULL, - per_node_host_bits->valuedouble - ); - - return v1alpha1_cluster_cidr_spec_local_var; -end: - if (node_selector_local_nonprim) { - v1_node_selector_free(node_selector_local_nonprim); - node_selector_local_nonprim = NULL; - } - return NULL; - -} diff --git a/kubernetes/model/v1alpha1_cluster_cidr_spec.h b/kubernetes/model/v1alpha1_cluster_cidr_spec.h deleted file mode 100644 index 74cf31c1..00000000 --- a/kubernetes/model/v1alpha1_cluster_cidr_spec.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * v1alpha1_cluster_cidr_spec.h - * - * ClusterCIDRSpec defines the desired state of ClusterCIDR. - */ - -#ifndef _v1alpha1_cluster_cidr_spec_H_ -#define _v1alpha1_cluster_cidr_spec_H_ - -#include -#include "../external/cJSON.h" -#include "../include/list.h" -#include "../include/keyValuePair.h" -#include "../include/binary.h" - -typedef struct v1alpha1_cluster_cidr_spec_t v1alpha1_cluster_cidr_spec_t; - -#include "v1_node_selector.h" - - - -typedef struct v1alpha1_cluster_cidr_spec_t { - char *ipv4; // string - char *ipv6; // string - struct v1_node_selector_t *node_selector; //model - int per_node_host_bits; //numeric - -} v1alpha1_cluster_cidr_spec_t; - -v1alpha1_cluster_cidr_spec_t *v1alpha1_cluster_cidr_spec_create( - char *ipv4, - char *ipv6, - v1_node_selector_t *node_selector, - int per_node_host_bits -); - -void v1alpha1_cluster_cidr_spec_free(v1alpha1_cluster_cidr_spec_t *v1alpha1_cluster_cidr_spec); - -v1alpha1_cluster_cidr_spec_t *v1alpha1_cluster_cidr_spec_parseFromJSON(cJSON *v1alpha1_cluster_cidr_specJSON); - -cJSON *v1alpha1_cluster_cidr_spec_convertToJSON(v1alpha1_cluster_cidr_spec_t *v1alpha1_cluster_cidr_spec); - -#endif /* _v1alpha1_cluster_cidr_spec_H_ */ - diff --git a/kubernetes/model/v1alpha1_parent_reference.c b/kubernetes/model/v1alpha1_parent_reference.c index 38ab961b..4c6eb862 100644 --- a/kubernetes/model/v1alpha1_parent_reference.c +++ b/kubernetes/model/v1alpha1_parent_reference.c @@ -9,8 +9,7 @@ v1alpha1_parent_reference_t *v1alpha1_parent_reference_create( char *group, char *name, char *_namespace, - char *resource, - char *uid + char *resource ) { v1alpha1_parent_reference_t *v1alpha1_parent_reference_local_var = malloc(sizeof(v1alpha1_parent_reference_t)); if (!v1alpha1_parent_reference_local_var) { @@ -20,7 +19,6 @@ v1alpha1_parent_reference_t *v1alpha1_parent_reference_create( v1alpha1_parent_reference_local_var->name = name; v1alpha1_parent_reference_local_var->_namespace = _namespace; v1alpha1_parent_reference_local_var->resource = resource; - v1alpha1_parent_reference_local_var->uid = uid; return v1alpha1_parent_reference_local_var; } @@ -47,10 +45,6 @@ void v1alpha1_parent_reference_free(v1alpha1_parent_reference_t *v1alpha1_parent free(v1alpha1_parent_reference->resource); v1alpha1_parent_reference->resource = NULL; } - if (v1alpha1_parent_reference->uid) { - free(v1alpha1_parent_reference->uid); - v1alpha1_parent_reference->uid = NULL; - } free(v1alpha1_parent_reference); } @@ -88,14 +82,6 @@ cJSON *v1alpha1_parent_reference_convertToJSON(v1alpha1_parent_reference_t *v1al } } - - // v1alpha1_parent_reference->uid - if(v1alpha1_parent_reference->uid) { - if(cJSON_AddStringToObject(item, "uid", v1alpha1_parent_reference->uid) == NULL) { - goto fail; //String - } - } - return item; fail: if (item) { @@ -144,22 +130,12 @@ v1alpha1_parent_reference_t *v1alpha1_parent_reference_parseFromJSON(cJSON *v1al } } - // v1alpha1_parent_reference->uid - cJSON *uid = cJSON_GetObjectItemCaseSensitive(v1alpha1_parent_referenceJSON, "uid"); - if (uid) { - if(!cJSON_IsString(uid) && !cJSON_IsNull(uid)) - { - goto end; //String - } - } - v1alpha1_parent_reference_local_var = v1alpha1_parent_reference_create ( group && !cJSON_IsNull(group) ? strdup(group->valuestring) : NULL, name && !cJSON_IsNull(name) ? strdup(name->valuestring) : NULL, _namespace && !cJSON_IsNull(_namespace) ? strdup(_namespace->valuestring) : NULL, - resource && !cJSON_IsNull(resource) ? strdup(resource->valuestring) : NULL, - uid && !cJSON_IsNull(uid) ? strdup(uid->valuestring) : NULL + resource && !cJSON_IsNull(resource) ? strdup(resource->valuestring) : NULL ); return v1alpha1_parent_reference_local_var; diff --git a/kubernetes/model/v1alpha1_parent_reference.h b/kubernetes/model/v1alpha1_parent_reference.h index 93312425..1ca3df78 100644 --- a/kubernetes/model/v1alpha1_parent_reference.h +++ b/kubernetes/model/v1alpha1_parent_reference.h @@ -23,7 +23,6 @@ typedef struct v1alpha1_parent_reference_t { char *name; // string char *_namespace; // string char *resource; // string - char *uid; // string } v1alpha1_parent_reference_t; @@ -31,8 +30,7 @@ v1alpha1_parent_reference_t *v1alpha1_parent_reference_create( char *group, char *name, char *_namespace, - char *resource, - char *uid + char *resource ); void v1alpha1_parent_reference_free(v1alpha1_parent_reference_t *v1alpha1_parent_reference); diff --git a/kubernetes/model/v1alpha1_service_cidr.c b/kubernetes/model/v1alpha1_service_cidr.c new file mode 100644 index 00000000..3f3224b4 --- /dev/null +++ b/kubernetes/model/v1alpha1_service_cidr.c @@ -0,0 +1,196 @@ +#include +#include +#include +#include "v1alpha1_service_cidr.h" + + + +v1alpha1_service_cidr_t *v1alpha1_service_cidr_create( + char *api_version, + char *kind, + v1_object_meta_t *metadata, + v1alpha1_service_cidr_spec_t *spec, + v1alpha1_service_cidr_status_t *status + ) { + v1alpha1_service_cidr_t *v1alpha1_service_cidr_local_var = malloc(sizeof(v1alpha1_service_cidr_t)); + if (!v1alpha1_service_cidr_local_var) { + return NULL; + } + v1alpha1_service_cidr_local_var->api_version = api_version; + v1alpha1_service_cidr_local_var->kind = kind; + v1alpha1_service_cidr_local_var->metadata = metadata; + v1alpha1_service_cidr_local_var->spec = spec; + v1alpha1_service_cidr_local_var->status = status; + + return v1alpha1_service_cidr_local_var; +} + + +void v1alpha1_service_cidr_free(v1alpha1_service_cidr_t *v1alpha1_service_cidr) { + if(NULL == v1alpha1_service_cidr){ + return ; + } + listEntry_t *listEntry; + if (v1alpha1_service_cidr->api_version) { + free(v1alpha1_service_cidr->api_version); + v1alpha1_service_cidr->api_version = NULL; + } + if (v1alpha1_service_cidr->kind) { + free(v1alpha1_service_cidr->kind); + v1alpha1_service_cidr->kind = NULL; + } + if (v1alpha1_service_cidr->metadata) { + v1_object_meta_free(v1alpha1_service_cidr->metadata); + v1alpha1_service_cidr->metadata = NULL; + } + if (v1alpha1_service_cidr->spec) { + v1alpha1_service_cidr_spec_free(v1alpha1_service_cidr->spec); + v1alpha1_service_cidr->spec = NULL; + } + if (v1alpha1_service_cidr->status) { + v1alpha1_service_cidr_status_free(v1alpha1_service_cidr->status); + v1alpha1_service_cidr->status = NULL; + } + free(v1alpha1_service_cidr); +} + +cJSON *v1alpha1_service_cidr_convertToJSON(v1alpha1_service_cidr_t *v1alpha1_service_cidr) { + cJSON *item = cJSON_CreateObject(); + + // v1alpha1_service_cidr->api_version + if(v1alpha1_service_cidr->api_version) { + if(cJSON_AddStringToObject(item, "apiVersion", v1alpha1_service_cidr->api_version) == NULL) { + goto fail; //String + } + } + + + // v1alpha1_service_cidr->kind + if(v1alpha1_service_cidr->kind) { + if(cJSON_AddStringToObject(item, "kind", v1alpha1_service_cidr->kind) == NULL) { + goto fail; //String + } + } + + + // v1alpha1_service_cidr->metadata + if(v1alpha1_service_cidr->metadata) { + cJSON *metadata_local_JSON = v1_object_meta_convertToJSON(v1alpha1_service_cidr->metadata); + if(metadata_local_JSON == NULL) { + goto fail; //model + } + cJSON_AddItemToObject(item, "metadata", metadata_local_JSON); + if(item->child == NULL) { + goto fail; + } + } + + + // v1alpha1_service_cidr->spec + if(v1alpha1_service_cidr->spec) { + cJSON *spec_local_JSON = v1alpha1_service_cidr_spec_convertToJSON(v1alpha1_service_cidr->spec); + if(spec_local_JSON == NULL) { + goto fail; //model + } + cJSON_AddItemToObject(item, "spec", spec_local_JSON); + if(item->child == NULL) { + goto fail; + } + } + + + // v1alpha1_service_cidr->status + if(v1alpha1_service_cidr->status) { + cJSON *status_local_JSON = v1alpha1_service_cidr_status_convertToJSON(v1alpha1_service_cidr->status); + if(status_local_JSON == NULL) { + goto fail; //model + } + cJSON_AddItemToObject(item, "status", status_local_JSON); + if(item->child == NULL) { + goto fail; + } + } + + return item; +fail: + if (item) { + cJSON_Delete(item); + } + return NULL; +} + +v1alpha1_service_cidr_t *v1alpha1_service_cidr_parseFromJSON(cJSON *v1alpha1_service_cidrJSON){ + + v1alpha1_service_cidr_t *v1alpha1_service_cidr_local_var = NULL; + + // define the local variable for v1alpha1_service_cidr->metadata + v1_object_meta_t *metadata_local_nonprim = NULL; + + // define the local variable for v1alpha1_service_cidr->spec + v1alpha1_service_cidr_spec_t *spec_local_nonprim = NULL; + + // define the local variable for v1alpha1_service_cidr->status + v1alpha1_service_cidr_status_t *status_local_nonprim = NULL; + + // v1alpha1_service_cidr->api_version + cJSON *api_version = cJSON_GetObjectItemCaseSensitive(v1alpha1_service_cidrJSON, "apiVersion"); + if (api_version) { + if(!cJSON_IsString(api_version) && !cJSON_IsNull(api_version)) + { + goto end; //String + } + } + + // v1alpha1_service_cidr->kind + cJSON *kind = cJSON_GetObjectItemCaseSensitive(v1alpha1_service_cidrJSON, "kind"); + if (kind) { + if(!cJSON_IsString(kind) && !cJSON_IsNull(kind)) + { + goto end; //String + } + } + + // v1alpha1_service_cidr->metadata + cJSON *metadata = cJSON_GetObjectItemCaseSensitive(v1alpha1_service_cidrJSON, "metadata"); + if (metadata) { + metadata_local_nonprim = v1_object_meta_parseFromJSON(metadata); //nonprimitive + } + + // v1alpha1_service_cidr->spec + cJSON *spec = cJSON_GetObjectItemCaseSensitive(v1alpha1_service_cidrJSON, "spec"); + if (spec) { + spec_local_nonprim = v1alpha1_service_cidr_spec_parseFromJSON(spec); //nonprimitive + } + + // v1alpha1_service_cidr->status + cJSON *status = cJSON_GetObjectItemCaseSensitive(v1alpha1_service_cidrJSON, "status"); + if (status) { + status_local_nonprim = v1alpha1_service_cidr_status_parseFromJSON(status); //nonprimitive + } + + + v1alpha1_service_cidr_local_var = v1alpha1_service_cidr_create ( + api_version && !cJSON_IsNull(api_version) ? strdup(api_version->valuestring) : NULL, + kind && !cJSON_IsNull(kind) ? strdup(kind->valuestring) : NULL, + metadata ? metadata_local_nonprim : NULL, + spec ? spec_local_nonprim : NULL, + status ? status_local_nonprim : NULL + ); + + return v1alpha1_service_cidr_local_var; +end: + if (metadata_local_nonprim) { + v1_object_meta_free(metadata_local_nonprim); + metadata_local_nonprim = NULL; + } + if (spec_local_nonprim) { + v1alpha1_service_cidr_spec_free(spec_local_nonprim); + spec_local_nonprim = NULL; + } + if (status_local_nonprim) { + v1alpha1_service_cidr_status_free(status_local_nonprim); + status_local_nonprim = NULL; + } + return NULL; + +} diff --git a/kubernetes/model/v1alpha1_service_cidr.h b/kubernetes/model/v1alpha1_service_cidr.h new file mode 100644 index 00000000..6f8d5b55 --- /dev/null +++ b/kubernetes/model/v1alpha1_service_cidr.h @@ -0,0 +1,48 @@ +/* + * v1alpha1_service_cidr.h + * + * ServiceCIDR defines a range of IP addresses using CIDR format (e.g. 192.168.0.0/24 or 2001:db2::/64). This range is used to allocate ClusterIPs to Service objects. + */ + +#ifndef _v1alpha1_service_cidr_H_ +#define _v1alpha1_service_cidr_H_ + +#include +#include "../external/cJSON.h" +#include "../include/list.h" +#include "../include/keyValuePair.h" +#include "../include/binary.h" + +typedef struct v1alpha1_service_cidr_t v1alpha1_service_cidr_t; + +#include "v1_object_meta.h" +#include "v1alpha1_service_cidr_spec.h" +#include "v1alpha1_service_cidr_status.h" + + + +typedef struct v1alpha1_service_cidr_t { + char *api_version; // string + char *kind; // string + struct v1_object_meta_t *metadata; //model + struct v1alpha1_service_cidr_spec_t *spec; //model + struct v1alpha1_service_cidr_status_t *status; //model + +} v1alpha1_service_cidr_t; + +v1alpha1_service_cidr_t *v1alpha1_service_cidr_create( + char *api_version, + char *kind, + v1_object_meta_t *metadata, + v1alpha1_service_cidr_spec_t *spec, + v1alpha1_service_cidr_status_t *status +); + +void v1alpha1_service_cidr_free(v1alpha1_service_cidr_t *v1alpha1_service_cidr); + +v1alpha1_service_cidr_t *v1alpha1_service_cidr_parseFromJSON(cJSON *v1alpha1_service_cidrJSON); + +cJSON *v1alpha1_service_cidr_convertToJSON(v1alpha1_service_cidr_t *v1alpha1_service_cidr); + +#endif /* _v1alpha1_service_cidr_H_ */ + diff --git a/kubernetes/model/v1alpha1_service_cidr_list.c b/kubernetes/model/v1alpha1_service_cidr_list.c new file mode 100644 index 00000000..2610903d --- /dev/null +++ b/kubernetes/model/v1alpha1_service_cidr_list.c @@ -0,0 +1,197 @@ +#include +#include +#include +#include "v1alpha1_service_cidr_list.h" + + + +v1alpha1_service_cidr_list_t *v1alpha1_service_cidr_list_create( + char *api_version, + list_t *items, + char *kind, + v1_list_meta_t *metadata + ) { + v1alpha1_service_cidr_list_t *v1alpha1_service_cidr_list_local_var = malloc(sizeof(v1alpha1_service_cidr_list_t)); + if (!v1alpha1_service_cidr_list_local_var) { + return NULL; + } + v1alpha1_service_cidr_list_local_var->api_version = api_version; + v1alpha1_service_cidr_list_local_var->items = items; + v1alpha1_service_cidr_list_local_var->kind = kind; + v1alpha1_service_cidr_list_local_var->metadata = metadata; + + return v1alpha1_service_cidr_list_local_var; +} + + +void v1alpha1_service_cidr_list_free(v1alpha1_service_cidr_list_t *v1alpha1_service_cidr_list) { + if(NULL == v1alpha1_service_cidr_list){ + return ; + } + listEntry_t *listEntry; + if (v1alpha1_service_cidr_list->api_version) { + free(v1alpha1_service_cidr_list->api_version); + v1alpha1_service_cidr_list->api_version = NULL; + } + if (v1alpha1_service_cidr_list->items) { + list_ForEach(listEntry, v1alpha1_service_cidr_list->items) { + v1alpha1_service_cidr_free(listEntry->data); + } + list_freeList(v1alpha1_service_cidr_list->items); + v1alpha1_service_cidr_list->items = NULL; + } + if (v1alpha1_service_cidr_list->kind) { + free(v1alpha1_service_cidr_list->kind); + v1alpha1_service_cidr_list->kind = NULL; + } + if (v1alpha1_service_cidr_list->metadata) { + v1_list_meta_free(v1alpha1_service_cidr_list->metadata); + v1alpha1_service_cidr_list->metadata = NULL; + } + free(v1alpha1_service_cidr_list); +} + +cJSON *v1alpha1_service_cidr_list_convertToJSON(v1alpha1_service_cidr_list_t *v1alpha1_service_cidr_list) { + cJSON *item = cJSON_CreateObject(); + + // v1alpha1_service_cidr_list->api_version + if(v1alpha1_service_cidr_list->api_version) { + if(cJSON_AddStringToObject(item, "apiVersion", v1alpha1_service_cidr_list->api_version) == NULL) { + goto fail; //String + } + } + + + // v1alpha1_service_cidr_list->items + if (!v1alpha1_service_cidr_list->items) { + goto fail; + } + cJSON *items = cJSON_AddArrayToObject(item, "items"); + if(items == NULL) { + goto fail; //nonprimitive container + } + + listEntry_t *itemsListEntry; + if (v1alpha1_service_cidr_list->items) { + list_ForEach(itemsListEntry, v1alpha1_service_cidr_list->items) { + cJSON *itemLocal = v1alpha1_service_cidr_convertToJSON(itemsListEntry->data); + if(itemLocal == NULL) { + goto fail; + } + cJSON_AddItemToArray(items, itemLocal); + } + } + + + // v1alpha1_service_cidr_list->kind + if(v1alpha1_service_cidr_list->kind) { + if(cJSON_AddStringToObject(item, "kind", v1alpha1_service_cidr_list->kind) == NULL) { + goto fail; //String + } + } + + + // v1alpha1_service_cidr_list->metadata + if(v1alpha1_service_cidr_list->metadata) { + cJSON *metadata_local_JSON = v1_list_meta_convertToJSON(v1alpha1_service_cidr_list->metadata); + if(metadata_local_JSON == NULL) { + goto fail; //model + } + cJSON_AddItemToObject(item, "metadata", metadata_local_JSON); + if(item->child == NULL) { + goto fail; + } + } + + return item; +fail: + if (item) { + cJSON_Delete(item); + } + return NULL; +} + +v1alpha1_service_cidr_list_t *v1alpha1_service_cidr_list_parseFromJSON(cJSON *v1alpha1_service_cidr_listJSON){ + + v1alpha1_service_cidr_list_t *v1alpha1_service_cidr_list_local_var = NULL; + + // define the local list for v1alpha1_service_cidr_list->items + list_t *itemsList = NULL; + + // define the local variable for v1alpha1_service_cidr_list->metadata + v1_list_meta_t *metadata_local_nonprim = NULL; + + // v1alpha1_service_cidr_list->api_version + cJSON *api_version = cJSON_GetObjectItemCaseSensitive(v1alpha1_service_cidr_listJSON, "apiVersion"); + if (api_version) { + if(!cJSON_IsString(api_version) && !cJSON_IsNull(api_version)) + { + goto end; //String + } + } + + // v1alpha1_service_cidr_list->items + cJSON *items = cJSON_GetObjectItemCaseSensitive(v1alpha1_service_cidr_listJSON, "items"); + if (!items) { + goto end; + } + + + cJSON *items_local_nonprimitive = NULL; + if(!cJSON_IsArray(items)){ + goto end; //nonprimitive container + } + + itemsList = list_createList(); + + cJSON_ArrayForEach(items_local_nonprimitive,items ) + { + if(!cJSON_IsObject(items_local_nonprimitive)){ + goto end; + } + v1alpha1_service_cidr_t *itemsItem = v1alpha1_service_cidr_parseFromJSON(items_local_nonprimitive); + + list_addElement(itemsList, itemsItem); + } + + // v1alpha1_service_cidr_list->kind + cJSON *kind = cJSON_GetObjectItemCaseSensitive(v1alpha1_service_cidr_listJSON, "kind"); + if (kind) { + if(!cJSON_IsString(kind) && !cJSON_IsNull(kind)) + { + goto end; //String + } + } + + // v1alpha1_service_cidr_list->metadata + cJSON *metadata = cJSON_GetObjectItemCaseSensitive(v1alpha1_service_cidr_listJSON, "metadata"); + if (metadata) { + metadata_local_nonprim = v1_list_meta_parseFromJSON(metadata); //nonprimitive + } + + + v1alpha1_service_cidr_list_local_var = v1alpha1_service_cidr_list_create ( + api_version && !cJSON_IsNull(api_version) ? strdup(api_version->valuestring) : NULL, + itemsList, + kind && !cJSON_IsNull(kind) ? strdup(kind->valuestring) : NULL, + metadata ? metadata_local_nonprim : NULL + ); + + return v1alpha1_service_cidr_list_local_var; +end: + if (itemsList) { + listEntry_t *listEntry = NULL; + list_ForEach(listEntry, itemsList) { + v1alpha1_service_cidr_free(listEntry->data); + listEntry->data = NULL; + } + list_freeList(itemsList); + itemsList = NULL; + } + if (metadata_local_nonprim) { + v1_list_meta_free(metadata_local_nonprim); + metadata_local_nonprim = NULL; + } + return NULL; + +} diff --git a/kubernetes/model/v1alpha1_service_cidr_list.h b/kubernetes/model/v1alpha1_service_cidr_list.h new file mode 100644 index 00000000..23852457 --- /dev/null +++ b/kubernetes/model/v1alpha1_service_cidr_list.h @@ -0,0 +1,45 @@ +/* + * v1alpha1_service_cidr_list.h + * + * ServiceCIDRList contains a list of ServiceCIDR objects. + */ + +#ifndef _v1alpha1_service_cidr_list_H_ +#define _v1alpha1_service_cidr_list_H_ + +#include +#include "../external/cJSON.h" +#include "../include/list.h" +#include "../include/keyValuePair.h" +#include "../include/binary.h" + +typedef struct v1alpha1_service_cidr_list_t v1alpha1_service_cidr_list_t; + +#include "v1_list_meta.h" +#include "v1alpha1_service_cidr.h" + + + +typedef struct v1alpha1_service_cidr_list_t { + char *api_version; // string + list_t *items; //nonprimitive container + char *kind; // string + struct v1_list_meta_t *metadata; //model + +} v1alpha1_service_cidr_list_t; + +v1alpha1_service_cidr_list_t *v1alpha1_service_cidr_list_create( + char *api_version, + list_t *items, + char *kind, + v1_list_meta_t *metadata +); + +void v1alpha1_service_cidr_list_free(v1alpha1_service_cidr_list_t *v1alpha1_service_cidr_list); + +v1alpha1_service_cidr_list_t *v1alpha1_service_cidr_list_parseFromJSON(cJSON *v1alpha1_service_cidr_listJSON); + +cJSON *v1alpha1_service_cidr_list_convertToJSON(v1alpha1_service_cidr_list_t *v1alpha1_service_cidr_list); + +#endif /* _v1alpha1_service_cidr_list_H_ */ + diff --git a/kubernetes/model/v1alpha1_service_cidr_spec.c b/kubernetes/model/v1alpha1_service_cidr_spec.c new file mode 100644 index 00000000..5423a8c1 --- /dev/null +++ b/kubernetes/model/v1alpha1_service_cidr_spec.c @@ -0,0 +1,107 @@ +#include +#include +#include +#include "v1alpha1_service_cidr_spec.h" + + + +v1alpha1_service_cidr_spec_t *v1alpha1_service_cidr_spec_create( + list_t *cidrs + ) { + v1alpha1_service_cidr_spec_t *v1alpha1_service_cidr_spec_local_var = malloc(sizeof(v1alpha1_service_cidr_spec_t)); + if (!v1alpha1_service_cidr_spec_local_var) { + return NULL; + } + v1alpha1_service_cidr_spec_local_var->cidrs = cidrs; + + return v1alpha1_service_cidr_spec_local_var; +} + + +void v1alpha1_service_cidr_spec_free(v1alpha1_service_cidr_spec_t *v1alpha1_service_cidr_spec) { + if(NULL == v1alpha1_service_cidr_spec){ + return ; + } + listEntry_t *listEntry; + if (v1alpha1_service_cidr_spec->cidrs) { + list_ForEach(listEntry, v1alpha1_service_cidr_spec->cidrs) { + free(listEntry->data); + } + list_freeList(v1alpha1_service_cidr_spec->cidrs); + v1alpha1_service_cidr_spec->cidrs = NULL; + } + free(v1alpha1_service_cidr_spec); +} + +cJSON *v1alpha1_service_cidr_spec_convertToJSON(v1alpha1_service_cidr_spec_t *v1alpha1_service_cidr_spec) { + cJSON *item = cJSON_CreateObject(); + + // v1alpha1_service_cidr_spec->cidrs + if(v1alpha1_service_cidr_spec->cidrs) { + cJSON *cidrs = cJSON_AddArrayToObject(item, "cidrs"); + if(cidrs == NULL) { + goto fail; //primitive container + } + + listEntry_t *cidrsListEntry; + list_ForEach(cidrsListEntry, v1alpha1_service_cidr_spec->cidrs) { + if(cJSON_AddStringToObject(cidrs, "", (char*)cidrsListEntry->data) == NULL) + { + goto fail; + } + } + } + + return item; +fail: + if (item) { + cJSON_Delete(item); + } + return NULL; +} + +v1alpha1_service_cidr_spec_t *v1alpha1_service_cidr_spec_parseFromJSON(cJSON *v1alpha1_service_cidr_specJSON){ + + v1alpha1_service_cidr_spec_t *v1alpha1_service_cidr_spec_local_var = NULL; + + // define the local list for v1alpha1_service_cidr_spec->cidrs + list_t *cidrsList = NULL; + + // v1alpha1_service_cidr_spec->cidrs + cJSON *cidrs = cJSON_GetObjectItemCaseSensitive(v1alpha1_service_cidr_specJSON, "cidrs"); + if (cidrs) { + cJSON *cidrs_local = NULL; + if(!cJSON_IsArray(cidrs)) { + goto end;//primitive container + } + cidrsList = list_createList(); + + cJSON_ArrayForEach(cidrs_local, cidrs) + { + if(!cJSON_IsString(cidrs_local)) + { + goto end; + } + list_addElement(cidrsList , strdup(cidrs_local->valuestring)); + } + } + + + v1alpha1_service_cidr_spec_local_var = v1alpha1_service_cidr_spec_create ( + cidrs ? cidrsList : NULL + ); + + return v1alpha1_service_cidr_spec_local_var; +end: + if (cidrsList) { + listEntry_t *listEntry = NULL; + list_ForEach(listEntry, cidrsList) { + free(listEntry->data); + listEntry->data = NULL; + } + list_freeList(cidrsList); + cidrsList = NULL; + } + return NULL; + +} diff --git a/kubernetes/model/v1alpha1_service_cidr_spec.h b/kubernetes/model/v1alpha1_service_cidr_spec.h new file mode 100644 index 00000000..15682865 --- /dev/null +++ b/kubernetes/model/v1alpha1_service_cidr_spec.h @@ -0,0 +1,37 @@ +/* + * v1alpha1_service_cidr_spec.h + * + * ServiceCIDRSpec define the CIDRs the user wants to use for allocating ClusterIPs for Services. + */ + +#ifndef _v1alpha1_service_cidr_spec_H_ +#define _v1alpha1_service_cidr_spec_H_ + +#include +#include "../external/cJSON.h" +#include "../include/list.h" +#include "../include/keyValuePair.h" +#include "../include/binary.h" + +typedef struct v1alpha1_service_cidr_spec_t v1alpha1_service_cidr_spec_t; + + + + +typedef struct v1alpha1_service_cidr_spec_t { + list_t *cidrs; //primitive container + +} v1alpha1_service_cidr_spec_t; + +v1alpha1_service_cidr_spec_t *v1alpha1_service_cidr_spec_create( + list_t *cidrs +); + +void v1alpha1_service_cidr_spec_free(v1alpha1_service_cidr_spec_t *v1alpha1_service_cidr_spec); + +v1alpha1_service_cidr_spec_t *v1alpha1_service_cidr_spec_parseFromJSON(cJSON *v1alpha1_service_cidr_specJSON); + +cJSON *v1alpha1_service_cidr_spec_convertToJSON(v1alpha1_service_cidr_spec_t *v1alpha1_service_cidr_spec); + +#endif /* _v1alpha1_service_cidr_spec_H_ */ + diff --git a/kubernetes/model/v1alpha1_service_cidr_status.c b/kubernetes/model/v1alpha1_service_cidr_status.c new file mode 100644 index 00000000..5ebdab26 --- /dev/null +++ b/kubernetes/model/v1alpha1_service_cidr_status.c @@ -0,0 +1,112 @@ +#include +#include +#include +#include "v1alpha1_service_cidr_status.h" + + + +v1alpha1_service_cidr_status_t *v1alpha1_service_cidr_status_create( + list_t *conditions + ) { + v1alpha1_service_cidr_status_t *v1alpha1_service_cidr_status_local_var = malloc(sizeof(v1alpha1_service_cidr_status_t)); + if (!v1alpha1_service_cidr_status_local_var) { + return NULL; + } + v1alpha1_service_cidr_status_local_var->conditions = conditions; + + return v1alpha1_service_cidr_status_local_var; +} + + +void v1alpha1_service_cidr_status_free(v1alpha1_service_cidr_status_t *v1alpha1_service_cidr_status) { + if(NULL == v1alpha1_service_cidr_status){ + return ; + } + listEntry_t *listEntry; + if (v1alpha1_service_cidr_status->conditions) { + list_ForEach(listEntry, v1alpha1_service_cidr_status->conditions) { + v1_condition_free(listEntry->data); + } + list_freeList(v1alpha1_service_cidr_status->conditions); + v1alpha1_service_cidr_status->conditions = NULL; + } + free(v1alpha1_service_cidr_status); +} + +cJSON *v1alpha1_service_cidr_status_convertToJSON(v1alpha1_service_cidr_status_t *v1alpha1_service_cidr_status) { + cJSON *item = cJSON_CreateObject(); + + // v1alpha1_service_cidr_status->conditions + if(v1alpha1_service_cidr_status->conditions) { + cJSON *conditions = cJSON_AddArrayToObject(item, "conditions"); + if(conditions == NULL) { + goto fail; //nonprimitive container + } + + listEntry_t *conditionsListEntry; + if (v1alpha1_service_cidr_status->conditions) { + list_ForEach(conditionsListEntry, v1alpha1_service_cidr_status->conditions) { + cJSON *itemLocal = v1_condition_convertToJSON(conditionsListEntry->data); + if(itemLocal == NULL) { + goto fail; + } + cJSON_AddItemToArray(conditions, itemLocal); + } + } + } + + return item; +fail: + if (item) { + cJSON_Delete(item); + } + return NULL; +} + +v1alpha1_service_cidr_status_t *v1alpha1_service_cidr_status_parseFromJSON(cJSON *v1alpha1_service_cidr_statusJSON){ + + v1alpha1_service_cidr_status_t *v1alpha1_service_cidr_status_local_var = NULL; + + // define the local list for v1alpha1_service_cidr_status->conditions + list_t *conditionsList = NULL; + + // v1alpha1_service_cidr_status->conditions + cJSON *conditions = cJSON_GetObjectItemCaseSensitive(v1alpha1_service_cidr_statusJSON, "conditions"); + if (conditions) { + cJSON *conditions_local_nonprimitive = NULL; + if(!cJSON_IsArray(conditions)){ + goto end; //nonprimitive container + } + + conditionsList = list_createList(); + + cJSON_ArrayForEach(conditions_local_nonprimitive,conditions ) + { + if(!cJSON_IsObject(conditions_local_nonprimitive)){ + goto end; + } + v1_condition_t *conditionsItem = v1_condition_parseFromJSON(conditions_local_nonprimitive); + + list_addElement(conditionsList, conditionsItem); + } + } + + + v1alpha1_service_cidr_status_local_var = v1alpha1_service_cidr_status_create ( + conditions ? conditionsList : NULL + ); + + return v1alpha1_service_cidr_status_local_var; +end: + if (conditionsList) { + listEntry_t *listEntry = NULL; + list_ForEach(listEntry, conditionsList) { + v1_condition_free(listEntry->data); + listEntry->data = NULL; + } + list_freeList(conditionsList); + conditionsList = NULL; + } + return NULL; + +} diff --git a/kubernetes/model/v1alpha1_service_cidr_status.h b/kubernetes/model/v1alpha1_service_cidr_status.h new file mode 100644 index 00000000..2f6762d5 --- /dev/null +++ b/kubernetes/model/v1alpha1_service_cidr_status.h @@ -0,0 +1,38 @@ +/* + * v1alpha1_service_cidr_status.h + * + * ServiceCIDRStatus describes the current state of the ServiceCIDR. + */ + +#ifndef _v1alpha1_service_cidr_status_H_ +#define _v1alpha1_service_cidr_status_H_ + +#include +#include "../external/cJSON.h" +#include "../include/list.h" +#include "../include/keyValuePair.h" +#include "../include/binary.h" + +typedef struct v1alpha1_service_cidr_status_t v1alpha1_service_cidr_status_t; + +#include "v1_condition.h" + + + +typedef struct v1alpha1_service_cidr_status_t { + list_t *conditions; //nonprimitive container + +} v1alpha1_service_cidr_status_t; + +v1alpha1_service_cidr_status_t *v1alpha1_service_cidr_status_create( + list_t *conditions +); + +void v1alpha1_service_cidr_status_free(v1alpha1_service_cidr_status_t *v1alpha1_service_cidr_status); + +v1alpha1_service_cidr_status_t *v1alpha1_service_cidr_status_parseFromJSON(cJSON *v1alpha1_service_cidr_statusJSON); + +cJSON *v1alpha1_service_cidr_status_convertToJSON(v1alpha1_service_cidr_status_t *v1alpha1_service_cidr_status); + +#endif /* _v1alpha1_service_cidr_status_H_ */ + diff --git a/kubernetes/model/v1alpha1_volume_attributes_class.c b/kubernetes/model/v1alpha1_volume_attributes_class.c new file mode 100644 index 00000000..1f327f56 --- /dev/null +++ b/kubernetes/model/v1alpha1_volume_attributes_class.c @@ -0,0 +1,233 @@ +#include +#include +#include +#include "v1alpha1_volume_attributes_class.h" + + + +v1alpha1_volume_attributes_class_t *v1alpha1_volume_attributes_class_create( + char *api_version, + char *driver_name, + char *kind, + v1_object_meta_t *metadata, + list_t* parameters + ) { + v1alpha1_volume_attributes_class_t *v1alpha1_volume_attributes_class_local_var = malloc(sizeof(v1alpha1_volume_attributes_class_t)); + if (!v1alpha1_volume_attributes_class_local_var) { + return NULL; + } + v1alpha1_volume_attributes_class_local_var->api_version = api_version; + v1alpha1_volume_attributes_class_local_var->driver_name = driver_name; + v1alpha1_volume_attributes_class_local_var->kind = kind; + v1alpha1_volume_attributes_class_local_var->metadata = metadata; + v1alpha1_volume_attributes_class_local_var->parameters = parameters; + + return v1alpha1_volume_attributes_class_local_var; +} + + +void v1alpha1_volume_attributes_class_free(v1alpha1_volume_attributes_class_t *v1alpha1_volume_attributes_class) { + if(NULL == v1alpha1_volume_attributes_class){ + return ; + } + listEntry_t *listEntry; + if (v1alpha1_volume_attributes_class->api_version) { + free(v1alpha1_volume_attributes_class->api_version); + v1alpha1_volume_attributes_class->api_version = NULL; + } + if (v1alpha1_volume_attributes_class->driver_name) { + free(v1alpha1_volume_attributes_class->driver_name); + v1alpha1_volume_attributes_class->driver_name = NULL; + } + if (v1alpha1_volume_attributes_class->kind) { + free(v1alpha1_volume_attributes_class->kind); + v1alpha1_volume_attributes_class->kind = NULL; + } + if (v1alpha1_volume_attributes_class->metadata) { + v1_object_meta_free(v1alpha1_volume_attributes_class->metadata); + v1alpha1_volume_attributes_class->metadata = NULL; + } + if (v1alpha1_volume_attributes_class->parameters) { + list_ForEach(listEntry, v1alpha1_volume_attributes_class->parameters) { + keyValuePair_t *localKeyValue = (keyValuePair_t*) listEntry->data; + free (localKeyValue->key); + free (localKeyValue->value); + keyValuePair_free(localKeyValue); + } + list_freeList(v1alpha1_volume_attributes_class->parameters); + v1alpha1_volume_attributes_class->parameters = NULL; + } + free(v1alpha1_volume_attributes_class); +} + +cJSON *v1alpha1_volume_attributes_class_convertToJSON(v1alpha1_volume_attributes_class_t *v1alpha1_volume_attributes_class) { + cJSON *item = cJSON_CreateObject(); + + // v1alpha1_volume_attributes_class->api_version + if(v1alpha1_volume_attributes_class->api_version) { + if(cJSON_AddStringToObject(item, "apiVersion", v1alpha1_volume_attributes_class->api_version) == NULL) { + goto fail; //String + } + } + + + // v1alpha1_volume_attributes_class->driver_name + if (!v1alpha1_volume_attributes_class->driver_name) { + goto fail; + } + if(cJSON_AddStringToObject(item, "driverName", v1alpha1_volume_attributes_class->driver_name) == NULL) { + goto fail; //String + } + + + // v1alpha1_volume_attributes_class->kind + if(v1alpha1_volume_attributes_class->kind) { + if(cJSON_AddStringToObject(item, "kind", v1alpha1_volume_attributes_class->kind) == NULL) { + goto fail; //String + } + } + + + // v1alpha1_volume_attributes_class->metadata + if(v1alpha1_volume_attributes_class->metadata) { + cJSON *metadata_local_JSON = v1_object_meta_convertToJSON(v1alpha1_volume_attributes_class->metadata); + if(metadata_local_JSON == NULL) { + goto fail; //model + } + cJSON_AddItemToObject(item, "metadata", metadata_local_JSON); + if(item->child == NULL) { + goto fail; + } + } + + + // v1alpha1_volume_attributes_class->parameters + if(v1alpha1_volume_attributes_class->parameters) { + cJSON *parameters = cJSON_AddObjectToObject(item, "parameters"); + if(parameters == NULL) { + goto fail; //primitive map container + } + cJSON *localMapObject = parameters; + listEntry_t *parametersListEntry; + if (v1alpha1_volume_attributes_class->parameters) { + list_ForEach(parametersListEntry, v1alpha1_volume_attributes_class->parameters) { + keyValuePair_t *localKeyValue = (keyValuePair_t*)parametersListEntry->data; + if(cJSON_AddStringToObject(localMapObject, localKeyValue->key, (char*)localKeyValue->value) == NULL) + { + goto fail; + } + } + } + } + + return item; +fail: + if (item) { + cJSON_Delete(item); + } + return NULL; +} + +v1alpha1_volume_attributes_class_t *v1alpha1_volume_attributes_class_parseFromJSON(cJSON *v1alpha1_volume_attributes_classJSON){ + + v1alpha1_volume_attributes_class_t *v1alpha1_volume_attributes_class_local_var = NULL; + + // define the local variable for v1alpha1_volume_attributes_class->metadata + v1_object_meta_t *metadata_local_nonprim = NULL; + + // define the local map for v1alpha1_volume_attributes_class->parameters + list_t *parametersList = NULL; + + // v1alpha1_volume_attributes_class->api_version + cJSON *api_version = cJSON_GetObjectItemCaseSensitive(v1alpha1_volume_attributes_classJSON, "apiVersion"); + if (api_version) { + if(!cJSON_IsString(api_version) && !cJSON_IsNull(api_version)) + { + goto end; //String + } + } + + // v1alpha1_volume_attributes_class->driver_name + cJSON *driver_name = cJSON_GetObjectItemCaseSensitive(v1alpha1_volume_attributes_classJSON, "driverName"); + if (!driver_name) { + goto end; + } + + + if(!cJSON_IsString(driver_name)) + { + goto end; //String + } + + // v1alpha1_volume_attributes_class->kind + cJSON *kind = cJSON_GetObjectItemCaseSensitive(v1alpha1_volume_attributes_classJSON, "kind"); + if (kind) { + if(!cJSON_IsString(kind) && !cJSON_IsNull(kind)) + { + goto end; //String + } + } + + // v1alpha1_volume_attributes_class->metadata + cJSON *metadata = cJSON_GetObjectItemCaseSensitive(v1alpha1_volume_attributes_classJSON, "metadata"); + if (metadata) { + metadata_local_nonprim = v1_object_meta_parseFromJSON(metadata); //nonprimitive + } + + // v1alpha1_volume_attributes_class->parameters + cJSON *parameters = cJSON_GetObjectItemCaseSensitive(v1alpha1_volume_attributes_classJSON, "parameters"); + if (parameters) { + cJSON *parameters_local_map = NULL; + if(!cJSON_IsObject(parameters) && !cJSON_IsNull(parameters)) + { + goto end;//primitive map container + } + if(cJSON_IsObject(parameters)) + { + parametersList = list_createList(); + keyValuePair_t *localMapKeyPair; + cJSON_ArrayForEach(parameters_local_map, parameters) + { + cJSON *localMapObject = parameters_local_map; + if(!cJSON_IsString(localMapObject)) + { + goto end; + } + localMapKeyPair = keyValuePair_create(strdup(localMapObject->string),strdup(localMapObject->valuestring)); + list_addElement(parametersList , localMapKeyPair); + } + } + } + + + v1alpha1_volume_attributes_class_local_var = v1alpha1_volume_attributes_class_create ( + api_version && !cJSON_IsNull(api_version) ? strdup(api_version->valuestring) : NULL, + strdup(driver_name->valuestring), + kind && !cJSON_IsNull(kind) ? strdup(kind->valuestring) : NULL, + metadata ? metadata_local_nonprim : NULL, + parameters ? parametersList : NULL + ); + + return v1alpha1_volume_attributes_class_local_var; +end: + if (metadata_local_nonprim) { + v1_object_meta_free(metadata_local_nonprim); + metadata_local_nonprim = NULL; + } + if (parametersList) { + listEntry_t *listEntry = NULL; + list_ForEach(listEntry, parametersList) { + keyValuePair_t *localKeyValue = (keyValuePair_t*) listEntry->data; + free(localKeyValue->key); + localKeyValue->key = NULL; + free(localKeyValue->value); + localKeyValue->value = NULL; + keyValuePair_free(localKeyValue); + localKeyValue = NULL; + } + list_freeList(parametersList); + parametersList = NULL; + } + return NULL; + +} diff --git a/kubernetes/model/v1alpha1_volume_attributes_class.h b/kubernetes/model/v1alpha1_volume_attributes_class.h new file mode 100644 index 00000000..92becf5f --- /dev/null +++ b/kubernetes/model/v1alpha1_volume_attributes_class.h @@ -0,0 +1,46 @@ +/* + * v1alpha1_volume_attributes_class.h + * + * VolumeAttributesClass represents a specification of mutable volume attributes defined by the CSI driver. The class can be specified during dynamic provisioning of PersistentVolumeClaims, and changed in the PersistentVolumeClaim spec after provisioning. + */ + +#ifndef _v1alpha1_volume_attributes_class_H_ +#define _v1alpha1_volume_attributes_class_H_ + +#include +#include "../external/cJSON.h" +#include "../include/list.h" +#include "../include/keyValuePair.h" +#include "../include/binary.h" + +typedef struct v1alpha1_volume_attributes_class_t v1alpha1_volume_attributes_class_t; + +#include "v1_object_meta.h" + + + +typedef struct v1alpha1_volume_attributes_class_t { + char *api_version; // string + char *driver_name; // string + char *kind; // string + struct v1_object_meta_t *metadata; //model + list_t* parameters; //map + +} v1alpha1_volume_attributes_class_t; + +v1alpha1_volume_attributes_class_t *v1alpha1_volume_attributes_class_create( + char *api_version, + char *driver_name, + char *kind, + v1_object_meta_t *metadata, + list_t* parameters +); + +void v1alpha1_volume_attributes_class_free(v1alpha1_volume_attributes_class_t *v1alpha1_volume_attributes_class); + +v1alpha1_volume_attributes_class_t *v1alpha1_volume_attributes_class_parseFromJSON(cJSON *v1alpha1_volume_attributes_classJSON); + +cJSON *v1alpha1_volume_attributes_class_convertToJSON(v1alpha1_volume_attributes_class_t *v1alpha1_volume_attributes_class); + +#endif /* _v1alpha1_volume_attributes_class_H_ */ + diff --git a/kubernetes/model/v1alpha1_volume_attributes_class_list.c b/kubernetes/model/v1alpha1_volume_attributes_class_list.c new file mode 100644 index 00000000..646aa831 --- /dev/null +++ b/kubernetes/model/v1alpha1_volume_attributes_class_list.c @@ -0,0 +1,197 @@ +#include +#include +#include +#include "v1alpha1_volume_attributes_class_list.h" + + + +v1alpha1_volume_attributes_class_list_t *v1alpha1_volume_attributes_class_list_create( + char *api_version, + list_t *items, + char *kind, + v1_list_meta_t *metadata + ) { + v1alpha1_volume_attributes_class_list_t *v1alpha1_volume_attributes_class_list_local_var = malloc(sizeof(v1alpha1_volume_attributes_class_list_t)); + if (!v1alpha1_volume_attributes_class_list_local_var) { + return NULL; + } + v1alpha1_volume_attributes_class_list_local_var->api_version = api_version; + v1alpha1_volume_attributes_class_list_local_var->items = items; + v1alpha1_volume_attributes_class_list_local_var->kind = kind; + v1alpha1_volume_attributes_class_list_local_var->metadata = metadata; + + return v1alpha1_volume_attributes_class_list_local_var; +} + + +void v1alpha1_volume_attributes_class_list_free(v1alpha1_volume_attributes_class_list_t *v1alpha1_volume_attributes_class_list) { + if(NULL == v1alpha1_volume_attributes_class_list){ + return ; + } + listEntry_t *listEntry; + if (v1alpha1_volume_attributes_class_list->api_version) { + free(v1alpha1_volume_attributes_class_list->api_version); + v1alpha1_volume_attributes_class_list->api_version = NULL; + } + if (v1alpha1_volume_attributes_class_list->items) { + list_ForEach(listEntry, v1alpha1_volume_attributes_class_list->items) { + v1alpha1_volume_attributes_class_free(listEntry->data); + } + list_freeList(v1alpha1_volume_attributes_class_list->items); + v1alpha1_volume_attributes_class_list->items = NULL; + } + if (v1alpha1_volume_attributes_class_list->kind) { + free(v1alpha1_volume_attributes_class_list->kind); + v1alpha1_volume_attributes_class_list->kind = NULL; + } + if (v1alpha1_volume_attributes_class_list->metadata) { + v1_list_meta_free(v1alpha1_volume_attributes_class_list->metadata); + v1alpha1_volume_attributes_class_list->metadata = NULL; + } + free(v1alpha1_volume_attributes_class_list); +} + +cJSON *v1alpha1_volume_attributes_class_list_convertToJSON(v1alpha1_volume_attributes_class_list_t *v1alpha1_volume_attributes_class_list) { + cJSON *item = cJSON_CreateObject(); + + // v1alpha1_volume_attributes_class_list->api_version + if(v1alpha1_volume_attributes_class_list->api_version) { + if(cJSON_AddStringToObject(item, "apiVersion", v1alpha1_volume_attributes_class_list->api_version) == NULL) { + goto fail; //String + } + } + + + // v1alpha1_volume_attributes_class_list->items + if (!v1alpha1_volume_attributes_class_list->items) { + goto fail; + } + cJSON *items = cJSON_AddArrayToObject(item, "items"); + if(items == NULL) { + goto fail; //nonprimitive container + } + + listEntry_t *itemsListEntry; + if (v1alpha1_volume_attributes_class_list->items) { + list_ForEach(itemsListEntry, v1alpha1_volume_attributes_class_list->items) { + cJSON *itemLocal = v1alpha1_volume_attributes_class_convertToJSON(itemsListEntry->data); + if(itemLocal == NULL) { + goto fail; + } + cJSON_AddItemToArray(items, itemLocal); + } + } + + + // v1alpha1_volume_attributes_class_list->kind + if(v1alpha1_volume_attributes_class_list->kind) { + if(cJSON_AddStringToObject(item, "kind", v1alpha1_volume_attributes_class_list->kind) == NULL) { + goto fail; //String + } + } + + + // v1alpha1_volume_attributes_class_list->metadata + if(v1alpha1_volume_attributes_class_list->metadata) { + cJSON *metadata_local_JSON = v1_list_meta_convertToJSON(v1alpha1_volume_attributes_class_list->metadata); + if(metadata_local_JSON == NULL) { + goto fail; //model + } + cJSON_AddItemToObject(item, "metadata", metadata_local_JSON); + if(item->child == NULL) { + goto fail; + } + } + + return item; +fail: + if (item) { + cJSON_Delete(item); + } + return NULL; +} + +v1alpha1_volume_attributes_class_list_t *v1alpha1_volume_attributes_class_list_parseFromJSON(cJSON *v1alpha1_volume_attributes_class_listJSON){ + + v1alpha1_volume_attributes_class_list_t *v1alpha1_volume_attributes_class_list_local_var = NULL; + + // define the local list for v1alpha1_volume_attributes_class_list->items + list_t *itemsList = NULL; + + // define the local variable for v1alpha1_volume_attributes_class_list->metadata + v1_list_meta_t *metadata_local_nonprim = NULL; + + // v1alpha1_volume_attributes_class_list->api_version + cJSON *api_version = cJSON_GetObjectItemCaseSensitive(v1alpha1_volume_attributes_class_listJSON, "apiVersion"); + if (api_version) { + if(!cJSON_IsString(api_version) && !cJSON_IsNull(api_version)) + { + goto end; //String + } + } + + // v1alpha1_volume_attributes_class_list->items + cJSON *items = cJSON_GetObjectItemCaseSensitive(v1alpha1_volume_attributes_class_listJSON, "items"); + if (!items) { + goto end; + } + + + cJSON *items_local_nonprimitive = NULL; + if(!cJSON_IsArray(items)){ + goto end; //nonprimitive container + } + + itemsList = list_createList(); + + cJSON_ArrayForEach(items_local_nonprimitive,items ) + { + if(!cJSON_IsObject(items_local_nonprimitive)){ + goto end; + } + v1alpha1_volume_attributes_class_t *itemsItem = v1alpha1_volume_attributes_class_parseFromJSON(items_local_nonprimitive); + + list_addElement(itemsList, itemsItem); + } + + // v1alpha1_volume_attributes_class_list->kind + cJSON *kind = cJSON_GetObjectItemCaseSensitive(v1alpha1_volume_attributes_class_listJSON, "kind"); + if (kind) { + if(!cJSON_IsString(kind) && !cJSON_IsNull(kind)) + { + goto end; //String + } + } + + // v1alpha1_volume_attributes_class_list->metadata + cJSON *metadata = cJSON_GetObjectItemCaseSensitive(v1alpha1_volume_attributes_class_listJSON, "metadata"); + if (metadata) { + metadata_local_nonprim = v1_list_meta_parseFromJSON(metadata); //nonprimitive + } + + + v1alpha1_volume_attributes_class_list_local_var = v1alpha1_volume_attributes_class_list_create ( + api_version && !cJSON_IsNull(api_version) ? strdup(api_version->valuestring) : NULL, + itemsList, + kind && !cJSON_IsNull(kind) ? strdup(kind->valuestring) : NULL, + metadata ? metadata_local_nonprim : NULL + ); + + return v1alpha1_volume_attributes_class_list_local_var; +end: + if (itemsList) { + listEntry_t *listEntry = NULL; + list_ForEach(listEntry, itemsList) { + v1alpha1_volume_attributes_class_free(listEntry->data); + listEntry->data = NULL; + } + list_freeList(itemsList); + itemsList = NULL; + } + if (metadata_local_nonprim) { + v1_list_meta_free(metadata_local_nonprim); + metadata_local_nonprim = NULL; + } + return NULL; + +} diff --git a/kubernetes/model/v1alpha1_volume_attributes_class_list.h b/kubernetes/model/v1alpha1_volume_attributes_class_list.h new file mode 100644 index 00000000..2e339839 --- /dev/null +++ b/kubernetes/model/v1alpha1_volume_attributes_class_list.h @@ -0,0 +1,45 @@ +/* + * v1alpha1_volume_attributes_class_list.h + * + * VolumeAttributesClassList is a collection of VolumeAttributesClass objects. + */ + +#ifndef _v1alpha1_volume_attributes_class_list_H_ +#define _v1alpha1_volume_attributes_class_list_H_ + +#include +#include "../external/cJSON.h" +#include "../include/list.h" +#include "../include/keyValuePair.h" +#include "../include/binary.h" + +typedef struct v1alpha1_volume_attributes_class_list_t v1alpha1_volume_attributes_class_list_t; + +#include "v1_list_meta.h" +#include "v1alpha1_volume_attributes_class.h" + + + +typedef struct v1alpha1_volume_attributes_class_list_t { + char *api_version; // string + list_t *items; //nonprimitive container + char *kind; // string + struct v1_list_meta_t *metadata; //model + +} v1alpha1_volume_attributes_class_list_t; + +v1alpha1_volume_attributes_class_list_t *v1alpha1_volume_attributes_class_list_create( + char *api_version, + list_t *items, + char *kind, + v1_list_meta_t *metadata +); + +void v1alpha1_volume_attributes_class_list_free(v1alpha1_volume_attributes_class_list_t *v1alpha1_volume_attributes_class_list); + +v1alpha1_volume_attributes_class_list_t *v1alpha1_volume_attributes_class_list_parseFromJSON(cJSON *v1alpha1_volume_attributes_class_listJSON); + +cJSON *v1alpha1_volume_attributes_class_list_convertToJSON(v1alpha1_volume_attributes_class_list_t *v1alpha1_volume_attributes_class_list); + +#endif /* _v1alpha1_volume_attributes_class_list_H_ */ + diff --git a/kubernetes/model/v1beta2_exempt_priority_level_configuration.c b/kubernetes/model/v1beta2_exempt_priority_level_configuration.c deleted file mode 100644 index cdac7cf9..00000000 --- a/kubernetes/model/v1beta2_exempt_priority_level_configuration.c +++ /dev/null @@ -1,89 +0,0 @@ -#include -#include -#include -#include "v1beta2_exempt_priority_level_configuration.h" - - - -v1beta2_exempt_priority_level_configuration_t *v1beta2_exempt_priority_level_configuration_create( - int lendable_percent, - int nominal_concurrency_shares - ) { - v1beta2_exempt_priority_level_configuration_t *v1beta2_exempt_priority_level_configuration_local_var = malloc(sizeof(v1beta2_exempt_priority_level_configuration_t)); - if (!v1beta2_exempt_priority_level_configuration_local_var) { - return NULL; - } - v1beta2_exempt_priority_level_configuration_local_var->lendable_percent = lendable_percent; - v1beta2_exempt_priority_level_configuration_local_var->nominal_concurrency_shares = nominal_concurrency_shares; - - return v1beta2_exempt_priority_level_configuration_local_var; -} - - -void v1beta2_exempt_priority_level_configuration_free(v1beta2_exempt_priority_level_configuration_t *v1beta2_exempt_priority_level_configuration) { - if(NULL == v1beta2_exempt_priority_level_configuration){ - return ; - } - listEntry_t *listEntry; - free(v1beta2_exempt_priority_level_configuration); -} - -cJSON *v1beta2_exempt_priority_level_configuration_convertToJSON(v1beta2_exempt_priority_level_configuration_t *v1beta2_exempt_priority_level_configuration) { - cJSON *item = cJSON_CreateObject(); - - // v1beta2_exempt_priority_level_configuration->lendable_percent - if(v1beta2_exempt_priority_level_configuration->lendable_percent) { - if(cJSON_AddNumberToObject(item, "lendablePercent", v1beta2_exempt_priority_level_configuration->lendable_percent) == NULL) { - goto fail; //Numeric - } - } - - - // v1beta2_exempt_priority_level_configuration->nominal_concurrency_shares - if(v1beta2_exempt_priority_level_configuration->nominal_concurrency_shares) { - if(cJSON_AddNumberToObject(item, "nominalConcurrencyShares", v1beta2_exempt_priority_level_configuration->nominal_concurrency_shares) == NULL) { - goto fail; //Numeric - } - } - - return item; -fail: - if (item) { - cJSON_Delete(item); - } - return NULL; -} - -v1beta2_exempt_priority_level_configuration_t *v1beta2_exempt_priority_level_configuration_parseFromJSON(cJSON *v1beta2_exempt_priority_level_configurationJSON){ - - v1beta2_exempt_priority_level_configuration_t *v1beta2_exempt_priority_level_configuration_local_var = NULL; - - // v1beta2_exempt_priority_level_configuration->lendable_percent - cJSON *lendable_percent = cJSON_GetObjectItemCaseSensitive(v1beta2_exempt_priority_level_configurationJSON, "lendablePercent"); - if (lendable_percent) { - if(!cJSON_IsNumber(lendable_percent)) - { - goto end; //Numeric - } - } - - // v1beta2_exempt_priority_level_configuration->nominal_concurrency_shares - cJSON *nominal_concurrency_shares = cJSON_GetObjectItemCaseSensitive(v1beta2_exempt_priority_level_configurationJSON, "nominalConcurrencyShares"); - if (nominal_concurrency_shares) { - if(!cJSON_IsNumber(nominal_concurrency_shares)) - { - goto end; //Numeric - } - } - - - v1beta2_exempt_priority_level_configuration_local_var = v1beta2_exempt_priority_level_configuration_create ( - lendable_percent ? lendable_percent->valuedouble : 0, - nominal_concurrency_shares ? nominal_concurrency_shares->valuedouble : 0 - ); - - return v1beta2_exempt_priority_level_configuration_local_var; -end: - return NULL; - -} diff --git a/kubernetes/model/v1beta2_exempt_priority_level_configuration.h b/kubernetes/model/v1beta2_exempt_priority_level_configuration.h deleted file mode 100644 index 5067a5e3..00000000 --- a/kubernetes/model/v1beta2_exempt_priority_level_configuration.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * v1beta2_exempt_priority_level_configuration.h - * - * ExemptPriorityLevelConfiguration describes the configurable aspects of the handling of exempt requests. In the mandatory exempt configuration object the values in the fields here can be modified by authorized users, unlike the rest of the `spec`. - */ - -#ifndef _v1beta2_exempt_priority_level_configuration_H_ -#define _v1beta2_exempt_priority_level_configuration_H_ - -#include -#include "../external/cJSON.h" -#include "../include/list.h" -#include "../include/keyValuePair.h" -#include "../include/binary.h" - -typedef struct v1beta2_exempt_priority_level_configuration_t v1beta2_exempt_priority_level_configuration_t; - - - - -typedef struct v1beta2_exempt_priority_level_configuration_t { - int lendable_percent; //numeric - int nominal_concurrency_shares; //numeric - -} v1beta2_exempt_priority_level_configuration_t; - -v1beta2_exempt_priority_level_configuration_t *v1beta2_exempt_priority_level_configuration_create( - int lendable_percent, - int nominal_concurrency_shares -); - -void v1beta2_exempt_priority_level_configuration_free(v1beta2_exempt_priority_level_configuration_t *v1beta2_exempt_priority_level_configuration); - -v1beta2_exempt_priority_level_configuration_t *v1beta2_exempt_priority_level_configuration_parseFromJSON(cJSON *v1beta2_exempt_priority_level_configurationJSON); - -cJSON *v1beta2_exempt_priority_level_configuration_convertToJSON(v1beta2_exempt_priority_level_configuration_t *v1beta2_exempt_priority_level_configuration); - -#endif /* _v1beta2_exempt_priority_level_configuration_H_ */ - diff --git a/kubernetes/model/v1beta2_flow_distinguisher_method.c b/kubernetes/model/v1beta2_flow_distinguisher_method.c deleted file mode 100644 index 390e86fc..00000000 --- a/kubernetes/model/v1beta2_flow_distinguisher_method.c +++ /dev/null @@ -1,77 +0,0 @@ -#include -#include -#include -#include "v1beta2_flow_distinguisher_method.h" - - - -v1beta2_flow_distinguisher_method_t *v1beta2_flow_distinguisher_method_create( - char *type - ) { - v1beta2_flow_distinguisher_method_t *v1beta2_flow_distinguisher_method_local_var = malloc(sizeof(v1beta2_flow_distinguisher_method_t)); - if (!v1beta2_flow_distinguisher_method_local_var) { - return NULL; - } - v1beta2_flow_distinguisher_method_local_var->type = type; - - return v1beta2_flow_distinguisher_method_local_var; -} - - -void v1beta2_flow_distinguisher_method_free(v1beta2_flow_distinguisher_method_t *v1beta2_flow_distinguisher_method) { - if(NULL == v1beta2_flow_distinguisher_method){ - return ; - } - listEntry_t *listEntry; - if (v1beta2_flow_distinguisher_method->type) { - free(v1beta2_flow_distinguisher_method->type); - v1beta2_flow_distinguisher_method->type = NULL; - } - free(v1beta2_flow_distinguisher_method); -} - -cJSON *v1beta2_flow_distinguisher_method_convertToJSON(v1beta2_flow_distinguisher_method_t *v1beta2_flow_distinguisher_method) { - cJSON *item = cJSON_CreateObject(); - - // v1beta2_flow_distinguisher_method->type - if (!v1beta2_flow_distinguisher_method->type) { - goto fail; - } - if(cJSON_AddStringToObject(item, "type", v1beta2_flow_distinguisher_method->type) == NULL) { - goto fail; //String - } - - return item; -fail: - if (item) { - cJSON_Delete(item); - } - return NULL; -} - -v1beta2_flow_distinguisher_method_t *v1beta2_flow_distinguisher_method_parseFromJSON(cJSON *v1beta2_flow_distinguisher_methodJSON){ - - v1beta2_flow_distinguisher_method_t *v1beta2_flow_distinguisher_method_local_var = NULL; - - // v1beta2_flow_distinguisher_method->type - cJSON *type = cJSON_GetObjectItemCaseSensitive(v1beta2_flow_distinguisher_methodJSON, "type"); - if (!type) { - goto end; - } - - - if(!cJSON_IsString(type)) - { - goto end; //String - } - - - v1beta2_flow_distinguisher_method_local_var = v1beta2_flow_distinguisher_method_create ( - strdup(type->valuestring) - ); - - return v1beta2_flow_distinguisher_method_local_var; -end: - return NULL; - -} diff --git a/kubernetes/model/v1beta2_flow_distinguisher_method.h b/kubernetes/model/v1beta2_flow_distinguisher_method.h deleted file mode 100644 index 513850cb..00000000 --- a/kubernetes/model/v1beta2_flow_distinguisher_method.h +++ /dev/null @@ -1,37 +0,0 @@ -/* - * v1beta2_flow_distinguisher_method.h - * - * FlowDistinguisherMethod specifies the method of a flow distinguisher. - */ - -#ifndef _v1beta2_flow_distinguisher_method_H_ -#define _v1beta2_flow_distinguisher_method_H_ - -#include -#include "../external/cJSON.h" -#include "../include/list.h" -#include "../include/keyValuePair.h" -#include "../include/binary.h" - -typedef struct v1beta2_flow_distinguisher_method_t v1beta2_flow_distinguisher_method_t; - - - - -typedef struct v1beta2_flow_distinguisher_method_t { - char *type; // string - -} v1beta2_flow_distinguisher_method_t; - -v1beta2_flow_distinguisher_method_t *v1beta2_flow_distinguisher_method_create( - char *type -); - -void v1beta2_flow_distinguisher_method_free(v1beta2_flow_distinguisher_method_t *v1beta2_flow_distinguisher_method); - -v1beta2_flow_distinguisher_method_t *v1beta2_flow_distinguisher_method_parseFromJSON(cJSON *v1beta2_flow_distinguisher_methodJSON); - -cJSON *v1beta2_flow_distinguisher_method_convertToJSON(v1beta2_flow_distinguisher_method_t *v1beta2_flow_distinguisher_method); - -#endif /* _v1beta2_flow_distinguisher_method_H_ */ - diff --git a/kubernetes/model/v1beta2_flow_schema.c b/kubernetes/model/v1beta2_flow_schema.c deleted file mode 100644 index 27c93b8d..00000000 --- a/kubernetes/model/v1beta2_flow_schema.c +++ /dev/null @@ -1,196 +0,0 @@ -#include -#include -#include -#include "v1beta2_flow_schema.h" - - - -v1beta2_flow_schema_t *v1beta2_flow_schema_create( - char *api_version, - char *kind, - v1_object_meta_t *metadata, - v1beta2_flow_schema_spec_t *spec, - v1beta2_flow_schema_status_t *status - ) { - v1beta2_flow_schema_t *v1beta2_flow_schema_local_var = malloc(sizeof(v1beta2_flow_schema_t)); - if (!v1beta2_flow_schema_local_var) { - return NULL; - } - v1beta2_flow_schema_local_var->api_version = api_version; - v1beta2_flow_schema_local_var->kind = kind; - v1beta2_flow_schema_local_var->metadata = metadata; - v1beta2_flow_schema_local_var->spec = spec; - v1beta2_flow_schema_local_var->status = status; - - return v1beta2_flow_schema_local_var; -} - - -void v1beta2_flow_schema_free(v1beta2_flow_schema_t *v1beta2_flow_schema) { - if(NULL == v1beta2_flow_schema){ - return ; - } - listEntry_t *listEntry; - if (v1beta2_flow_schema->api_version) { - free(v1beta2_flow_schema->api_version); - v1beta2_flow_schema->api_version = NULL; - } - if (v1beta2_flow_schema->kind) { - free(v1beta2_flow_schema->kind); - v1beta2_flow_schema->kind = NULL; - } - if (v1beta2_flow_schema->metadata) { - v1_object_meta_free(v1beta2_flow_schema->metadata); - v1beta2_flow_schema->metadata = NULL; - } - if (v1beta2_flow_schema->spec) { - v1beta2_flow_schema_spec_free(v1beta2_flow_schema->spec); - v1beta2_flow_schema->spec = NULL; - } - if (v1beta2_flow_schema->status) { - v1beta2_flow_schema_status_free(v1beta2_flow_schema->status); - v1beta2_flow_schema->status = NULL; - } - free(v1beta2_flow_schema); -} - -cJSON *v1beta2_flow_schema_convertToJSON(v1beta2_flow_schema_t *v1beta2_flow_schema) { - cJSON *item = cJSON_CreateObject(); - - // v1beta2_flow_schema->api_version - if(v1beta2_flow_schema->api_version) { - if(cJSON_AddStringToObject(item, "apiVersion", v1beta2_flow_schema->api_version) == NULL) { - goto fail; //String - } - } - - - // v1beta2_flow_schema->kind - if(v1beta2_flow_schema->kind) { - if(cJSON_AddStringToObject(item, "kind", v1beta2_flow_schema->kind) == NULL) { - goto fail; //String - } - } - - - // v1beta2_flow_schema->metadata - if(v1beta2_flow_schema->metadata) { - cJSON *metadata_local_JSON = v1_object_meta_convertToJSON(v1beta2_flow_schema->metadata); - if(metadata_local_JSON == NULL) { - goto fail; //model - } - cJSON_AddItemToObject(item, "metadata", metadata_local_JSON); - if(item->child == NULL) { - goto fail; - } - } - - - // v1beta2_flow_schema->spec - if(v1beta2_flow_schema->spec) { - cJSON *spec_local_JSON = v1beta2_flow_schema_spec_convertToJSON(v1beta2_flow_schema->spec); - if(spec_local_JSON == NULL) { - goto fail; //model - } - cJSON_AddItemToObject(item, "spec", spec_local_JSON); - if(item->child == NULL) { - goto fail; - } - } - - - // v1beta2_flow_schema->status - if(v1beta2_flow_schema->status) { - cJSON *status_local_JSON = v1beta2_flow_schema_status_convertToJSON(v1beta2_flow_schema->status); - if(status_local_JSON == NULL) { - goto fail; //model - } - cJSON_AddItemToObject(item, "status", status_local_JSON); - if(item->child == NULL) { - goto fail; - } - } - - return item; -fail: - if (item) { - cJSON_Delete(item); - } - return NULL; -} - -v1beta2_flow_schema_t *v1beta2_flow_schema_parseFromJSON(cJSON *v1beta2_flow_schemaJSON){ - - v1beta2_flow_schema_t *v1beta2_flow_schema_local_var = NULL; - - // define the local variable for v1beta2_flow_schema->metadata - v1_object_meta_t *metadata_local_nonprim = NULL; - - // define the local variable for v1beta2_flow_schema->spec - v1beta2_flow_schema_spec_t *spec_local_nonprim = NULL; - - // define the local variable for v1beta2_flow_schema->status - v1beta2_flow_schema_status_t *status_local_nonprim = NULL; - - // v1beta2_flow_schema->api_version - cJSON *api_version = cJSON_GetObjectItemCaseSensitive(v1beta2_flow_schemaJSON, "apiVersion"); - if (api_version) { - if(!cJSON_IsString(api_version) && !cJSON_IsNull(api_version)) - { - goto end; //String - } - } - - // v1beta2_flow_schema->kind - cJSON *kind = cJSON_GetObjectItemCaseSensitive(v1beta2_flow_schemaJSON, "kind"); - if (kind) { - if(!cJSON_IsString(kind) && !cJSON_IsNull(kind)) - { - goto end; //String - } - } - - // v1beta2_flow_schema->metadata - cJSON *metadata = cJSON_GetObjectItemCaseSensitive(v1beta2_flow_schemaJSON, "metadata"); - if (metadata) { - metadata_local_nonprim = v1_object_meta_parseFromJSON(metadata); //nonprimitive - } - - // v1beta2_flow_schema->spec - cJSON *spec = cJSON_GetObjectItemCaseSensitive(v1beta2_flow_schemaJSON, "spec"); - if (spec) { - spec_local_nonprim = v1beta2_flow_schema_spec_parseFromJSON(spec); //nonprimitive - } - - // v1beta2_flow_schema->status - cJSON *status = cJSON_GetObjectItemCaseSensitive(v1beta2_flow_schemaJSON, "status"); - if (status) { - status_local_nonprim = v1beta2_flow_schema_status_parseFromJSON(status); //nonprimitive - } - - - v1beta2_flow_schema_local_var = v1beta2_flow_schema_create ( - api_version && !cJSON_IsNull(api_version) ? strdup(api_version->valuestring) : NULL, - kind && !cJSON_IsNull(kind) ? strdup(kind->valuestring) : NULL, - metadata ? metadata_local_nonprim : NULL, - spec ? spec_local_nonprim : NULL, - status ? status_local_nonprim : NULL - ); - - return v1beta2_flow_schema_local_var; -end: - if (metadata_local_nonprim) { - v1_object_meta_free(metadata_local_nonprim); - metadata_local_nonprim = NULL; - } - if (spec_local_nonprim) { - v1beta2_flow_schema_spec_free(spec_local_nonprim); - spec_local_nonprim = NULL; - } - if (status_local_nonprim) { - v1beta2_flow_schema_status_free(status_local_nonprim); - status_local_nonprim = NULL; - } - return NULL; - -} diff --git a/kubernetes/model/v1beta2_flow_schema.h b/kubernetes/model/v1beta2_flow_schema.h deleted file mode 100644 index e58f9c95..00000000 --- a/kubernetes/model/v1beta2_flow_schema.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * v1beta2_flow_schema.h - * - * FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a \"flow distinguisher\". - */ - -#ifndef _v1beta2_flow_schema_H_ -#define _v1beta2_flow_schema_H_ - -#include -#include "../external/cJSON.h" -#include "../include/list.h" -#include "../include/keyValuePair.h" -#include "../include/binary.h" - -typedef struct v1beta2_flow_schema_t v1beta2_flow_schema_t; - -#include "v1_object_meta.h" -#include "v1beta2_flow_schema_spec.h" -#include "v1beta2_flow_schema_status.h" - - - -typedef struct v1beta2_flow_schema_t { - char *api_version; // string - char *kind; // string - struct v1_object_meta_t *metadata; //model - struct v1beta2_flow_schema_spec_t *spec; //model - struct v1beta2_flow_schema_status_t *status; //model - -} v1beta2_flow_schema_t; - -v1beta2_flow_schema_t *v1beta2_flow_schema_create( - char *api_version, - char *kind, - v1_object_meta_t *metadata, - v1beta2_flow_schema_spec_t *spec, - v1beta2_flow_schema_status_t *status -); - -void v1beta2_flow_schema_free(v1beta2_flow_schema_t *v1beta2_flow_schema); - -v1beta2_flow_schema_t *v1beta2_flow_schema_parseFromJSON(cJSON *v1beta2_flow_schemaJSON); - -cJSON *v1beta2_flow_schema_convertToJSON(v1beta2_flow_schema_t *v1beta2_flow_schema); - -#endif /* _v1beta2_flow_schema_H_ */ - diff --git a/kubernetes/model/v1beta2_flow_schema_condition.c b/kubernetes/model/v1beta2_flow_schema_condition.c deleted file mode 100644 index 741c08ea..00000000 --- a/kubernetes/model/v1beta2_flow_schema_condition.c +++ /dev/null @@ -1,169 +0,0 @@ -#include -#include -#include -#include "v1beta2_flow_schema_condition.h" - - - -v1beta2_flow_schema_condition_t *v1beta2_flow_schema_condition_create( - char *last_transition_time, - char *message, - char *reason, - char *status, - char *type - ) { - v1beta2_flow_schema_condition_t *v1beta2_flow_schema_condition_local_var = malloc(sizeof(v1beta2_flow_schema_condition_t)); - if (!v1beta2_flow_schema_condition_local_var) { - return NULL; - } - v1beta2_flow_schema_condition_local_var->last_transition_time = last_transition_time; - v1beta2_flow_schema_condition_local_var->message = message; - v1beta2_flow_schema_condition_local_var->reason = reason; - v1beta2_flow_schema_condition_local_var->status = status; - v1beta2_flow_schema_condition_local_var->type = type; - - return v1beta2_flow_schema_condition_local_var; -} - - -void v1beta2_flow_schema_condition_free(v1beta2_flow_schema_condition_t *v1beta2_flow_schema_condition) { - if(NULL == v1beta2_flow_schema_condition){ - return ; - } - listEntry_t *listEntry; - if (v1beta2_flow_schema_condition->last_transition_time) { - free(v1beta2_flow_schema_condition->last_transition_time); - v1beta2_flow_schema_condition->last_transition_time = NULL; - } - if (v1beta2_flow_schema_condition->message) { - free(v1beta2_flow_schema_condition->message); - v1beta2_flow_schema_condition->message = NULL; - } - if (v1beta2_flow_schema_condition->reason) { - free(v1beta2_flow_schema_condition->reason); - v1beta2_flow_schema_condition->reason = NULL; - } - if (v1beta2_flow_schema_condition->status) { - free(v1beta2_flow_schema_condition->status); - v1beta2_flow_schema_condition->status = NULL; - } - if (v1beta2_flow_schema_condition->type) { - free(v1beta2_flow_schema_condition->type); - v1beta2_flow_schema_condition->type = NULL; - } - free(v1beta2_flow_schema_condition); -} - -cJSON *v1beta2_flow_schema_condition_convertToJSON(v1beta2_flow_schema_condition_t *v1beta2_flow_schema_condition) { - cJSON *item = cJSON_CreateObject(); - - // v1beta2_flow_schema_condition->last_transition_time - if(v1beta2_flow_schema_condition->last_transition_time) { - if(cJSON_AddStringToObject(item, "lastTransitionTime", v1beta2_flow_schema_condition->last_transition_time) == NULL) { - goto fail; //Date-Time - } - } - - - // v1beta2_flow_schema_condition->message - if(v1beta2_flow_schema_condition->message) { - if(cJSON_AddStringToObject(item, "message", v1beta2_flow_schema_condition->message) == NULL) { - goto fail; //String - } - } - - - // v1beta2_flow_schema_condition->reason - if(v1beta2_flow_schema_condition->reason) { - if(cJSON_AddStringToObject(item, "reason", v1beta2_flow_schema_condition->reason) == NULL) { - goto fail; //String - } - } - - - // v1beta2_flow_schema_condition->status - if(v1beta2_flow_schema_condition->status) { - if(cJSON_AddStringToObject(item, "status", v1beta2_flow_schema_condition->status) == NULL) { - goto fail; //String - } - } - - - // v1beta2_flow_schema_condition->type - if(v1beta2_flow_schema_condition->type) { - if(cJSON_AddStringToObject(item, "type", v1beta2_flow_schema_condition->type) == NULL) { - goto fail; //String - } - } - - return item; -fail: - if (item) { - cJSON_Delete(item); - } - return NULL; -} - -v1beta2_flow_schema_condition_t *v1beta2_flow_schema_condition_parseFromJSON(cJSON *v1beta2_flow_schema_conditionJSON){ - - v1beta2_flow_schema_condition_t *v1beta2_flow_schema_condition_local_var = NULL; - - // v1beta2_flow_schema_condition->last_transition_time - cJSON *last_transition_time = cJSON_GetObjectItemCaseSensitive(v1beta2_flow_schema_conditionJSON, "lastTransitionTime"); - if (last_transition_time) { - if(!cJSON_IsString(last_transition_time) && !cJSON_IsNull(last_transition_time)) - { - goto end; //DateTime - } - } - - // v1beta2_flow_schema_condition->message - cJSON *message = cJSON_GetObjectItemCaseSensitive(v1beta2_flow_schema_conditionJSON, "message"); - if (message) { - if(!cJSON_IsString(message) && !cJSON_IsNull(message)) - { - goto end; //String - } - } - - // v1beta2_flow_schema_condition->reason - cJSON *reason = cJSON_GetObjectItemCaseSensitive(v1beta2_flow_schema_conditionJSON, "reason"); - if (reason) { - if(!cJSON_IsString(reason) && !cJSON_IsNull(reason)) - { - goto end; //String - } - } - - // v1beta2_flow_schema_condition->status - cJSON *status = cJSON_GetObjectItemCaseSensitive(v1beta2_flow_schema_conditionJSON, "status"); - if (status) { - if(!cJSON_IsString(status) && !cJSON_IsNull(status)) - { - goto end; //String - } - } - - // v1beta2_flow_schema_condition->type - cJSON *type = cJSON_GetObjectItemCaseSensitive(v1beta2_flow_schema_conditionJSON, "type"); - if (type) { - if(!cJSON_IsString(type) && !cJSON_IsNull(type)) - { - goto end; //String - } - } - - - v1beta2_flow_schema_condition_local_var = v1beta2_flow_schema_condition_create ( - last_transition_time && !cJSON_IsNull(last_transition_time) ? strdup(last_transition_time->valuestring) : NULL, - message && !cJSON_IsNull(message) ? strdup(message->valuestring) : NULL, - reason && !cJSON_IsNull(reason) ? strdup(reason->valuestring) : NULL, - status && !cJSON_IsNull(status) ? strdup(status->valuestring) : NULL, - type && !cJSON_IsNull(type) ? strdup(type->valuestring) : NULL - ); - - return v1beta2_flow_schema_condition_local_var; -end: - return NULL; - -} diff --git a/kubernetes/model/v1beta2_flow_schema_condition.h b/kubernetes/model/v1beta2_flow_schema_condition.h deleted file mode 100644 index 78f9fcf4..00000000 --- a/kubernetes/model/v1beta2_flow_schema_condition.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * v1beta2_flow_schema_condition.h - * - * FlowSchemaCondition describes conditions for a FlowSchema. - */ - -#ifndef _v1beta2_flow_schema_condition_H_ -#define _v1beta2_flow_schema_condition_H_ - -#include -#include "../external/cJSON.h" -#include "../include/list.h" -#include "../include/keyValuePair.h" -#include "../include/binary.h" - -typedef struct v1beta2_flow_schema_condition_t v1beta2_flow_schema_condition_t; - - - - -typedef struct v1beta2_flow_schema_condition_t { - char *last_transition_time; //date time - char *message; // string - char *reason; // string - char *status; // string - char *type; // string - -} v1beta2_flow_schema_condition_t; - -v1beta2_flow_schema_condition_t *v1beta2_flow_schema_condition_create( - char *last_transition_time, - char *message, - char *reason, - char *status, - char *type -); - -void v1beta2_flow_schema_condition_free(v1beta2_flow_schema_condition_t *v1beta2_flow_schema_condition); - -v1beta2_flow_schema_condition_t *v1beta2_flow_schema_condition_parseFromJSON(cJSON *v1beta2_flow_schema_conditionJSON); - -cJSON *v1beta2_flow_schema_condition_convertToJSON(v1beta2_flow_schema_condition_t *v1beta2_flow_schema_condition); - -#endif /* _v1beta2_flow_schema_condition_H_ */ - diff --git a/kubernetes/model/v1beta2_flow_schema_list.c b/kubernetes/model/v1beta2_flow_schema_list.c deleted file mode 100644 index 1f016a53..00000000 --- a/kubernetes/model/v1beta2_flow_schema_list.c +++ /dev/null @@ -1,197 +0,0 @@ -#include -#include -#include -#include "v1beta2_flow_schema_list.h" - - - -v1beta2_flow_schema_list_t *v1beta2_flow_schema_list_create( - char *api_version, - list_t *items, - char *kind, - v1_list_meta_t *metadata - ) { - v1beta2_flow_schema_list_t *v1beta2_flow_schema_list_local_var = malloc(sizeof(v1beta2_flow_schema_list_t)); - if (!v1beta2_flow_schema_list_local_var) { - return NULL; - } - v1beta2_flow_schema_list_local_var->api_version = api_version; - v1beta2_flow_schema_list_local_var->items = items; - v1beta2_flow_schema_list_local_var->kind = kind; - v1beta2_flow_schema_list_local_var->metadata = metadata; - - return v1beta2_flow_schema_list_local_var; -} - - -void v1beta2_flow_schema_list_free(v1beta2_flow_schema_list_t *v1beta2_flow_schema_list) { - if(NULL == v1beta2_flow_schema_list){ - return ; - } - listEntry_t *listEntry; - if (v1beta2_flow_schema_list->api_version) { - free(v1beta2_flow_schema_list->api_version); - v1beta2_flow_schema_list->api_version = NULL; - } - if (v1beta2_flow_schema_list->items) { - list_ForEach(listEntry, v1beta2_flow_schema_list->items) { - v1beta2_flow_schema_free(listEntry->data); - } - list_freeList(v1beta2_flow_schema_list->items); - v1beta2_flow_schema_list->items = NULL; - } - if (v1beta2_flow_schema_list->kind) { - free(v1beta2_flow_schema_list->kind); - v1beta2_flow_schema_list->kind = NULL; - } - if (v1beta2_flow_schema_list->metadata) { - v1_list_meta_free(v1beta2_flow_schema_list->metadata); - v1beta2_flow_schema_list->metadata = NULL; - } - free(v1beta2_flow_schema_list); -} - -cJSON *v1beta2_flow_schema_list_convertToJSON(v1beta2_flow_schema_list_t *v1beta2_flow_schema_list) { - cJSON *item = cJSON_CreateObject(); - - // v1beta2_flow_schema_list->api_version - if(v1beta2_flow_schema_list->api_version) { - if(cJSON_AddStringToObject(item, "apiVersion", v1beta2_flow_schema_list->api_version) == NULL) { - goto fail; //String - } - } - - - // v1beta2_flow_schema_list->items - if (!v1beta2_flow_schema_list->items) { - goto fail; - } - cJSON *items = cJSON_AddArrayToObject(item, "items"); - if(items == NULL) { - goto fail; //nonprimitive container - } - - listEntry_t *itemsListEntry; - if (v1beta2_flow_schema_list->items) { - list_ForEach(itemsListEntry, v1beta2_flow_schema_list->items) { - cJSON *itemLocal = v1beta2_flow_schema_convertToJSON(itemsListEntry->data); - if(itemLocal == NULL) { - goto fail; - } - cJSON_AddItemToArray(items, itemLocal); - } - } - - - // v1beta2_flow_schema_list->kind - if(v1beta2_flow_schema_list->kind) { - if(cJSON_AddStringToObject(item, "kind", v1beta2_flow_schema_list->kind) == NULL) { - goto fail; //String - } - } - - - // v1beta2_flow_schema_list->metadata - if(v1beta2_flow_schema_list->metadata) { - cJSON *metadata_local_JSON = v1_list_meta_convertToJSON(v1beta2_flow_schema_list->metadata); - if(metadata_local_JSON == NULL) { - goto fail; //model - } - cJSON_AddItemToObject(item, "metadata", metadata_local_JSON); - if(item->child == NULL) { - goto fail; - } - } - - return item; -fail: - if (item) { - cJSON_Delete(item); - } - return NULL; -} - -v1beta2_flow_schema_list_t *v1beta2_flow_schema_list_parseFromJSON(cJSON *v1beta2_flow_schema_listJSON){ - - v1beta2_flow_schema_list_t *v1beta2_flow_schema_list_local_var = NULL; - - // define the local list for v1beta2_flow_schema_list->items - list_t *itemsList = NULL; - - // define the local variable for v1beta2_flow_schema_list->metadata - v1_list_meta_t *metadata_local_nonprim = NULL; - - // v1beta2_flow_schema_list->api_version - cJSON *api_version = cJSON_GetObjectItemCaseSensitive(v1beta2_flow_schema_listJSON, "apiVersion"); - if (api_version) { - if(!cJSON_IsString(api_version) && !cJSON_IsNull(api_version)) - { - goto end; //String - } - } - - // v1beta2_flow_schema_list->items - cJSON *items = cJSON_GetObjectItemCaseSensitive(v1beta2_flow_schema_listJSON, "items"); - if (!items) { - goto end; - } - - - cJSON *items_local_nonprimitive = NULL; - if(!cJSON_IsArray(items)){ - goto end; //nonprimitive container - } - - itemsList = list_createList(); - - cJSON_ArrayForEach(items_local_nonprimitive,items ) - { - if(!cJSON_IsObject(items_local_nonprimitive)){ - goto end; - } - v1beta2_flow_schema_t *itemsItem = v1beta2_flow_schema_parseFromJSON(items_local_nonprimitive); - - list_addElement(itemsList, itemsItem); - } - - // v1beta2_flow_schema_list->kind - cJSON *kind = cJSON_GetObjectItemCaseSensitive(v1beta2_flow_schema_listJSON, "kind"); - if (kind) { - if(!cJSON_IsString(kind) && !cJSON_IsNull(kind)) - { - goto end; //String - } - } - - // v1beta2_flow_schema_list->metadata - cJSON *metadata = cJSON_GetObjectItemCaseSensitive(v1beta2_flow_schema_listJSON, "metadata"); - if (metadata) { - metadata_local_nonprim = v1_list_meta_parseFromJSON(metadata); //nonprimitive - } - - - v1beta2_flow_schema_list_local_var = v1beta2_flow_schema_list_create ( - api_version && !cJSON_IsNull(api_version) ? strdup(api_version->valuestring) : NULL, - itemsList, - kind && !cJSON_IsNull(kind) ? strdup(kind->valuestring) : NULL, - metadata ? metadata_local_nonprim : NULL - ); - - return v1beta2_flow_schema_list_local_var; -end: - if (itemsList) { - listEntry_t *listEntry = NULL; - list_ForEach(listEntry, itemsList) { - v1beta2_flow_schema_free(listEntry->data); - listEntry->data = NULL; - } - list_freeList(itemsList); - itemsList = NULL; - } - if (metadata_local_nonprim) { - v1_list_meta_free(metadata_local_nonprim); - metadata_local_nonprim = NULL; - } - return NULL; - -} diff --git a/kubernetes/model/v1beta2_flow_schema_list.h b/kubernetes/model/v1beta2_flow_schema_list.h deleted file mode 100644 index 7d9181ff..00000000 --- a/kubernetes/model/v1beta2_flow_schema_list.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * v1beta2_flow_schema_list.h - * - * FlowSchemaList is a list of FlowSchema objects. - */ - -#ifndef _v1beta2_flow_schema_list_H_ -#define _v1beta2_flow_schema_list_H_ - -#include -#include "../external/cJSON.h" -#include "../include/list.h" -#include "../include/keyValuePair.h" -#include "../include/binary.h" - -typedef struct v1beta2_flow_schema_list_t v1beta2_flow_schema_list_t; - -#include "v1_list_meta.h" -#include "v1beta2_flow_schema.h" - - - -typedef struct v1beta2_flow_schema_list_t { - char *api_version; // string - list_t *items; //nonprimitive container - char *kind; // string - struct v1_list_meta_t *metadata; //model - -} v1beta2_flow_schema_list_t; - -v1beta2_flow_schema_list_t *v1beta2_flow_schema_list_create( - char *api_version, - list_t *items, - char *kind, - v1_list_meta_t *metadata -); - -void v1beta2_flow_schema_list_free(v1beta2_flow_schema_list_t *v1beta2_flow_schema_list); - -v1beta2_flow_schema_list_t *v1beta2_flow_schema_list_parseFromJSON(cJSON *v1beta2_flow_schema_listJSON); - -cJSON *v1beta2_flow_schema_list_convertToJSON(v1beta2_flow_schema_list_t *v1beta2_flow_schema_list); - -#endif /* _v1beta2_flow_schema_list_H_ */ - diff --git a/kubernetes/model/v1beta2_flow_schema_spec.c b/kubernetes/model/v1beta2_flow_schema_spec.c deleted file mode 100644 index d2ed3b95..00000000 --- a/kubernetes/model/v1beta2_flow_schema_spec.c +++ /dev/null @@ -1,202 +0,0 @@ -#include -#include -#include -#include "v1beta2_flow_schema_spec.h" - - - -v1beta2_flow_schema_spec_t *v1beta2_flow_schema_spec_create( - v1beta2_flow_distinguisher_method_t *distinguisher_method, - int matching_precedence, - v1beta2_priority_level_configuration_reference_t *priority_level_configuration, - list_t *rules - ) { - v1beta2_flow_schema_spec_t *v1beta2_flow_schema_spec_local_var = malloc(sizeof(v1beta2_flow_schema_spec_t)); - if (!v1beta2_flow_schema_spec_local_var) { - return NULL; - } - v1beta2_flow_schema_spec_local_var->distinguisher_method = distinguisher_method; - v1beta2_flow_schema_spec_local_var->matching_precedence = matching_precedence; - v1beta2_flow_schema_spec_local_var->priority_level_configuration = priority_level_configuration; - v1beta2_flow_schema_spec_local_var->rules = rules; - - return v1beta2_flow_schema_spec_local_var; -} - - -void v1beta2_flow_schema_spec_free(v1beta2_flow_schema_spec_t *v1beta2_flow_schema_spec) { - if(NULL == v1beta2_flow_schema_spec){ - return ; - } - listEntry_t *listEntry; - if (v1beta2_flow_schema_spec->distinguisher_method) { - v1beta2_flow_distinguisher_method_free(v1beta2_flow_schema_spec->distinguisher_method); - v1beta2_flow_schema_spec->distinguisher_method = NULL; - } - if (v1beta2_flow_schema_spec->priority_level_configuration) { - v1beta2_priority_level_configuration_reference_free(v1beta2_flow_schema_spec->priority_level_configuration); - v1beta2_flow_schema_spec->priority_level_configuration = NULL; - } - if (v1beta2_flow_schema_spec->rules) { - list_ForEach(listEntry, v1beta2_flow_schema_spec->rules) { - v1beta2_policy_rules_with_subjects_free(listEntry->data); - } - list_freeList(v1beta2_flow_schema_spec->rules); - v1beta2_flow_schema_spec->rules = NULL; - } - free(v1beta2_flow_schema_spec); -} - -cJSON *v1beta2_flow_schema_spec_convertToJSON(v1beta2_flow_schema_spec_t *v1beta2_flow_schema_spec) { - cJSON *item = cJSON_CreateObject(); - - // v1beta2_flow_schema_spec->distinguisher_method - if(v1beta2_flow_schema_spec->distinguisher_method) { - cJSON *distinguisher_method_local_JSON = v1beta2_flow_distinguisher_method_convertToJSON(v1beta2_flow_schema_spec->distinguisher_method); - if(distinguisher_method_local_JSON == NULL) { - goto fail; //model - } - cJSON_AddItemToObject(item, "distinguisherMethod", distinguisher_method_local_JSON); - if(item->child == NULL) { - goto fail; - } - } - - - // v1beta2_flow_schema_spec->matching_precedence - if(v1beta2_flow_schema_spec->matching_precedence) { - if(cJSON_AddNumberToObject(item, "matchingPrecedence", v1beta2_flow_schema_spec->matching_precedence) == NULL) { - goto fail; //Numeric - } - } - - - // v1beta2_flow_schema_spec->priority_level_configuration - if (!v1beta2_flow_schema_spec->priority_level_configuration) { - goto fail; - } - cJSON *priority_level_configuration_local_JSON = v1beta2_priority_level_configuration_reference_convertToJSON(v1beta2_flow_schema_spec->priority_level_configuration); - if(priority_level_configuration_local_JSON == NULL) { - goto fail; //model - } - cJSON_AddItemToObject(item, "priorityLevelConfiguration", priority_level_configuration_local_JSON); - if(item->child == NULL) { - goto fail; - } - - - // v1beta2_flow_schema_spec->rules - if(v1beta2_flow_schema_spec->rules) { - cJSON *rules = cJSON_AddArrayToObject(item, "rules"); - if(rules == NULL) { - goto fail; //nonprimitive container - } - - listEntry_t *rulesListEntry; - if (v1beta2_flow_schema_spec->rules) { - list_ForEach(rulesListEntry, v1beta2_flow_schema_spec->rules) { - cJSON *itemLocal = v1beta2_policy_rules_with_subjects_convertToJSON(rulesListEntry->data); - if(itemLocal == NULL) { - goto fail; - } - cJSON_AddItemToArray(rules, itemLocal); - } - } - } - - return item; -fail: - if (item) { - cJSON_Delete(item); - } - return NULL; -} - -v1beta2_flow_schema_spec_t *v1beta2_flow_schema_spec_parseFromJSON(cJSON *v1beta2_flow_schema_specJSON){ - - v1beta2_flow_schema_spec_t *v1beta2_flow_schema_spec_local_var = NULL; - - // define the local variable for v1beta2_flow_schema_spec->distinguisher_method - v1beta2_flow_distinguisher_method_t *distinguisher_method_local_nonprim = NULL; - - // define the local variable for v1beta2_flow_schema_spec->priority_level_configuration - v1beta2_priority_level_configuration_reference_t *priority_level_configuration_local_nonprim = NULL; - - // define the local list for v1beta2_flow_schema_spec->rules - list_t *rulesList = NULL; - - // v1beta2_flow_schema_spec->distinguisher_method - cJSON *distinguisher_method = cJSON_GetObjectItemCaseSensitive(v1beta2_flow_schema_specJSON, "distinguisherMethod"); - if (distinguisher_method) { - distinguisher_method_local_nonprim = v1beta2_flow_distinguisher_method_parseFromJSON(distinguisher_method); //nonprimitive - } - - // v1beta2_flow_schema_spec->matching_precedence - cJSON *matching_precedence = cJSON_GetObjectItemCaseSensitive(v1beta2_flow_schema_specJSON, "matchingPrecedence"); - if (matching_precedence) { - if(!cJSON_IsNumber(matching_precedence)) - { - goto end; //Numeric - } - } - - // v1beta2_flow_schema_spec->priority_level_configuration - cJSON *priority_level_configuration = cJSON_GetObjectItemCaseSensitive(v1beta2_flow_schema_specJSON, "priorityLevelConfiguration"); - if (!priority_level_configuration) { - goto end; - } - - - priority_level_configuration_local_nonprim = v1beta2_priority_level_configuration_reference_parseFromJSON(priority_level_configuration); //nonprimitive - - // v1beta2_flow_schema_spec->rules - cJSON *rules = cJSON_GetObjectItemCaseSensitive(v1beta2_flow_schema_specJSON, "rules"); - if (rules) { - cJSON *rules_local_nonprimitive = NULL; - if(!cJSON_IsArray(rules)){ - goto end; //nonprimitive container - } - - rulesList = list_createList(); - - cJSON_ArrayForEach(rules_local_nonprimitive,rules ) - { - if(!cJSON_IsObject(rules_local_nonprimitive)){ - goto end; - } - v1beta2_policy_rules_with_subjects_t *rulesItem = v1beta2_policy_rules_with_subjects_parseFromJSON(rules_local_nonprimitive); - - list_addElement(rulesList, rulesItem); - } - } - - - v1beta2_flow_schema_spec_local_var = v1beta2_flow_schema_spec_create ( - distinguisher_method ? distinguisher_method_local_nonprim : NULL, - matching_precedence ? matching_precedence->valuedouble : 0, - priority_level_configuration_local_nonprim, - rules ? rulesList : NULL - ); - - return v1beta2_flow_schema_spec_local_var; -end: - if (distinguisher_method_local_nonprim) { - v1beta2_flow_distinguisher_method_free(distinguisher_method_local_nonprim); - distinguisher_method_local_nonprim = NULL; - } - if (priority_level_configuration_local_nonprim) { - v1beta2_priority_level_configuration_reference_free(priority_level_configuration_local_nonprim); - priority_level_configuration_local_nonprim = NULL; - } - if (rulesList) { - listEntry_t *listEntry = NULL; - list_ForEach(listEntry, rulesList) { - v1beta2_policy_rules_with_subjects_free(listEntry->data); - listEntry->data = NULL; - } - list_freeList(rulesList); - rulesList = NULL; - } - return NULL; - -} diff --git a/kubernetes/model/v1beta2_flow_schema_spec.h b/kubernetes/model/v1beta2_flow_schema_spec.h deleted file mode 100644 index e0485d5c..00000000 --- a/kubernetes/model/v1beta2_flow_schema_spec.h +++ /dev/null @@ -1,46 +0,0 @@ -/* - * v1beta2_flow_schema_spec.h - * - * FlowSchemaSpec describes how the FlowSchema's specification looks like. - */ - -#ifndef _v1beta2_flow_schema_spec_H_ -#define _v1beta2_flow_schema_spec_H_ - -#include -#include "../external/cJSON.h" -#include "../include/list.h" -#include "../include/keyValuePair.h" -#include "../include/binary.h" - -typedef struct v1beta2_flow_schema_spec_t v1beta2_flow_schema_spec_t; - -#include "v1beta2_flow_distinguisher_method.h" -#include "v1beta2_policy_rules_with_subjects.h" -#include "v1beta2_priority_level_configuration_reference.h" - - - -typedef struct v1beta2_flow_schema_spec_t { - struct v1beta2_flow_distinguisher_method_t *distinguisher_method; //model - int matching_precedence; //numeric - struct v1beta2_priority_level_configuration_reference_t *priority_level_configuration; //model - list_t *rules; //nonprimitive container - -} v1beta2_flow_schema_spec_t; - -v1beta2_flow_schema_spec_t *v1beta2_flow_schema_spec_create( - v1beta2_flow_distinguisher_method_t *distinguisher_method, - int matching_precedence, - v1beta2_priority_level_configuration_reference_t *priority_level_configuration, - list_t *rules -); - -void v1beta2_flow_schema_spec_free(v1beta2_flow_schema_spec_t *v1beta2_flow_schema_spec); - -v1beta2_flow_schema_spec_t *v1beta2_flow_schema_spec_parseFromJSON(cJSON *v1beta2_flow_schema_specJSON); - -cJSON *v1beta2_flow_schema_spec_convertToJSON(v1beta2_flow_schema_spec_t *v1beta2_flow_schema_spec); - -#endif /* _v1beta2_flow_schema_spec_H_ */ - diff --git a/kubernetes/model/v1beta2_flow_schema_status.c b/kubernetes/model/v1beta2_flow_schema_status.c deleted file mode 100644 index fc121c58..00000000 --- a/kubernetes/model/v1beta2_flow_schema_status.c +++ /dev/null @@ -1,112 +0,0 @@ -#include -#include -#include -#include "v1beta2_flow_schema_status.h" - - - -v1beta2_flow_schema_status_t *v1beta2_flow_schema_status_create( - list_t *conditions - ) { - v1beta2_flow_schema_status_t *v1beta2_flow_schema_status_local_var = malloc(sizeof(v1beta2_flow_schema_status_t)); - if (!v1beta2_flow_schema_status_local_var) { - return NULL; - } - v1beta2_flow_schema_status_local_var->conditions = conditions; - - return v1beta2_flow_schema_status_local_var; -} - - -void v1beta2_flow_schema_status_free(v1beta2_flow_schema_status_t *v1beta2_flow_schema_status) { - if(NULL == v1beta2_flow_schema_status){ - return ; - } - listEntry_t *listEntry; - if (v1beta2_flow_schema_status->conditions) { - list_ForEach(listEntry, v1beta2_flow_schema_status->conditions) { - v1beta2_flow_schema_condition_free(listEntry->data); - } - list_freeList(v1beta2_flow_schema_status->conditions); - v1beta2_flow_schema_status->conditions = NULL; - } - free(v1beta2_flow_schema_status); -} - -cJSON *v1beta2_flow_schema_status_convertToJSON(v1beta2_flow_schema_status_t *v1beta2_flow_schema_status) { - cJSON *item = cJSON_CreateObject(); - - // v1beta2_flow_schema_status->conditions - if(v1beta2_flow_schema_status->conditions) { - cJSON *conditions = cJSON_AddArrayToObject(item, "conditions"); - if(conditions == NULL) { - goto fail; //nonprimitive container - } - - listEntry_t *conditionsListEntry; - if (v1beta2_flow_schema_status->conditions) { - list_ForEach(conditionsListEntry, v1beta2_flow_schema_status->conditions) { - cJSON *itemLocal = v1beta2_flow_schema_condition_convertToJSON(conditionsListEntry->data); - if(itemLocal == NULL) { - goto fail; - } - cJSON_AddItemToArray(conditions, itemLocal); - } - } - } - - return item; -fail: - if (item) { - cJSON_Delete(item); - } - return NULL; -} - -v1beta2_flow_schema_status_t *v1beta2_flow_schema_status_parseFromJSON(cJSON *v1beta2_flow_schema_statusJSON){ - - v1beta2_flow_schema_status_t *v1beta2_flow_schema_status_local_var = NULL; - - // define the local list for v1beta2_flow_schema_status->conditions - list_t *conditionsList = NULL; - - // v1beta2_flow_schema_status->conditions - cJSON *conditions = cJSON_GetObjectItemCaseSensitive(v1beta2_flow_schema_statusJSON, "conditions"); - if (conditions) { - cJSON *conditions_local_nonprimitive = NULL; - if(!cJSON_IsArray(conditions)){ - goto end; //nonprimitive container - } - - conditionsList = list_createList(); - - cJSON_ArrayForEach(conditions_local_nonprimitive,conditions ) - { - if(!cJSON_IsObject(conditions_local_nonprimitive)){ - goto end; - } - v1beta2_flow_schema_condition_t *conditionsItem = v1beta2_flow_schema_condition_parseFromJSON(conditions_local_nonprimitive); - - list_addElement(conditionsList, conditionsItem); - } - } - - - v1beta2_flow_schema_status_local_var = v1beta2_flow_schema_status_create ( - conditions ? conditionsList : NULL - ); - - return v1beta2_flow_schema_status_local_var; -end: - if (conditionsList) { - listEntry_t *listEntry = NULL; - list_ForEach(listEntry, conditionsList) { - v1beta2_flow_schema_condition_free(listEntry->data); - listEntry->data = NULL; - } - list_freeList(conditionsList); - conditionsList = NULL; - } - return NULL; - -} diff --git a/kubernetes/model/v1beta2_flow_schema_status.h b/kubernetes/model/v1beta2_flow_schema_status.h deleted file mode 100644 index e18d9cee..00000000 --- a/kubernetes/model/v1beta2_flow_schema_status.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * v1beta2_flow_schema_status.h - * - * FlowSchemaStatus represents the current state of a FlowSchema. - */ - -#ifndef _v1beta2_flow_schema_status_H_ -#define _v1beta2_flow_schema_status_H_ - -#include -#include "../external/cJSON.h" -#include "../include/list.h" -#include "../include/keyValuePair.h" -#include "../include/binary.h" - -typedef struct v1beta2_flow_schema_status_t v1beta2_flow_schema_status_t; - -#include "v1beta2_flow_schema_condition.h" - - - -typedef struct v1beta2_flow_schema_status_t { - list_t *conditions; //nonprimitive container - -} v1beta2_flow_schema_status_t; - -v1beta2_flow_schema_status_t *v1beta2_flow_schema_status_create( - list_t *conditions -); - -void v1beta2_flow_schema_status_free(v1beta2_flow_schema_status_t *v1beta2_flow_schema_status); - -v1beta2_flow_schema_status_t *v1beta2_flow_schema_status_parseFromJSON(cJSON *v1beta2_flow_schema_statusJSON); - -cJSON *v1beta2_flow_schema_status_convertToJSON(v1beta2_flow_schema_status_t *v1beta2_flow_schema_status); - -#endif /* _v1beta2_flow_schema_status_H_ */ - diff --git a/kubernetes/model/v1beta2_group_subject.c b/kubernetes/model/v1beta2_group_subject.c deleted file mode 100644 index 99fd418a..00000000 --- a/kubernetes/model/v1beta2_group_subject.c +++ /dev/null @@ -1,77 +0,0 @@ -#include -#include -#include -#include "v1beta2_group_subject.h" - - - -v1beta2_group_subject_t *v1beta2_group_subject_create( - char *name - ) { - v1beta2_group_subject_t *v1beta2_group_subject_local_var = malloc(sizeof(v1beta2_group_subject_t)); - if (!v1beta2_group_subject_local_var) { - return NULL; - } - v1beta2_group_subject_local_var->name = name; - - return v1beta2_group_subject_local_var; -} - - -void v1beta2_group_subject_free(v1beta2_group_subject_t *v1beta2_group_subject) { - if(NULL == v1beta2_group_subject){ - return ; - } - listEntry_t *listEntry; - if (v1beta2_group_subject->name) { - free(v1beta2_group_subject->name); - v1beta2_group_subject->name = NULL; - } - free(v1beta2_group_subject); -} - -cJSON *v1beta2_group_subject_convertToJSON(v1beta2_group_subject_t *v1beta2_group_subject) { - cJSON *item = cJSON_CreateObject(); - - // v1beta2_group_subject->name - if (!v1beta2_group_subject->name) { - goto fail; - } - if(cJSON_AddStringToObject(item, "name", v1beta2_group_subject->name) == NULL) { - goto fail; //String - } - - return item; -fail: - if (item) { - cJSON_Delete(item); - } - return NULL; -} - -v1beta2_group_subject_t *v1beta2_group_subject_parseFromJSON(cJSON *v1beta2_group_subjectJSON){ - - v1beta2_group_subject_t *v1beta2_group_subject_local_var = NULL; - - // v1beta2_group_subject->name - cJSON *name = cJSON_GetObjectItemCaseSensitive(v1beta2_group_subjectJSON, "name"); - if (!name) { - goto end; - } - - - if(!cJSON_IsString(name)) - { - goto end; //String - } - - - v1beta2_group_subject_local_var = v1beta2_group_subject_create ( - strdup(name->valuestring) - ); - - return v1beta2_group_subject_local_var; -end: - return NULL; - -} diff --git a/kubernetes/model/v1beta2_group_subject.h b/kubernetes/model/v1beta2_group_subject.h deleted file mode 100644 index 654b5286..00000000 --- a/kubernetes/model/v1beta2_group_subject.h +++ /dev/null @@ -1,37 +0,0 @@ -/* - * v1beta2_group_subject.h - * - * GroupSubject holds detailed information for group-kind subject. - */ - -#ifndef _v1beta2_group_subject_H_ -#define _v1beta2_group_subject_H_ - -#include -#include "../external/cJSON.h" -#include "../include/list.h" -#include "../include/keyValuePair.h" -#include "../include/binary.h" - -typedef struct v1beta2_group_subject_t v1beta2_group_subject_t; - - - - -typedef struct v1beta2_group_subject_t { - char *name; // string - -} v1beta2_group_subject_t; - -v1beta2_group_subject_t *v1beta2_group_subject_create( - char *name -); - -void v1beta2_group_subject_free(v1beta2_group_subject_t *v1beta2_group_subject); - -v1beta2_group_subject_t *v1beta2_group_subject_parseFromJSON(cJSON *v1beta2_group_subjectJSON); - -cJSON *v1beta2_group_subject_convertToJSON(v1beta2_group_subject_t *v1beta2_group_subject); - -#endif /* _v1beta2_group_subject_H_ */ - diff --git a/kubernetes/model/v1beta2_limit_response.c b/kubernetes/model/v1beta2_limit_response.c deleted file mode 100644 index fe85dba4..00000000 --- a/kubernetes/model/v1beta2_limit_response.c +++ /dev/null @@ -1,110 +0,0 @@ -#include -#include -#include -#include "v1beta2_limit_response.h" - - - -v1beta2_limit_response_t *v1beta2_limit_response_create( - v1beta2_queuing_configuration_t *queuing, - char *type - ) { - v1beta2_limit_response_t *v1beta2_limit_response_local_var = malloc(sizeof(v1beta2_limit_response_t)); - if (!v1beta2_limit_response_local_var) { - return NULL; - } - v1beta2_limit_response_local_var->queuing = queuing; - v1beta2_limit_response_local_var->type = type; - - return v1beta2_limit_response_local_var; -} - - -void v1beta2_limit_response_free(v1beta2_limit_response_t *v1beta2_limit_response) { - if(NULL == v1beta2_limit_response){ - return ; - } - listEntry_t *listEntry; - if (v1beta2_limit_response->queuing) { - v1beta2_queuing_configuration_free(v1beta2_limit_response->queuing); - v1beta2_limit_response->queuing = NULL; - } - if (v1beta2_limit_response->type) { - free(v1beta2_limit_response->type); - v1beta2_limit_response->type = NULL; - } - free(v1beta2_limit_response); -} - -cJSON *v1beta2_limit_response_convertToJSON(v1beta2_limit_response_t *v1beta2_limit_response) { - cJSON *item = cJSON_CreateObject(); - - // v1beta2_limit_response->queuing - if(v1beta2_limit_response->queuing) { - cJSON *queuing_local_JSON = v1beta2_queuing_configuration_convertToJSON(v1beta2_limit_response->queuing); - if(queuing_local_JSON == NULL) { - goto fail; //model - } - cJSON_AddItemToObject(item, "queuing", queuing_local_JSON); - if(item->child == NULL) { - goto fail; - } - } - - - // v1beta2_limit_response->type - if (!v1beta2_limit_response->type) { - goto fail; - } - if(cJSON_AddStringToObject(item, "type", v1beta2_limit_response->type) == NULL) { - goto fail; //String - } - - return item; -fail: - if (item) { - cJSON_Delete(item); - } - return NULL; -} - -v1beta2_limit_response_t *v1beta2_limit_response_parseFromJSON(cJSON *v1beta2_limit_responseJSON){ - - v1beta2_limit_response_t *v1beta2_limit_response_local_var = NULL; - - // define the local variable for v1beta2_limit_response->queuing - v1beta2_queuing_configuration_t *queuing_local_nonprim = NULL; - - // v1beta2_limit_response->queuing - cJSON *queuing = cJSON_GetObjectItemCaseSensitive(v1beta2_limit_responseJSON, "queuing"); - if (queuing) { - queuing_local_nonprim = v1beta2_queuing_configuration_parseFromJSON(queuing); //nonprimitive - } - - // v1beta2_limit_response->type - cJSON *type = cJSON_GetObjectItemCaseSensitive(v1beta2_limit_responseJSON, "type"); - if (!type) { - goto end; - } - - - if(!cJSON_IsString(type)) - { - goto end; //String - } - - - v1beta2_limit_response_local_var = v1beta2_limit_response_create ( - queuing ? queuing_local_nonprim : NULL, - strdup(type->valuestring) - ); - - return v1beta2_limit_response_local_var; -end: - if (queuing_local_nonprim) { - v1beta2_queuing_configuration_free(queuing_local_nonprim); - queuing_local_nonprim = NULL; - } - return NULL; - -} diff --git a/kubernetes/model/v1beta2_limit_response.h b/kubernetes/model/v1beta2_limit_response.h deleted file mode 100644 index 8d8444a6..00000000 --- a/kubernetes/model/v1beta2_limit_response.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * v1beta2_limit_response.h - * - * LimitResponse defines how to handle requests that can not be executed right now. - */ - -#ifndef _v1beta2_limit_response_H_ -#define _v1beta2_limit_response_H_ - -#include -#include "../external/cJSON.h" -#include "../include/list.h" -#include "../include/keyValuePair.h" -#include "../include/binary.h" - -typedef struct v1beta2_limit_response_t v1beta2_limit_response_t; - -#include "v1beta2_queuing_configuration.h" - - - -typedef struct v1beta2_limit_response_t { - struct v1beta2_queuing_configuration_t *queuing; //model - char *type; // string - -} v1beta2_limit_response_t; - -v1beta2_limit_response_t *v1beta2_limit_response_create( - v1beta2_queuing_configuration_t *queuing, - char *type -); - -void v1beta2_limit_response_free(v1beta2_limit_response_t *v1beta2_limit_response); - -v1beta2_limit_response_t *v1beta2_limit_response_parseFromJSON(cJSON *v1beta2_limit_responseJSON); - -cJSON *v1beta2_limit_response_convertToJSON(v1beta2_limit_response_t *v1beta2_limit_response); - -#endif /* _v1beta2_limit_response_H_ */ - diff --git a/kubernetes/model/v1beta2_limited_priority_level_configuration.c b/kubernetes/model/v1beta2_limited_priority_level_configuration.c deleted file mode 100644 index 1b8ccc85..00000000 --- a/kubernetes/model/v1beta2_limited_priority_level_configuration.c +++ /dev/null @@ -1,142 +0,0 @@ -#include -#include -#include -#include "v1beta2_limited_priority_level_configuration.h" - - - -v1beta2_limited_priority_level_configuration_t *v1beta2_limited_priority_level_configuration_create( - int assured_concurrency_shares, - int borrowing_limit_percent, - int lendable_percent, - v1beta2_limit_response_t *limit_response - ) { - v1beta2_limited_priority_level_configuration_t *v1beta2_limited_priority_level_configuration_local_var = malloc(sizeof(v1beta2_limited_priority_level_configuration_t)); - if (!v1beta2_limited_priority_level_configuration_local_var) { - return NULL; - } - v1beta2_limited_priority_level_configuration_local_var->assured_concurrency_shares = assured_concurrency_shares; - v1beta2_limited_priority_level_configuration_local_var->borrowing_limit_percent = borrowing_limit_percent; - v1beta2_limited_priority_level_configuration_local_var->lendable_percent = lendable_percent; - v1beta2_limited_priority_level_configuration_local_var->limit_response = limit_response; - - return v1beta2_limited_priority_level_configuration_local_var; -} - - -void v1beta2_limited_priority_level_configuration_free(v1beta2_limited_priority_level_configuration_t *v1beta2_limited_priority_level_configuration) { - if(NULL == v1beta2_limited_priority_level_configuration){ - return ; - } - listEntry_t *listEntry; - if (v1beta2_limited_priority_level_configuration->limit_response) { - v1beta2_limit_response_free(v1beta2_limited_priority_level_configuration->limit_response); - v1beta2_limited_priority_level_configuration->limit_response = NULL; - } - free(v1beta2_limited_priority_level_configuration); -} - -cJSON *v1beta2_limited_priority_level_configuration_convertToJSON(v1beta2_limited_priority_level_configuration_t *v1beta2_limited_priority_level_configuration) { - cJSON *item = cJSON_CreateObject(); - - // v1beta2_limited_priority_level_configuration->assured_concurrency_shares - if(v1beta2_limited_priority_level_configuration->assured_concurrency_shares) { - if(cJSON_AddNumberToObject(item, "assuredConcurrencyShares", v1beta2_limited_priority_level_configuration->assured_concurrency_shares) == NULL) { - goto fail; //Numeric - } - } - - - // v1beta2_limited_priority_level_configuration->borrowing_limit_percent - if(v1beta2_limited_priority_level_configuration->borrowing_limit_percent) { - if(cJSON_AddNumberToObject(item, "borrowingLimitPercent", v1beta2_limited_priority_level_configuration->borrowing_limit_percent) == NULL) { - goto fail; //Numeric - } - } - - - // v1beta2_limited_priority_level_configuration->lendable_percent - if(v1beta2_limited_priority_level_configuration->lendable_percent) { - if(cJSON_AddNumberToObject(item, "lendablePercent", v1beta2_limited_priority_level_configuration->lendable_percent) == NULL) { - goto fail; //Numeric - } - } - - - // v1beta2_limited_priority_level_configuration->limit_response - if(v1beta2_limited_priority_level_configuration->limit_response) { - cJSON *limit_response_local_JSON = v1beta2_limit_response_convertToJSON(v1beta2_limited_priority_level_configuration->limit_response); - if(limit_response_local_JSON == NULL) { - goto fail; //model - } - cJSON_AddItemToObject(item, "limitResponse", limit_response_local_JSON); - if(item->child == NULL) { - goto fail; - } - } - - return item; -fail: - if (item) { - cJSON_Delete(item); - } - return NULL; -} - -v1beta2_limited_priority_level_configuration_t *v1beta2_limited_priority_level_configuration_parseFromJSON(cJSON *v1beta2_limited_priority_level_configurationJSON){ - - v1beta2_limited_priority_level_configuration_t *v1beta2_limited_priority_level_configuration_local_var = NULL; - - // define the local variable for v1beta2_limited_priority_level_configuration->limit_response - v1beta2_limit_response_t *limit_response_local_nonprim = NULL; - - // v1beta2_limited_priority_level_configuration->assured_concurrency_shares - cJSON *assured_concurrency_shares = cJSON_GetObjectItemCaseSensitive(v1beta2_limited_priority_level_configurationJSON, "assuredConcurrencyShares"); - if (assured_concurrency_shares) { - if(!cJSON_IsNumber(assured_concurrency_shares)) - { - goto end; //Numeric - } - } - - // v1beta2_limited_priority_level_configuration->borrowing_limit_percent - cJSON *borrowing_limit_percent = cJSON_GetObjectItemCaseSensitive(v1beta2_limited_priority_level_configurationJSON, "borrowingLimitPercent"); - if (borrowing_limit_percent) { - if(!cJSON_IsNumber(borrowing_limit_percent)) - { - goto end; //Numeric - } - } - - // v1beta2_limited_priority_level_configuration->lendable_percent - cJSON *lendable_percent = cJSON_GetObjectItemCaseSensitive(v1beta2_limited_priority_level_configurationJSON, "lendablePercent"); - if (lendable_percent) { - if(!cJSON_IsNumber(lendable_percent)) - { - goto end; //Numeric - } - } - - // v1beta2_limited_priority_level_configuration->limit_response - cJSON *limit_response = cJSON_GetObjectItemCaseSensitive(v1beta2_limited_priority_level_configurationJSON, "limitResponse"); - if (limit_response) { - limit_response_local_nonprim = v1beta2_limit_response_parseFromJSON(limit_response); //nonprimitive - } - - - v1beta2_limited_priority_level_configuration_local_var = v1beta2_limited_priority_level_configuration_create ( - assured_concurrency_shares ? assured_concurrency_shares->valuedouble : 0, - borrowing_limit_percent ? borrowing_limit_percent->valuedouble : 0, - lendable_percent ? lendable_percent->valuedouble : 0, - limit_response ? limit_response_local_nonprim : NULL - ); - - return v1beta2_limited_priority_level_configuration_local_var; -end: - if (limit_response_local_nonprim) { - v1beta2_limit_response_free(limit_response_local_nonprim); - limit_response_local_nonprim = NULL; - } - return NULL; - -} diff --git a/kubernetes/model/v1beta2_limited_priority_level_configuration.h b/kubernetes/model/v1beta2_limited_priority_level_configuration.h deleted file mode 100644 index 1ca91ba1..00000000 --- a/kubernetes/model/v1beta2_limited_priority_level_configuration.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * v1beta2_limited_priority_level_configuration.h - * - * LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues: - How are requests for this priority level limited? - What should be done with requests that exceed the limit? - */ - -#ifndef _v1beta2_limited_priority_level_configuration_H_ -#define _v1beta2_limited_priority_level_configuration_H_ - -#include -#include "../external/cJSON.h" -#include "../include/list.h" -#include "../include/keyValuePair.h" -#include "../include/binary.h" - -typedef struct v1beta2_limited_priority_level_configuration_t v1beta2_limited_priority_level_configuration_t; - -#include "v1beta2_limit_response.h" - - - -typedef struct v1beta2_limited_priority_level_configuration_t { - int assured_concurrency_shares; //numeric - int borrowing_limit_percent; //numeric - int lendable_percent; //numeric - struct v1beta2_limit_response_t *limit_response; //model - -} v1beta2_limited_priority_level_configuration_t; - -v1beta2_limited_priority_level_configuration_t *v1beta2_limited_priority_level_configuration_create( - int assured_concurrency_shares, - int borrowing_limit_percent, - int lendable_percent, - v1beta2_limit_response_t *limit_response -); - -void v1beta2_limited_priority_level_configuration_free(v1beta2_limited_priority_level_configuration_t *v1beta2_limited_priority_level_configuration); - -v1beta2_limited_priority_level_configuration_t *v1beta2_limited_priority_level_configuration_parseFromJSON(cJSON *v1beta2_limited_priority_level_configurationJSON); - -cJSON *v1beta2_limited_priority_level_configuration_convertToJSON(v1beta2_limited_priority_level_configuration_t *v1beta2_limited_priority_level_configuration); - -#endif /* _v1beta2_limited_priority_level_configuration_H_ */ - diff --git a/kubernetes/model/v1beta2_non_resource_policy_rule.h b/kubernetes/model/v1beta2_non_resource_policy_rule.h deleted file mode 100644 index 4d551db0..00000000 --- a/kubernetes/model/v1beta2_non_resource_policy_rule.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * v1beta2_non_resource_policy_rule.h - * - * NonResourcePolicyRule is a predicate that matches non-resource requests according to their verb and the target non-resource URL. A NonResourcePolicyRule matches a request if and only if both (a) at least one member of verbs matches the request and (b) at least one member of nonResourceURLs matches the request. - */ - -#ifndef _v1beta2_non_resource_policy_rule_H_ -#define _v1beta2_non_resource_policy_rule_H_ - -#include -#include "../external/cJSON.h" -#include "../include/list.h" -#include "../include/keyValuePair.h" -#include "../include/binary.h" - -typedef struct v1beta2_non_resource_policy_rule_t v1beta2_non_resource_policy_rule_t; - - - - -typedef struct v1beta2_non_resource_policy_rule_t { - list_t *non_resource_urls; //primitive container - list_t *verbs; //primitive container - -} v1beta2_non_resource_policy_rule_t; - -v1beta2_non_resource_policy_rule_t *v1beta2_non_resource_policy_rule_create( - list_t *non_resource_urls, - list_t *verbs -); - -void v1beta2_non_resource_policy_rule_free(v1beta2_non_resource_policy_rule_t *v1beta2_non_resource_policy_rule); - -v1beta2_non_resource_policy_rule_t *v1beta2_non_resource_policy_rule_parseFromJSON(cJSON *v1beta2_non_resource_policy_ruleJSON); - -cJSON *v1beta2_non_resource_policy_rule_convertToJSON(v1beta2_non_resource_policy_rule_t *v1beta2_non_resource_policy_rule); - -#endif /* _v1beta2_non_resource_policy_rule_H_ */ - diff --git a/kubernetes/model/v1beta2_policy_rules_with_subjects.c b/kubernetes/model/v1beta2_policy_rules_with_subjects.c deleted file mode 100644 index 465f3fdf..00000000 --- a/kubernetes/model/v1beta2_policy_rules_with_subjects.c +++ /dev/null @@ -1,242 +0,0 @@ -#include -#include -#include -#include "v1beta2_policy_rules_with_subjects.h" - - - -v1beta2_policy_rules_with_subjects_t *v1beta2_policy_rules_with_subjects_create( - list_t *non_resource_rules, - list_t *resource_rules, - list_t *subjects - ) { - v1beta2_policy_rules_with_subjects_t *v1beta2_policy_rules_with_subjects_local_var = malloc(sizeof(v1beta2_policy_rules_with_subjects_t)); - if (!v1beta2_policy_rules_with_subjects_local_var) { - return NULL; - } - v1beta2_policy_rules_with_subjects_local_var->non_resource_rules = non_resource_rules; - v1beta2_policy_rules_with_subjects_local_var->resource_rules = resource_rules; - v1beta2_policy_rules_with_subjects_local_var->subjects = subjects; - - return v1beta2_policy_rules_with_subjects_local_var; -} - - -void v1beta2_policy_rules_with_subjects_free(v1beta2_policy_rules_with_subjects_t *v1beta2_policy_rules_with_subjects) { - if(NULL == v1beta2_policy_rules_with_subjects){ - return ; - } - listEntry_t *listEntry; - if (v1beta2_policy_rules_with_subjects->non_resource_rules) { - list_ForEach(listEntry, v1beta2_policy_rules_with_subjects->non_resource_rules) { - v1beta2_non_resource_policy_rule_free(listEntry->data); - } - list_freeList(v1beta2_policy_rules_with_subjects->non_resource_rules); - v1beta2_policy_rules_with_subjects->non_resource_rules = NULL; - } - if (v1beta2_policy_rules_with_subjects->resource_rules) { - list_ForEach(listEntry, v1beta2_policy_rules_with_subjects->resource_rules) { - v1beta2_resource_policy_rule_free(listEntry->data); - } - list_freeList(v1beta2_policy_rules_with_subjects->resource_rules); - v1beta2_policy_rules_with_subjects->resource_rules = NULL; - } - if (v1beta2_policy_rules_with_subjects->subjects) { - list_ForEach(listEntry, v1beta2_policy_rules_with_subjects->subjects) { - v1beta2_subject_free(listEntry->data); - } - list_freeList(v1beta2_policy_rules_with_subjects->subjects); - v1beta2_policy_rules_with_subjects->subjects = NULL; - } - free(v1beta2_policy_rules_with_subjects); -} - -cJSON *v1beta2_policy_rules_with_subjects_convertToJSON(v1beta2_policy_rules_with_subjects_t *v1beta2_policy_rules_with_subjects) { - cJSON *item = cJSON_CreateObject(); - - // v1beta2_policy_rules_with_subjects->non_resource_rules - if(v1beta2_policy_rules_with_subjects->non_resource_rules) { - cJSON *non_resource_rules = cJSON_AddArrayToObject(item, "nonResourceRules"); - if(non_resource_rules == NULL) { - goto fail; //nonprimitive container - } - - listEntry_t *non_resource_rulesListEntry; - if (v1beta2_policy_rules_with_subjects->non_resource_rules) { - list_ForEach(non_resource_rulesListEntry, v1beta2_policy_rules_with_subjects->non_resource_rules) { - cJSON *itemLocal = v1beta2_non_resource_policy_rule_convertToJSON(non_resource_rulesListEntry->data); - if(itemLocal == NULL) { - goto fail; - } - cJSON_AddItemToArray(non_resource_rules, itemLocal); - } - } - } - - - // v1beta2_policy_rules_with_subjects->resource_rules - if(v1beta2_policy_rules_with_subjects->resource_rules) { - cJSON *resource_rules = cJSON_AddArrayToObject(item, "resourceRules"); - if(resource_rules == NULL) { - goto fail; //nonprimitive container - } - - listEntry_t *resource_rulesListEntry; - if (v1beta2_policy_rules_with_subjects->resource_rules) { - list_ForEach(resource_rulesListEntry, v1beta2_policy_rules_with_subjects->resource_rules) { - cJSON *itemLocal = v1beta2_resource_policy_rule_convertToJSON(resource_rulesListEntry->data); - if(itemLocal == NULL) { - goto fail; - } - cJSON_AddItemToArray(resource_rules, itemLocal); - } - } - } - - - // v1beta2_policy_rules_with_subjects->subjects - if (!v1beta2_policy_rules_with_subjects->subjects) { - goto fail; - } - cJSON *subjects = cJSON_AddArrayToObject(item, "subjects"); - if(subjects == NULL) { - goto fail; //nonprimitive container - } - - listEntry_t *subjectsListEntry; - if (v1beta2_policy_rules_with_subjects->subjects) { - list_ForEach(subjectsListEntry, v1beta2_policy_rules_with_subjects->subjects) { - cJSON *itemLocal = v1beta2_subject_convertToJSON(subjectsListEntry->data); - if(itemLocal == NULL) { - goto fail; - } - cJSON_AddItemToArray(subjects, itemLocal); - } - } - - return item; -fail: - if (item) { - cJSON_Delete(item); - } - return NULL; -} - -v1beta2_policy_rules_with_subjects_t *v1beta2_policy_rules_with_subjects_parseFromJSON(cJSON *v1beta2_policy_rules_with_subjectsJSON){ - - v1beta2_policy_rules_with_subjects_t *v1beta2_policy_rules_with_subjects_local_var = NULL; - - // define the local list for v1beta2_policy_rules_with_subjects->non_resource_rules - list_t *non_resource_rulesList = NULL; - - // define the local list for v1beta2_policy_rules_with_subjects->resource_rules - list_t *resource_rulesList = NULL; - - // define the local list for v1beta2_policy_rules_with_subjects->subjects - list_t *subjectsList = NULL; - - // v1beta2_policy_rules_with_subjects->non_resource_rules - cJSON *non_resource_rules = cJSON_GetObjectItemCaseSensitive(v1beta2_policy_rules_with_subjectsJSON, "nonResourceRules"); - if (non_resource_rules) { - cJSON *non_resource_rules_local_nonprimitive = NULL; - if(!cJSON_IsArray(non_resource_rules)){ - goto end; //nonprimitive container - } - - non_resource_rulesList = list_createList(); - - cJSON_ArrayForEach(non_resource_rules_local_nonprimitive,non_resource_rules ) - { - if(!cJSON_IsObject(non_resource_rules_local_nonprimitive)){ - goto end; - } - v1beta2_non_resource_policy_rule_t *non_resource_rulesItem = v1beta2_non_resource_policy_rule_parseFromJSON(non_resource_rules_local_nonprimitive); - - list_addElement(non_resource_rulesList, non_resource_rulesItem); - } - } - - // v1beta2_policy_rules_with_subjects->resource_rules - cJSON *resource_rules = cJSON_GetObjectItemCaseSensitive(v1beta2_policy_rules_with_subjectsJSON, "resourceRules"); - if (resource_rules) { - cJSON *resource_rules_local_nonprimitive = NULL; - if(!cJSON_IsArray(resource_rules)){ - goto end; //nonprimitive container - } - - resource_rulesList = list_createList(); - - cJSON_ArrayForEach(resource_rules_local_nonprimitive,resource_rules ) - { - if(!cJSON_IsObject(resource_rules_local_nonprimitive)){ - goto end; - } - v1beta2_resource_policy_rule_t *resource_rulesItem = v1beta2_resource_policy_rule_parseFromJSON(resource_rules_local_nonprimitive); - - list_addElement(resource_rulesList, resource_rulesItem); - } - } - - // v1beta2_policy_rules_with_subjects->subjects - cJSON *subjects = cJSON_GetObjectItemCaseSensitive(v1beta2_policy_rules_with_subjectsJSON, "subjects"); - if (!subjects) { - goto end; - } - - - cJSON *subjects_local_nonprimitive = NULL; - if(!cJSON_IsArray(subjects)){ - goto end; //nonprimitive container - } - - subjectsList = list_createList(); - - cJSON_ArrayForEach(subjects_local_nonprimitive,subjects ) - { - if(!cJSON_IsObject(subjects_local_nonprimitive)){ - goto end; - } - v1beta2_subject_t *subjectsItem = v1beta2_subject_parseFromJSON(subjects_local_nonprimitive); - - list_addElement(subjectsList, subjectsItem); - } - - - v1beta2_policy_rules_with_subjects_local_var = v1beta2_policy_rules_with_subjects_create ( - non_resource_rules ? non_resource_rulesList : NULL, - resource_rules ? resource_rulesList : NULL, - subjectsList - ); - - return v1beta2_policy_rules_with_subjects_local_var; -end: - if (non_resource_rulesList) { - listEntry_t *listEntry = NULL; - list_ForEach(listEntry, non_resource_rulesList) { - v1beta2_non_resource_policy_rule_free(listEntry->data); - listEntry->data = NULL; - } - list_freeList(non_resource_rulesList); - non_resource_rulesList = NULL; - } - if (resource_rulesList) { - listEntry_t *listEntry = NULL; - list_ForEach(listEntry, resource_rulesList) { - v1beta2_resource_policy_rule_free(listEntry->data); - listEntry->data = NULL; - } - list_freeList(resource_rulesList); - resource_rulesList = NULL; - } - if (subjectsList) { - listEntry_t *listEntry = NULL; - list_ForEach(listEntry, subjectsList) { - v1beta2_subject_free(listEntry->data); - listEntry->data = NULL; - } - list_freeList(subjectsList); - subjectsList = NULL; - } - return NULL; - -} diff --git a/kubernetes/model/v1beta2_policy_rules_with_subjects.h b/kubernetes/model/v1beta2_policy_rules_with_subjects.h deleted file mode 100644 index 74a4c86d..00000000 --- a/kubernetes/model/v1beta2_policy_rules_with_subjects.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * v1beta2_policy_rules_with_subjects.h - * - * PolicyRulesWithSubjects prescribes a test that applies to a request to an apiserver. The test considers the subject making the request, the verb being requested, and the resource to be acted upon. This PolicyRulesWithSubjects matches a request if and only if both (a) at least one member of subjects matches the request and (b) at least one member of resourceRules or nonResourceRules matches the request. - */ - -#ifndef _v1beta2_policy_rules_with_subjects_H_ -#define _v1beta2_policy_rules_with_subjects_H_ - -#include -#include "../external/cJSON.h" -#include "../include/list.h" -#include "../include/keyValuePair.h" -#include "../include/binary.h" - -typedef struct v1beta2_policy_rules_with_subjects_t v1beta2_policy_rules_with_subjects_t; - -#include "v1beta2_non_resource_policy_rule.h" -#include "v1beta2_resource_policy_rule.h" -#include "v1beta2_subject.h" - - - -typedef struct v1beta2_policy_rules_with_subjects_t { - list_t *non_resource_rules; //nonprimitive container - list_t *resource_rules; //nonprimitive container - list_t *subjects; //nonprimitive container - -} v1beta2_policy_rules_with_subjects_t; - -v1beta2_policy_rules_with_subjects_t *v1beta2_policy_rules_with_subjects_create( - list_t *non_resource_rules, - list_t *resource_rules, - list_t *subjects -); - -void v1beta2_policy_rules_with_subjects_free(v1beta2_policy_rules_with_subjects_t *v1beta2_policy_rules_with_subjects); - -v1beta2_policy_rules_with_subjects_t *v1beta2_policy_rules_with_subjects_parseFromJSON(cJSON *v1beta2_policy_rules_with_subjectsJSON); - -cJSON *v1beta2_policy_rules_with_subjects_convertToJSON(v1beta2_policy_rules_with_subjects_t *v1beta2_policy_rules_with_subjects); - -#endif /* _v1beta2_policy_rules_with_subjects_H_ */ - diff --git a/kubernetes/model/v1beta2_priority_level_configuration.c b/kubernetes/model/v1beta2_priority_level_configuration.c deleted file mode 100644 index dbbfdf4f..00000000 --- a/kubernetes/model/v1beta2_priority_level_configuration.c +++ /dev/null @@ -1,196 +0,0 @@ -#include -#include -#include -#include "v1beta2_priority_level_configuration.h" - - - -v1beta2_priority_level_configuration_t *v1beta2_priority_level_configuration_create( - char *api_version, - char *kind, - v1_object_meta_t *metadata, - v1beta2_priority_level_configuration_spec_t *spec, - v1beta2_priority_level_configuration_status_t *status - ) { - v1beta2_priority_level_configuration_t *v1beta2_priority_level_configuration_local_var = malloc(sizeof(v1beta2_priority_level_configuration_t)); - if (!v1beta2_priority_level_configuration_local_var) { - return NULL; - } - v1beta2_priority_level_configuration_local_var->api_version = api_version; - v1beta2_priority_level_configuration_local_var->kind = kind; - v1beta2_priority_level_configuration_local_var->metadata = metadata; - v1beta2_priority_level_configuration_local_var->spec = spec; - v1beta2_priority_level_configuration_local_var->status = status; - - return v1beta2_priority_level_configuration_local_var; -} - - -void v1beta2_priority_level_configuration_free(v1beta2_priority_level_configuration_t *v1beta2_priority_level_configuration) { - if(NULL == v1beta2_priority_level_configuration){ - return ; - } - listEntry_t *listEntry; - if (v1beta2_priority_level_configuration->api_version) { - free(v1beta2_priority_level_configuration->api_version); - v1beta2_priority_level_configuration->api_version = NULL; - } - if (v1beta2_priority_level_configuration->kind) { - free(v1beta2_priority_level_configuration->kind); - v1beta2_priority_level_configuration->kind = NULL; - } - if (v1beta2_priority_level_configuration->metadata) { - v1_object_meta_free(v1beta2_priority_level_configuration->metadata); - v1beta2_priority_level_configuration->metadata = NULL; - } - if (v1beta2_priority_level_configuration->spec) { - v1beta2_priority_level_configuration_spec_free(v1beta2_priority_level_configuration->spec); - v1beta2_priority_level_configuration->spec = NULL; - } - if (v1beta2_priority_level_configuration->status) { - v1beta2_priority_level_configuration_status_free(v1beta2_priority_level_configuration->status); - v1beta2_priority_level_configuration->status = NULL; - } - free(v1beta2_priority_level_configuration); -} - -cJSON *v1beta2_priority_level_configuration_convertToJSON(v1beta2_priority_level_configuration_t *v1beta2_priority_level_configuration) { - cJSON *item = cJSON_CreateObject(); - - // v1beta2_priority_level_configuration->api_version - if(v1beta2_priority_level_configuration->api_version) { - if(cJSON_AddStringToObject(item, "apiVersion", v1beta2_priority_level_configuration->api_version) == NULL) { - goto fail; //String - } - } - - - // v1beta2_priority_level_configuration->kind - if(v1beta2_priority_level_configuration->kind) { - if(cJSON_AddStringToObject(item, "kind", v1beta2_priority_level_configuration->kind) == NULL) { - goto fail; //String - } - } - - - // v1beta2_priority_level_configuration->metadata - if(v1beta2_priority_level_configuration->metadata) { - cJSON *metadata_local_JSON = v1_object_meta_convertToJSON(v1beta2_priority_level_configuration->metadata); - if(metadata_local_JSON == NULL) { - goto fail; //model - } - cJSON_AddItemToObject(item, "metadata", metadata_local_JSON); - if(item->child == NULL) { - goto fail; - } - } - - - // v1beta2_priority_level_configuration->spec - if(v1beta2_priority_level_configuration->spec) { - cJSON *spec_local_JSON = v1beta2_priority_level_configuration_spec_convertToJSON(v1beta2_priority_level_configuration->spec); - if(spec_local_JSON == NULL) { - goto fail; //model - } - cJSON_AddItemToObject(item, "spec", spec_local_JSON); - if(item->child == NULL) { - goto fail; - } - } - - - // v1beta2_priority_level_configuration->status - if(v1beta2_priority_level_configuration->status) { - cJSON *status_local_JSON = v1beta2_priority_level_configuration_status_convertToJSON(v1beta2_priority_level_configuration->status); - if(status_local_JSON == NULL) { - goto fail; //model - } - cJSON_AddItemToObject(item, "status", status_local_JSON); - if(item->child == NULL) { - goto fail; - } - } - - return item; -fail: - if (item) { - cJSON_Delete(item); - } - return NULL; -} - -v1beta2_priority_level_configuration_t *v1beta2_priority_level_configuration_parseFromJSON(cJSON *v1beta2_priority_level_configurationJSON){ - - v1beta2_priority_level_configuration_t *v1beta2_priority_level_configuration_local_var = NULL; - - // define the local variable for v1beta2_priority_level_configuration->metadata - v1_object_meta_t *metadata_local_nonprim = NULL; - - // define the local variable for v1beta2_priority_level_configuration->spec - v1beta2_priority_level_configuration_spec_t *spec_local_nonprim = NULL; - - // define the local variable for v1beta2_priority_level_configuration->status - v1beta2_priority_level_configuration_status_t *status_local_nonprim = NULL; - - // v1beta2_priority_level_configuration->api_version - cJSON *api_version = cJSON_GetObjectItemCaseSensitive(v1beta2_priority_level_configurationJSON, "apiVersion"); - if (api_version) { - if(!cJSON_IsString(api_version) && !cJSON_IsNull(api_version)) - { - goto end; //String - } - } - - // v1beta2_priority_level_configuration->kind - cJSON *kind = cJSON_GetObjectItemCaseSensitive(v1beta2_priority_level_configurationJSON, "kind"); - if (kind) { - if(!cJSON_IsString(kind) && !cJSON_IsNull(kind)) - { - goto end; //String - } - } - - // v1beta2_priority_level_configuration->metadata - cJSON *metadata = cJSON_GetObjectItemCaseSensitive(v1beta2_priority_level_configurationJSON, "metadata"); - if (metadata) { - metadata_local_nonprim = v1_object_meta_parseFromJSON(metadata); //nonprimitive - } - - // v1beta2_priority_level_configuration->spec - cJSON *spec = cJSON_GetObjectItemCaseSensitive(v1beta2_priority_level_configurationJSON, "spec"); - if (spec) { - spec_local_nonprim = v1beta2_priority_level_configuration_spec_parseFromJSON(spec); //nonprimitive - } - - // v1beta2_priority_level_configuration->status - cJSON *status = cJSON_GetObjectItemCaseSensitive(v1beta2_priority_level_configurationJSON, "status"); - if (status) { - status_local_nonprim = v1beta2_priority_level_configuration_status_parseFromJSON(status); //nonprimitive - } - - - v1beta2_priority_level_configuration_local_var = v1beta2_priority_level_configuration_create ( - api_version && !cJSON_IsNull(api_version) ? strdup(api_version->valuestring) : NULL, - kind && !cJSON_IsNull(kind) ? strdup(kind->valuestring) : NULL, - metadata ? metadata_local_nonprim : NULL, - spec ? spec_local_nonprim : NULL, - status ? status_local_nonprim : NULL - ); - - return v1beta2_priority_level_configuration_local_var; -end: - if (metadata_local_nonprim) { - v1_object_meta_free(metadata_local_nonprim); - metadata_local_nonprim = NULL; - } - if (spec_local_nonprim) { - v1beta2_priority_level_configuration_spec_free(spec_local_nonprim); - spec_local_nonprim = NULL; - } - if (status_local_nonprim) { - v1beta2_priority_level_configuration_status_free(status_local_nonprim); - status_local_nonprim = NULL; - } - return NULL; - -} diff --git a/kubernetes/model/v1beta2_priority_level_configuration.h b/kubernetes/model/v1beta2_priority_level_configuration.h deleted file mode 100644 index d9a3e565..00000000 --- a/kubernetes/model/v1beta2_priority_level_configuration.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * v1beta2_priority_level_configuration.h - * - * PriorityLevelConfiguration represents the configuration of a priority level. - */ - -#ifndef _v1beta2_priority_level_configuration_H_ -#define _v1beta2_priority_level_configuration_H_ - -#include -#include "../external/cJSON.h" -#include "../include/list.h" -#include "../include/keyValuePair.h" -#include "../include/binary.h" - -typedef struct v1beta2_priority_level_configuration_t v1beta2_priority_level_configuration_t; - -#include "v1_object_meta.h" -#include "v1beta2_priority_level_configuration_spec.h" -#include "v1beta2_priority_level_configuration_status.h" - - - -typedef struct v1beta2_priority_level_configuration_t { - char *api_version; // string - char *kind; // string - struct v1_object_meta_t *metadata; //model - struct v1beta2_priority_level_configuration_spec_t *spec; //model - struct v1beta2_priority_level_configuration_status_t *status; //model - -} v1beta2_priority_level_configuration_t; - -v1beta2_priority_level_configuration_t *v1beta2_priority_level_configuration_create( - char *api_version, - char *kind, - v1_object_meta_t *metadata, - v1beta2_priority_level_configuration_spec_t *spec, - v1beta2_priority_level_configuration_status_t *status -); - -void v1beta2_priority_level_configuration_free(v1beta2_priority_level_configuration_t *v1beta2_priority_level_configuration); - -v1beta2_priority_level_configuration_t *v1beta2_priority_level_configuration_parseFromJSON(cJSON *v1beta2_priority_level_configurationJSON); - -cJSON *v1beta2_priority_level_configuration_convertToJSON(v1beta2_priority_level_configuration_t *v1beta2_priority_level_configuration); - -#endif /* _v1beta2_priority_level_configuration_H_ */ - diff --git a/kubernetes/model/v1beta2_priority_level_configuration_condition.c b/kubernetes/model/v1beta2_priority_level_configuration_condition.c deleted file mode 100644 index b5f4410b..00000000 --- a/kubernetes/model/v1beta2_priority_level_configuration_condition.c +++ /dev/null @@ -1,169 +0,0 @@ -#include -#include -#include -#include "v1beta2_priority_level_configuration_condition.h" - - - -v1beta2_priority_level_configuration_condition_t *v1beta2_priority_level_configuration_condition_create( - char *last_transition_time, - char *message, - char *reason, - char *status, - char *type - ) { - v1beta2_priority_level_configuration_condition_t *v1beta2_priority_level_configuration_condition_local_var = malloc(sizeof(v1beta2_priority_level_configuration_condition_t)); - if (!v1beta2_priority_level_configuration_condition_local_var) { - return NULL; - } - v1beta2_priority_level_configuration_condition_local_var->last_transition_time = last_transition_time; - v1beta2_priority_level_configuration_condition_local_var->message = message; - v1beta2_priority_level_configuration_condition_local_var->reason = reason; - v1beta2_priority_level_configuration_condition_local_var->status = status; - v1beta2_priority_level_configuration_condition_local_var->type = type; - - return v1beta2_priority_level_configuration_condition_local_var; -} - - -void v1beta2_priority_level_configuration_condition_free(v1beta2_priority_level_configuration_condition_t *v1beta2_priority_level_configuration_condition) { - if(NULL == v1beta2_priority_level_configuration_condition){ - return ; - } - listEntry_t *listEntry; - if (v1beta2_priority_level_configuration_condition->last_transition_time) { - free(v1beta2_priority_level_configuration_condition->last_transition_time); - v1beta2_priority_level_configuration_condition->last_transition_time = NULL; - } - if (v1beta2_priority_level_configuration_condition->message) { - free(v1beta2_priority_level_configuration_condition->message); - v1beta2_priority_level_configuration_condition->message = NULL; - } - if (v1beta2_priority_level_configuration_condition->reason) { - free(v1beta2_priority_level_configuration_condition->reason); - v1beta2_priority_level_configuration_condition->reason = NULL; - } - if (v1beta2_priority_level_configuration_condition->status) { - free(v1beta2_priority_level_configuration_condition->status); - v1beta2_priority_level_configuration_condition->status = NULL; - } - if (v1beta2_priority_level_configuration_condition->type) { - free(v1beta2_priority_level_configuration_condition->type); - v1beta2_priority_level_configuration_condition->type = NULL; - } - free(v1beta2_priority_level_configuration_condition); -} - -cJSON *v1beta2_priority_level_configuration_condition_convertToJSON(v1beta2_priority_level_configuration_condition_t *v1beta2_priority_level_configuration_condition) { - cJSON *item = cJSON_CreateObject(); - - // v1beta2_priority_level_configuration_condition->last_transition_time - if(v1beta2_priority_level_configuration_condition->last_transition_time) { - if(cJSON_AddStringToObject(item, "lastTransitionTime", v1beta2_priority_level_configuration_condition->last_transition_time) == NULL) { - goto fail; //Date-Time - } - } - - - // v1beta2_priority_level_configuration_condition->message - if(v1beta2_priority_level_configuration_condition->message) { - if(cJSON_AddStringToObject(item, "message", v1beta2_priority_level_configuration_condition->message) == NULL) { - goto fail; //String - } - } - - - // v1beta2_priority_level_configuration_condition->reason - if(v1beta2_priority_level_configuration_condition->reason) { - if(cJSON_AddStringToObject(item, "reason", v1beta2_priority_level_configuration_condition->reason) == NULL) { - goto fail; //String - } - } - - - // v1beta2_priority_level_configuration_condition->status - if(v1beta2_priority_level_configuration_condition->status) { - if(cJSON_AddStringToObject(item, "status", v1beta2_priority_level_configuration_condition->status) == NULL) { - goto fail; //String - } - } - - - // v1beta2_priority_level_configuration_condition->type - if(v1beta2_priority_level_configuration_condition->type) { - if(cJSON_AddStringToObject(item, "type", v1beta2_priority_level_configuration_condition->type) == NULL) { - goto fail; //String - } - } - - return item; -fail: - if (item) { - cJSON_Delete(item); - } - return NULL; -} - -v1beta2_priority_level_configuration_condition_t *v1beta2_priority_level_configuration_condition_parseFromJSON(cJSON *v1beta2_priority_level_configuration_conditionJSON){ - - v1beta2_priority_level_configuration_condition_t *v1beta2_priority_level_configuration_condition_local_var = NULL; - - // v1beta2_priority_level_configuration_condition->last_transition_time - cJSON *last_transition_time = cJSON_GetObjectItemCaseSensitive(v1beta2_priority_level_configuration_conditionJSON, "lastTransitionTime"); - if (last_transition_time) { - if(!cJSON_IsString(last_transition_time) && !cJSON_IsNull(last_transition_time)) - { - goto end; //DateTime - } - } - - // v1beta2_priority_level_configuration_condition->message - cJSON *message = cJSON_GetObjectItemCaseSensitive(v1beta2_priority_level_configuration_conditionJSON, "message"); - if (message) { - if(!cJSON_IsString(message) && !cJSON_IsNull(message)) - { - goto end; //String - } - } - - // v1beta2_priority_level_configuration_condition->reason - cJSON *reason = cJSON_GetObjectItemCaseSensitive(v1beta2_priority_level_configuration_conditionJSON, "reason"); - if (reason) { - if(!cJSON_IsString(reason) && !cJSON_IsNull(reason)) - { - goto end; //String - } - } - - // v1beta2_priority_level_configuration_condition->status - cJSON *status = cJSON_GetObjectItemCaseSensitive(v1beta2_priority_level_configuration_conditionJSON, "status"); - if (status) { - if(!cJSON_IsString(status) && !cJSON_IsNull(status)) - { - goto end; //String - } - } - - // v1beta2_priority_level_configuration_condition->type - cJSON *type = cJSON_GetObjectItemCaseSensitive(v1beta2_priority_level_configuration_conditionJSON, "type"); - if (type) { - if(!cJSON_IsString(type) && !cJSON_IsNull(type)) - { - goto end; //String - } - } - - - v1beta2_priority_level_configuration_condition_local_var = v1beta2_priority_level_configuration_condition_create ( - last_transition_time && !cJSON_IsNull(last_transition_time) ? strdup(last_transition_time->valuestring) : NULL, - message && !cJSON_IsNull(message) ? strdup(message->valuestring) : NULL, - reason && !cJSON_IsNull(reason) ? strdup(reason->valuestring) : NULL, - status && !cJSON_IsNull(status) ? strdup(status->valuestring) : NULL, - type && !cJSON_IsNull(type) ? strdup(type->valuestring) : NULL - ); - - return v1beta2_priority_level_configuration_condition_local_var; -end: - return NULL; - -} diff --git a/kubernetes/model/v1beta2_priority_level_configuration_condition.h b/kubernetes/model/v1beta2_priority_level_configuration_condition.h deleted file mode 100644 index ad1fa8ef..00000000 --- a/kubernetes/model/v1beta2_priority_level_configuration_condition.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * v1beta2_priority_level_configuration_condition.h - * - * PriorityLevelConfigurationCondition defines the condition of priority level. - */ - -#ifndef _v1beta2_priority_level_configuration_condition_H_ -#define _v1beta2_priority_level_configuration_condition_H_ - -#include -#include "../external/cJSON.h" -#include "../include/list.h" -#include "../include/keyValuePair.h" -#include "../include/binary.h" - -typedef struct v1beta2_priority_level_configuration_condition_t v1beta2_priority_level_configuration_condition_t; - - - - -typedef struct v1beta2_priority_level_configuration_condition_t { - char *last_transition_time; //date time - char *message; // string - char *reason; // string - char *status; // string - char *type; // string - -} v1beta2_priority_level_configuration_condition_t; - -v1beta2_priority_level_configuration_condition_t *v1beta2_priority_level_configuration_condition_create( - char *last_transition_time, - char *message, - char *reason, - char *status, - char *type -); - -void v1beta2_priority_level_configuration_condition_free(v1beta2_priority_level_configuration_condition_t *v1beta2_priority_level_configuration_condition); - -v1beta2_priority_level_configuration_condition_t *v1beta2_priority_level_configuration_condition_parseFromJSON(cJSON *v1beta2_priority_level_configuration_conditionJSON); - -cJSON *v1beta2_priority_level_configuration_condition_convertToJSON(v1beta2_priority_level_configuration_condition_t *v1beta2_priority_level_configuration_condition); - -#endif /* _v1beta2_priority_level_configuration_condition_H_ */ - diff --git a/kubernetes/model/v1beta2_priority_level_configuration_list.c b/kubernetes/model/v1beta2_priority_level_configuration_list.c deleted file mode 100644 index f9ef066e..00000000 --- a/kubernetes/model/v1beta2_priority_level_configuration_list.c +++ /dev/null @@ -1,197 +0,0 @@ -#include -#include -#include -#include "v1beta2_priority_level_configuration_list.h" - - - -v1beta2_priority_level_configuration_list_t *v1beta2_priority_level_configuration_list_create( - char *api_version, - list_t *items, - char *kind, - v1_list_meta_t *metadata - ) { - v1beta2_priority_level_configuration_list_t *v1beta2_priority_level_configuration_list_local_var = malloc(sizeof(v1beta2_priority_level_configuration_list_t)); - if (!v1beta2_priority_level_configuration_list_local_var) { - return NULL; - } - v1beta2_priority_level_configuration_list_local_var->api_version = api_version; - v1beta2_priority_level_configuration_list_local_var->items = items; - v1beta2_priority_level_configuration_list_local_var->kind = kind; - v1beta2_priority_level_configuration_list_local_var->metadata = metadata; - - return v1beta2_priority_level_configuration_list_local_var; -} - - -void v1beta2_priority_level_configuration_list_free(v1beta2_priority_level_configuration_list_t *v1beta2_priority_level_configuration_list) { - if(NULL == v1beta2_priority_level_configuration_list){ - return ; - } - listEntry_t *listEntry; - if (v1beta2_priority_level_configuration_list->api_version) { - free(v1beta2_priority_level_configuration_list->api_version); - v1beta2_priority_level_configuration_list->api_version = NULL; - } - if (v1beta2_priority_level_configuration_list->items) { - list_ForEach(listEntry, v1beta2_priority_level_configuration_list->items) { - v1beta2_priority_level_configuration_free(listEntry->data); - } - list_freeList(v1beta2_priority_level_configuration_list->items); - v1beta2_priority_level_configuration_list->items = NULL; - } - if (v1beta2_priority_level_configuration_list->kind) { - free(v1beta2_priority_level_configuration_list->kind); - v1beta2_priority_level_configuration_list->kind = NULL; - } - if (v1beta2_priority_level_configuration_list->metadata) { - v1_list_meta_free(v1beta2_priority_level_configuration_list->metadata); - v1beta2_priority_level_configuration_list->metadata = NULL; - } - free(v1beta2_priority_level_configuration_list); -} - -cJSON *v1beta2_priority_level_configuration_list_convertToJSON(v1beta2_priority_level_configuration_list_t *v1beta2_priority_level_configuration_list) { - cJSON *item = cJSON_CreateObject(); - - // v1beta2_priority_level_configuration_list->api_version - if(v1beta2_priority_level_configuration_list->api_version) { - if(cJSON_AddStringToObject(item, "apiVersion", v1beta2_priority_level_configuration_list->api_version) == NULL) { - goto fail; //String - } - } - - - // v1beta2_priority_level_configuration_list->items - if (!v1beta2_priority_level_configuration_list->items) { - goto fail; - } - cJSON *items = cJSON_AddArrayToObject(item, "items"); - if(items == NULL) { - goto fail; //nonprimitive container - } - - listEntry_t *itemsListEntry; - if (v1beta2_priority_level_configuration_list->items) { - list_ForEach(itemsListEntry, v1beta2_priority_level_configuration_list->items) { - cJSON *itemLocal = v1beta2_priority_level_configuration_convertToJSON(itemsListEntry->data); - if(itemLocal == NULL) { - goto fail; - } - cJSON_AddItemToArray(items, itemLocal); - } - } - - - // v1beta2_priority_level_configuration_list->kind - if(v1beta2_priority_level_configuration_list->kind) { - if(cJSON_AddStringToObject(item, "kind", v1beta2_priority_level_configuration_list->kind) == NULL) { - goto fail; //String - } - } - - - // v1beta2_priority_level_configuration_list->metadata - if(v1beta2_priority_level_configuration_list->metadata) { - cJSON *metadata_local_JSON = v1_list_meta_convertToJSON(v1beta2_priority_level_configuration_list->metadata); - if(metadata_local_JSON == NULL) { - goto fail; //model - } - cJSON_AddItemToObject(item, "metadata", metadata_local_JSON); - if(item->child == NULL) { - goto fail; - } - } - - return item; -fail: - if (item) { - cJSON_Delete(item); - } - return NULL; -} - -v1beta2_priority_level_configuration_list_t *v1beta2_priority_level_configuration_list_parseFromJSON(cJSON *v1beta2_priority_level_configuration_listJSON){ - - v1beta2_priority_level_configuration_list_t *v1beta2_priority_level_configuration_list_local_var = NULL; - - // define the local list for v1beta2_priority_level_configuration_list->items - list_t *itemsList = NULL; - - // define the local variable for v1beta2_priority_level_configuration_list->metadata - v1_list_meta_t *metadata_local_nonprim = NULL; - - // v1beta2_priority_level_configuration_list->api_version - cJSON *api_version = cJSON_GetObjectItemCaseSensitive(v1beta2_priority_level_configuration_listJSON, "apiVersion"); - if (api_version) { - if(!cJSON_IsString(api_version) && !cJSON_IsNull(api_version)) - { - goto end; //String - } - } - - // v1beta2_priority_level_configuration_list->items - cJSON *items = cJSON_GetObjectItemCaseSensitive(v1beta2_priority_level_configuration_listJSON, "items"); - if (!items) { - goto end; - } - - - cJSON *items_local_nonprimitive = NULL; - if(!cJSON_IsArray(items)){ - goto end; //nonprimitive container - } - - itemsList = list_createList(); - - cJSON_ArrayForEach(items_local_nonprimitive,items ) - { - if(!cJSON_IsObject(items_local_nonprimitive)){ - goto end; - } - v1beta2_priority_level_configuration_t *itemsItem = v1beta2_priority_level_configuration_parseFromJSON(items_local_nonprimitive); - - list_addElement(itemsList, itemsItem); - } - - // v1beta2_priority_level_configuration_list->kind - cJSON *kind = cJSON_GetObjectItemCaseSensitive(v1beta2_priority_level_configuration_listJSON, "kind"); - if (kind) { - if(!cJSON_IsString(kind) && !cJSON_IsNull(kind)) - { - goto end; //String - } - } - - // v1beta2_priority_level_configuration_list->metadata - cJSON *metadata = cJSON_GetObjectItemCaseSensitive(v1beta2_priority_level_configuration_listJSON, "metadata"); - if (metadata) { - metadata_local_nonprim = v1_list_meta_parseFromJSON(metadata); //nonprimitive - } - - - v1beta2_priority_level_configuration_list_local_var = v1beta2_priority_level_configuration_list_create ( - api_version && !cJSON_IsNull(api_version) ? strdup(api_version->valuestring) : NULL, - itemsList, - kind && !cJSON_IsNull(kind) ? strdup(kind->valuestring) : NULL, - metadata ? metadata_local_nonprim : NULL - ); - - return v1beta2_priority_level_configuration_list_local_var; -end: - if (itemsList) { - listEntry_t *listEntry = NULL; - list_ForEach(listEntry, itemsList) { - v1beta2_priority_level_configuration_free(listEntry->data); - listEntry->data = NULL; - } - list_freeList(itemsList); - itemsList = NULL; - } - if (metadata_local_nonprim) { - v1_list_meta_free(metadata_local_nonprim); - metadata_local_nonprim = NULL; - } - return NULL; - -} diff --git a/kubernetes/model/v1beta2_priority_level_configuration_list.h b/kubernetes/model/v1beta2_priority_level_configuration_list.h deleted file mode 100644 index 80e8bcd9..00000000 --- a/kubernetes/model/v1beta2_priority_level_configuration_list.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * v1beta2_priority_level_configuration_list.h - * - * PriorityLevelConfigurationList is a list of PriorityLevelConfiguration objects. - */ - -#ifndef _v1beta2_priority_level_configuration_list_H_ -#define _v1beta2_priority_level_configuration_list_H_ - -#include -#include "../external/cJSON.h" -#include "../include/list.h" -#include "../include/keyValuePair.h" -#include "../include/binary.h" - -typedef struct v1beta2_priority_level_configuration_list_t v1beta2_priority_level_configuration_list_t; - -#include "v1_list_meta.h" -#include "v1beta2_priority_level_configuration.h" - - - -typedef struct v1beta2_priority_level_configuration_list_t { - char *api_version; // string - list_t *items; //nonprimitive container - char *kind; // string - struct v1_list_meta_t *metadata; //model - -} v1beta2_priority_level_configuration_list_t; - -v1beta2_priority_level_configuration_list_t *v1beta2_priority_level_configuration_list_create( - char *api_version, - list_t *items, - char *kind, - v1_list_meta_t *metadata -); - -void v1beta2_priority_level_configuration_list_free(v1beta2_priority_level_configuration_list_t *v1beta2_priority_level_configuration_list); - -v1beta2_priority_level_configuration_list_t *v1beta2_priority_level_configuration_list_parseFromJSON(cJSON *v1beta2_priority_level_configuration_listJSON); - -cJSON *v1beta2_priority_level_configuration_list_convertToJSON(v1beta2_priority_level_configuration_list_t *v1beta2_priority_level_configuration_list); - -#endif /* _v1beta2_priority_level_configuration_list_H_ */ - diff --git a/kubernetes/model/v1beta2_priority_level_configuration_reference.c b/kubernetes/model/v1beta2_priority_level_configuration_reference.c deleted file mode 100644 index 6d0b6230..00000000 --- a/kubernetes/model/v1beta2_priority_level_configuration_reference.c +++ /dev/null @@ -1,77 +0,0 @@ -#include -#include -#include -#include "v1beta2_priority_level_configuration_reference.h" - - - -v1beta2_priority_level_configuration_reference_t *v1beta2_priority_level_configuration_reference_create( - char *name - ) { - v1beta2_priority_level_configuration_reference_t *v1beta2_priority_level_configuration_reference_local_var = malloc(sizeof(v1beta2_priority_level_configuration_reference_t)); - if (!v1beta2_priority_level_configuration_reference_local_var) { - return NULL; - } - v1beta2_priority_level_configuration_reference_local_var->name = name; - - return v1beta2_priority_level_configuration_reference_local_var; -} - - -void v1beta2_priority_level_configuration_reference_free(v1beta2_priority_level_configuration_reference_t *v1beta2_priority_level_configuration_reference) { - if(NULL == v1beta2_priority_level_configuration_reference){ - return ; - } - listEntry_t *listEntry; - if (v1beta2_priority_level_configuration_reference->name) { - free(v1beta2_priority_level_configuration_reference->name); - v1beta2_priority_level_configuration_reference->name = NULL; - } - free(v1beta2_priority_level_configuration_reference); -} - -cJSON *v1beta2_priority_level_configuration_reference_convertToJSON(v1beta2_priority_level_configuration_reference_t *v1beta2_priority_level_configuration_reference) { - cJSON *item = cJSON_CreateObject(); - - // v1beta2_priority_level_configuration_reference->name - if (!v1beta2_priority_level_configuration_reference->name) { - goto fail; - } - if(cJSON_AddStringToObject(item, "name", v1beta2_priority_level_configuration_reference->name) == NULL) { - goto fail; //String - } - - return item; -fail: - if (item) { - cJSON_Delete(item); - } - return NULL; -} - -v1beta2_priority_level_configuration_reference_t *v1beta2_priority_level_configuration_reference_parseFromJSON(cJSON *v1beta2_priority_level_configuration_referenceJSON){ - - v1beta2_priority_level_configuration_reference_t *v1beta2_priority_level_configuration_reference_local_var = NULL; - - // v1beta2_priority_level_configuration_reference->name - cJSON *name = cJSON_GetObjectItemCaseSensitive(v1beta2_priority_level_configuration_referenceJSON, "name"); - if (!name) { - goto end; - } - - - if(!cJSON_IsString(name)) - { - goto end; //String - } - - - v1beta2_priority_level_configuration_reference_local_var = v1beta2_priority_level_configuration_reference_create ( - strdup(name->valuestring) - ); - - return v1beta2_priority_level_configuration_reference_local_var; -end: - return NULL; - -} diff --git a/kubernetes/model/v1beta2_priority_level_configuration_reference.h b/kubernetes/model/v1beta2_priority_level_configuration_reference.h deleted file mode 100644 index 0ebbe5e5..00000000 --- a/kubernetes/model/v1beta2_priority_level_configuration_reference.h +++ /dev/null @@ -1,37 +0,0 @@ -/* - * v1beta2_priority_level_configuration_reference.h - * - * PriorityLevelConfigurationReference contains information that points to the \"request-priority\" being used. - */ - -#ifndef _v1beta2_priority_level_configuration_reference_H_ -#define _v1beta2_priority_level_configuration_reference_H_ - -#include -#include "../external/cJSON.h" -#include "../include/list.h" -#include "../include/keyValuePair.h" -#include "../include/binary.h" - -typedef struct v1beta2_priority_level_configuration_reference_t v1beta2_priority_level_configuration_reference_t; - - - - -typedef struct v1beta2_priority_level_configuration_reference_t { - char *name; // string - -} v1beta2_priority_level_configuration_reference_t; - -v1beta2_priority_level_configuration_reference_t *v1beta2_priority_level_configuration_reference_create( - char *name -); - -void v1beta2_priority_level_configuration_reference_free(v1beta2_priority_level_configuration_reference_t *v1beta2_priority_level_configuration_reference); - -v1beta2_priority_level_configuration_reference_t *v1beta2_priority_level_configuration_reference_parseFromJSON(cJSON *v1beta2_priority_level_configuration_referenceJSON); - -cJSON *v1beta2_priority_level_configuration_reference_convertToJSON(v1beta2_priority_level_configuration_reference_t *v1beta2_priority_level_configuration_reference); - -#endif /* _v1beta2_priority_level_configuration_reference_H_ */ - diff --git a/kubernetes/model/v1beta2_priority_level_configuration_spec.c b/kubernetes/model/v1beta2_priority_level_configuration_spec.c deleted file mode 100644 index c8d88989..00000000 --- a/kubernetes/model/v1beta2_priority_level_configuration_spec.c +++ /dev/null @@ -1,143 +0,0 @@ -#include -#include -#include -#include "v1beta2_priority_level_configuration_spec.h" - - - -v1beta2_priority_level_configuration_spec_t *v1beta2_priority_level_configuration_spec_create( - v1beta2_exempt_priority_level_configuration_t *exempt, - v1beta2_limited_priority_level_configuration_t *limited, - char *type - ) { - v1beta2_priority_level_configuration_spec_t *v1beta2_priority_level_configuration_spec_local_var = malloc(sizeof(v1beta2_priority_level_configuration_spec_t)); - if (!v1beta2_priority_level_configuration_spec_local_var) { - return NULL; - } - v1beta2_priority_level_configuration_spec_local_var->exempt = exempt; - v1beta2_priority_level_configuration_spec_local_var->limited = limited; - v1beta2_priority_level_configuration_spec_local_var->type = type; - - return v1beta2_priority_level_configuration_spec_local_var; -} - - -void v1beta2_priority_level_configuration_spec_free(v1beta2_priority_level_configuration_spec_t *v1beta2_priority_level_configuration_spec) { - if(NULL == v1beta2_priority_level_configuration_spec){ - return ; - } - listEntry_t *listEntry; - if (v1beta2_priority_level_configuration_spec->exempt) { - v1beta2_exempt_priority_level_configuration_free(v1beta2_priority_level_configuration_spec->exempt); - v1beta2_priority_level_configuration_spec->exempt = NULL; - } - if (v1beta2_priority_level_configuration_spec->limited) { - v1beta2_limited_priority_level_configuration_free(v1beta2_priority_level_configuration_spec->limited); - v1beta2_priority_level_configuration_spec->limited = NULL; - } - if (v1beta2_priority_level_configuration_spec->type) { - free(v1beta2_priority_level_configuration_spec->type); - v1beta2_priority_level_configuration_spec->type = NULL; - } - free(v1beta2_priority_level_configuration_spec); -} - -cJSON *v1beta2_priority_level_configuration_spec_convertToJSON(v1beta2_priority_level_configuration_spec_t *v1beta2_priority_level_configuration_spec) { - cJSON *item = cJSON_CreateObject(); - - // v1beta2_priority_level_configuration_spec->exempt - if(v1beta2_priority_level_configuration_spec->exempt) { - cJSON *exempt_local_JSON = v1beta2_exempt_priority_level_configuration_convertToJSON(v1beta2_priority_level_configuration_spec->exempt); - if(exempt_local_JSON == NULL) { - goto fail; //model - } - cJSON_AddItemToObject(item, "exempt", exempt_local_JSON); - if(item->child == NULL) { - goto fail; - } - } - - - // v1beta2_priority_level_configuration_spec->limited - if(v1beta2_priority_level_configuration_spec->limited) { - cJSON *limited_local_JSON = v1beta2_limited_priority_level_configuration_convertToJSON(v1beta2_priority_level_configuration_spec->limited); - if(limited_local_JSON == NULL) { - goto fail; //model - } - cJSON_AddItemToObject(item, "limited", limited_local_JSON); - if(item->child == NULL) { - goto fail; - } - } - - - // v1beta2_priority_level_configuration_spec->type - if (!v1beta2_priority_level_configuration_spec->type) { - goto fail; - } - if(cJSON_AddStringToObject(item, "type", v1beta2_priority_level_configuration_spec->type) == NULL) { - goto fail; //String - } - - return item; -fail: - if (item) { - cJSON_Delete(item); - } - return NULL; -} - -v1beta2_priority_level_configuration_spec_t *v1beta2_priority_level_configuration_spec_parseFromJSON(cJSON *v1beta2_priority_level_configuration_specJSON){ - - v1beta2_priority_level_configuration_spec_t *v1beta2_priority_level_configuration_spec_local_var = NULL; - - // define the local variable for v1beta2_priority_level_configuration_spec->exempt - v1beta2_exempt_priority_level_configuration_t *exempt_local_nonprim = NULL; - - // define the local variable for v1beta2_priority_level_configuration_spec->limited - v1beta2_limited_priority_level_configuration_t *limited_local_nonprim = NULL; - - // v1beta2_priority_level_configuration_spec->exempt - cJSON *exempt = cJSON_GetObjectItemCaseSensitive(v1beta2_priority_level_configuration_specJSON, "exempt"); - if (exempt) { - exempt_local_nonprim = v1beta2_exempt_priority_level_configuration_parseFromJSON(exempt); //nonprimitive - } - - // v1beta2_priority_level_configuration_spec->limited - cJSON *limited = cJSON_GetObjectItemCaseSensitive(v1beta2_priority_level_configuration_specJSON, "limited"); - if (limited) { - limited_local_nonprim = v1beta2_limited_priority_level_configuration_parseFromJSON(limited); //nonprimitive - } - - // v1beta2_priority_level_configuration_spec->type - cJSON *type = cJSON_GetObjectItemCaseSensitive(v1beta2_priority_level_configuration_specJSON, "type"); - if (!type) { - goto end; - } - - - if(!cJSON_IsString(type)) - { - goto end; //String - } - - - v1beta2_priority_level_configuration_spec_local_var = v1beta2_priority_level_configuration_spec_create ( - exempt ? exempt_local_nonprim : NULL, - limited ? limited_local_nonprim : NULL, - strdup(type->valuestring) - ); - - return v1beta2_priority_level_configuration_spec_local_var; -end: - if (exempt_local_nonprim) { - v1beta2_exempt_priority_level_configuration_free(exempt_local_nonprim); - exempt_local_nonprim = NULL; - } - if (limited_local_nonprim) { - v1beta2_limited_priority_level_configuration_free(limited_local_nonprim); - limited_local_nonprim = NULL; - } - return NULL; - -} diff --git a/kubernetes/model/v1beta2_priority_level_configuration_spec.h b/kubernetes/model/v1beta2_priority_level_configuration_spec.h deleted file mode 100644 index ee5fc280..00000000 --- a/kubernetes/model/v1beta2_priority_level_configuration_spec.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * v1beta2_priority_level_configuration_spec.h - * - * PriorityLevelConfigurationSpec specifies the configuration of a priority level. - */ - -#ifndef _v1beta2_priority_level_configuration_spec_H_ -#define _v1beta2_priority_level_configuration_spec_H_ - -#include -#include "../external/cJSON.h" -#include "../include/list.h" -#include "../include/keyValuePair.h" -#include "../include/binary.h" - -typedef struct v1beta2_priority_level_configuration_spec_t v1beta2_priority_level_configuration_spec_t; - -#include "v1beta2_exempt_priority_level_configuration.h" -#include "v1beta2_limited_priority_level_configuration.h" - - - -typedef struct v1beta2_priority_level_configuration_spec_t { - struct v1beta2_exempt_priority_level_configuration_t *exempt; //model - struct v1beta2_limited_priority_level_configuration_t *limited; //model - char *type; // string - -} v1beta2_priority_level_configuration_spec_t; - -v1beta2_priority_level_configuration_spec_t *v1beta2_priority_level_configuration_spec_create( - v1beta2_exempt_priority_level_configuration_t *exempt, - v1beta2_limited_priority_level_configuration_t *limited, - char *type -); - -void v1beta2_priority_level_configuration_spec_free(v1beta2_priority_level_configuration_spec_t *v1beta2_priority_level_configuration_spec); - -v1beta2_priority_level_configuration_spec_t *v1beta2_priority_level_configuration_spec_parseFromJSON(cJSON *v1beta2_priority_level_configuration_specJSON); - -cJSON *v1beta2_priority_level_configuration_spec_convertToJSON(v1beta2_priority_level_configuration_spec_t *v1beta2_priority_level_configuration_spec); - -#endif /* _v1beta2_priority_level_configuration_spec_H_ */ - diff --git a/kubernetes/model/v1beta2_priority_level_configuration_status.c b/kubernetes/model/v1beta2_priority_level_configuration_status.c deleted file mode 100644 index 78dfaa9f..00000000 --- a/kubernetes/model/v1beta2_priority_level_configuration_status.c +++ /dev/null @@ -1,112 +0,0 @@ -#include -#include -#include -#include "v1beta2_priority_level_configuration_status.h" - - - -v1beta2_priority_level_configuration_status_t *v1beta2_priority_level_configuration_status_create( - list_t *conditions - ) { - v1beta2_priority_level_configuration_status_t *v1beta2_priority_level_configuration_status_local_var = malloc(sizeof(v1beta2_priority_level_configuration_status_t)); - if (!v1beta2_priority_level_configuration_status_local_var) { - return NULL; - } - v1beta2_priority_level_configuration_status_local_var->conditions = conditions; - - return v1beta2_priority_level_configuration_status_local_var; -} - - -void v1beta2_priority_level_configuration_status_free(v1beta2_priority_level_configuration_status_t *v1beta2_priority_level_configuration_status) { - if(NULL == v1beta2_priority_level_configuration_status){ - return ; - } - listEntry_t *listEntry; - if (v1beta2_priority_level_configuration_status->conditions) { - list_ForEach(listEntry, v1beta2_priority_level_configuration_status->conditions) { - v1beta2_priority_level_configuration_condition_free(listEntry->data); - } - list_freeList(v1beta2_priority_level_configuration_status->conditions); - v1beta2_priority_level_configuration_status->conditions = NULL; - } - free(v1beta2_priority_level_configuration_status); -} - -cJSON *v1beta2_priority_level_configuration_status_convertToJSON(v1beta2_priority_level_configuration_status_t *v1beta2_priority_level_configuration_status) { - cJSON *item = cJSON_CreateObject(); - - // v1beta2_priority_level_configuration_status->conditions - if(v1beta2_priority_level_configuration_status->conditions) { - cJSON *conditions = cJSON_AddArrayToObject(item, "conditions"); - if(conditions == NULL) { - goto fail; //nonprimitive container - } - - listEntry_t *conditionsListEntry; - if (v1beta2_priority_level_configuration_status->conditions) { - list_ForEach(conditionsListEntry, v1beta2_priority_level_configuration_status->conditions) { - cJSON *itemLocal = v1beta2_priority_level_configuration_condition_convertToJSON(conditionsListEntry->data); - if(itemLocal == NULL) { - goto fail; - } - cJSON_AddItemToArray(conditions, itemLocal); - } - } - } - - return item; -fail: - if (item) { - cJSON_Delete(item); - } - return NULL; -} - -v1beta2_priority_level_configuration_status_t *v1beta2_priority_level_configuration_status_parseFromJSON(cJSON *v1beta2_priority_level_configuration_statusJSON){ - - v1beta2_priority_level_configuration_status_t *v1beta2_priority_level_configuration_status_local_var = NULL; - - // define the local list for v1beta2_priority_level_configuration_status->conditions - list_t *conditionsList = NULL; - - // v1beta2_priority_level_configuration_status->conditions - cJSON *conditions = cJSON_GetObjectItemCaseSensitive(v1beta2_priority_level_configuration_statusJSON, "conditions"); - if (conditions) { - cJSON *conditions_local_nonprimitive = NULL; - if(!cJSON_IsArray(conditions)){ - goto end; //nonprimitive container - } - - conditionsList = list_createList(); - - cJSON_ArrayForEach(conditions_local_nonprimitive,conditions ) - { - if(!cJSON_IsObject(conditions_local_nonprimitive)){ - goto end; - } - v1beta2_priority_level_configuration_condition_t *conditionsItem = v1beta2_priority_level_configuration_condition_parseFromJSON(conditions_local_nonprimitive); - - list_addElement(conditionsList, conditionsItem); - } - } - - - v1beta2_priority_level_configuration_status_local_var = v1beta2_priority_level_configuration_status_create ( - conditions ? conditionsList : NULL - ); - - return v1beta2_priority_level_configuration_status_local_var; -end: - if (conditionsList) { - listEntry_t *listEntry = NULL; - list_ForEach(listEntry, conditionsList) { - v1beta2_priority_level_configuration_condition_free(listEntry->data); - listEntry->data = NULL; - } - list_freeList(conditionsList); - conditionsList = NULL; - } - return NULL; - -} diff --git a/kubernetes/model/v1beta2_priority_level_configuration_status.h b/kubernetes/model/v1beta2_priority_level_configuration_status.h deleted file mode 100644 index 09f8717d..00000000 --- a/kubernetes/model/v1beta2_priority_level_configuration_status.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * v1beta2_priority_level_configuration_status.h - * - * PriorityLevelConfigurationStatus represents the current state of a \"request-priority\". - */ - -#ifndef _v1beta2_priority_level_configuration_status_H_ -#define _v1beta2_priority_level_configuration_status_H_ - -#include -#include "../external/cJSON.h" -#include "../include/list.h" -#include "../include/keyValuePair.h" -#include "../include/binary.h" - -typedef struct v1beta2_priority_level_configuration_status_t v1beta2_priority_level_configuration_status_t; - -#include "v1beta2_priority_level_configuration_condition.h" - - - -typedef struct v1beta2_priority_level_configuration_status_t { - list_t *conditions; //nonprimitive container - -} v1beta2_priority_level_configuration_status_t; - -v1beta2_priority_level_configuration_status_t *v1beta2_priority_level_configuration_status_create( - list_t *conditions -); - -void v1beta2_priority_level_configuration_status_free(v1beta2_priority_level_configuration_status_t *v1beta2_priority_level_configuration_status); - -v1beta2_priority_level_configuration_status_t *v1beta2_priority_level_configuration_status_parseFromJSON(cJSON *v1beta2_priority_level_configuration_statusJSON); - -cJSON *v1beta2_priority_level_configuration_status_convertToJSON(v1beta2_priority_level_configuration_status_t *v1beta2_priority_level_configuration_status); - -#endif /* _v1beta2_priority_level_configuration_status_H_ */ - diff --git a/kubernetes/model/v1beta2_queuing_configuration.c b/kubernetes/model/v1beta2_queuing_configuration.c deleted file mode 100644 index 908f0641..00000000 --- a/kubernetes/model/v1beta2_queuing_configuration.c +++ /dev/null @@ -1,109 +0,0 @@ -#include -#include -#include -#include "v1beta2_queuing_configuration.h" - - - -v1beta2_queuing_configuration_t *v1beta2_queuing_configuration_create( - int hand_size, - int queue_length_limit, - int queues - ) { - v1beta2_queuing_configuration_t *v1beta2_queuing_configuration_local_var = malloc(sizeof(v1beta2_queuing_configuration_t)); - if (!v1beta2_queuing_configuration_local_var) { - return NULL; - } - v1beta2_queuing_configuration_local_var->hand_size = hand_size; - v1beta2_queuing_configuration_local_var->queue_length_limit = queue_length_limit; - v1beta2_queuing_configuration_local_var->queues = queues; - - return v1beta2_queuing_configuration_local_var; -} - - -void v1beta2_queuing_configuration_free(v1beta2_queuing_configuration_t *v1beta2_queuing_configuration) { - if(NULL == v1beta2_queuing_configuration){ - return ; - } - listEntry_t *listEntry; - free(v1beta2_queuing_configuration); -} - -cJSON *v1beta2_queuing_configuration_convertToJSON(v1beta2_queuing_configuration_t *v1beta2_queuing_configuration) { - cJSON *item = cJSON_CreateObject(); - - // v1beta2_queuing_configuration->hand_size - if(v1beta2_queuing_configuration->hand_size) { - if(cJSON_AddNumberToObject(item, "handSize", v1beta2_queuing_configuration->hand_size) == NULL) { - goto fail; //Numeric - } - } - - - // v1beta2_queuing_configuration->queue_length_limit - if(v1beta2_queuing_configuration->queue_length_limit) { - if(cJSON_AddNumberToObject(item, "queueLengthLimit", v1beta2_queuing_configuration->queue_length_limit) == NULL) { - goto fail; //Numeric - } - } - - - // v1beta2_queuing_configuration->queues - if(v1beta2_queuing_configuration->queues) { - if(cJSON_AddNumberToObject(item, "queues", v1beta2_queuing_configuration->queues) == NULL) { - goto fail; //Numeric - } - } - - return item; -fail: - if (item) { - cJSON_Delete(item); - } - return NULL; -} - -v1beta2_queuing_configuration_t *v1beta2_queuing_configuration_parseFromJSON(cJSON *v1beta2_queuing_configurationJSON){ - - v1beta2_queuing_configuration_t *v1beta2_queuing_configuration_local_var = NULL; - - // v1beta2_queuing_configuration->hand_size - cJSON *hand_size = cJSON_GetObjectItemCaseSensitive(v1beta2_queuing_configurationJSON, "handSize"); - if (hand_size) { - if(!cJSON_IsNumber(hand_size)) - { - goto end; //Numeric - } - } - - // v1beta2_queuing_configuration->queue_length_limit - cJSON *queue_length_limit = cJSON_GetObjectItemCaseSensitive(v1beta2_queuing_configurationJSON, "queueLengthLimit"); - if (queue_length_limit) { - if(!cJSON_IsNumber(queue_length_limit)) - { - goto end; //Numeric - } - } - - // v1beta2_queuing_configuration->queues - cJSON *queues = cJSON_GetObjectItemCaseSensitive(v1beta2_queuing_configurationJSON, "queues"); - if (queues) { - if(!cJSON_IsNumber(queues)) - { - goto end; //Numeric - } - } - - - v1beta2_queuing_configuration_local_var = v1beta2_queuing_configuration_create ( - hand_size ? hand_size->valuedouble : 0, - queue_length_limit ? queue_length_limit->valuedouble : 0, - queues ? queues->valuedouble : 0 - ); - - return v1beta2_queuing_configuration_local_var; -end: - return NULL; - -} diff --git a/kubernetes/model/v1beta2_queuing_configuration.h b/kubernetes/model/v1beta2_queuing_configuration.h deleted file mode 100644 index 67b2b25e..00000000 --- a/kubernetes/model/v1beta2_queuing_configuration.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * v1beta2_queuing_configuration.h - * - * QueuingConfiguration holds the configuration parameters for queuing - */ - -#ifndef _v1beta2_queuing_configuration_H_ -#define _v1beta2_queuing_configuration_H_ - -#include -#include "../external/cJSON.h" -#include "../include/list.h" -#include "../include/keyValuePair.h" -#include "../include/binary.h" - -typedef struct v1beta2_queuing_configuration_t v1beta2_queuing_configuration_t; - - - - -typedef struct v1beta2_queuing_configuration_t { - int hand_size; //numeric - int queue_length_limit; //numeric - int queues; //numeric - -} v1beta2_queuing_configuration_t; - -v1beta2_queuing_configuration_t *v1beta2_queuing_configuration_create( - int hand_size, - int queue_length_limit, - int queues -); - -void v1beta2_queuing_configuration_free(v1beta2_queuing_configuration_t *v1beta2_queuing_configuration); - -v1beta2_queuing_configuration_t *v1beta2_queuing_configuration_parseFromJSON(cJSON *v1beta2_queuing_configurationJSON); - -cJSON *v1beta2_queuing_configuration_convertToJSON(v1beta2_queuing_configuration_t *v1beta2_queuing_configuration); - -#endif /* _v1beta2_queuing_configuration_H_ */ - diff --git a/kubernetes/model/v1beta2_service_account_subject.c b/kubernetes/model/v1beta2_service_account_subject.c deleted file mode 100644 index df35863b..00000000 --- a/kubernetes/model/v1beta2_service_account_subject.c +++ /dev/null @@ -1,105 +0,0 @@ -#include -#include -#include -#include "v1beta2_service_account_subject.h" - - - -v1beta2_service_account_subject_t *v1beta2_service_account_subject_create( - char *name, - char *_namespace - ) { - v1beta2_service_account_subject_t *v1beta2_service_account_subject_local_var = malloc(sizeof(v1beta2_service_account_subject_t)); - if (!v1beta2_service_account_subject_local_var) { - return NULL; - } - v1beta2_service_account_subject_local_var->name = name; - v1beta2_service_account_subject_local_var->_namespace = _namespace; - - return v1beta2_service_account_subject_local_var; -} - - -void v1beta2_service_account_subject_free(v1beta2_service_account_subject_t *v1beta2_service_account_subject) { - if(NULL == v1beta2_service_account_subject){ - return ; - } - listEntry_t *listEntry; - if (v1beta2_service_account_subject->name) { - free(v1beta2_service_account_subject->name); - v1beta2_service_account_subject->name = NULL; - } - if (v1beta2_service_account_subject->_namespace) { - free(v1beta2_service_account_subject->_namespace); - v1beta2_service_account_subject->_namespace = NULL; - } - free(v1beta2_service_account_subject); -} - -cJSON *v1beta2_service_account_subject_convertToJSON(v1beta2_service_account_subject_t *v1beta2_service_account_subject) { - cJSON *item = cJSON_CreateObject(); - - // v1beta2_service_account_subject->name - if (!v1beta2_service_account_subject->name) { - goto fail; - } - if(cJSON_AddStringToObject(item, "name", v1beta2_service_account_subject->name) == NULL) { - goto fail; //String - } - - - // v1beta2_service_account_subject->_namespace - if (!v1beta2_service_account_subject->_namespace) { - goto fail; - } - if(cJSON_AddStringToObject(item, "namespace", v1beta2_service_account_subject->_namespace) == NULL) { - goto fail; //String - } - - return item; -fail: - if (item) { - cJSON_Delete(item); - } - return NULL; -} - -v1beta2_service_account_subject_t *v1beta2_service_account_subject_parseFromJSON(cJSON *v1beta2_service_account_subjectJSON){ - - v1beta2_service_account_subject_t *v1beta2_service_account_subject_local_var = NULL; - - // v1beta2_service_account_subject->name - cJSON *name = cJSON_GetObjectItemCaseSensitive(v1beta2_service_account_subjectJSON, "name"); - if (!name) { - goto end; - } - - - if(!cJSON_IsString(name)) - { - goto end; //String - } - - // v1beta2_service_account_subject->_namespace - cJSON *_namespace = cJSON_GetObjectItemCaseSensitive(v1beta2_service_account_subjectJSON, "namespace"); - if (!_namespace) { - goto end; - } - - - if(!cJSON_IsString(_namespace)) - { - goto end; //String - } - - - v1beta2_service_account_subject_local_var = v1beta2_service_account_subject_create ( - strdup(name->valuestring), - strdup(_namespace->valuestring) - ); - - return v1beta2_service_account_subject_local_var; -end: - return NULL; - -} diff --git a/kubernetes/model/v1beta2_service_account_subject.h b/kubernetes/model/v1beta2_service_account_subject.h deleted file mode 100644 index e9eaca7f..00000000 --- a/kubernetes/model/v1beta2_service_account_subject.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * v1beta2_service_account_subject.h - * - * ServiceAccountSubject holds detailed information for service-account-kind subject. - */ - -#ifndef _v1beta2_service_account_subject_H_ -#define _v1beta2_service_account_subject_H_ - -#include -#include "../external/cJSON.h" -#include "../include/list.h" -#include "../include/keyValuePair.h" -#include "../include/binary.h" - -typedef struct v1beta2_service_account_subject_t v1beta2_service_account_subject_t; - - - - -typedef struct v1beta2_service_account_subject_t { - char *name; // string - char *_namespace; // string - -} v1beta2_service_account_subject_t; - -v1beta2_service_account_subject_t *v1beta2_service_account_subject_create( - char *name, - char *_namespace -); - -void v1beta2_service_account_subject_free(v1beta2_service_account_subject_t *v1beta2_service_account_subject); - -v1beta2_service_account_subject_t *v1beta2_service_account_subject_parseFromJSON(cJSON *v1beta2_service_account_subjectJSON); - -cJSON *v1beta2_service_account_subject_convertToJSON(v1beta2_service_account_subject_t *v1beta2_service_account_subject); - -#endif /* _v1beta2_service_account_subject_H_ */ - diff --git a/kubernetes/model/v1beta2_subject.c b/kubernetes/model/v1beta2_subject.c deleted file mode 100644 index 247d2cf3..00000000 --- a/kubernetes/model/v1beta2_subject.c +++ /dev/null @@ -1,176 +0,0 @@ -#include -#include -#include -#include "v1beta2_subject.h" - - - -v1beta2_subject_t *v1beta2_subject_create( - v1beta2_group_subject_t *group, - char *kind, - v1beta2_service_account_subject_t *service_account, - v1beta2_user_subject_t *user - ) { - v1beta2_subject_t *v1beta2_subject_local_var = malloc(sizeof(v1beta2_subject_t)); - if (!v1beta2_subject_local_var) { - return NULL; - } - v1beta2_subject_local_var->group = group; - v1beta2_subject_local_var->kind = kind; - v1beta2_subject_local_var->service_account = service_account; - v1beta2_subject_local_var->user = user; - - return v1beta2_subject_local_var; -} - - -void v1beta2_subject_free(v1beta2_subject_t *v1beta2_subject) { - if(NULL == v1beta2_subject){ - return ; - } - listEntry_t *listEntry; - if (v1beta2_subject->group) { - v1beta2_group_subject_free(v1beta2_subject->group); - v1beta2_subject->group = NULL; - } - if (v1beta2_subject->kind) { - free(v1beta2_subject->kind); - v1beta2_subject->kind = NULL; - } - if (v1beta2_subject->service_account) { - v1beta2_service_account_subject_free(v1beta2_subject->service_account); - v1beta2_subject->service_account = NULL; - } - if (v1beta2_subject->user) { - v1beta2_user_subject_free(v1beta2_subject->user); - v1beta2_subject->user = NULL; - } - free(v1beta2_subject); -} - -cJSON *v1beta2_subject_convertToJSON(v1beta2_subject_t *v1beta2_subject) { - cJSON *item = cJSON_CreateObject(); - - // v1beta2_subject->group - if(v1beta2_subject->group) { - cJSON *group_local_JSON = v1beta2_group_subject_convertToJSON(v1beta2_subject->group); - if(group_local_JSON == NULL) { - goto fail; //model - } - cJSON_AddItemToObject(item, "group", group_local_JSON); - if(item->child == NULL) { - goto fail; - } - } - - - // v1beta2_subject->kind - if (!v1beta2_subject->kind) { - goto fail; - } - if(cJSON_AddStringToObject(item, "kind", v1beta2_subject->kind) == NULL) { - goto fail; //String - } - - - // v1beta2_subject->service_account - if(v1beta2_subject->service_account) { - cJSON *service_account_local_JSON = v1beta2_service_account_subject_convertToJSON(v1beta2_subject->service_account); - if(service_account_local_JSON == NULL) { - goto fail; //model - } - cJSON_AddItemToObject(item, "serviceAccount", service_account_local_JSON); - if(item->child == NULL) { - goto fail; - } - } - - - // v1beta2_subject->user - if(v1beta2_subject->user) { - cJSON *user_local_JSON = v1beta2_user_subject_convertToJSON(v1beta2_subject->user); - if(user_local_JSON == NULL) { - goto fail; //model - } - cJSON_AddItemToObject(item, "user", user_local_JSON); - if(item->child == NULL) { - goto fail; - } - } - - return item; -fail: - if (item) { - cJSON_Delete(item); - } - return NULL; -} - -v1beta2_subject_t *v1beta2_subject_parseFromJSON(cJSON *v1beta2_subjectJSON){ - - v1beta2_subject_t *v1beta2_subject_local_var = NULL; - - // define the local variable for v1beta2_subject->group - v1beta2_group_subject_t *group_local_nonprim = NULL; - - // define the local variable for v1beta2_subject->service_account - v1beta2_service_account_subject_t *service_account_local_nonprim = NULL; - - // define the local variable for v1beta2_subject->user - v1beta2_user_subject_t *user_local_nonprim = NULL; - - // v1beta2_subject->group - cJSON *group = cJSON_GetObjectItemCaseSensitive(v1beta2_subjectJSON, "group"); - if (group) { - group_local_nonprim = v1beta2_group_subject_parseFromJSON(group); //nonprimitive - } - - // v1beta2_subject->kind - cJSON *kind = cJSON_GetObjectItemCaseSensitive(v1beta2_subjectJSON, "kind"); - if (!kind) { - goto end; - } - - - if(!cJSON_IsString(kind)) - { - goto end; //String - } - - // v1beta2_subject->service_account - cJSON *service_account = cJSON_GetObjectItemCaseSensitive(v1beta2_subjectJSON, "serviceAccount"); - if (service_account) { - service_account_local_nonprim = v1beta2_service_account_subject_parseFromJSON(service_account); //nonprimitive - } - - // v1beta2_subject->user - cJSON *user = cJSON_GetObjectItemCaseSensitive(v1beta2_subjectJSON, "user"); - if (user) { - user_local_nonprim = v1beta2_user_subject_parseFromJSON(user); //nonprimitive - } - - - v1beta2_subject_local_var = v1beta2_subject_create ( - group ? group_local_nonprim : NULL, - strdup(kind->valuestring), - service_account ? service_account_local_nonprim : NULL, - user ? user_local_nonprim : NULL - ); - - return v1beta2_subject_local_var; -end: - if (group_local_nonprim) { - v1beta2_group_subject_free(group_local_nonprim); - group_local_nonprim = NULL; - } - if (service_account_local_nonprim) { - v1beta2_service_account_subject_free(service_account_local_nonprim); - service_account_local_nonprim = NULL; - } - if (user_local_nonprim) { - v1beta2_user_subject_free(user_local_nonprim); - user_local_nonprim = NULL; - } - return NULL; - -} diff --git a/kubernetes/model/v1beta2_subject.h b/kubernetes/model/v1beta2_subject.h deleted file mode 100644 index e59218c8..00000000 --- a/kubernetes/model/v1beta2_subject.h +++ /dev/null @@ -1,46 +0,0 @@ -/* - * v1beta2_subject.h - * - * Subject matches the originator of a request, as identified by the request authentication system. There are three ways of matching an originator; by user, group, or service account. - */ - -#ifndef _v1beta2_subject_H_ -#define _v1beta2_subject_H_ - -#include -#include "../external/cJSON.h" -#include "../include/list.h" -#include "../include/keyValuePair.h" -#include "../include/binary.h" - -typedef struct v1beta2_subject_t v1beta2_subject_t; - -#include "v1beta2_group_subject.h" -#include "v1beta2_service_account_subject.h" -#include "v1beta2_user_subject.h" - - - -typedef struct v1beta2_subject_t { - struct v1beta2_group_subject_t *group; //model - char *kind; // string - struct v1beta2_service_account_subject_t *service_account; //model - struct v1beta2_user_subject_t *user; //model - -} v1beta2_subject_t; - -v1beta2_subject_t *v1beta2_subject_create( - v1beta2_group_subject_t *group, - char *kind, - v1beta2_service_account_subject_t *service_account, - v1beta2_user_subject_t *user -); - -void v1beta2_subject_free(v1beta2_subject_t *v1beta2_subject); - -v1beta2_subject_t *v1beta2_subject_parseFromJSON(cJSON *v1beta2_subjectJSON); - -cJSON *v1beta2_subject_convertToJSON(v1beta2_subject_t *v1beta2_subject); - -#endif /* _v1beta2_subject_H_ */ - diff --git a/kubernetes/model/v1beta2_user_subject.c b/kubernetes/model/v1beta2_user_subject.c deleted file mode 100644 index 1d181bc5..00000000 --- a/kubernetes/model/v1beta2_user_subject.c +++ /dev/null @@ -1,77 +0,0 @@ -#include -#include -#include -#include "v1beta2_user_subject.h" - - - -v1beta2_user_subject_t *v1beta2_user_subject_create( - char *name - ) { - v1beta2_user_subject_t *v1beta2_user_subject_local_var = malloc(sizeof(v1beta2_user_subject_t)); - if (!v1beta2_user_subject_local_var) { - return NULL; - } - v1beta2_user_subject_local_var->name = name; - - return v1beta2_user_subject_local_var; -} - - -void v1beta2_user_subject_free(v1beta2_user_subject_t *v1beta2_user_subject) { - if(NULL == v1beta2_user_subject){ - return ; - } - listEntry_t *listEntry; - if (v1beta2_user_subject->name) { - free(v1beta2_user_subject->name); - v1beta2_user_subject->name = NULL; - } - free(v1beta2_user_subject); -} - -cJSON *v1beta2_user_subject_convertToJSON(v1beta2_user_subject_t *v1beta2_user_subject) { - cJSON *item = cJSON_CreateObject(); - - // v1beta2_user_subject->name - if (!v1beta2_user_subject->name) { - goto fail; - } - if(cJSON_AddStringToObject(item, "name", v1beta2_user_subject->name) == NULL) { - goto fail; //String - } - - return item; -fail: - if (item) { - cJSON_Delete(item); - } - return NULL; -} - -v1beta2_user_subject_t *v1beta2_user_subject_parseFromJSON(cJSON *v1beta2_user_subjectJSON){ - - v1beta2_user_subject_t *v1beta2_user_subject_local_var = NULL; - - // v1beta2_user_subject->name - cJSON *name = cJSON_GetObjectItemCaseSensitive(v1beta2_user_subjectJSON, "name"); - if (!name) { - goto end; - } - - - if(!cJSON_IsString(name)) - { - goto end; //String - } - - - v1beta2_user_subject_local_var = v1beta2_user_subject_create ( - strdup(name->valuestring) - ); - - return v1beta2_user_subject_local_var; -end: - return NULL; - -} diff --git a/kubernetes/model/v1beta2_user_subject.h b/kubernetes/model/v1beta2_user_subject.h deleted file mode 100644 index 1c1b2ffb..00000000 --- a/kubernetes/model/v1beta2_user_subject.h +++ /dev/null @@ -1,37 +0,0 @@ -/* - * v1beta2_user_subject.h - * - * UserSubject holds detailed information for user-kind subject. - */ - -#ifndef _v1beta2_user_subject_H_ -#define _v1beta2_user_subject_H_ - -#include -#include "../external/cJSON.h" -#include "../include/list.h" -#include "../include/keyValuePair.h" -#include "../include/binary.h" - -typedef struct v1beta2_user_subject_t v1beta2_user_subject_t; - - - - -typedef struct v1beta2_user_subject_t { - char *name; // string - -} v1beta2_user_subject_t; - -v1beta2_user_subject_t *v1beta2_user_subject_create( - char *name -); - -void v1beta2_user_subject_free(v1beta2_user_subject_t *v1beta2_user_subject); - -v1beta2_user_subject_t *v1beta2_user_subject_parseFromJSON(cJSON *v1beta2_user_subjectJSON); - -cJSON *v1beta2_user_subject_convertToJSON(v1beta2_user_subject_t *v1beta2_user_subject); - -#endif /* _v1beta2_user_subject_H_ */ - diff --git a/kubernetes/src/apiKey.c b/kubernetes/src/apiKey.c index eae9b75f..c65d91c8 100644 --- a/kubernetes/src/apiKey.c +++ b/kubernetes/src/apiKey.c @@ -10,9 +10,9 @@ keyValuePair_t *keyValuePair_create(char *key, void *value) { } keyValuePair_t* keyValuePair_create_allocate(char* key, double value) { - double* boolpointer = malloc(sizeof(value)); - memcpy(boolpointer, &value, sizeof(value)); - return keyValuePair_create(key, boolpointer); + double* boolpointer = malloc(sizeof(value)); + memcpy(boolpointer, &value, sizeof(value)); + return keyValuePair_create(key, boolpointer); } void keyValuePair_free(keyValuePair_t *keyValuePair) { diff --git a/kubernetes/swagger.json b/kubernetes/swagger.json index 21d48742..151406b6 100644 --- a/kubernetes/swagger.json +++ b/kubernetes/swagger.json @@ -4249,7 +4249,7 @@ "type": "integer" }, "backoffLimitPerIndex": { - "description": "Specifies the limit for the number of retries within an index before marking this index as failed. When enabled the number of failures per index is kept in the pod's batch.kubernetes.io/job-index-failure-count annotation. It can only be set when Job's completionMode=Indexed, and the Pod's restart policy is Never. The field is immutable. This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default).", + "description": "Specifies the limit for the number of retries within an index before marking this index as failed. When enabled the number of failures per index is kept in the pod's batch.kubernetes.io/job-index-failure-count annotation. It can only be set when Job's completionMode=Indexed, and the Pod's restart policy is Never. The field is immutable. This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).", "format": "int32", "type": "integer" }, @@ -4267,7 +4267,7 @@ "type": "boolean" }, "maxFailedIndexes": { - "description": "Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set. Once the number of failed indexes exceeds this number the entire Job is marked as Failed and its execution is terminated. When left as null the job continues execution of all of its indexes and is marked with the `Complete` Job condition. It can only be specified when backoffLimitPerIndex is set. It can be null or up to completions. It is required and must be less than or equal to 10^4 when is completions greater than 10^5. This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default).", + "description": "Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set. Once the number of failed indexes exceeds this number the entire Job is marked as Failed and its execution is terminated. When left as null the job continues execution of all of its indexes and is marked with the `Complete` Job condition. It can only be specified when backoffLimitPerIndex is set. It can be null or up to completions. It is required and must be less than or equal to 10^4 when is completions greater than 10^5. This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).", "format": "int32", "type": "integer" }, @@ -4281,7 +4281,7 @@ "description": "Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure.\n\nThis field is beta-level. It can be used when the `JobPodFailurePolicy` feature gate is enabled (enabled by default)." }, "podReplacementPolicy": { - "description": "podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods\n when they are terminating (has a metadata.deletionTimestamp) or failed.\n- Failed means to wait until a previously created Pod is fully terminated (has phase\n Failed or Succeeded) before creating a replacement Pod.\n\nWhen using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is an alpha field. Enable JobPodReplacementPolicy to be able to use this field.", + "description": "podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods\n when they are terminating (has a metadata.deletionTimestamp) or failed.\n- Failed means to wait until a previously created Pod is fully terminated (has phase\n Failed or Succeeded) before creating a replacement Pod.\n\nWhen using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is an beta field. To use this, enable the JobPodReplacementPolicy feature toggle. This is on by default.", "type": "string" }, "selector": { @@ -4340,11 +4340,11 @@ "type": "integer" }, "failedIndexes": { - "description": "FailedIndexes holds the failed indexes when backoffLimitPerIndex=true. The indexes are represented in the text format analogous as for the `completedIndexes` field, ie. they are kept as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the failed indexes are 1, 3, 4, 5 and 7, they are represented as \"1,3-5,7\". This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default).", + "description": "FailedIndexes holds the failed indexes when backoffLimitPerIndex=true. The indexes are represented in the text format analogous as for the `completedIndexes` field, ie. they are kept as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the failed indexes are 1, 3, 4, 5 and 7, they are represented as \"1,3-5,7\". This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).", "type": "string" }, "ready": { - "description": "The number of pods which have a Ready condition.\n\nThis field is beta-level. The job controller populates the field when the feature gate JobReadyPods is enabled (enabled by default).", + "description": "The number of pods which have a Ready condition.", "format": "int32", "type": "integer" }, @@ -4359,7 +4359,7 @@ "type": "integer" }, "terminating": { - "description": "The number of pods which are terminating (in phase Pending or Running and have a deletionTimestamp).\n\nThis field is alpha-level. The job controller populates the field when the feature gate JobPodReplacementPolicy is enabled (disabled by default).", + "description": "The number of pods which are terminating (in phase Pending or Running and have a deletionTimestamp).\n\nThis field is beta-level. The job controller populates the field when the feature gate JobPodReplacementPolicy is enabled (enabled by default).", "format": "int32", "type": "integer" }, @@ -4450,7 +4450,7 @@ "description": "PodFailurePolicyRule describes how a pod failure is handled when the requirements are met. One of onExitCodes and onPodConditions, but not both, can be used in each rule.", "properties": { "action": { - "description": "Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:\n\n- FailJob: indicates that the pod's job is marked as Failed and all\n running pods are terminated.\n- FailIndex: indicates that the pod's index is marked as Failed and will\n not be restarted.\n This value is alpha-level. It can be used when the\n `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default).\n- Ignore: indicates that the counter towards the .backoffLimit is not\n incremented and a replacement pod is created.\n- Count: indicates that the pod is handled in the default way - the\n counter towards the .backoffLimit is incremented.\nAdditional values are considered to be added in the future. Clients should react to an unknown action by skipping the rule.", + "description": "Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:\n\n- FailJob: indicates that the pod's job is marked as Failed and all\n running pods are terminated.\n- FailIndex: indicates that the pod's index is marked as Failed and will\n not be restarted.\n This value is beta-level. It can be used when the\n `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).\n- Ignore: indicates that the counter towards the .backoffLimit is not\n incremented and a replacement pod is created.\n- Count: indicates that the pod is handled in the default way - the\n counter towards the .backoffLimit is incremented.\nAdditional values are considered to be added in the future. Clients should react to an unknown action by skipping the rule.", "type": "string" }, "onExitCodes": { @@ -5055,7 +5055,7 @@ }, "nodeExpandSecretRef": { "$ref": "#/definitions/v1.SecretReference", - "description": "nodeExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeExpandVolume call. This is a beta field which is enabled default by CSINodeExpandSecret feature gate. This field is optional, may be omitted if no secret is required. If the secret object contains more than one secret, all secrets are passed." + "description": "nodeExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeExpandVolume call. This field is optional, may be omitted if no secret is required. If the secret object contains more than one secret, all secrets are passed." }, "nodePublishSecretRef": { "$ref": "#/definitions/v1.SecretReference", @@ -5286,6 +5286,35 @@ }, "type": "object" }, + "v1.ClusterTrustBundleProjection": { + "description": "ClusterTrustBundleProjection describes how to select a set of ClusterTrustBundle objects and project their contents into the pod filesystem.", + "properties": { + "labelSelector": { + "$ref": "#/definitions/v1.LabelSelector", + "description": "Select all ClusterTrustBundles that match this label selector. Only has effect if signerName is set. Mutually-exclusive with name. If unset, interpreted as \"match nothing\". If set but empty, interpreted as \"match everything\"." + }, + "name": { + "description": "Select a single ClusterTrustBundle by object name. Mutually-exclusive with signerName and labelSelector.", + "type": "string" + }, + "optional": { + "description": "If true, don't block pod startup if the referenced ClusterTrustBundle(s) aren't available. If using name, then the named ClusterTrustBundle is allowed not to exist. If using signerName, then the combination of signerName and labelSelector is allowed to match zero ClusterTrustBundles.", + "type": "boolean" + }, + "path": { + "description": "Relative path from the volume root to write the bundle.", + "type": "string" + }, + "signerName": { + "description": "Select all ClusterTrustBundles that match this signer name. Mutually-exclusive with name. The contents of all selected ClusterTrustBundles will be unified and deduplicated.", + "type": "string" + } + }, + "required": [ + "path" + ], + "type": "object" + }, "v1.ComponentCondition": { "description": "Information about the condition of a component.", "properties": { @@ -6045,7 +6074,7 @@ "description": "EndpointPort is a tuple that describes a single port.", "properties": { "appProtocol": { - "description": "The application protocol for this port. This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either:\n\n* Un-prefixed protocol names - reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names).\n\n* Kubernetes-defined prefixed names:\n * 'kubernetes.io/h2c' - HTTP/2 over cleartext as described in https://www.rfc-editor.org/rfc/rfc7540\n * 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455\n * 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455\n\n* Other protocols should use implementation-defined prefixed names such as mycompany.com/my-custom-protocol.", + "description": "The application protocol for this port. This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either:\n\n* Un-prefixed protocol names - reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names).\n\n* Kubernetes-defined prefixed names:\n * 'kubernetes.io/h2c' - HTTP/2 prior knowledge over cleartext as described in https://www.rfc-editor.org/rfc/rfc9113.html#name-starting-http-2-with-prior-\n * 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455\n * 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455\n\n* Other protocols should use implementation-defined prefixed names such as mycompany.com/my-custom-protocol.", "type": "string" }, "name": { @@ -7030,6 +7059,10 @@ "$ref": "#/definitions/v1.HTTPGetAction", "description": "HTTPGet specifies the http request to perform." }, + "sleep": { + "$ref": "#/definitions/v1.SleepAction", + "description": "Sleep represents the duration that the container should sleep before being terminated." + }, "tcpSocket": { "$ref": "#/definitions/v1.TCPSocketAction", "description": "Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified." @@ -7181,6 +7214,10 @@ "description": "IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers)", "type": "string" }, + "ipMode": { + "description": "IPMode specifies how the load-balancer IP behaves, and may only be specified when the ip field is specified. Setting this to \"VIP\" indicates that traffic is delivered to the node with the destination set to the load-balancer's IP and port. Setting this to \"Proxy\" indicates that traffic is delivered to the node or pod with the destination set to the node's IP and node port or the pod's IP and port. Service implementations may use this information to adjust traffic routing.", + "type": "string" + }, "ports": { "description": "Ports is a list of records of service ports If used, every port defined in the service should have an entry in it", "items": { @@ -7233,6 +7270,23 @@ ], "type": "object" }, + "v1.ModifyVolumeStatus": { + "description": "ModifyVolumeStatus represents the status object of ControllerModifyVolume operation", + "properties": { + "status": { + "description": "status is the status of the ControllerModifyVolume operation. It can be in any of following states:\n - Pending\n Pending indicates that the PersistentVolumeClaim cannot be modified due to unmet requirements, such as\n the specified VolumeAttributesClass not existing.\n - InProgress\n InProgress indicates that the volume is being modified.\n - Infeasible\n Infeasible indicates that the request has been rejected as invalid by the CSI driver. To\n\t resolve the error, a valid VolumeAttributesClass needs to be specified.\nNote: New statuses can be added in the future. Consumers should check for unknown statuses and fail appropriately.", + "type": "string" + }, + "targetVolumeAttributesClassName": { + "description": "targetVolumeAttributesClassName is the name of the VolumeAttributesClass the PVC currently being reconciled", + "type": "string" + } + }, + "required": [ + "status" + ], + "type": "object" + }, "v1.NFSVolumeSource": { "description": "Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling.", "properties": { @@ -8011,7 +8065,7 @@ "description": "dataSourceRef specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any object from a non-empty API group (non core object) or a PersistentVolumeClaim object. When this field is specified, volume binding will only succeed if the type of the specified object matches some installed volume populator or dynamic provisioner. This field will replace the functionality of the dataSource field and as such if both fields are non-empty, they must have the same value. For backwards compatibility, when namespace isn't specified in dataSourceRef, both fields (dataSource and dataSourceRef) will be set to the same value automatically if one of them is empty and the other is non-empty. When namespace is specified in dataSourceRef, dataSource isn't set to the same value and must be empty. There are three important differences between dataSource and dataSourceRef: * While dataSource only allows two specific types of objects, dataSourceRef\n allows any non-core object, as well as PersistentVolumeClaim objects.\n* While dataSource ignores disallowed values (dropping them), dataSourceRef\n preserves all values, and generates an error if a disallowed value is\n specified.\n* While dataSource only allows local objects, dataSourceRef allows objects\n in any namespaces.\n(Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled. (Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled." }, "resources": { - "$ref": "#/definitions/v1.ResourceRequirements", + "$ref": "#/definitions/v1.VolumeResourceRequirements", "description": "resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources" }, "selector": { @@ -8022,6 +8076,10 @@ "description": "storageClassName is the name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1", "type": "string" }, + "volumeAttributesClassName": { + "description": "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it's not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.", + "type": "string" + }, "volumeMode": { "description": "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec.", "type": "string" @@ -8076,6 +8134,14 @@ "x-kubernetes-patch-merge-key": "type", "x-kubernetes-patch-strategy": "merge" }, + "currentVolumeAttributesClassName": { + "description": "currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim This is an alpha field and requires enabling VolumeAttributesClass feature.", + "type": "string" + }, + "modifyVolumeStatus": { + "$ref": "#/definitions/v1.ModifyVolumeStatus", + "description": "ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. When this is unset, there is no ModifyVolume operation being attempted. This is an alpha field and requires enabling VolumeAttributesClass feature." + }, "phase": { "description": "phase represents the current phase of PersistentVolumeClaim.", "type": "string" @@ -8278,6 +8344,10 @@ "$ref": "#/definitions/v1.StorageOSPersistentVolumeSource", "description": "storageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://examples.k8s.io/volumes/storageos/README.md" }, + "volumeAttributesClassName": { + "description": "Name of VolumeAttributesClass to which this persistent volume belongs. Empty value is not allowed. When this field is not set, it indicates that this volume does not belong to any VolumeAttributesClass. This field is mutable and can be changed by the CSI driver after a volume has been updated successfully to a new class. For an unbound PersistentVolume, the volumeAttributesClassName will be matched with unbound PersistentVolumeClaims during the binding process. This is an alpha field and requires enabling VolumeAttributesClass feature.", + "type": "string" + }, "volumeMode": { "description": "volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec.", "type": "string" @@ -8387,7 +8457,23 @@ "properties": { "labelSelector": { "$ref": "#/definitions/v1.LabelSelector", - "description": "A label query over a set of resources, in this case pods." + "description": "A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods." + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. Also, MatchLabelKeys cannot be set when LabelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "description": "MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both MismatchLabelKeys and LabelSelector. Also, MismatchLabelKeys cannot be set when LabelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" }, "namespaceSelector": { "$ref": "#/definitions/v1.LabelSelector", @@ -10307,7 +10393,7 @@ "description": "ServicePort contains information on service's port.", "properties": { "appProtocol": { - "description": "The application protocol for this port. This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either:\n\n* Un-prefixed protocol names - reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names).\n\n* Kubernetes-defined prefixed names:\n * 'kubernetes.io/h2c' - HTTP/2 over cleartext as described in https://www.rfc-editor.org/rfc/rfc7540\n * 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455\n * 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455\n\n* Other protocols should use implementation-defined prefixed names such as mycompany.com/my-custom-protocol.", + "description": "The application protocol for this port. This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either:\n\n* Un-prefixed protocol names - reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names).\n\n* Kubernetes-defined prefixed names:\n * 'kubernetes.io/h2c' - HTTP/2 prior knowledge over cleartext as described in https://www.rfc-editor.org/rfc/rfc9113.html#name-starting-http-2-with-prior-\n * 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455\n * 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455\n\n* Other protocols should use implementation-defined prefixed names such as mycompany.com/my-custom-protocol.", "type": "string" }, "name": { @@ -10482,6 +10568,20 @@ }, "type": "object" }, + "v1.SleepAction": { + "description": "SleepAction describes a \"sleep\" action.", + "properties": { + "seconds": { + "description": "Seconds is the number of seconds to sleep.", + "format": "int64", + "type": "integer" + } + }, + "required": [ + "seconds" + ], + "type": "object" + }, "v1.StorageOSPersistentVolumeSource": { "description": "Represents a StorageOS persistent volume resource.", "properties": { @@ -10949,6 +11049,10 @@ "v1.VolumeProjection": { "description": "Projection that may be projected along with other supported volume types", "properties": { + "clusterTrustBundle": { + "$ref": "#/definitions/v1.ClusterTrustBundleProjection", + "description": "ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field of ClusterTrustBundle objects in an auto-updating file.\n\nAlpha, gated by the ClusterTrustBundleProjection feature gate.\n\nClusterTrustBundle objects can either be selected by name, or by the combination of signer name and a label selector.\n\nKubelet performs aggressive normalization of the PEM contents written into the pod filesystem. Esoteric PEM features such as inter-block comments and block headers are stripped. Certificates are deduplicated. The ordering of certificates within the file is arbitrary, and Kubelet may change the order over time." + }, "configMap": { "$ref": "#/definitions/v1.ConfigMapProjection", "description": "configMap information about the configMap data to project" @@ -10968,6 +11072,28 @@ }, "type": "object" }, + "v1.VolumeResourceRequirements": { + "description": "VolumeResourceRequirements describes the storage resource requirements for a volume.", + "properties": { + "limits": { + "additionalProperties": { + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` ::= \n\n\t(Note that may be empty, from the \"\" case in .)\n\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n ::= \"e\" | \"E\" ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.", + "type": "string" + }, + "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object" + }, + "requests": { + "additionalProperties": { + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` ::= \n\n\t(Note that may be empty, from the \"\" case in .)\n\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n ::= \"e\" | \"E\" ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.", + "type": "string" + }, + "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object" + } + }, + "type": "object" + }, "v1.VsphereVirtualDiskVolumeSource": { "description": "Represents a vSphere volume resource.", "properties": { @@ -11118,11 +11244,11 @@ "description": "EndpointPort represents a Port used by an EndpointSlice", "properties": { "appProtocol": { - "description": "The application protocol for this port. This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either:\n\n* Un-prefixed protocol names - reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names).\n\n* Kubernetes-defined prefixed names:\n * 'kubernetes.io/h2c' - HTTP/2 over cleartext as described in https://www.rfc-editor.org/rfc/rfc7540\n * 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455\n * 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455\n\n* Other protocols should use implementation-defined prefixed names such as mycompany.com/my-custom-protocol.", + "description": "The application protocol for this port. This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either:\n\n* Un-prefixed protocol names - reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names).\n\n* Kubernetes-defined prefixed names:\n * 'kubernetes.io/h2c' - HTTP/2 prior knowledge over cleartext as described in https://www.rfc-editor.org/rfc/rfc9113.html#name-starting-http-2-with-prior-\n * 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455\n * 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455\n\n* Other protocols should use implementation-defined prefixed names such as mycompany.com/my-custom-protocol.", "type": "string" }, "name": { - "description": "name represents the name of this port. All ports in an EndpointSlice must have a unique name. If the EndpointSlice is dervied from a Kubernetes service, this corresponds to the Service.ports[].name. Name must either be an empty string or pass DNS_LABEL validation: * must be no more than 63 characters long. * must consist of lower case alphanumeric characters or '-'. * must start and end with an alphanumeric character. Default is empty string.", + "description": "name represents the name of this port. All ports in an EndpointSlice must have a unique name. If the EndpointSlice is derived from a Kubernetes service, this corresponds to the Service.ports[].name. Name must either be an empty string or pass DNS_LABEL validation: * must be no more than 63 characters long. * must consist of lower case alphanumeric characters or '-'. * must start and end with an alphanumeric character. Default is empty string.", "type": "string" }, "port": { @@ -11378,7 +11504,7 @@ ], "type": "object" }, - "v1beta2.ExemptPriorityLevelConfiguration": { + "v1.ExemptPriorityLevelConfiguration": { "description": "ExemptPriorityLevelConfiguration describes the configurable aspects of the handling of exempt requests. In the mandatory exempt configuration object the values in the fields here can be modified by authorized users, unlike the rest of the `spec`.", "properties": { "lendablePercent": { @@ -11394,7 +11520,7 @@ }, "type": "object" }, - "v1beta2.FlowDistinguisherMethod": { + "v1.FlowDistinguisherMethod": { "description": "FlowDistinguisherMethod specifies the method of a flow distinguisher.", "properties": { "type": { @@ -11407,7 +11533,7 @@ ], "type": "object" }, - "v1beta2.FlowSchema": { + "v1.FlowSchema": { "description": "FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a \"flow distinguisher\".", "properties": { "apiVersion": { @@ -11423,11 +11549,11 @@ "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { - "$ref": "#/definitions/v1beta2.FlowSchemaSpec", + "$ref": "#/definitions/v1.FlowSchemaSpec", "description": "`spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { - "$ref": "#/definitions/v1beta2.FlowSchemaStatus", + "$ref": "#/definitions/v1.FlowSchemaStatus", "description": "`status` is the current status of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, @@ -11436,11 +11562,11 @@ { "group": "flowcontrol.apiserver.k8s.io", "kind": "FlowSchema", - "version": "v1beta2" + "version": "v1" } ] }, - "v1beta2.FlowSchemaCondition": { + "v1.FlowSchemaCondition": { "description": "FlowSchemaCondition describes conditions for a FlowSchema.", "properties": { "lastTransitionTime": { @@ -11467,7 +11593,7 @@ }, "type": "object" }, - "v1beta2.FlowSchemaList": { + "v1.FlowSchemaList": { "description": "FlowSchemaList is a list of FlowSchema objects.", "properties": { "apiVersion": { @@ -11477,7 +11603,7 @@ "items": { "description": "`items` is a list of FlowSchemas.", "items": { - "$ref": "#/definitions/v1beta2.FlowSchema" + "$ref": "#/definitions/v1.FlowSchema" }, "type": "array" }, @@ -11498,15 +11624,15 @@ { "group": "flowcontrol.apiserver.k8s.io", "kind": "FlowSchemaList", - "version": "v1beta2" + "version": "v1" } ] }, - "v1beta2.FlowSchemaSpec": { + "v1.FlowSchemaSpec": { "description": "FlowSchemaSpec describes how the FlowSchema's specification looks like.", "properties": { "distinguisherMethod": { - "$ref": "#/definitions/v1beta2.FlowDistinguisherMethod", + "$ref": "#/definitions/v1.FlowDistinguisherMethod", "description": "`distinguisherMethod` defines how to compute the flow distinguisher for requests that match this schema. `nil` specifies that the distinguisher is disabled and thus will always be the empty string." }, "matchingPrecedence": { @@ -11515,13 +11641,13 @@ "type": "integer" }, "priorityLevelConfiguration": { - "$ref": "#/definitions/v1beta2.PriorityLevelConfigurationReference", + "$ref": "#/definitions/v1.PriorityLevelConfigurationReference", "description": "`priorityLevelConfiguration` should reference a PriorityLevelConfiguration in the cluster. If the reference cannot be resolved, the FlowSchema will be ignored and marked as invalid in its status. Required." }, "rules": { "description": "`rules` describes which requests will match this flow schema. This FlowSchema matches a request if and only if at least one member of rules matches the request. if it is an empty slice, there will be no requests matching the FlowSchema.", "items": { - "$ref": "#/definitions/v1beta2.PolicyRulesWithSubjects" + "$ref": "#/definitions/v1.PolicyRulesWithSubjects" }, "type": "array", "x-kubernetes-list-type": "atomic" @@ -11532,24 +11658,26 @@ ], "type": "object" }, - "v1beta2.FlowSchemaStatus": { + "v1.FlowSchemaStatus": { "description": "FlowSchemaStatus represents the current state of a FlowSchema.", "properties": { "conditions": { "description": "`conditions` is a list of the current states of FlowSchema.", "items": { - "$ref": "#/definitions/v1beta2.FlowSchemaCondition" + "$ref": "#/definitions/v1.FlowSchemaCondition" }, "type": "array", "x-kubernetes-list-map-keys": [ "type" ], - "x-kubernetes-list-type": "map" + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" } }, "type": "object" }, - "v1beta2.GroupSubject": { + "v1.GroupSubject": { "description": "GroupSubject holds detailed information for group-kind subject.", "properties": { "name": { @@ -11562,11 +11690,11 @@ ], "type": "object" }, - "v1beta2.LimitResponse": { + "v1.LimitResponse": { "description": "LimitResponse defines how to handle requests that can not be executed right now.", "properties": { "queuing": { - "$ref": "#/definitions/v1beta2.QueuingConfiguration", + "$ref": "#/definitions/v1.QueuingConfiguration", "description": "`queuing` holds the configuration parameters for queuing. This field may be non-empty only if `type` is `\"Queue\"`." }, "type": { @@ -11587,14 +11715,9 @@ } ] }, - "v1beta2.LimitedPriorityLevelConfiguration": { + "v1.LimitedPriorityLevelConfiguration": { "description": "LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues:\n - How are requests for this priority level limited?\n - What should be done with requests that exceed the limit?", "properties": { - "assuredConcurrencyShares": { - "description": "`assuredConcurrencyShares` (ACS) configures the execution limit, which is a limit on the number of requests of this priority level that may be exeucting at a given time. ACS must be a positive number. The server's concurrency limit (SCL) is divided among the concurrency-controlled priority levels in proportion to their assured concurrency shares. This produces the assured concurrency value (ACV) --- the number of requests that may be executing at a time --- for each such priority level:\n\n ACV(l) = ceil( SCL * ACS(l) / ( sum[priority levels k] ACS(k) ) )\n\nbigger numbers of ACS mean more reserved concurrent requests (at the expense of every other PL). This field has a default value of 30.", - "format": "int32", - "type": "integer" - }, "borrowingLimitPercent": { "description": "`borrowingLimitPercent`, if present, configures a limit on how many seats this priority level can borrow from other priority levels. The limit is known as this level's BorrowingConcurrencyLimit (BorrowingCL) and is a limit on the total number of seats that this level may borrow at any one time. This field holds the ratio of that limit to the level's nominal concurrency limit. When this field is non-nil, it must hold a non-negative integer and the limit is calculated as follows.\n\nBorrowingCL(i) = round( NominalCL(i) * borrowingLimitPercent(i)/100.0 )\n\nThe value of this field can be more than 100, implying that this priority level can borrow a number of seats that is greater than its own nominal concurrency limit (NominalCL). When this field is left `nil`, the limit is effectively infinite.", "format": "int32", @@ -11606,13 +11729,18 @@ "type": "integer" }, "limitResponse": { - "$ref": "#/definitions/v1beta2.LimitResponse", + "$ref": "#/definitions/v1.LimitResponse", "description": "`limitResponse` indicates what to do with requests that can not be executed right now" + }, + "nominalConcurrencyShares": { + "description": "`nominalConcurrencyShares` (NCS) contributes to the computation of the NominalConcurrencyLimit (NominalCL) of this level. This is the number of execution seats available at this priority level. This is used both for requests dispatched from this priority level as well as requests dispatched from other priority levels borrowing seats from this level. The server's concurrency limit (ServerCL) is divided among the Limited priority levels in proportion to their NCS values:\n\nNominalCL(i) = ceil( ServerCL * NCS(i) / sum_ncs ) sum_ncs = sum[priority level k] NCS(k)\n\nBigger numbers mean a larger nominal concurrency limit, at the expense of every other priority level.\n\nIf not specified, this field defaults to a value of 30.\n\nSetting this field to zero supports the construction of a \"jail\" for this priority level that is used to hold some request(s)", + "format": "int32", + "type": "integer" } }, "type": "object" }, - "v1beta2.NonResourcePolicyRule": { + "v1.NonResourcePolicyRule": { "description": "NonResourcePolicyRule is a predicate that matches non-resource requests according to their verb and the target non-resource URL. A NonResourcePolicyRule matches a request if and only if both (a) at least one member of verbs matches the request and (b) at least one member of nonResourceURLs matches the request.", "properties": { "nonResourceURLs": { @@ -11638,13 +11766,13 @@ ], "type": "object" }, - "v1beta2.PolicyRulesWithSubjects": { + "v1.PolicyRulesWithSubjects": { "description": "PolicyRulesWithSubjects prescribes a test that applies to a request to an apiserver. The test considers the subject making the request, the verb being requested, and the resource to be acted upon. This PolicyRulesWithSubjects matches a request if and only if both (a) at least one member of subjects matches the request and (b) at least one member of resourceRules or nonResourceRules matches the request.", "properties": { "nonResourceRules": { "description": "`nonResourceRules` is a list of NonResourcePolicyRules that identify matching requests according to their verb and the target non-resource URL.", "items": { - "$ref": "#/definitions/v1beta2.NonResourcePolicyRule" + "$ref": "#/definitions/v1.NonResourcePolicyRule" }, "type": "array", "x-kubernetes-list-type": "atomic" @@ -11652,7 +11780,7 @@ "resourceRules": { "description": "`resourceRules` is a slice of ResourcePolicyRules that identify matching requests according to their verb and the target resource. At least one of `resourceRules` and `nonResourceRules` has to be non-empty.", "items": { - "$ref": "#/definitions/v1beta2.ResourcePolicyRule" + "$ref": "#/definitions/v1.ResourcePolicyRule" }, "type": "array", "x-kubernetes-list-type": "atomic" @@ -11660,7 +11788,7 @@ "subjects": { "description": "subjects is the list of normal user, serviceaccount, or group that this rule cares about. There must be at least one member in this slice. A slice that includes both the system:authenticated and system:unauthenticated user groups matches every request. Required.", "items": { - "$ref": "#/definitions/v1beta2.Subject" + "$ref": "#/definitions/flowcontrol.v1.Subject" }, "type": "array", "x-kubernetes-list-type": "atomic" @@ -11671,7 +11799,7 @@ ], "type": "object" }, - "v1beta2.PriorityLevelConfiguration": { + "v1.PriorityLevelConfiguration": { "description": "PriorityLevelConfiguration represents the configuration of a priority level.", "properties": { "apiVersion": { @@ -11687,11 +11815,11 @@ "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { - "$ref": "#/definitions/v1beta2.PriorityLevelConfigurationSpec", + "$ref": "#/definitions/v1.PriorityLevelConfigurationSpec", "description": "`spec` is the specification of the desired behavior of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { - "$ref": "#/definitions/v1beta2.PriorityLevelConfigurationStatus", + "$ref": "#/definitions/v1.PriorityLevelConfigurationStatus", "description": "`status` is the current status of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, @@ -11700,11 +11828,11 @@ { "group": "flowcontrol.apiserver.k8s.io", "kind": "PriorityLevelConfiguration", - "version": "v1beta2" + "version": "v1" } ] }, - "v1beta2.PriorityLevelConfigurationCondition": { + "v1.PriorityLevelConfigurationCondition": { "description": "PriorityLevelConfigurationCondition defines the condition of priority level.", "properties": { "lastTransitionTime": { @@ -11731,7 +11859,7 @@ }, "type": "object" }, - "v1beta2.PriorityLevelConfigurationList": { + "v1.PriorityLevelConfigurationList": { "description": "PriorityLevelConfigurationList is a list of PriorityLevelConfiguration objects.", "properties": { "apiVersion": { @@ -11741,7 +11869,7 @@ "items": { "description": "`items` is a list of request-priorities.", "items": { - "$ref": "#/definitions/v1beta2.PriorityLevelConfiguration" + "$ref": "#/definitions/v1.PriorityLevelConfiguration" }, "type": "array" }, @@ -11762,11 +11890,11 @@ { "group": "flowcontrol.apiserver.k8s.io", "kind": "PriorityLevelConfigurationList", - "version": "v1beta2" + "version": "v1" } ] }, - "v1beta2.PriorityLevelConfigurationReference": { + "v1.PriorityLevelConfigurationReference": { "description": "PriorityLevelConfigurationReference contains information that points to the \"request-priority\" being used.", "properties": { "name": { @@ -11779,15 +11907,15 @@ ], "type": "object" }, - "v1beta2.PriorityLevelConfigurationSpec": { + "v1.PriorityLevelConfigurationSpec": { "description": "PriorityLevelConfigurationSpec specifies the configuration of a priority level.", "properties": { "exempt": { - "$ref": "#/definitions/v1beta2.ExemptPriorityLevelConfiguration", + "$ref": "#/definitions/v1.ExemptPriorityLevelConfiguration", "description": "`exempt` specifies how requests are handled for an exempt priority level. This field MUST be empty if `type` is `\"Limited\"`. This field MAY be non-empty if `type` is `\"Exempt\"`. If empty and `type` is `\"Exempt\"` then the default values for `ExemptPriorityLevelConfiguration` apply." }, "limited": { - "$ref": "#/definitions/v1beta2.LimitedPriorityLevelConfiguration", + "$ref": "#/definitions/v1.LimitedPriorityLevelConfiguration", "description": "`limited` specifies how requests are handled for a Limited priority level. This field must be non-empty if and only if `type` is `\"Limited\"`." }, "type": { @@ -11809,24 +11937,26 @@ } ] }, - "v1beta2.PriorityLevelConfigurationStatus": { + "v1.PriorityLevelConfigurationStatus": { "description": "PriorityLevelConfigurationStatus represents the current state of a \"request-priority\".", "properties": { "conditions": { "description": "`conditions` is the current state of \"request-priority\".", "items": { - "$ref": "#/definitions/v1beta2.PriorityLevelConfigurationCondition" + "$ref": "#/definitions/v1.PriorityLevelConfigurationCondition" }, "type": "array", "x-kubernetes-list-map-keys": [ "type" ], - "x-kubernetes-list-type": "map" + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" } }, "type": "object" }, - "v1beta2.QueuingConfiguration": { + "v1.QueuingConfiguration": { "description": "QueuingConfiguration holds the configuration parameters for queuing", "properties": { "handSize": { @@ -11847,7 +11977,7 @@ }, "type": "object" }, - "v1beta2.ResourcePolicyRule": { + "v1.ResourcePolicyRule": { "description": "ResourcePolicyRule is a predicate that matches some resource requests, testing the request's verb and the target resource. A ResourcePolicyRule matches a resource request if and only if: (a) at least one member of verbs matches the request, (b) at least one member of apiGroups matches the request, (c) at least one member of resources matches the request, and (d) either (d1) the request does not specify a namespace (i.e., `Namespace==\"\"`) and clusterScope is true or (d2) the request specifies a namespace and least one member of namespaces matches the request's namespace.", "properties": { "apiGroups": { @@ -11894,7 +12024,7 @@ ], "type": "object" }, - "v1beta2.ServiceAccountSubject": { + "v1.ServiceAccountSubject": { "description": "ServiceAccountSubject holds detailed information for service-account-kind subject.", "properties": { "name": { @@ -11912,11 +12042,11 @@ ], "type": "object" }, - "v1beta2.Subject": { + "flowcontrol.v1.Subject": { "description": "Subject matches the originator of a request, as identified by the request authentication system. There are three ways of matching an originator; by user, group, or service account.", "properties": { "group": { - "$ref": "#/definitions/v1beta2.GroupSubject", + "$ref": "#/definitions/v1.GroupSubject", "description": "`group` matches based on user group name." }, "kind": { @@ -11924,11 +12054,11 @@ "type": "string" }, "serviceAccount": { - "$ref": "#/definitions/v1beta2.ServiceAccountSubject", + "$ref": "#/definitions/v1.ServiceAccountSubject", "description": "`serviceAccount` matches ServiceAccounts." }, "user": { - "$ref": "#/definitions/v1beta2.UserSubject", + "$ref": "#/definitions/v1.UserSubject", "description": "`user` matches based on username." } }, @@ -11947,7 +12077,7 @@ } ] }, - "v1beta2.UserSubject": { + "v1.UserSubject": { "description": "UserSubject holds detailed information for user-kind subject.", "properties": { "name": { @@ -13131,8 +13261,8 @@ }, "type": "object" }, - "v1alpha1.ClusterCIDR": { - "description": "ClusterCIDR represents a single configuration for per-Node Pod CIDR allocations when the MultiCIDRRangeAllocator is enabled (see the config for kube-controller-manager). A cluster may have any number of ClusterCIDR resources, all of which will be considered when allocating a CIDR for a Node. A ClusterCIDR is eligible to be used for a given Node when the node selector matches the node in question and has free CIDRs to allocate. In case of multiple matching ClusterCIDR resources, the allocator will attempt to break ties using internal heuristics, but any ClusterCIDR whose node selector matches the Node may be used.", + "v1alpha1.IPAddress": { + "description": "IPAddress represents a single IP of a single IP Family. The object is designed to be used by APIs that operate on IP addresses. The object is used by the Service core API for allocation of IP addresses. An IP address can be represented in different formats, to guarantee the uniqueness of the IP, the name of the object is the IP address in canonical format, four decimal digits separated by dots suppressing leading zeros for IPv4 and the representation defined by RFC 5952 for IPv6. Valid: 192.168.1.5 or 2001:db8::1 or 2001:db8:aaaa:bbbb:cccc:dddd:eeee:1 Invalid: 10.01.2.3 or 2001:db8:0:0:0::1", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", @@ -13147,30 +13277,30 @@ "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { - "$ref": "#/definitions/v1alpha1.ClusterCIDRSpec", - "description": "spec is the desired state of the ClusterCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + "$ref": "#/definitions/v1alpha1.IPAddressSpec", + "description": "spec is the desired state of the IPAddress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "x-kubernetes-group-version-kind": [ { "group": "networking.k8s.io", - "kind": "ClusterCIDR", + "kind": "IPAddress", "version": "v1alpha1" } ] }, - "v1alpha1.ClusterCIDRList": { - "description": "ClusterCIDRList contains a list of ClusterCIDR.", + "v1alpha1.IPAddressList": { + "description": "IPAddressList contains a list of IPAddress.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "items is the list of ClusterCIDRs.", + "description": "items is the list of IPAddresses.", "items": { - "$ref": "#/definitions/v1alpha1.ClusterCIDR" + "$ref": "#/definitions/v1alpha1.IPAddress" }, "type": "array" }, @@ -13190,39 +13320,45 @@ "x-kubernetes-group-version-kind": [ { "group": "networking.k8s.io", - "kind": "ClusterCIDRList", + "kind": "IPAddressList", "version": "v1alpha1" } ] }, - "v1alpha1.ClusterCIDRSpec": { - "description": "ClusterCIDRSpec defines the desired state of ClusterCIDR.", + "v1alpha1.IPAddressSpec": { + "description": "IPAddressSpec describe the attributes in an IP Address.", + "properties": { + "parentRef": { + "$ref": "#/definitions/v1alpha1.ParentReference", + "description": "ParentRef references the resource that an IPAddress is attached to. An IPAddress must reference a parent object." + } + }, + "type": "object" + }, + "v1alpha1.ParentReference": { + "description": "ParentReference describes a reference to a parent object.", "properties": { - "ipv4": { - "description": "ipv4 defines an IPv4 IP block in CIDR notation(e.g. \"10.0.0.0/8\"). At least one of ipv4 and ipv6 must be specified. This field is immutable.", + "group": { + "description": "Group is the group of the object being referenced.", "type": "string" }, - "ipv6": { - "description": "ipv6 defines an IPv6 IP block in CIDR notation(e.g. \"2001:db8::/64\"). At least one of ipv4 and ipv6 must be specified. This field is immutable.", + "name": { + "description": "Name is the name of the object being referenced.", "type": "string" }, - "nodeSelector": { - "$ref": "#/definitions/v1.NodeSelector", - "description": "nodeSelector defines which nodes the config is applicable to. An empty or nil nodeSelector selects all nodes. This field is immutable." + "namespace": { + "description": "Namespace is the namespace of the object being referenced.", + "type": "string" }, - "perNodeHostBits": { - "description": "perNodeHostBits defines the number of host bits to be configured per node. A subnet mask determines how much of the address is used for network bits and host bits. For example an IPv4 address of 192.168.0.0/24, splits the address into 24 bits for the network portion and 8 bits for the host portion. To allocate 256 IPs, set this field to 8 (a /24 mask for IPv4 or a /120 for IPv6). Minimum value is 4 (16 IPs). This field is immutable.", - "format": "int32", - "type": "integer" + "resource": { + "description": "Resource is the resource of the object being referenced.", + "type": "string" } }, - "required": [ - "perNodeHostBits" - ], "type": "object" }, - "v1alpha1.IPAddress": { - "description": "IPAddress represents a single IP of a single IP Family. The object is designed to be used by APIs that operate on IP addresses. The object is used by the Service core API for allocation of IP addresses. An IP address can be represented in different formats, to guarantee the uniqueness of the IP, the name of the object is the IP address in canonical format, four decimal digits separated by dots suppressing leading zeros for IPv4 and the representation defined by RFC 5952 for IPv6. Valid: 192.168.1.5 or 2001:db8::1 or 2001:db8:aaaa:bbbb:cccc:dddd:eeee:1 Invalid: 10.01.2.3 or 2001:db8:0:0:0::1", + "v1alpha1.ServiceCIDR": { + "description": "ServiceCIDR defines a range of IP addresses using CIDR format (e.g. 192.168.0.0/24 or 2001:db2::/64). This range is used to allocate ClusterIPs to Service objects.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", @@ -13237,30 +13373,34 @@ "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { - "$ref": "#/definitions/v1alpha1.IPAddressSpec", - "description": "spec is the desired state of the IPAddress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + "$ref": "#/definitions/v1alpha1.ServiceCIDRSpec", + "description": "spec is the desired state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + }, + "status": { + "$ref": "#/definitions/v1alpha1.ServiceCIDRStatus", + "description": "status represents the current state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "x-kubernetes-group-version-kind": [ { "group": "networking.k8s.io", - "kind": "IPAddress", + "kind": "ServiceCIDR", "version": "v1alpha1" } ] }, - "v1alpha1.IPAddressList": { - "description": "IPAddressList contains a list of IPAddress.", + "v1alpha1.ServiceCIDRList": { + "description": "ServiceCIDRList contains a list of ServiceCIDR objects.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "items is the list of IPAddresses.", + "description": "items is the list of ServiceCIDRs.", "items": { - "$ref": "#/definitions/v1alpha1.IPAddress" + "$ref": "#/definitions/v1alpha1.ServiceCIDR" }, "type": "array" }, @@ -13280,43 +13420,39 @@ "x-kubernetes-group-version-kind": [ { "group": "networking.k8s.io", - "kind": "IPAddressList", + "kind": "ServiceCIDRList", "version": "v1alpha1" } ] }, - "v1alpha1.IPAddressSpec": { - "description": "IPAddressSpec describe the attributes in an IP Address.", + "v1alpha1.ServiceCIDRSpec": { + "description": "ServiceCIDRSpec define the CIDRs the user wants to use for allocating ClusterIPs for Services.", "properties": { - "parentRef": { - "$ref": "#/definitions/v1alpha1.ParentReference", - "description": "ParentRef references the resource that an IPAddress is attached to. An IPAddress must reference a parent object." + "cidrs": { + "description": "CIDRs defines the IP blocks in CIDR notation (e.g. \"192.168.0.0/24\" or \"2001:db8::/64\") from which to assign service cluster IPs. Max of two CIDRs is allowed, one of each IP family. This field is immutable.", + "items": { + "type": "string" + }, + "type": "array" } }, "type": "object" }, - "v1alpha1.ParentReference": { - "description": "ParentReference describes a reference to a parent object.", + "v1alpha1.ServiceCIDRStatus": { + "description": "ServiceCIDRStatus describes the current state of the ServiceCIDR.", "properties": { - "group": { - "description": "Group is the group of the object being referenced.", - "type": "string" - }, - "name": { - "description": "Name is the name of the object being referenced.", - "type": "string" - }, - "namespace": { - "description": "Namespace is the namespace of the object being referenced.", - "type": "string" - }, - "resource": { - "description": "Resource is the resource of the object being referenced.", - "type": "string" - }, - "uid": { - "description": "UID is the uid of the object being referenced.", - "type": "string" + "conditions": { + "description": "conditions holds an array of metav1.Condition that describe the state of the ServiceCIDR. Current service state", + "items": { + "$ref": "#/definitions/v1.Condition" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" } }, "type": "object" @@ -13682,7 +13818,7 @@ "subjects": { "description": "Subjects holds references to the objects the role applies to.", "items": { - "$ref": "#/definitions/v1.Subject" + "$ref": "#/definitions/rbac.v1.Subject" }, "type": "array" } @@ -13867,7 +14003,7 @@ "subjects": { "description": "Subjects holds references to the objects the role applies to.", "items": { - "$ref": "#/definitions/v1.Subject" + "$ref": "#/definitions/rbac.v1.Subject" }, "type": "array" } @@ -13978,7 +14114,7 @@ "type": "object", "x-kubernetes-map-type": "atomic" }, - "v1.Subject": { + "rbac.v1.Subject": { "description": "Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names.", "properties": { "apiGroup": { @@ -14107,7 +14243,7 @@ "type": "string" }, "type": "array", - "x-kubernetes-list-type": "set" + "x-kubernetes-list-type": "atomic" }, "selectedNode": { "description": "SelectedNode is the node for which allocation of ResourceClaims that are referenced by the Pod and that use \"WaitForFirstConsumer\" allocation is to be attempted.", @@ -14266,7 +14402,7 @@ "type": "string" }, "type": "array", - "x-kubernetes-list-type": "set" + "x-kubernetes-list-type": "atomic" } }, "type": "object" @@ -14679,7 +14815,7 @@ "type": "string" }, "podInfoOnMount": { - "description": "podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations, if set to true. If set to false, pod information will not be passed on mount. Default is false.\n\nThe CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext.\n\nThe following VolumeConext will be passed if podInfoOnMount is set to true. This list might grow, but the prefix will be used. \"csi.storage.k8s.io/pod.name\": pod.Name \"csi.storage.k8s.io/pod.namespace\": pod.Namespace \"csi.storage.k8s.io/pod.uid\": string(pod.UID) \"csi.storage.k8s.io/ephemeral\": \"true\" if the volume is an ephemeral inline volume\n defined by a CSIVolumeSource, otherwise \"false\"\n\n\"csi.storage.k8s.io/ephemeral\" is a new feature in Kubernetes 1.16. It is only required for drivers which support both the \"Persistent\" and \"Ephemeral\" VolumeLifecycleMode. Other drivers can leave pod info disabled and/or ignore this field. As Kubernetes 1.15 doesn't support this field, drivers can only support one mode when deployed on such a cluster and the deployment determines which mode that is, for example via a command line parameter of the driver.\n\nThis field is immutable.", + "description": "podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations, if set to true. If set to false, pod information will not be passed on mount. Default is false.\n\nThe CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext.\n\nThe following VolumeContext will be passed if podInfoOnMount is set to true. This list might grow, but the prefix will be used. \"csi.storage.k8s.io/pod.name\": pod.Name \"csi.storage.k8s.io/pod.namespace\": pod.Namespace \"csi.storage.k8s.io/pod.uid\": string(pod.UID) \"csi.storage.k8s.io/ephemeral\": \"true\" if the volume is an ephemeral inline volume\n defined by a CSIVolumeSource, otherwise \"false\"\n\n\"csi.storage.k8s.io/ephemeral\" is a new feature in Kubernetes 1.16. It is only required for drivers which support both the \"Persistent\" and \"Ephemeral\" VolumeLifecycleMode. Other drivers can leave pod info disabled and/or ignore this field. As Kubernetes 1.15 doesn't support this field, drivers can only support one mode when deployed on such a cluster and the deployment determines which mode that is, for example via a command line parameter of the driver.\n\nThis field is immutable.", "type": "boolean" }, "requiresRepublish": { @@ -15191,6 +15327,80 @@ }, "type": "object" }, + "v1alpha1.VolumeAttributesClass": { + "description": "VolumeAttributesClass represents a specification of mutable volume attributes defined by the CSI driver. The class can be specified during dynamic provisioning of PersistentVolumeClaims, and changed in the PersistentVolumeClaim spec after provisioning.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "driverName": { + "description": "Name of the CSI driver This field is immutable.", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ObjectMeta", + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + }, + "parameters": { + "additionalProperties": { + "type": "string" + }, + "description": "parameters hold volume attributes defined by the CSI driver. These values are opaque to the Kubernetes and are passed directly to the CSI driver. The underlying storage provider supports changing these attributes on an existing volume, however the parameters field itself is immutable. To invoke a volume update, a new VolumeAttributesClass should be created with new parameters, and the PersistentVolumeClaim should be updated to reference the new VolumeAttributesClass.\n\nThis field is required and must contain at least one key/value pair. The keys cannot be empty, and the maximum number of parameters is 512, with a cumulative max size of 256K. If the CSI driver rejects invalid parameters, the target PersistentVolumeClaim will be set to an \"Infeasible\" state in the modifyVolumeStatus field.", + "type": "object" + } + }, + "required": [ + "driverName" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "storage.k8s.io", + "kind": "VolumeAttributesClass", + "version": "v1alpha1" + } + ] + }, + "v1alpha1.VolumeAttributesClassList": { + "description": "VolumeAttributesClassList is a collection of VolumeAttributesClass objects.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "items is the list of VolumeAttributesClass objects.", + "items": { + "$ref": "#/definitions/v1alpha1.VolumeAttributesClass" + }, + "type": "array" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ListMeta", + "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + } + }, + "required": [ + "items" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "storage.k8s.io", + "kind": "VolumeAttributesClassList", + "version": "v1alpha1" + } + ] + }, "v1.CustomResourceColumnDefinition": { "description": "CustomResourceColumnDefinition specifies a column for server side printing.", "properties": { @@ -15800,12 +16010,16 @@ "description": "MessageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a rule, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the rule; the only difference is the return type. Example: \"x must be less than max (\"+string(self.max)+\")\"", "type": "string" }, + "optionalOldSelf": { + "description": "optionalOldSelf is used to opt a transition rule into evaluation even when the object is first created, or if the old object is missing the value.\n\nWhen enabled `oldSelf` will be a CEL optional whose value will be `None` if there is no old value, or when the object is initially created.\n\nYou may check for presence of oldSelf using `oldSelf.hasValue()` and unwrap it after checking using `oldSelf.value()`. Check the CEL documentation for Optional types for more information: https://pkg.go.dev/github.com/google/cel-go/cel#OptionalTypes\n\nMay not be set unless `oldSelf` is used in `rule`.", + "type": "boolean" + }, "reason": { "description": "reason provides a machine-readable validation failure reason that is returned to the caller when a request fails this validation rule. The HTTP status code returned to the caller will match the reason of the reason of the first failed validation rule. The currently supported reasons are: \"FieldValueInvalid\", \"FieldValueForbidden\", \"FieldValueRequired\", \"FieldValueDuplicate\". If not set, default to use \"FieldValueInvalid\". All future added reasons must be accepted by clients when reading this value and unknown reasons should be treated as FieldValueInvalid.", "type": "string" }, "rule": { - "description": "Rule represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec The Rule is scoped to the location of the x-kubernetes-validations extension in the schema. The `self` variable in the CEL expression is bound to the scoped value. Example: - Rule scoped to the root of a resource with a status subresource: {\"rule\": \"self.status.actual <= self.spec.maxDesired\"}\n\nIf the Rule is scoped to an object with properties, the accessible properties of the object are field selectable via `self.field` and field presence can be checked via `has(self.field)`. Null valued fields are treated as absent fields in CEL expressions. If the Rule is scoped to an object with additionalProperties (i.e. a map) the value of the map are accessible via `self[mapKey]`, map containment can be checked via `mapKey in self` and all entries of the map are accessible via CEL macros and functions such as `self.all(...)`. If the Rule is scoped to an array, the elements of the array are accessible via `self[i]` and also by macros and functions. If the Rule is scoped to a scalar, `self` is bound to the scalar value. Examples: - Rule scoped to a map of objects: {\"rule\": \"self.components['Widget'].priority < 10\"} - Rule scoped to a list of integers: {\"rule\": \"self.values.all(value, value >= 0 && value < 100)\"} - Rule scoped to a string value: {\"rule\": \"self.startsWith('kube')\"}\n\nThe `apiVersion`, `kind`, `metadata.name` and `metadata.generateName` are always accessible from the root of the object and from any x-kubernetes-embedded-resource annotated objects. No other metadata properties are accessible.\n\nUnknown data preserved in custom resources via x-kubernetes-preserve-unknown-fields is not accessible in CEL expressions. This includes: - Unknown field values that are preserved by object schemas with x-kubernetes-preserve-unknown-fields. - Object properties where the property schema is of an \"unknown type\". An \"unknown type\" is recursively defined as:\n - A schema with no type and x-kubernetes-preserve-unknown-fields set to true\n - An array where the items schema is of an \"unknown type\"\n - An object where the additionalProperties schema is of an \"unknown type\"\n\nOnly property names of the form `[a-zA-Z_.-/][a-zA-Z0-9_.-/]*` are accessible. Accessible property names are escaped according to the following rules when accessed in the expression: - '__' escapes to '__underscores__' - '.' escapes to '__dot__' - '-' escapes to '__dash__' - '/' escapes to '__slash__' - Property names that exactly match a CEL RESERVED keyword escape to '__{keyword}__'. The keywords are:\n\t \"true\", \"false\", \"null\", \"in\", \"as\", \"break\", \"const\", \"continue\", \"else\", \"for\", \"function\", \"if\",\n\t \"import\", \"let\", \"loop\", \"package\", \"namespace\", \"return\".\nExamples:\n - Rule accessing a property named \"namespace\": {\"rule\": \"self.__namespace__ > 0\"}\n - Rule accessing a property named \"x-prop\": {\"rule\": \"self.x__dash__prop > 0\"}\n - Rule accessing a property named \"redact__d\": {\"rule\": \"self.redact__underscores__d > 0\"}\n\nEquality on arrays with x-kubernetes-list-type of 'set' or 'map' ignores element order, i.e. [1, 2] == [2, 1]. Concatenation on arrays with x-kubernetes-list-type use the semantics of the list type:\n - 'set': `X + Y` performs a union where the array positions of all elements in `X` are preserved and\n non-intersecting elements in `Y` are appended, retaining their partial order.\n - 'map': `X + Y` performs a merge where the array positions of all keys in `X` are preserved but the values\n are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with\n non-intersecting keys are appended, retaining their partial order.", + "description": "Rule represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec The Rule is scoped to the location of the x-kubernetes-validations extension in the schema. The `self` variable in the CEL expression is bound to the scoped value. Example: - Rule scoped to the root of a resource with a status subresource: {\"rule\": \"self.status.actual <= self.spec.maxDesired\"}\n\nIf the Rule is scoped to an object with properties, the accessible properties of the object are field selectable via `self.field` and field presence can be checked via `has(self.field)`. Null valued fields are treated as absent fields in CEL expressions. If the Rule is scoped to an object with additionalProperties (i.e. a map) the value of the map are accessible via `self[mapKey]`, map containment can be checked via `mapKey in self` and all entries of the map are accessible via CEL macros and functions such as `self.all(...)`. If the Rule is scoped to an array, the elements of the array are accessible via `self[i]` and also by macros and functions. If the Rule is scoped to a scalar, `self` is bound to the scalar value. Examples: - Rule scoped to a map of objects: {\"rule\": \"self.components['Widget'].priority < 10\"} - Rule scoped to a list of integers: {\"rule\": \"self.values.all(value, value >= 0 && value < 100)\"} - Rule scoped to a string value: {\"rule\": \"self.startsWith('kube')\"}\n\nThe `apiVersion`, `kind`, `metadata.name` and `metadata.generateName` are always accessible from the root of the object and from any x-kubernetes-embedded-resource annotated objects. No other metadata properties are accessible.\n\nUnknown data preserved in custom resources via x-kubernetes-preserve-unknown-fields is not accessible in CEL expressions. This includes: - Unknown field values that are preserved by object schemas with x-kubernetes-preserve-unknown-fields. - Object properties where the property schema is of an \"unknown type\". An \"unknown type\" is recursively defined as:\n - A schema with no type and x-kubernetes-preserve-unknown-fields set to true\n - An array where the items schema is of an \"unknown type\"\n - An object where the additionalProperties schema is of an \"unknown type\"\n\nOnly property names of the form `[a-zA-Z_.-/][a-zA-Z0-9_.-/]*` are accessible. Accessible property names are escaped according to the following rules when accessed in the expression: - '__' escapes to '__underscores__' - '.' escapes to '__dot__' - '-' escapes to '__dash__' - '/' escapes to '__slash__' - Property names that exactly match a CEL RESERVED keyword escape to '__{keyword}__'. The keywords are:\n\t \"true\", \"false\", \"null\", \"in\", \"as\", \"break\", \"const\", \"continue\", \"else\", \"for\", \"function\", \"if\",\n\t \"import\", \"let\", \"loop\", \"package\", \"namespace\", \"return\".\nExamples:\n - Rule accessing a property named \"namespace\": {\"rule\": \"self.__namespace__ > 0\"}\n - Rule accessing a property named \"x-prop\": {\"rule\": \"self.x__dash__prop > 0\"}\n - Rule accessing a property named \"redact__d\": {\"rule\": \"self.redact__underscores__d > 0\"}\n\nEquality on arrays with x-kubernetes-list-type of 'set' or 'map' ignores element order, i.e. [1, 2] == [2, 1]. Concatenation on arrays with x-kubernetes-list-type use the semantics of the list type:\n - 'set': `X + Y` performs a union where the array positions of all elements in `X` are preserved and\n non-intersecting elements in `Y` are appended, retaining their partial order.\n - 'map': `X + Y` performs a merge where the array positions of all keys in `X` are preserved but the values\n are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with\n non-intersecting keys are appended, retaining their partial order.\n\nIf `rule` makes use of the `oldSelf` variable it is implicitly a `transition rule`.\n\nBy default, the `oldSelf` variable is the same type as `self`. When `optionalOldSelf` is true, the `oldSelf` variable is a CEL optional\n variable whose value() is the same type as `self`.\nSee the documentation for the `optionalOldSelf` field for details.\n\nTransition rules by default are applied only on UPDATE requests and are skipped if an old value could not be found. You can opt a transition rule into unconditional evaluation by setting `optionalOldSelf` to true.", "type": "string" } }, @@ -16318,7 +16532,7 @@ { "group": "flowcontrol.apiserver.k8s.io", "kind": "DeleteOptions", - "version": "v1alpha1" + "version": "v1" }, { "group": "flowcontrol.apiserver.k8s.io", @@ -17009,7 +17223,7 @@ { "group": "flowcontrol.apiserver.k8s.io", "kind": "WatchEvent", - "version": "v1alpha1" + "version": "v1" }, { "group": "flowcontrol.apiserver.k8s.io", @@ -17290,7 +17504,7 @@ "type": "string" }, "groupPriorityMinimum": { - "description": "GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s", + "description": "GroupPriorityMinimum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMinimum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s", "format": "int32", "type": "integer" }, @@ -17359,7 +17573,7 @@ }, "info": { "title": "Kubernetes", - "version": "release-1.28" + "version": "release-1.29" }, "paths": { "/api/": { @@ -17503,7 +17717,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -17592,7 +17806,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -17675,7 +17889,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -17793,7 +18007,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -17911,7 +18125,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -18029,7 +18243,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -18184,7 +18398,7 @@ }, "parameters": [ { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -18303,7 +18517,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -18618,7 +18832,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -18838,7 +19052,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -19252,7 +19466,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -19472,7 +19686,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -19886,7 +20100,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -20106,7 +20320,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -20520,7 +20734,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -20740,7 +20954,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -21154,7 +21368,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -21374,7 +21588,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -21593,7 +21807,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -22007,7 +22221,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -22227,7 +22441,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -22553,7 +22767,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -22673,7 +22887,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -22878,7 +23092,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -23155,7 +23369,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -23862,7 +24076,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -24276,7 +24490,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -24496,7 +24710,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -24910,7 +25124,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -25130,7 +25344,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -25349,7 +25563,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -25568,7 +25782,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -25982,7 +26196,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -26202,7 +26416,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -26421,7 +26635,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -26835,7 +27049,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -27055,7 +27269,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -27469,7 +27683,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -27689,7 +27903,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -27894,7 +28108,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -28209,7 +28423,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -28429,7 +28643,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -29172,7 +29386,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -29462,7 +29676,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -29659,7 +29873,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -29765,7 +29979,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -30171,7 +30385,7 @@ }, "parameters": [ { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -30383,7 +30597,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -31102,7 +31316,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -31342,7 +31556,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -31626,7 +31840,7 @@ }, "parameters": [ { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -31838,7 +32052,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -32049,7 +32263,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -32289,7 +32503,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -32407,7 +32621,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -32525,7 +32739,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -32643,7 +32857,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -32761,7 +32975,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -32879,7 +33093,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -32997,7 +33211,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -33078,7 +33292,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -33159,7 +33373,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -33240,7 +33454,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -33321,7 +33535,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -33402,7 +33616,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -33491,7 +33705,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -33588,7 +33802,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -33677,7 +33891,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -33774,7 +33988,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -33863,7 +34077,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -33960,7 +34174,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -34049,7 +34263,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -34146,7 +34360,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -34235,7 +34449,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -34332,7 +34546,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -34421,7 +34635,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -34518,7 +34732,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -34607,7 +34821,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -34704,7 +34918,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -34793,7 +35007,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -34890,7 +35104,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -34979,7 +35193,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -35076,7 +35290,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -35165,7 +35379,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -35262,7 +35476,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -35351,7 +35565,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -35448,7 +35662,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -35537,7 +35751,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -35634,7 +35848,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -35723,7 +35937,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -35804,7 +36018,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -35893,7 +36107,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -35974,7 +36188,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -36055,7 +36269,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -36144,7 +36358,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -36225,7 +36439,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -36306,7 +36520,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -36387,7 +36601,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -36468,7 +36682,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -36549,7 +36763,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -36630,7 +36844,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -36711,7 +36925,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -37094,7 +37308,7 @@ }, "parameters": [ { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -37306,7 +37520,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -37712,7 +37926,7 @@ }, "parameters": [ { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -37924,7 +38138,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -38127,7 +38341,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -38216,7 +38430,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -38297,7 +38511,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -38386,7 +38600,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -38703,7 +38917,7 @@ }, "parameters": [ { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -38915,7 +39129,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -39126,7 +39340,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -39532,7 +39746,7 @@ }, "parameters": [ { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -39744,7 +39958,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -39947,7 +40161,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -40036,7 +40250,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -40117,7 +40331,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -40206,7 +40420,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -40523,7 +40737,7 @@ }, "parameters": [ { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -40735,7 +40949,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -40946,7 +41160,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -41352,7 +41566,7 @@ }, "parameters": [ { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -41564,7 +41778,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -41767,7 +41981,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -41856,7 +42070,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -41937,7 +42151,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -42026,7 +42240,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -42376,7 +42590,7 @@ }, "parameters": [ { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -42588,7 +42802,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -42799,7 +43013,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -43002,7 +43216,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -43091,7 +43305,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -43441,7 +43655,7 @@ }, "parameters": [ { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -43653,7 +43867,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -43864,7 +44078,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -44067,7 +44281,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -44156,7 +44370,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -44340,7 +44554,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -44458,7 +44672,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -44576,7 +44790,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -44868,7 +45082,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -45088,7 +45302,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -45502,7 +45716,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -45722,7 +45936,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -45941,7 +46155,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -46355,7 +46569,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -46575,7 +46789,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -46794,7 +47008,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -47013,7 +47227,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -47427,7 +47641,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -47647,7 +47861,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -47866,7 +48080,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -48085,7 +48299,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -48499,7 +48713,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -48719,7 +48933,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -48938,7 +49152,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -49157,7 +49371,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -49397,7 +49611,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -49515,7 +49729,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -49596,7 +49810,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -49677,7 +49891,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -49758,7 +49972,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -49847,7 +50061,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -49944,7 +50158,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -50033,7 +50247,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -50130,7 +50344,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -50219,7 +50433,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -50316,7 +50530,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -50405,7 +50619,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -50502,7 +50716,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -50591,7 +50805,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -50688,7 +50902,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -50769,7 +50983,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -50850,7 +51064,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -50983,7 +51197,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -51073,7 +51287,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -51196,7 +51410,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -51319,7 +51533,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -51483,7 +51697,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -51573,7 +51787,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -51663,7 +51877,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -51753,7 +51967,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -51960,7 +52174,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -52252,7 +52466,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -52472,7 +52686,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -52691,7 +52905,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -52894,7 +53108,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -52983,7 +53197,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -53080,7 +53294,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -53231,7 +53445,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -53523,7 +53737,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -53743,7 +53957,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -53962,7 +54176,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -54165,7 +54379,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -54254,7 +54468,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -54351,7 +54565,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -54535,7 +54749,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -54653,7 +54867,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -54945,7 +55159,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -55165,7 +55379,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -55384,7 +55598,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -55798,7 +56012,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -56018,7 +56232,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -56237,7 +56451,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -56440,7 +56654,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -56521,7 +56735,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -56610,7 +56824,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -56707,7 +56921,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -56796,7 +57010,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -56893,7 +57107,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -57243,7 +57457,7 @@ }, "parameters": [ { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -57455,7 +57669,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -57666,7 +57880,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -57877,7 +58091,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -58080,7 +58294,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -58169,7 +58383,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -58486,7 +58700,7 @@ }, "parameters": [ { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -58698,7 +58912,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -58901,7 +59115,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -58990,7 +59204,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -59174,7 +59388,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -59466,7 +59680,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -59686,7 +59900,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -59889,7 +60103,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -59978,7 +60192,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -60075,7 +60289,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -60259,7 +60473,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -60551,7 +60765,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -60771,7 +60985,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -60974,7 +61188,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -61063,7 +61277,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -61160,7 +61374,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -61344,7 +61558,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -61636,7 +61850,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -61856,7 +62070,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -62059,7 +62273,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -62148,7 +62362,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -62245,7 +62459,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -62321,7 +62535,7 @@ ] } }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta2/": { + "/apis/flowcontrol.apiserver.k8s.io/v1/": { "get": { "consumes": [ "application/json", @@ -62350,11 +62564,11 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta2" + "flowcontrolApiserver_v1" ] } }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta2/flowschemas": { + "/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas": { "delete": { "consumes": [ "*/*" @@ -62474,13 +62688,13 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta2" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", "kind": "FlowSchema", - "version": "v1beta2" + "version": "v1" }, "x-codegen-request-body-name": "body" }, @@ -62573,7 +62787,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.FlowSchemaList" + "$ref": "#/definitions/v1.FlowSchemaList" } }, "401": { @@ -62584,18 +62798,18 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta2" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", "kind": "FlowSchema", - "version": "v1beta2" + "version": "v1" } }, "parameters": [ { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -62614,7 +62828,7 @@ "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta2.FlowSchema" + "$ref": "#/definitions/v1.FlowSchema" } }, { @@ -62648,19 +62862,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.FlowSchema" + "$ref": "#/definitions/v1.FlowSchema" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta2.FlowSchema" + "$ref": "#/definitions/v1.FlowSchema" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1beta2.FlowSchema" + "$ref": "#/definitions/v1.FlowSchema" } }, "401": { @@ -62671,18 +62885,18 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta2" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", "kind": "FlowSchema", - "version": "v1beta2" + "version": "v1" }, "x-codegen-request-body-name": "body" } }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta2/flowschemas/{name}": { + "/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name}": { "delete": { "consumes": [ "*/*" @@ -62752,13 +62966,13 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta2" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", "kind": "FlowSchema", - "version": "v1beta2" + "version": "v1" }, "x-codegen-request-body-name": "body" }, @@ -62777,7 +62991,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.FlowSchema" + "$ref": "#/definitions/v1.FlowSchema" } }, "401": { @@ -62788,13 +63002,13 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta2" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", "kind": "FlowSchema", - "version": "v1beta2" + "version": "v1" } }, "parameters": [ @@ -62807,7 +63021,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -62871,13 +63085,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.FlowSchema" + "$ref": "#/definitions/v1.FlowSchema" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta2.FlowSchema" + "$ref": "#/definitions/v1.FlowSchema" } }, "401": { @@ -62888,13 +63102,13 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta2" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", "kind": "FlowSchema", - "version": "v1beta2" + "version": "v1" }, "x-codegen-request-body-name": "body" }, @@ -62910,7 +63124,7 @@ "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta2.FlowSchema" + "$ref": "#/definitions/v1.FlowSchema" } }, { @@ -62944,13 +63158,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.FlowSchema" + "$ref": "#/definitions/v1.FlowSchema" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta2.FlowSchema" + "$ref": "#/definitions/v1.FlowSchema" } }, "401": { @@ -62961,18 +63175,18 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta2" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", "kind": "FlowSchema", - "version": "v1beta2" + "version": "v1" }, "x-codegen-request-body-name": "body" } }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta2/flowschemas/{name}/status": { + "/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name}/status": { "get": { "consumes": [ "*/*" @@ -62988,7 +63202,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.FlowSchema" + "$ref": "#/definitions/v1.FlowSchema" } }, "401": { @@ -62999,13 +63213,13 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta2" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", "kind": "FlowSchema", - "version": "v1beta2" + "version": "v1" } }, "parameters": [ @@ -63018,7 +63232,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -63082,13 +63296,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.FlowSchema" + "$ref": "#/definitions/v1.FlowSchema" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta2.FlowSchema" + "$ref": "#/definitions/v1.FlowSchema" } }, "401": { @@ -63099,13 +63313,13 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta2" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", "kind": "FlowSchema", - "version": "v1beta2" + "version": "v1" }, "x-codegen-request-body-name": "body" }, @@ -63121,7 +63335,7 @@ "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta2.FlowSchema" + "$ref": "#/definitions/v1.FlowSchema" } }, { @@ -63155,13 +63369,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.FlowSchema" + "$ref": "#/definitions/v1.FlowSchema" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta2.FlowSchema" + "$ref": "#/definitions/v1.FlowSchema" } }, "401": { @@ -63172,18 +63386,18 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta2" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", "kind": "FlowSchema", - "version": "v1beta2" + "version": "v1" }, "x-codegen-request-body-name": "body" } }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta2/prioritylevelconfigurations": { + "/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations": { "delete": { "consumes": [ "*/*" @@ -63303,13 +63517,13 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta2" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", "kind": "PriorityLevelConfiguration", - "version": "v1beta2" + "version": "v1" }, "x-codegen-request-body-name": "body" }, @@ -63402,7 +63616,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.PriorityLevelConfigurationList" + "$ref": "#/definitions/v1.PriorityLevelConfigurationList" } }, "401": { @@ -63413,18 +63627,18 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta2" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", "kind": "PriorityLevelConfiguration", - "version": "v1beta2" + "version": "v1" } }, "parameters": [ { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -63443,7 +63657,7 @@ "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta2.PriorityLevelConfiguration" + "$ref": "#/definitions/v1.PriorityLevelConfiguration" } }, { @@ -63477,19 +63691,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.PriorityLevelConfiguration" + "$ref": "#/definitions/v1.PriorityLevelConfiguration" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta2.PriorityLevelConfiguration" + "$ref": "#/definitions/v1.PriorityLevelConfiguration" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1beta2.PriorityLevelConfiguration" + "$ref": "#/definitions/v1.PriorityLevelConfiguration" } }, "401": { @@ -63500,18 +63714,18 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta2" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", "kind": "PriorityLevelConfiguration", - "version": "v1beta2" + "version": "v1" }, "x-codegen-request-body-name": "body" } }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta2/prioritylevelconfigurations/{name}": { + "/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name}": { "delete": { "consumes": [ "*/*" @@ -63581,13 +63795,13 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta2" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", "kind": "PriorityLevelConfiguration", - "version": "v1beta2" + "version": "v1" }, "x-codegen-request-body-name": "body" }, @@ -63606,7 +63820,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.PriorityLevelConfiguration" + "$ref": "#/definitions/v1.PriorityLevelConfiguration" } }, "401": { @@ -63617,13 +63831,13 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta2" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", "kind": "PriorityLevelConfiguration", - "version": "v1beta2" + "version": "v1" } }, "parameters": [ @@ -63636,7 +63850,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -63700,13 +63914,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.PriorityLevelConfiguration" + "$ref": "#/definitions/v1.PriorityLevelConfiguration" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta2.PriorityLevelConfiguration" + "$ref": "#/definitions/v1.PriorityLevelConfiguration" } }, "401": { @@ -63717,13 +63931,13 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta2" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", "kind": "PriorityLevelConfiguration", - "version": "v1beta2" + "version": "v1" }, "x-codegen-request-body-name": "body" }, @@ -63739,7 +63953,7 @@ "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta2.PriorityLevelConfiguration" + "$ref": "#/definitions/v1.PriorityLevelConfiguration" } }, { @@ -63773,13 +63987,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.PriorityLevelConfiguration" + "$ref": "#/definitions/v1.PriorityLevelConfiguration" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta2.PriorityLevelConfiguration" + "$ref": "#/definitions/v1.PriorityLevelConfiguration" } }, "401": { @@ -63790,18 +64004,18 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta2" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", "kind": "PriorityLevelConfiguration", - "version": "v1beta2" + "version": "v1" }, "x-codegen-request-body-name": "body" } }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta2/prioritylevelconfigurations/{name}/status": { + "/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name}/status": { "get": { "consumes": [ "*/*" @@ -63817,7 +64031,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.PriorityLevelConfiguration" + "$ref": "#/definitions/v1.PriorityLevelConfiguration" } }, "401": { @@ -63828,13 +64042,13 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta2" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", "kind": "PriorityLevelConfiguration", - "version": "v1beta2" + "version": "v1" } }, "parameters": [ @@ -63847,7 +64061,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -63911,13 +64125,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.PriorityLevelConfiguration" + "$ref": "#/definitions/v1.PriorityLevelConfiguration" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta2.PriorityLevelConfiguration" + "$ref": "#/definitions/v1.PriorityLevelConfiguration" } }, "401": { @@ -63928,13 +64142,13 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta2" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", "kind": "PriorityLevelConfiguration", - "version": "v1beta2" + "version": "v1" }, "x-codegen-request-body-name": "body" }, @@ -63950,7 +64164,7 @@ "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta2.PriorityLevelConfiguration" + "$ref": "#/definitions/v1.PriorityLevelConfiguration" } }, { @@ -63984,13 +64198,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.PriorityLevelConfiguration" + "$ref": "#/definitions/v1.PriorityLevelConfiguration" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1beta2.PriorityLevelConfiguration" + "$ref": "#/definitions/v1.PriorityLevelConfiguration" } }, "401": { @@ -64001,18 +64215,18 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta2" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", "kind": "PriorityLevelConfiguration", - "version": "v1beta2" + "version": "v1" }, "x-codegen-request-body-name": "body" } }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta2/watch/flowschemas": { + "/apis/flowcontrol.apiserver.k8s.io/v1/watch/flowschemas": { "parameters": [ { "description": "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.", @@ -64050,7 +64264,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -64093,7 +64307,7 @@ } ] }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta2/watch/flowschemas/{name}": { + "/apis/flowcontrol.apiserver.k8s.io/v1/watch/flowschemas/{name}": { "parameters": [ { "description": "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.", @@ -64139,7 +64353,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -64182,7 +64396,7 @@ } ] }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta2/watch/prioritylevelconfigurations": { + "/apis/flowcontrol.apiserver.k8s.io/v1/watch/prioritylevelconfigurations": { "parameters": [ { "description": "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.", @@ -64220,7 +64434,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -64263,7 +64477,7 @@ } ] }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta2/watch/prioritylevelconfigurations/{name}": { + "/apis/flowcontrol.apiserver.k8s.io/v1/watch/prioritylevelconfigurations/{name}": { "parameters": [ { "description": "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.", @@ -64309,7 +64523,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -64626,7 +64840,7 @@ }, "parameters": [ { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -64838,7 +65052,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -65049,7 +65263,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -65455,7 +65669,7 @@ }, "parameters": [ { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -65667,7 +65881,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -65878,7 +66092,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -66081,7 +66295,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -66170,7 +66384,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -66251,7 +66465,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -66340,7 +66554,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -66690,7 +66904,7 @@ }, "parameters": [ { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -66902,7 +67116,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -67113,7 +67327,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -67316,7 +67530,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -67405,7 +67619,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -67755,7 +67969,7 @@ }, "parameters": [ { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -67967,7 +68181,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -68207,7 +68421,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -68499,7 +68713,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -68719,7 +68933,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -68938,7 +69152,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -69352,7 +69566,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -69572,7 +69786,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -69812,7 +70026,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -69893,7 +70107,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -69982,7 +70196,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -70063,7 +70277,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -70152,7 +70366,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -70249,7 +70463,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -70338,7 +70552,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -70435,7 +70649,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -70516,7 +70730,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -70592,13 +70806,13 @@ ] } }, - "/apis/networking.k8s.io/v1alpha1/clustercidrs": { + "/apis/networking.k8s.io/v1alpha1/ipaddresses": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of ClusterCIDR", - "operationId": "deleteCollectionClusterCIDR", + "description": "delete collection of IPAddress", + "operationId": "deleteCollectionIPAddress", "parameters": [ { "in": "body", @@ -70717,7 +70931,7 @@ "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "ClusterCIDR", + "kind": "IPAddress", "version": "v1alpha1" }, "x-codegen-request-body-name": "body" @@ -70726,8 +70940,8 @@ "consumes": [ "*/*" ], - "description": "list or watch objects of kind ClusterCIDR", - "operationId": "listClusterCIDR", + "description": "list or watch objects of kind IPAddress", + "operationId": "listIPAddress", "parameters": [ { "description": "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.", @@ -70811,7 +71025,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.ClusterCIDRList" + "$ref": "#/definitions/v1alpha1.IPAddressList" } }, "401": { @@ -70827,13 +71041,13 @@ "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "ClusterCIDR", + "kind": "IPAddress", "version": "v1alpha1" } }, "parameters": [ { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -70844,15 +71058,15 @@ "consumes": [ "*/*" ], - "description": "create a ClusterCIDR", - "operationId": "createClusterCIDR", + "description": "create an IPAddress", + "operationId": "createIPAddress", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.ClusterCIDR" + "$ref": "#/definitions/v1alpha1.IPAddress" } }, { @@ -70886,19 +71100,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.ClusterCIDR" + "$ref": "#/definitions/v1alpha1.IPAddress" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha1.ClusterCIDR" + "$ref": "#/definitions/v1alpha1.IPAddress" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1alpha1.ClusterCIDR" + "$ref": "#/definitions/v1alpha1.IPAddress" } }, "401": { @@ -70914,19 +71128,19 @@ "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "ClusterCIDR", + "kind": "IPAddress", "version": "v1alpha1" }, "x-codegen-request-body-name": "body" } }, - "/apis/networking.k8s.io/v1alpha1/clustercidrs/{name}": { + "/apis/networking.k8s.io/v1alpha1/ipaddresses/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a ClusterCIDR", - "operationId": "deleteClusterCIDR", + "description": "delete an IPAddress", + "operationId": "deleteIPAddress", "parameters": [ { "in": "body", @@ -70995,7 +71209,7 @@ "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "ClusterCIDR", + "kind": "IPAddress", "version": "v1alpha1" }, "x-codegen-request-body-name": "body" @@ -71004,8 +71218,8 @@ "consumes": [ "*/*" ], - "description": "read the specified ClusterCIDR", - "operationId": "readClusterCIDR", + "description": "read the specified IPAddress", + "operationId": "readIPAddress", "produces": [ "application/json", "application/yaml", @@ -71015,7 +71229,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.ClusterCIDR" + "$ref": "#/definitions/v1alpha1.IPAddress" } }, "401": { @@ -71031,13 +71245,13 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "ClusterCIDR", + "kind": "IPAddress", "version": "v1alpha1" } }, "parameters": [ { - "description": "name of the ClusterCIDR", + "description": "name of the IPAddress", "in": "path", "name": "name", "required": true, @@ -71045,7 +71259,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -71059,8 +71273,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified ClusterCIDR", - "operationId": "patchClusterCIDR", + "description": "partially update the specified IPAddress", + "operationId": "patchIPAddress", "parameters": [ { "in": "body", @@ -71109,13 +71323,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.ClusterCIDR" + "$ref": "#/definitions/v1alpha1.IPAddress" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha1.ClusterCIDR" + "$ref": "#/definitions/v1alpha1.IPAddress" } }, "401": { @@ -71131,7 +71345,7 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "ClusterCIDR", + "kind": "IPAddress", "version": "v1alpha1" }, "x-codegen-request-body-name": "body" @@ -71140,15 +71354,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified ClusterCIDR", - "operationId": "replaceClusterCIDR", + "description": "replace the specified IPAddress", + "operationId": "replaceIPAddress", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.ClusterCIDR" + "$ref": "#/definitions/v1alpha1.IPAddress" } }, { @@ -71182,13 +71396,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.ClusterCIDR" + "$ref": "#/definitions/v1alpha1.IPAddress" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha1.ClusterCIDR" + "$ref": "#/definitions/v1alpha1.IPAddress" } }, "401": { @@ -71204,19 +71418,19 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "ClusterCIDR", + "kind": "IPAddress", "version": "v1alpha1" }, "x-codegen-request-body-name": "body" } }, - "/apis/networking.k8s.io/v1alpha1/ipaddresses": { + "/apis/networking.k8s.io/v1alpha1/servicecidrs": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of IPAddress", - "operationId": "deleteCollectionIPAddress", + "description": "delete collection of ServiceCIDR", + "operationId": "deleteCollectionServiceCIDR", "parameters": [ { "in": "body", @@ -71335,7 +71549,7 @@ "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "IPAddress", + "kind": "ServiceCIDR", "version": "v1alpha1" }, "x-codegen-request-body-name": "body" @@ -71344,8 +71558,8 @@ "consumes": [ "*/*" ], - "description": "list or watch objects of kind IPAddress", - "operationId": "listIPAddress", + "description": "list or watch objects of kind ServiceCIDR", + "operationId": "listServiceCIDR", "parameters": [ { "description": "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.", @@ -71429,7 +71643,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.IPAddressList" + "$ref": "#/definitions/v1alpha1.ServiceCIDRList" } }, "401": { @@ -71445,13 +71659,13 @@ "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "IPAddress", + "kind": "ServiceCIDR", "version": "v1alpha1" } }, "parameters": [ { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -71462,15 +71676,15 @@ "consumes": [ "*/*" ], - "description": "create an IPAddress", - "operationId": "createIPAddress", + "description": "create a ServiceCIDR", + "operationId": "createServiceCIDR", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.IPAddress" + "$ref": "#/definitions/v1alpha1.ServiceCIDR" } }, { @@ -71504,19 +71718,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.IPAddress" + "$ref": "#/definitions/v1alpha1.ServiceCIDR" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha1.IPAddress" + "$ref": "#/definitions/v1alpha1.ServiceCIDR" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1alpha1.IPAddress" + "$ref": "#/definitions/v1alpha1.ServiceCIDR" } }, "401": { @@ -71532,19 +71746,19 @@ "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "IPAddress", + "kind": "ServiceCIDR", "version": "v1alpha1" }, "x-codegen-request-body-name": "body" } }, - "/apis/networking.k8s.io/v1alpha1/ipaddresses/{name}": { + "/apis/networking.k8s.io/v1alpha1/servicecidrs/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete an IPAddress", - "operationId": "deleteIPAddress", + "description": "delete a ServiceCIDR", + "operationId": "deleteServiceCIDR", "parameters": [ { "in": "body", @@ -71613,7 +71827,7 @@ "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "IPAddress", + "kind": "ServiceCIDR", "version": "v1alpha1" }, "x-codegen-request-body-name": "body" @@ -71622,8 +71836,8 @@ "consumes": [ "*/*" ], - "description": "read the specified IPAddress", - "operationId": "readIPAddress", + "description": "read the specified ServiceCIDR", + "operationId": "readServiceCIDR", "produces": [ "application/json", "application/yaml", @@ -71633,7 +71847,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.IPAddress" + "$ref": "#/definitions/v1alpha1.ServiceCIDR" } }, "401": { @@ -71649,13 +71863,13 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "IPAddress", + "kind": "ServiceCIDR", "version": "v1alpha1" } }, "parameters": [ { - "description": "name of the IPAddress", + "description": "name of the ServiceCIDR", "in": "path", "name": "name", "required": true, @@ -71663,7 +71877,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -71677,8 +71891,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified IPAddress", - "operationId": "patchIPAddress", + "description": "partially update the specified ServiceCIDR", + "operationId": "patchServiceCIDR", "parameters": [ { "in": "body", @@ -71727,13 +71941,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.IPAddress" + "$ref": "#/definitions/v1alpha1.ServiceCIDR" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha1.IPAddress" + "$ref": "#/definitions/v1alpha1.ServiceCIDR" } }, "401": { @@ -71749,7 +71963,7 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "IPAddress", + "kind": "ServiceCIDR", "version": "v1alpha1" }, "x-codegen-request-body-name": "body" @@ -71758,15 +71972,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified IPAddress", - "operationId": "replaceIPAddress", + "description": "replace the specified ServiceCIDR", + "operationId": "replaceServiceCIDR", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.IPAddress" + "$ref": "#/definitions/v1alpha1.ServiceCIDR" } }, { @@ -71800,13 +72014,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.IPAddress" + "$ref": "#/definitions/v1alpha1.ServiceCIDR" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha1.IPAddress" + "$ref": "#/definitions/v1alpha1.ServiceCIDR" } }, "401": { @@ -71822,13 +72036,224 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "IPAddress", + "kind": "ServiceCIDR", + "version": "v1alpha1" + }, + "x-codegen-request-body-name": "body" + } + }, + "/apis/networking.k8s.io/v1alpha1/servicecidrs/{name}/status": { + "get": { + "consumes": [ + "*/*" + ], + "description": "read status of the specified ServiceCIDR", + "operationId": "readServiceCIDRStatus", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.ServiceCIDR" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "networking_v1alpha1" + ], + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "ServiceCIDR", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "description": "name of the ServiceCIDR", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "patch": { + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update status of the specified ServiceCIDR", + "operationId": "patchServiceCIDRStatus", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "description": "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", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.ServiceCIDR" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1alpha1.ServiceCIDR" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "networking_v1alpha1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "ServiceCIDR", + "version": "v1alpha1" + }, + "x-codegen-request-body-name": "body" + }, + "put": { + "consumes": [ + "*/*" + ], + "description": "replace status of the specified ServiceCIDR", + "operationId": "replaceServiceCIDRStatus", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1alpha1.ServiceCIDR" + } + }, + { + "description": "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", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.ServiceCIDR" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1alpha1.ServiceCIDR" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "networking_v1alpha1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "ServiceCIDR", "version": "v1alpha1" }, "x-codegen-request-body-name": "body" } }, - "/apis/networking.k8s.io/v1alpha1/watch/clustercidrs": { + "/apis/networking.k8s.io/v1alpha1/watch/ipaddresses": { "parameters": [ { "description": "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.", @@ -71866,7 +72291,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -71909,7 +72334,7 @@ } ] }, - "/apis/networking.k8s.io/v1alpha1/watch/clustercidrs/{name}": { + "/apis/networking.k8s.io/v1alpha1/watch/ipaddresses/{name}": { "parameters": [ { "description": "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.", @@ -71947,7 +72372,7 @@ "uniqueItems": true }, { - "description": "name of the ClusterCIDR", + "description": "name of the IPAddress", "in": "path", "name": "name", "required": true, @@ -71955,7 +72380,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -71998,7 +72423,7 @@ } ] }, - "/apis/networking.k8s.io/v1alpha1/watch/ipaddresses": { + "/apis/networking.k8s.io/v1alpha1/watch/servicecidrs": { "parameters": [ { "description": "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.", @@ -72036,7 +72461,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -72079,7 +72504,7 @@ } ] }, - "/apis/networking.k8s.io/v1alpha1/watch/ipaddresses/{name}": { + "/apis/networking.k8s.io/v1alpha1/watch/servicecidrs/{name}": { "parameters": [ { "description": "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.", @@ -72117,7 +72542,7 @@ "uniqueItems": true }, { - "description": "name of the IPAddress", + "description": "name of the ServiceCIDR", "in": "path", "name": "name", "required": true, @@ -72125,7 +72550,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -72475,7 +72900,7 @@ }, "parameters": [ { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -72687,7 +73112,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -72890,7 +73315,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -72979,7 +73404,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -73337,7 +73762,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -73557,7 +73982,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -73776,7 +74201,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -74016,7 +74441,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -74105,7 +74530,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -74202,7 +74627,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -74283,7 +74708,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -74633,7 +75058,7 @@ }, "parameters": [ { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -74845,7 +75270,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -75251,7 +75676,7 @@ }, "parameters": [ { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -75463,7 +75888,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -75877,7 +76302,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -76097,7 +76522,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -76511,7 +76936,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -76731,7 +77156,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -76971,7 +77396,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -77089,7 +77514,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -77170,7 +77595,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -77259,7 +77684,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -77340,7 +77765,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -77429,7 +77854,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -77518,7 +77943,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -77615,7 +78040,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -77704,7 +78129,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -77801,7 +78226,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -77882,7 +78307,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -77963,7 +78388,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -78321,7 +78746,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -78541,7 +78966,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -78760,7 +79185,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -79174,7 +79599,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -79394,226 +79819,226 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true - } - ], - "patch": { - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json", - "application/apply-patch+yaml" - ], - "description": "partially update the specified ResourceClaim", - "operationId": "patchNamespacedResourceClaim", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" - } - }, - { - "description": "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", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - }, - { - "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", - "in": "query", - "name": "force", - "type": "boolean", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaim" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaim" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClaim", - "version": "v1alpha2" - }, - "x-codegen-request-body-name": "body" - }, - "put": { - "consumes": [ - "*/*" - ], - "description": "replace the specified ResourceClaim", - "operationId": "replaceNamespacedResourceClaim", - "parameters": [ - { - "in": "body", - "name": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaim" - } - }, - { - "description": "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", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", - "in": "query", - "name": "fieldManager", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", - "in": "query", - "name": "fieldValidation", - "type": "string", - "uniqueItems": true - } - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaim" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaim" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClaim", - "version": "v1alpha2" - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaims/{name}/status": { - "get": { - "consumes": [ - "*/*" - ], - "description": "read status of the specified ResourceClaim", - "operationId": "readNamespacedResourceClaimStatus", - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha2.ResourceClaim" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "resource_v1alpha2" - ], - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "resource.k8s.io", - "kind": "ResourceClaim", - "version": "v1alpha2" - } - }, - "parameters": [ - { - "description": "name of the ResourceClaim", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "patch": { + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update the specified ResourceClaim", + "operationId": "patchNamespacedResourceClaim", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "description": "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", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha2.ResourceClaim" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1alpha2.ResourceClaim" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "resource_v1alpha2" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "resource.k8s.io", + "kind": "ResourceClaim", + "version": "v1alpha2" + }, + "x-codegen-request-body-name": "body" + }, + "put": { + "consumes": [ + "*/*" + ], + "description": "replace the specified ResourceClaim", + "operationId": "replaceNamespacedResourceClaim", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1alpha2.ResourceClaim" + } + }, + { + "description": "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", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha2.ResourceClaim" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1alpha2.ResourceClaim" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "resource_v1alpha2" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "resource.k8s.io", + "kind": "ResourceClaim", + "version": "v1alpha2" + }, + "x-codegen-request-body-name": "body" + } + }, + "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaims/{name}/status": { + "get": { + "consumes": [ + "*/*" + ], + "description": "read status of the specified ResourceClaim", + "operationId": "readNamespacedResourceClaimStatus", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha2.ResourceClaim" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "resource_v1alpha2" + ], + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "resource.k8s.io", + "kind": "ResourceClaim", + "version": "v1alpha2" + } + }, + "parameters": [ + { + "description": "name of the ResourceClaim", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -80027,7 +80452,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -80247,7 +80672,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -80487,7 +80912,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -80605,7 +81030,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -80723,7 +81148,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -81007,7 +81432,7 @@ }, "parameters": [ { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -81219,7 +81644,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -81430,7 +81855,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -81527,7 +81952,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -81616,7 +82041,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -81713,7 +82138,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -81802,7 +82227,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -81899,7 +82324,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -81980,7 +82405,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -82061,7 +82486,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -82142,7 +82567,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -82223,7 +82648,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -82312,7 +82737,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -82662,7 +83087,7 @@ }, "parameters": [ { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -82874,7 +83299,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -83077,7 +83502,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -83166,7 +83591,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -83516,7 +83941,7 @@ }, "parameters": [ { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -83728,7 +84153,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -84134,7 +84559,7 @@ }, "parameters": [ { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -84346,7 +84771,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -84586,7 +85011,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -84878,7 +85303,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -85098,7 +85523,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -85504,7 +85929,7 @@ }, "parameters": [ { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -85716,7 +86141,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -86122,7 +86547,7 @@ }, "parameters": [ { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -86334,7 +86759,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -86545,7 +86970,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -86748,7 +87173,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -86837,7 +87262,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -86918,7 +87343,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -87007,7 +87432,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -87088,7 +87513,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -87177,7 +87602,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -87274,7 +87699,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -87355,7 +87780,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -87444,7 +87869,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -87525,7 +87950,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -87614,7 +88039,7 @@ "uniqueItems": true }, { - "description": "If 'true', then the output is pretty printed.", + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -87657,63 +88082,25 @@ } ] }, - "/logs/": { - "get": { - "operationId": "logFileListHandler", - "responses": { - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "logs" - ] - } - }, - "/logs/{logpath}": { - "get": { - "operationId": "logFileHandler", - "responses": { - "401": { - "description": "Unauthorized" - } - }, - "schemes": [ - "https" - ], - "tags": [ - "logs" - ] - }, - "parameters": [ - { - "description": "path to the log", - "in": "path", - "name": "logpath", - "required": true, - "type": "string", - "uniqueItems": true - } - ] - }, - "/version/": { + "/apis/storage.k8s.io/v1alpha1/": { "get": { "consumes": [ - "application/json" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], - "description": "get the code version", - "operationId": "getCode", + "description": "get available resources", + "operationId": "getAPIResources", "produces": [ - "application/json" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/version.Info" + "$ref": "#/definitions/v1.APIResourceList" } }, "401": { @@ -87724,144 +88111,188 @@ "https" ], "tags": [ - "version" + "storage_v1alpha1" ] } }, - "/apis/{group}/{version}": { - "parameters": [ - { - "name": "group", - "in": "path", - "required": true, - "description": "The custom resource's group name", - "type": "string" - }, - { - "name": "version", - "in": "path", - "required": true, - "description": "The custom resource's version", - "type": "string" - } - ], - "get": { - "operationId": "getAPIResources", - "description": "get available resources", - "tags": [ - "custom_objects" - ], + "/apis/storage.k8s.io/v1alpha1/volumeattributesclasses": { + "delete": { "consumes": [ "*/*" ], - "produces": [ - "application/json" + "description": "delete collection of VolumeAttributesClass", + "operationId": "deleteCollectionVolumeAttributesClass", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "description": "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\".\n\nThis 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.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "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", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "in": "query", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "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.\n\nThe 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.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "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.", + "in": "query", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + } ], - "schemes": [ - "https" + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.APIResourceList" + "$ref": "#/definitions/v1.Status" } }, "401": { "description": "Unauthorized" } - } - } - }, - "/apis/{group}/{version}/{plural}": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "name": "group", - "in": "path", - "required": true, - "description": "The custom resource's group name", - "type": "string" - }, - { - "name": "version", - "in": "path", - "required": true, - "description": "The custom resource's version", - "type": "string" }, - { - "name": "plural", - "in": "path", - "required": true, - "description": "The custom resource's plural name. For TPRs this would be lowercase plural kind.", - "type": "string" - } - ], - "get": { - "operationId": "listClusterCustomObject", - "description": "list or watch cluster scoped custom objects", + "schemes": [ + "https" + ], "tags": [ - "custom_objects" + "storage_v1alpha1" ], + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttributesClass", + "version": "v1alpha1" + }, + "x-codegen-request-body-name": "body" + }, + "get": { "consumes": [ "*/*" ], - "produces": [ - "application/json", - "application/json;stream=watch" - ], - "schemes": [ - "https" - ], + "description": "list or watch objects of kind VolumeAttributesClass", + "operationId": "listVolumeAttributesClass", "parameters": [ { - "description": "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.", + "description": "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.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", "uniqueItems": true }, { - "uniqueItems": true, - "type": "string", "description": "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\".\n\nThis 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.", + "in": "query", "name": "continue", - "in": "query" + "type": "string", + "uniqueItems": true }, { - "uniqueItems": true, - "type": "string", "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", "name": "fieldSelector", - "in": "query" + "type": "string", + "uniqueItems": true }, { - "uniqueItems": true, - "type": "string", "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", "name": "labelSelector", - "in": "query" + "type": "string", + "uniqueItems": true }, { - "uniqueItems": true, - "type": "integer", "description": "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.\n\nThe 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.", + "in": "query", "name": "limit", - "in": "query" + "type": "integer", + "uniqueItems": true }, { - "uniqueItems": true, - "type": "string", - "description": "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.", + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", "name": "resourceVersion", - "in": "query" + "type": "string", + "uniqueItems": true }, { "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", @@ -87871,35 +88302,1111 @@ "uniqueItems": true }, { - "uniqueItems": true, - "type": "integer", + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", "name": "timeoutSeconds", - "in": "query" + "type": "integer", + "uniqueItems": true }, { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", "name": "watch", - "uniqueItems": true, "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications.", - "in": "query" + "uniqueItems": true } ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], "responses": { "200": { "description": "OK", "schema": { - "type": "object" + "$ref": "#/definitions/v1alpha1.VolumeAttributesClassList" } }, "401": { "description": "Unauthorized" } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1alpha1" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttributesClass", + "version": "v1alpha1" } }, + "parameters": [ + { + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], "post": { - "operationId": "createClusterCustomObject", - "description": "Creates a cluster scoped Custom object", + "consumes": [ + "*/*" + ], + "description": "create a VolumeAttributesClass", + "operationId": "createVolumeAttributesClass", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1alpha1.VolumeAttributesClass" + } + }, + { + "description": "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", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.VolumeAttributesClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1alpha1.VolumeAttributesClass" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1alpha1.VolumeAttributesClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1alpha1" + ], + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttributesClass", + "version": "v1alpha1" + }, + "x-codegen-request-body-name": "body" + } + }, + "/apis/storage.k8s.io/v1alpha1/volumeattributesclasses/{name}": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete a VolumeAttributesClass", + "operationId": "deleteVolumeAttributesClass", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "description": "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", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "in": "query", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "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.", + "in": "query", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "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. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.VolumeAttributesClass" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1alpha1.VolumeAttributesClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1alpha1" + ], + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttributesClass", + "version": "v1alpha1" + }, + "x-codegen-request-body-name": "body" + }, + "get": { + "consumes": [ + "*/*" + ], + "description": "read the specified VolumeAttributesClass", + "operationId": "readVolumeAttributesClass", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.VolumeAttributesClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1alpha1" + ], + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttributesClass", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "description": "name of the VolumeAttributesClass", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "patch": { + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update the specified VolumeAttributesClass", + "operationId": "patchVolumeAttributesClass", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "description": "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", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.VolumeAttributesClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1alpha1.VolumeAttributesClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1alpha1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttributesClass", + "version": "v1alpha1" + }, + "x-codegen-request-body-name": "body" + }, + "put": { + "consumes": [ + "*/*" + ], + "description": "replace the specified VolumeAttributesClass", + "operationId": "replaceVolumeAttributesClass", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1alpha1.VolumeAttributesClass" + } + }, + { + "description": "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", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.VolumeAttributesClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1alpha1.VolumeAttributesClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1alpha1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttributesClass", + "version": "v1alpha1" + }, + "x-codegen-request-body-name": "body" + } + }, + "/apis/storage.k8s.io/v1alpha1/watch/volumeattributesclasses": { + "parameters": [ + { + "description": "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.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "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\".\n\nThis 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.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "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.\n\nThe 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.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/storage.k8s.io/v1alpha1/watch/volumeattributesclasses/{name}": { + "parameters": [ + { + "description": "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.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "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\".\n\nThis 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.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "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.\n\nThe 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.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the VolumeAttributesClass", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.", + "in": "query", + "name": "sendInitialEvents", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/logs/": { + "get": { + "operationId": "logFileListHandler", + "responses": { + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "logs" + ] + } + }, + "/logs/{logpath}": { + "get": { + "operationId": "logFileHandler", + "responses": { + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "logs" + ] + }, + "parameters": [ + { + "description": "path to the log", + "in": "path", + "name": "logpath", + "required": true, + "type": "string", + "uniqueItems": true + } + ] + }, + "/version/": { + "get": { + "consumes": [ + "application/json" + ], + "description": "get the code version", + "operationId": "getCode", + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/version.Info" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "version" + ] + } + }, + "/apis/{group}/{version}": { + "parameters": [ + { + "name": "group", + "in": "path", + "required": true, + "description": "The custom resource's group name", + "type": "string" + }, + { + "name": "version", + "in": "path", + "required": true, + "description": "The custom resource's version", + "type": "string" + } + ], + "get": { + "operationId": "getAPIResources", + "description": "get available resources", + "tags": [ + "custom_objects" + ], + "consumes": [ + "*/*" + ], + "produces": [ + "application/json" + ], + "schemes": [ + "https" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/{group}/{version}/{plural}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "name": "group", + "in": "path", + "required": true, + "description": "The custom resource's group name", + "type": "string" + }, + { + "name": "version", + "in": "path", + "required": true, + "description": "The custom resource's version", + "type": "string" + }, + { + "name": "plural", + "in": "path", + "required": true, + "description": "The custom resource's plural name. For TPRs this would be lowercase plural kind.", + "type": "string" + } + ], + "get": { + "operationId": "listClusterCustomObject", + "description": "list or watch cluster scoped custom objects", + "tags": [ + "custom_objects" + ], + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/json;stream=watch" + ], + "schemes": [ + "https" + ], + "parameters": [ + { + "description": "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.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "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\".\n\nThis 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.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "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.\n\nThe 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.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "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.", + "name": "resourceVersion", + "in": "query" + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "name": "watch", + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications.", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "object" + } + }, + "401": { + "description": "Unauthorized" + } + } + }, + "post": { + "operationId": "createClusterCustomObject", + "description": "Creates a cluster scoped Custom object", + "produces": [ + "application/json" + ], + "schemes": [ + "https" + ], + "tags": [ + "custom_objects" + ], + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "description": "The JSON schema of the Resource to create.", + "schema": { + "type": "object" + } + }, + { + "description": "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", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional)", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + } + ], + "responses": { + "201": { + "description": "Created", + "schema": { + "type": "object" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-codegen-request-body-name": "body" + }, + "delete": { + "operationId": "deleteCollectionClusterCustomObject", + "description": "Delete collection of cluster scoped custom objects", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json" + ], + "schemes": [ + "https" + ], + "tags": [ + "custom_objects" + ], + "parameters": [ + { + "name": "body", + "in": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "name": "gracePeriodSeconds", + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "in": "query" + }, + { + "name": "orphanDependents", + "uniqueItems": true, + "type": "boolean", + "description": "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.", + "in": "query" + }, + { + "name": "propagationPolicy", + "uniqueItems": true, + "type": "string", + "description": "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.", + "in": "query" + }, + { + "description": "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", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "object" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-codegen-request-body-name": "body" + } + }, + "/apis/{group}/{version}/namespaces/{namespace}/{plural}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "name": "group", + "in": "path", + "required": true, + "description": "The custom resource's group name", + "type": "string" + }, + { + "name": "version", + "in": "path", + "required": true, + "description": "The custom resource's version", + "type": "string" + }, + { + "name": "namespace", + "in": "path", + "required": true, + "description": "The custom resource's namespace", + "type": "string" + }, + { + "name": "plural", + "in": "path", + "required": true, + "description": "The custom resource's plural name. For TPRs this would be lowercase plural kind.", + "type": "string" + } + ], + "get": { + "operationId": "listNamespacedCustomObject", + "description": "list or watch namespace scoped custom objects", + "tags": [ + "custom_objects" + ], + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/json;stream=watch" + ], + "schemes": [ + "https" + ], + "parameters": [ + { + "description": "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.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "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\".\n\nThis 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.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "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.\n\nThe 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.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "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.", + "name": "resourceVersion", + "in": "query" + }, + { + "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", + "in": "query", + "name": "resourceVersionMatch", + "type": "string", + "uniqueItems": true + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "name": "watch", + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications.", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "object" + } + }, + "401": { + "description": "Unauthorized" + } + } + }, + "post": { + "operationId": "createNamespacedCustomObject", + "description": "Creates a namespace scoped Custom object", "produces": [ "application/json" ], @@ -87927,256 +89434,16 @@ "uniqueItems": true }, { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", "in": "query", "name": "fieldManager", "type": "string", "uniqueItems": true - } - ], - "responses": { - "201": { - "description": "Created", - "schema": { - "type": "object" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-codegen-request-body-name": "body" - }, - "delete": { - "operationId": "deleteCollectionClusterCustomObject", - "description": "Delete collection of cluster scoped custom objects", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json" - ], - "schemes": [ - "https" - ], - "tags": [ - "custom_objects" - ], - "parameters": [ - { - "name": "body", - "in": "body", - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "name": "gracePeriodSeconds", - "uniqueItems": true, - "type": "integer", - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "in": "query" - }, - { - "name": "orphanDependents", - "uniqueItems": true, - "type": "boolean", - "description": "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.", - "in": "query" - }, - { - "name": "propagationPolicy", - "uniqueItems": true, - "type": "string", - "description": "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.", - "in": "query" - }, - { - "description": "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", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "object" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-codegen-request-body-name": "body" - } - }, - "/apis/{group}/{version}/namespaces/{namespace}/{plural}": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "name": "group", - "in": "path", - "required": true, - "description": "The custom resource's group name", - "type": "string" - }, - { - "name": "version", - "in": "path", - "required": true, - "description": "The custom resource's version", - "type": "string" - }, - { - "name": "namespace", - "in": "path", - "required": true, - "description": "The custom resource's namespace", - "type": "string" - }, - { - "name": "plural", - "in": "path", - "required": true, - "description": "The custom resource's plural name. For TPRs this would be lowercase plural kind.", - "type": "string" - } - ], - "get": { - "operationId": "listNamespacedCustomObject", - "description": "list or watch namespace scoped custom objects", - "tags": [ - "custom_objects" - ], - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/json;stream=watch" - ], - "schemes": [ - "https" - ], - "parameters": [ - { - "description": "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.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "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\".\n\nThis 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.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "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.\n\nThe 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.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "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.", - "name": "resourceVersion", - "in": "query" - }, - { - "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset", - "in": "query", - "name": "resourceVersionMatch", - "type": "string", - "uniqueItems": true - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "name": "timeoutSeconds", - "in": "query" }, { - "name": "watch", - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications.", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "object" - } - }, - "401": { - "description": "Unauthorized" - } - } - }, - "post": { - "operationId": "createNamespacedCustomObject", - "description": "Creates a namespace scoped Custom object", - "produces": [ - "application/json" - ], - "schemes": [ - "https" - ], - "tags": [ - "custom_objects" - ], - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "description": "The JSON schema of the Resource to create.", - "schema": { - "type": "object" - } - }, - { - "description": "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", - "in": "query", - "name": "dryRun", - "type": "string", - "uniqueItems": true - }, - { - "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional)", "in": "query", - "name": "fieldManager", + "name": "fieldValidation", "type": "string", "uniqueItems": true } @@ -88217,6 +89484,13 @@ "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, { "name": "gracePeriodSeconds", "uniqueItems": true, @@ -88423,6 +89697,13 @@ "type": "string", "uniqueItems": true }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional)", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + }, { "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", "in": "query", @@ -88482,6 +89763,13 @@ "name": "fieldManager", "type": "string", "uniqueItems": true + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional)", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true } ], "responses": { @@ -88597,6 +89885,13 @@ "name": "fieldManager", "type": "string", "uniqueItems": true + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional)", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true } ], "responses": { @@ -88660,6 +89955,13 @@ "type": "string", "uniqueItems": true }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional)", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + }, { "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", "in": "query", @@ -88781,6 +90083,13 @@ "name": "fieldManager", "type": "string", "uniqueItems": true + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional)", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true } ], "responses": { @@ -88844,6 +90153,13 @@ "type": "string", "uniqueItems": true }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional)", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + }, { "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", "in": "query", @@ -89036,6 +90352,13 @@ "type": "string", "uniqueItems": true }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional)", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + }, { "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", "in": "query", @@ -89095,6 +90418,13 @@ "name": "fieldManager", "type": "string", "uniqueItems": true + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional)", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true } ], "responses": { @@ -89217,6 +90547,13 @@ "name": "fieldManager", "type": "string", "uniqueItems": true + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional)", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true } ], "responses": { @@ -89281,6 +90618,13 @@ "type": "string", "uniqueItems": true }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional)", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + }, { "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", "in": "query", @@ -89409,6 +90753,13 @@ "name": "fieldManager", "type": "string", "uniqueItems": true + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional)", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true } ], "responses": { @@ -89473,6 +90824,13 @@ "type": "string", "uniqueItems": true }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered. (optional)", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + }, { "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", "in": "query", diff --git a/kubernetes/swagger.json.unprocessed b/kubernetes/swagger.json.unprocessed index 73fdfae1..58c12b04 100644 --- a/kubernetes/swagger.json.unprocessed +++ b/kubernetes/swagger.json.unprocessed @@ -4239,7 +4239,7 @@ "type": "integer" }, "backoffLimitPerIndex": { - "description": "Specifies the limit for the number of retries within an index before marking this index as failed. When enabled the number of failures per index is kept in the pod's batch.kubernetes.io/job-index-failure-count annotation. It can only be set when Job's completionMode=Indexed, and the Pod's restart policy is Never. The field is immutable. This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default).", + "description": "Specifies the limit for the number of retries within an index before marking this index as failed. When enabled the number of failures per index is kept in the pod's batch.kubernetes.io/job-index-failure-count annotation. It can only be set when Job's completionMode=Indexed, and the Pod's restart policy is Never. The field is immutable. This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).", "format": "int32", "type": "integer" }, @@ -4257,7 +4257,7 @@ "type": "boolean" }, "maxFailedIndexes": { - "description": "Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set. Once the number of failed indexes exceeds this number the entire Job is marked as Failed and its execution is terminated. When left as null the job continues execution of all of its indexes and is marked with the `Complete` Job condition. It can only be specified when backoffLimitPerIndex is set. It can be null or up to completions. It is required and must be less than or equal to 10^4 when is completions greater than 10^5. This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default).", + "description": "Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set. Once the number of failed indexes exceeds this number the entire Job is marked as Failed and its execution is terminated. When left as null the job continues execution of all of its indexes and is marked with the `Complete` Job condition. It can only be specified when backoffLimitPerIndex is set. It can be null or up to completions. It is required and must be less than or equal to 10^4 when is completions greater than 10^5. This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).", "format": "int32", "type": "integer" }, @@ -4271,7 +4271,7 @@ "description": "Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure.\n\nThis field is beta-level. It can be used when the `JobPodFailurePolicy` feature gate is enabled (enabled by default)." }, "podReplacementPolicy": { - "description": "podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods\n when they are terminating (has a metadata.deletionTimestamp) or failed.\n- Failed means to wait until a previously created Pod is fully terminated (has phase\n Failed or Succeeded) before creating a replacement Pod.\n\nWhen using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is an alpha field. Enable JobPodReplacementPolicy to be able to use this field.", + "description": "podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods\n when they are terminating (has a metadata.deletionTimestamp) or failed.\n- Failed means to wait until a previously created Pod is fully terminated (has phase\n Failed or Succeeded) before creating a replacement Pod.\n\nWhen using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is an beta field. To use this, enable the JobPodReplacementPolicy feature toggle. This is on by default.", "type": "string" }, "selector": { @@ -4329,11 +4329,11 @@ "type": "integer" }, "failedIndexes": { - "description": "FailedIndexes holds the failed indexes when backoffLimitPerIndex=true. The indexes are represented in the text format analogous as for the `completedIndexes` field, ie. they are kept as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the failed indexes are 1, 3, 4, 5 and 7, they are represented as \"1,3-5,7\". This field is alpha-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default).", + "description": "FailedIndexes holds the failed indexes when backoffLimitPerIndex=true. The indexes are represented in the text format analogous as for the `completedIndexes` field, ie. they are kept as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the failed indexes are 1, 3, 4, 5 and 7, they are represented as \"1,3-5,7\". This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).", "type": "string" }, "ready": { - "description": "The number of pods which have a Ready condition.\n\nThis field is beta-level. The job controller populates the field when the feature gate JobReadyPods is enabled (enabled by default).", + "description": "The number of pods which have a Ready condition.", "format": "int32", "type": "integer" }, @@ -4347,7 +4347,7 @@ "type": "integer" }, "terminating": { - "description": "The number of pods which are terminating (in phase Pending or Running and have a deletionTimestamp).\n\nThis field is alpha-level. The job controller populates the field when the feature gate JobPodReplacementPolicy is enabled (disabled by default).", + "description": "The number of pods which are terminating (in phase Pending or Running and have a deletionTimestamp).\n\nThis field is beta-level. The job controller populates the field when the feature gate JobPodReplacementPolicy is enabled (enabled by default).", "format": "int32", "type": "integer" }, @@ -4438,7 +4438,7 @@ "description": "PodFailurePolicyRule describes how a pod failure is handled when the requirements are met. One of onExitCodes and onPodConditions, but not both, can be used in each rule.", "properties": { "action": { - "description": "Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:\n\n- FailJob: indicates that the pod's job is marked as Failed and all\n running pods are terminated.\n- FailIndex: indicates that the pod's index is marked as Failed and will\n not be restarted.\n This value is alpha-level. It can be used when the\n `JobBackoffLimitPerIndex` feature gate is enabled (disabled by default).\n- Ignore: indicates that the counter towards the .backoffLimit is not\n incremented and a replacement pod is created.\n- Count: indicates that the pod is handled in the default way - the\n counter towards the .backoffLimit is incremented.\nAdditional values are considered to be added in the future. Clients should react to an unknown action by skipping the rule.", + "description": "Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:\n\n- FailJob: indicates that the pod's job is marked as Failed and all\n running pods are terminated.\n- FailIndex: indicates that the pod's index is marked as Failed and will\n not be restarted.\n This value is beta-level. It can be used when the\n `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).\n- Ignore: indicates that the counter towards the .backoffLimit is not\n incremented and a replacement pod is created.\n- Count: indicates that the pod is handled in the default way - the\n counter towards the .backoffLimit is incremented.\nAdditional values are considered to be added in the future. Clients should react to an unknown action by skipping the rule.", "type": "string" }, "onExitCodes": { @@ -5039,7 +5039,7 @@ }, "nodeExpandSecretRef": { "$ref": "#/definitions/io.k8s.api.core.v1.SecretReference", - "description": "nodeExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeExpandVolume call. This is a beta field which is enabled default by CSINodeExpandSecret feature gate. This field is optional, may be omitted if no secret is required. If the secret object contains more than one secret, all secrets are passed." + "description": "nodeExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeExpandVolume call. This field is optional, may be omitted if no secret is required. If the secret object contains more than one secret, all secrets are passed." }, "nodePublishSecretRef": { "$ref": "#/definitions/io.k8s.api.core.v1.SecretReference", @@ -5270,6 +5270,35 @@ }, "type": "object" }, + "io.k8s.api.core.v1.ClusterTrustBundleProjection": { + "description": "ClusterTrustBundleProjection describes how to select a set of ClusterTrustBundle objects and project their contents into the pod filesystem.", + "properties": { + "labelSelector": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", + "description": "Select all ClusterTrustBundles that match this label selector. Only has effect if signerName is set. Mutually-exclusive with name. If unset, interpreted as \"match nothing\". If set but empty, interpreted as \"match everything\"." + }, + "name": { + "description": "Select a single ClusterTrustBundle by object name. Mutually-exclusive with signerName and labelSelector.", + "type": "string" + }, + "optional": { + "description": "If true, don't block pod startup if the referenced ClusterTrustBundle(s) aren't available. If using name, then the named ClusterTrustBundle is allowed not to exist. If using signerName, then the combination of signerName and labelSelector is allowed to match zero ClusterTrustBundles.", + "type": "boolean" + }, + "path": { + "description": "Relative path from the volume root to write the bundle.", + "type": "string" + }, + "signerName": { + "description": "Select all ClusterTrustBundles that match this signer name. Mutually-exclusive with name. The contents of all selected ClusterTrustBundles will be unified and deduplicated.", + "type": "string" + } + }, + "required": [ + "path" + ], + "type": "object" + }, "io.k8s.api.core.v1.ComponentCondition": { "description": "Information about the condition of a component.", "properties": { @@ -6025,7 +6054,7 @@ "description": "EndpointPort is a tuple that describes a single port.", "properties": { "appProtocol": { - "description": "The application protocol for this port. This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either:\n\n* Un-prefixed protocol names - reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names).\n\n* Kubernetes-defined prefixed names:\n * 'kubernetes.io/h2c' - HTTP/2 over cleartext as described in https://www.rfc-editor.org/rfc/rfc7540\n * 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455\n * 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455\n\n* Other protocols should use implementation-defined prefixed names such as mycompany.com/my-custom-protocol.", + "description": "The application protocol for this port. This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either:\n\n* Un-prefixed protocol names - reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names).\n\n* Kubernetes-defined prefixed names:\n * 'kubernetes.io/h2c' - HTTP/2 prior knowledge over cleartext as described in https://www.rfc-editor.org/rfc/rfc9113.html#name-starting-http-2-with-prior-\n * 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455\n * 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455\n\n* Other protocols should use implementation-defined prefixed names such as mycompany.com/my-custom-protocol.", "type": "string" }, "name": { @@ -7006,6 +7035,10 @@ "$ref": "#/definitions/io.k8s.api.core.v1.HTTPGetAction", "description": "HTTPGet specifies the http request to perform." }, + "sleep": { + "$ref": "#/definitions/io.k8s.api.core.v1.SleepAction", + "description": "Sleep represents the duration that the container should sleep before being terminated." + }, "tcpSocket": { "$ref": "#/definitions/io.k8s.api.core.v1.TCPSocketAction", "description": "Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified." @@ -7152,6 +7185,10 @@ "description": "IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers)", "type": "string" }, + "ipMode": { + "description": "IPMode specifies how the load-balancer IP behaves, and may only be specified when the ip field is specified. Setting this to \"VIP\" indicates that traffic is delivered to the node with the destination set to the load-balancer's IP and port. Setting this to \"Proxy\" indicates that traffic is delivered to the node or pod with the destination set to the node's IP and node port or the pod's IP and port. Service implementations may use this information to adjust traffic routing.", + "type": "string" + }, "ports": { "description": "Ports is a list of records of service ports If used, every port defined in the service should have an entry in it", "items": { @@ -7204,6 +7241,23 @@ ], "type": "object" }, + "io.k8s.api.core.v1.ModifyVolumeStatus": { + "description": "ModifyVolumeStatus represents the status object of ControllerModifyVolume operation", + "properties": { + "status": { + "description": "status is the status of the ControllerModifyVolume operation. It can be in any of following states:\n - Pending\n Pending indicates that the PersistentVolumeClaim cannot be modified due to unmet requirements, such as\n the specified VolumeAttributesClass not existing.\n - InProgress\n InProgress indicates that the volume is being modified.\n - Infeasible\n Infeasible indicates that the request has been rejected as invalid by the CSI driver. To\n\t resolve the error, a valid VolumeAttributesClass needs to be specified.\nNote: New statuses can be added in the future. Consumers should check for unknown statuses and fail appropriately.", + "type": "string" + }, + "targetVolumeAttributesClassName": { + "description": "targetVolumeAttributesClassName is the name of the VolumeAttributesClass the PVC currently being reconciled", + "type": "string" + } + }, + "required": [ + "status" + ], + "type": "object" + }, "io.k8s.api.core.v1.NFSVolumeSource": { "description": "Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling.", "properties": { @@ -7974,7 +8028,7 @@ "description": "dataSourceRef specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any object from a non-empty API group (non core object) or a PersistentVolumeClaim object. When this field is specified, volume binding will only succeed if the type of the specified object matches some installed volume populator or dynamic provisioner. This field will replace the functionality of the dataSource field and as such if both fields are non-empty, they must have the same value. For backwards compatibility, when namespace isn't specified in dataSourceRef, both fields (dataSource and dataSourceRef) will be set to the same value automatically if one of them is empty and the other is non-empty. When namespace is specified in dataSourceRef, dataSource isn't set to the same value and must be empty. There are three important differences between dataSource and dataSourceRef: * While dataSource only allows two specific types of objects, dataSourceRef\n allows any non-core object, as well as PersistentVolumeClaim objects.\n* While dataSource ignores disallowed values (dropping them), dataSourceRef\n preserves all values, and generates an error if a disallowed value is\n specified.\n* While dataSource only allows local objects, dataSourceRef allows objects\n in any namespaces.\n(Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled. (Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled." }, "resources": { - "$ref": "#/definitions/io.k8s.api.core.v1.ResourceRequirements", + "$ref": "#/definitions/io.k8s.api.core.v1.VolumeResourceRequirements", "description": "resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources" }, "selector": { @@ -7985,6 +8039,10 @@ "description": "storageClassName is the name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1", "type": "string" }, + "volumeAttributesClassName": { + "description": "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it's not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.", + "type": "string" + }, "volumeMode": { "description": "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec.", "type": "string" @@ -8037,6 +8095,14 @@ "x-kubernetes-patch-merge-key": "type", "x-kubernetes-patch-strategy": "merge" }, + "currentVolumeAttributesClassName": { + "description": "currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim This is an alpha field and requires enabling VolumeAttributesClass feature.", + "type": "string" + }, + "modifyVolumeStatus": { + "$ref": "#/definitions/io.k8s.api.core.v1.ModifyVolumeStatus", + "description": "ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. When this is unset, there is no ModifyVolume operation being attempted. This is an alpha field and requires enabling VolumeAttributesClass feature." + }, "phase": { "description": "phase represents the current phase of PersistentVolumeClaim.", "type": "string" @@ -8238,6 +8304,10 @@ "$ref": "#/definitions/io.k8s.api.core.v1.StorageOSPersistentVolumeSource", "description": "storageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://examples.k8s.io/volumes/storageos/README.md" }, + "volumeAttributesClassName": { + "description": "Name of VolumeAttributesClass to which this persistent volume belongs. Empty value is not allowed. When this field is not set, it indicates that this volume does not belong to any VolumeAttributesClass. This field is mutable and can be changed by the CSI driver after a volume has been updated successfully to a new class. For an unbound PersistentVolume, the volumeAttributesClassName will be matched with unbound PersistentVolumeClaims during the binding process. This is an alpha field and requires enabling VolumeAttributesClass feature.", + "type": "string" + }, "volumeMode": { "description": "volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec.", "type": "string" @@ -8346,7 +8416,23 @@ "properties": { "labelSelector": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "A label query over a set of resources, in this case pods." + "description": "A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods." + }, + "matchLabelKeys": { + "description": "MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. Also, MatchLabelKeys cannot be set when LabelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" + }, + "mismatchLabelKeys": { + "description": "MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both MismatchLabelKeys and LabelSelector. Also, MismatchLabelKeys cannot be set when LabelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" }, "namespaceSelector": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", @@ -10256,7 +10342,7 @@ "description": "ServicePort contains information on service's port.", "properties": { "appProtocol": { - "description": "The application protocol for this port. This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either:\n\n* Un-prefixed protocol names - reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names).\n\n* Kubernetes-defined prefixed names:\n * 'kubernetes.io/h2c' - HTTP/2 over cleartext as described in https://www.rfc-editor.org/rfc/rfc7540\n * 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455\n * 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455\n\n* Other protocols should use implementation-defined prefixed names such as mycompany.com/my-custom-protocol.", + "description": "The application protocol for this port. This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either:\n\n* Un-prefixed protocol names - reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names).\n\n* Kubernetes-defined prefixed names:\n * 'kubernetes.io/h2c' - HTTP/2 prior knowledge over cleartext as described in https://www.rfc-editor.org/rfc/rfc9113.html#name-starting-http-2-with-prior-\n * 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455\n * 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455\n\n* Other protocols should use implementation-defined prefixed names such as mycompany.com/my-custom-protocol.", "type": "string" }, "name": { @@ -10431,6 +10517,20 @@ }, "type": "object" }, + "io.k8s.api.core.v1.SleepAction": { + "description": "SleepAction describes a \"sleep\" action.", + "properties": { + "seconds": { + "description": "Seconds is the number of seconds to sleep.", + "format": "int64", + "type": "integer" + } + }, + "required": [ + "seconds" + ], + "type": "object" + }, "io.k8s.api.core.v1.StorageOSPersistentVolumeSource": { "description": "Represents a StorageOS persistent volume resource.", "properties": { @@ -10897,6 +10997,10 @@ "io.k8s.api.core.v1.VolumeProjection": { "description": "Projection that may be projected along with other supported volume types", "properties": { + "clusterTrustBundle": { + "$ref": "#/definitions/io.k8s.api.core.v1.ClusterTrustBundleProjection", + "description": "ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field of ClusterTrustBundle objects in an auto-updating file.\n\nAlpha, gated by the ClusterTrustBundleProjection feature gate.\n\nClusterTrustBundle objects can either be selected by name, or by the combination of signer name and a label selector.\n\nKubelet performs aggressive normalization of the PEM contents written into the pod filesystem. Esoteric PEM features such as inter-block comments and block headers are stripped. Certificates are deduplicated. The ordering of certificates within the file is arbitrary, and Kubelet may change the order over time." + }, "configMap": { "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapProjection", "description": "configMap information about the configMap data to project" @@ -10916,6 +11020,26 @@ }, "type": "object" }, + "io.k8s.api.core.v1.VolumeResourceRequirements": { + "description": "VolumeResourceRequirements describes the storage resource requirements for a volume.", + "properties": { + "limits": { + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + }, + "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object" + }, + "requests": { + "additionalProperties": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity" + }, + "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "type": "object" + } + }, + "type": "object" + }, "io.k8s.api.core.v1.VsphereVirtualDiskVolumeSource": { "description": "Represents a vSphere volume resource.", "properties": { @@ -11066,11 +11190,11 @@ "description": "EndpointPort represents a Port used by an EndpointSlice", "properties": { "appProtocol": { - "description": "The application protocol for this port. This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either:\n\n* Un-prefixed protocol names - reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names).\n\n* Kubernetes-defined prefixed names:\n * 'kubernetes.io/h2c' - HTTP/2 over cleartext as described in https://www.rfc-editor.org/rfc/rfc7540\n * 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455\n * 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455\n\n* Other protocols should use implementation-defined prefixed names such as mycompany.com/my-custom-protocol.", + "description": "The application protocol for this port. This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either:\n\n* Un-prefixed protocol names - reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names).\n\n* Kubernetes-defined prefixed names:\n * 'kubernetes.io/h2c' - HTTP/2 prior knowledge over cleartext as described in https://www.rfc-editor.org/rfc/rfc9113.html#name-starting-http-2-with-prior-\n * 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455\n * 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455\n\n* Other protocols should use implementation-defined prefixed names such as mycompany.com/my-custom-protocol.", "type": "string" }, "name": { - "description": "name represents the name of this port. All ports in an EndpointSlice must have a unique name. If the EndpointSlice is dervied from a Kubernetes service, this corresponds to the Service.ports[].name. Name must either be an empty string or pass DNS_LABEL validation: * must be no more than 63 characters long. * must consist of lower case alphanumeric characters or '-'. * must start and end with an alphanumeric character. Default is empty string.", + "description": "name represents the name of this port. All ports in an EndpointSlice must have a unique name. If the EndpointSlice is derived from a Kubernetes service, this corresponds to the Service.ports[].name. Name must either be an empty string or pass DNS_LABEL validation: * must be no more than 63 characters long. * must consist of lower case alphanumeric characters or '-'. * must start and end with an alphanumeric character. Default is empty string.", "type": "string" }, "port": { @@ -11322,7 +11446,7 @@ ], "type": "object" }, - "io.k8s.api.flowcontrol.v1beta2.ExemptPriorityLevelConfiguration": { + "io.k8s.api.flowcontrol.v1.ExemptPriorityLevelConfiguration": { "description": "ExemptPriorityLevelConfiguration describes the configurable aspects of the handling of exempt requests. In the mandatory exempt configuration object the values in the fields here can be modified by authorized users, unlike the rest of the `spec`.", "properties": { "lendablePercent": { @@ -11338,7 +11462,7 @@ }, "type": "object" }, - "io.k8s.api.flowcontrol.v1beta2.FlowDistinguisherMethod": { + "io.k8s.api.flowcontrol.v1.FlowDistinguisherMethod": { "description": "FlowDistinguisherMethod specifies the method of a flow distinguisher.", "properties": { "type": { @@ -11351,7 +11475,7 @@ ], "type": "object" }, - "io.k8s.api.flowcontrol.v1beta2.FlowSchema": { + "io.k8s.api.flowcontrol.v1.FlowSchema": { "description": "FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a \"flow distinguisher\".", "properties": { "apiVersion": { @@ -11367,11 +11491,11 @@ "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta2.FlowSchemaSpec", + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchemaSpec", "description": "`spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta2.FlowSchemaStatus", + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchemaStatus", "description": "`status` is the current status of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, @@ -11380,11 +11504,11 @@ { "group": "flowcontrol.apiserver.k8s.io", "kind": "FlowSchema", - "version": "v1beta2" + "version": "v1" } ] }, - "io.k8s.api.flowcontrol.v1beta2.FlowSchemaCondition": { + "io.k8s.api.flowcontrol.v1.FlowSchemaCondition": { "description": "FlowSchemaCondition describes conditions for a FlowSchema.", "properties": { "lastTransitionTime": { @@ -11410,7 +11534,7 @@ }, "type": "object" }, - "io.k8s.api.flowcontrol.v1beta2.FlowSchemaList": { + "io.k8s.api.flowcontrol.v1.FlowSchemaList": { "description": "FlowSchemaList is a list of FlowSchema objects.", "properties": { "apiVersion": { @@ -11420,7 +11544,7 @@ "items": { "description": "`items` is a list of FlowSchemas.", "items": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta2.FlowSchema" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" }, "type": "array" }, @@ -11441,15 +11565,15 @@ { "group": "flowcontrol.apiserver.k8s.io", "kind": "FlowSchemaList", - "version": "v1beta2" + "version": "v1" } ] }, - "io.k8s.api.flowcontrol.v1beta2.FlowSchemaSpec": { + "io.k8s.api.flowcontrol.v1.FlowSchemaSpec": { "description": "FlowSchemaSpec describes how the FlowSchema's specification looks like.", "properties": { "distinguisherMethod": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta2.FlowDistinguisherMethod", + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowDistinguisherMethod", "description": "`distinguisherMethod` defines how to compute the flow distinguisher for requests that match this schema. `nil` specifies that the distinguisher is disabled and thus will always be the empty string." }, "matchingPrecedence": { @@ -11458,13 +11582,13 @@ "type": "integer" }, "priorityLevelConfiguration": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta2.PriorityLevelConfigurationReference", + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfigurationReference", "description": "`priorityLevelConfiguration` should reference a PriorityLevelConfiguration in the cluster. If the reference cannot be resolved, the FlowSchema will be ignored and marked as invalid in its status. Required." }, "rules": { "description": "`rules` describes which requests will match this flow schema. This FlowSchema matches a request if and only if at least one member of rules matches the request. if it is an empty slice, there will be no requests matching the FlowSchema.", "items": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta2.PolicyRulesWithSubjects" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PolicyRulesWithSubjects" }, "type": "array", "x-kubernetes-list-type": "atomic" @@ -11475,24 +11599,26 @@ ], "type": "object" }, - "io.k8s.api.flowcontrol.v1beta2.FlowSchemaStatus": { + "io.k8s.api.flowcontrol.v1.FlowSchemaStatus": { "description": "FlowSchemaStatus represents the current state of a FlowSchema.", "properties": { "conditions": { "description": "`conditions` is a list of the current states of FlowSchema.", "items": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta2.FlowSchemaCondition" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchemaCondition" }, "type": "array", "x-kubernetes-list-map-keys": [ "type" ], - "x-kubernetes-list-type": "map" + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" } }, "type": "object" }, - "io.k8s.api.flowcontrol.v1beta2.GroupSubject": { + "io.k8s.api.flowcontrol.v1.GroupSubject": { "description": "GroupSubject holds detailed information for group-kind subject.", "properties": { "name": { @@ -11505,11 +11631,11 @@ ], "type": "object" }, - "io.k8s.api.flowcontrol.v1beta2.LimitResponse": { + "io.k8s.api.flowcontrol.v1.LimitResponse": { "description": "LimitResponse defines how to handle requests that can not be executed right now.", "properties": { "queuing": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta2.QueuingConfiguration", + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.QueuingConfiguration", "description": "`queuing` holds the configuration parameters for queuing. This field may be non-empty only if `type` is `\"Queue\"`." }, "type": { @@ -11530,14 +11656,9 @@ } ] }, - "io.k8s.api.flowcontrol.v1beta2.LimitedPriorityLevelConfiguration": { + "io.k8s.api.flowcontrol.v1.LimitedPriorityLevelConfiguration": { "description": "LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues:\n - How are requests for this priority level limited?\n - What should be done with requests that exceed the limit?", "properties": { - "assuredConcurrencyShares": { - "description": "`assuredConcurrencyShares` (ACS) configures the execution limit, which is a limit on the number of requests of this priority level that may be exeucting at a given time. ACS must be a positive number. The server's concurrency limit (SCL) is divided among the concurrency-controlled priority levels in proportion to their assured concurrency shares. This produces the assured concurrency value (ACV) --- the number of requests that may be executing at a time --- for each such priority level:\n\n ACV(l) = ceil( SCL * ACS(l) / ( sum[priority levels k] ACS(k) ) )\n\nbigger numbers of ACS mean more reserved concurrent requests (at the expense of every other PL). This field has a default value of 30.", - "format": "int32", - "type": "integer" - }, "borrowingLimitPercent": { "description": "`borrowingLimitPercent`, if present, configures a limit on how many seats this priority level can borrow from other priority levels. The limit is known as this level's BorrowingConcurrencyLimit (BorrowingCL) and is a limit on the total number of seats that this level may borrow at any one time. This field holds the ratio of that limit to the level's nominal concurrency limit. When this field is non-nil, it must hold a non-negative integer and the limit is calculated as follows.\n\nBorrowingCL(i) = round( NominalCL(i) * borrowingLimitPercent(i)/100.0 )\n\nThe value of this field can be more than 100, implying that this priority level can borrow a number of seats that is greater than its own nominal concurrency limit (NominalCL). When this field is left `nil`, the limit is effectively infinite.", "format": "int32", @@ -11549,13 +11670,18 @@ "type": "integer" }, "limitResponse": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta2.LimitResponse", + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.LimitResponse", "description": "`limitResponse` indicates what to do with requests that can not be executed right now" + }, + "nominalConcurrencyShares": { + "description": "`nominalConcurrencyShares` (NCS) contributes to the computation of the NominalConcurrencyLimit (NominalCL) of this level. This is the number of execution seats available at this priority level. This is used both for requests dispatched from this priority level as well as requests dispatched from other priority levels borrowing seats from this level. The server's concurrency limit (ServerCL) is divided among the Limited priority levels in proportion to their NCS values:\n\nNominalCL(i) = ceil( ServerCL * NCS(i) / sum_ncs ) sum_ncs = sum[priority level k] NCS(k)\n\nBigger numbers mean a larger nominal concurrency limit, at the expense of every other priority level.\n\nIf not specified, this field defaults to a value of 30.\n\nSetting this field to zero supports the construction of a \"jail\" for this priority level that is used to hold some request(s)", + "format": "int32", + "type": "integer" } }, "type": "object" }, - "io.k8s.api.flowcontrol.v1beta2.NonResourcePolicyRule": { + "io.k8s.api.flowcontrol.v1.NonResourcePolicyRule": { "description": "NonResourcePolicyRule is a predicate that matches non-resource requests according to their verb and the target non-resource URL. A NonResourcePolicyRule matches a request if and only if both (a) at least one member of verbs matches the request and (b) at least one member of nonResourceURLs matches the request.", "properties": { "nonResourceURLs": { @@ -11581,13 +11707,13 @@ ], "type": "object" }, - "io.k8s.api.flowcontrol.v1beta2.PolicyRulesWithSubjects": { + "io.k8s.api.flowcontrol.v1.PolicyRulesWithSubjects": { "description": "PolicyRulesWithSubjects prescribes a test that applies to a request to an apiserver. The test considers the subject making the request, the verb being requested, and the resource to be acted upon. This PolicyRulesWithSubjects matches a request if and only if both (a) at least one member of subjects matches the request and (b) at least one member of resourceRules or nonResourceRules matches the request.", "properties": { "nonResourceRules": { "description": "`nonResourceRules` is a list of NonResourcePolicyRules that identify matching requests according to their verb and the target non-resource URL.", "items": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta2.NonResourcePolicyRule" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.NonResourcePolicyRule" }, "type": "array", "x-kubernetes-list-type": "atomic" @@ -11595,7 +11721,7 @@ "resourceRules": { "description": "`resourceRules` is a slice of ResourcePolicyRules that identify matching requests according to their verb and the target resource. At least one of `resourceRules` and `nonResourceRules` has to be non-empty.", "items": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta2.ResourcePolicyRule" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.ResourcePolicyRule" }, "type": "array", "x-kubernetes-list-type": "atomic" @@ -11603,7 +11729,7 @@ "subjects": { "description": "subjects is the list of normal user, serviceaccount, or group that this rule cares about. There must be at least one member in this slice. A slice that includes both the system:authenticated and system:unauthenticated user groups matches every request. Required.", "items": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta2.Subject" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.Subject" }, "type": "array", "x-kubernetes-list-type": "atomic" @@ -11614,7 +11740,7 @@ ], "type": "object" }, - "io.k8s.api.flowcontrol.v1beta2.PriorityLevelConfiguration": { + "io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration": { "description": "PriorityLevelConfiguration represents the configuration of a priority level.", "properties": { "apiVersion": { @@ -11630,11 +11756,11 @@ "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta2.PriorityLevelConfigurationSpec", + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfigurationSpec", "description": "`spec` is the specification of the desired behavior of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" }, "status": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta2.PriorityLevelConfigurationStatus", + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfigurationStatus", "description": "`status` is the current status of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, @@ -11643,11 +11769,11 @@ { "group": "flowcontrol.apiserver.k8s.io", "kind": "PriorityLevelConfiguration", - "version": "v1beta2" + "version": "v1" } ] }, - "io.k8s.api.flowcontrol.v1beta2.PriorityLevelConfigurationCondition": { + "io.k8s.api.flowcontrol.v1.PriorityLevelConfigurationCondition": { "description": "PriorityLevelConfigurationCondition defines the condition of priority level.", "properties": { "lastTransitionTime": { @@ -11673,7 +11799,7 @@ }, "type": "object" }, - "io.k8s.api.flowcontrol.v1beta2.PriorityLevelConfigurationList": { + "io.k8s.api.flowcontrol.v1.PriorityLevelConfigurationList": { "description": "PriorityLevelConfigurationList is a list of PriorityLevelConfiguration objects.", "properties": { "apiVersion": { @@ -11683,7 +11809,7 @@ "items": { "description": "`items` is a list of request-priorities.", "items": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta2.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" }, "type": "array" }, @@ -11704,11 +11830,11 @@ { "group": "flowcontrol.apiserver.k8s.io", "kind": "PriorityLevelConfigurationList", - "version": "v1beta2" + "version": "v1" } ] }, - "io.k8s.api.flowcontrol.v1beta2.PriorityLevelConfigurationReference": { + "io.k8s.api.flowcontrol.v1.PriorityLevelConfigurationReference": { "description": "PriorityLevelConfigurationReference contains information that points to the \"request-priority\" being used.", "properties": { "name": { @@ -11721,15 +11847,15 @@ ], "type": "object" }, - "io.k8s.api.flowcontrol.v1beta2.PriorityLevelConfigurationSpec": { + "io.k8s.api.flowcontrol.v1.PriorityLevelConfigurationSpec": { "description": "PriorityLevelConfigurationSpec specifies the configuration of a priority level.", "properties": { "exempt": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta2.ExemptPriorityLevelConfiguration", + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.ExemptPriorityLevelConfiguration", "description": "`exempt` specifies how requests are handled for an exempt priority level. This field MUST be empty if `type` is `\"Limited\"`. This field MAY be non-empty if `type` is `\"Exempt\"`. If empty and `type` is `\"Exempt\"` then the default values for `ExemptPriorityLevelConfiguration` apply." }, "limited": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta2.LimitedPriorityLevelConfiguration", + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.LimitedPriorityLevelConfiguration", "description": "`limited` specifies how requests are handled for a Limited priority level. This field must be non-empty if and only if `type` is `\"Limited\"`." }, "type": { @@ -11751,24 +11877,26 @@ } ] }, - "io.k8s.api.flowcontrol.v1beta2.PriorityLevelConfigurationStatus": { + "io.k8s.api.flowcontrol.v1.PriorityLevelConfigurationStatus": { "description": "PriorityLevelConfigurationStatus represents the current state of a \"request-priority\".", "properties": { "conditions": { "description": "`conditions` is the current state of \"request-priority\".", "items": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta2.PriorityLevelConfigurationCondition" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfigurationCondition" }, "type": "array", "x-kubernetes-list-map-keys": [ "type" ], - "x-kubernetes-list-type": "map" + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" } }, "type": "object" }, - "io.k8s.api.flowcontrol.v1beta2.QueuingConfiguration": { + "io.k8s.api.flowcontrol.v1.QueuingConfiguration": { "description": "QueuingConfiguration holds the configuration parameters for queuing", "properties": { "handSize": { @@ -11789,7 +11917,7 @@ }, "type": "object" }, - "io.k8s.api.flowcontrol.v1beta2.ResourcePolicyRule": { + "io.k8s.api.flowcontrol.v1.ResourcePolicyRule": { "description": "ResourcePolicyRule is a predicate that matches some resource requests, testing the request's verb and the target resource. A ResourcePolicyRule matches a resource request if and only if: (a) at least one member of verbs matches the request, (b) at least one member of apiGroups matches the request, (c) at least one member of resources matches the request, and (d) either (d1) the request does not specify a namespace (i.e., `Namespace==\"\"`) and clusterScope is true or (d2) the request specifies a namespace and least one member of namespaces matches the request's namespace.", "properties": { "apiGroups": { @@ -11836,7 +11964,7 @@ ], "type": "object" }, - "io.k8s.api.flowcontrol.v1beta2.ServiceAccountSubject": { + "io.k8s.api.flowcontrol.v1.ServiceAccountSubject": { "description": "ServiceAccountSubject holds detailed information for service-account-kind subject.", "properties": { "name": { @@ -11854,11 +11982,11 @@ ], "type": "object" }, - "io.k8s.api.flowcontrol.v1beta2.Subject": { + "io.k8s.api.flowcontrol.v1.Subject": { "description": "Subject matches the originator of a request, as identified by the request authentication system. There are three ways of matching an originator; by user, group, or service account.", "properties": { "group": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta2.GroupSubject", + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.GroupSubject", "description": "`group` matches based on user group name." }, "kind": { @@ -11866,11 +11994,11 @@ "type": "string" }, "serviceAccount": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta2.ServiceAccountSubject", + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.ServiceAccountSubject", "description": "`serviceAccount` matches ServiceAccounts." }, "user": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta2.UserSubject", + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.UserSubject", "description": "`user` matches based on username." } }, @@ -11889,7 +12017,7 @@ } ] }, - "io.k8s.api.flowcontrol.v1beta2.UserSubject": { + "io.k8s.api.flowcontrol.v1.UserSubject": { "description": "UserSubject holds detailed information for user-kind subject.", "properties": { "name": { @@ -13071,8 +13199,8 @@ }, "type": "object" }, - "io.k8s.api.networking.v1alpha1.ClusterCIDR": { - "description": "ClusterCIDR represents a single configuration for per-Node Pod CIDR allocations when the MultiCIDRRangeAllocator is enabled (see the config for kube-controller-manager). A cluster may have any number of ClusterCIDR resources, all of which will be considered when allocating a CIDR for a Node. A ClusterCIDR is eligible to be used for a given Node when the node selector matches the node in question and has free CIDRs to allocate. In case of multiple matching ClusterCIDR resources, the allocator will attempt to break ties using internal heuristics, but any ClusterCIDR whose node selector matches the Node may be used.", + "io.k8s.api.networking.v1alpha1.IPAddress": { + "description": "IPAddress represents a single IP of a single IP Family. The object is designed to be used by APIs that operate on IP addresses. The object is used by the Service core API for allocation of IP addresses. An IP address can be represented in different formats, to guarantee the uniqueness of the IP, the name of the object is the IP address in canonical format, four decimal digits separated by dots suppressing leading zeros for IPv4 and the representation defined by RFC 5952 for IPv6. Valid: 192.168.1.5 or 2001:db8::1 or 2001:db8:aaaa:bbbb:cccc:dddd:eeee:1 Invalid: 10.01.2.3 or 2001:db8:0:0:0::1", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", @@ -13087,30 +13215,30 @@ "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ClusterCIDRSpec", - "description": "spec is the desired state of the ClusterCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddressSpec", + "description": "spec is the desired state of the IPAddress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "x-kubernetes-group-version-kind": [ { "group": "networking.k8s.io", - "kind": "ClusterCIDR", + "kind": "IPAddress", "version": "v1alpha1" } ] }, - "io.k8s.api.networking.v1alpha1.ClusterCIDRList": { - "description": "ClusterCIDRList contains a list of ClusterCIDR.", + "io.k8s.api.networking.v1alpha1.IPAddressList": { + "description": "IPAddressList contains a list of IPAddress.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "items is the list of ClusterCIDRs.", + "description": "items is the list of IPAddresses.", "items": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ClusterCIDR" + "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddress" }, "type": "array" }, @@ -13130,39 +13258,45 @@ "x-kubernetes-group-version-kind": [ { "group": "networking.k8s.io", - "kind": "ClusterCIDRList", + "kind": "IPAddressList", "version": "v1alpha1" } ] }, - "io.k8s.api.networking.v1alpha1.ClusterCIDRSpec": { - "description": "ClusterCIDRSpec defines the desired state of ClusterCIDR.", + "io.k8s.api.networking.v1alpha1.IPAddressSpec": { + "description": "IPAddressSpec describe the attributes in an IP Address.", + "properties": { + "parentRef": { + "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ParentReference", + "description": "ParentRef references the resource that an IPAddress is attached to. An IPAddress must reference a parent object." + } + }, + "type": "object" + }, + "io.k8s.api.networking.v1alpha1.ParentReference": { + "description": "ParentReference describes a reference to a parent object.", "properties": { - "ipv4": { - "description": "ipv4 defines an IPv4 IP block in CIDR notation(e.g. \"10.0.0.0/8\"). At least one of ipv4 and ipv6 must be specified. This field is immutable.", + "group": { + "description": "Group is the group of the object being referenced.", "type": "string" }, - "ipv6": { - "description": "ipv6 defines an IPv6 IP block in CIDR notation(e.g. \"2001:db8::/64\"). At least one of ipv4 and ipv6 must be specified. This field is immutable.", + "name": { + "description": "Name is the name of the object being referenced.", "type": "string" }, - "nodeSelector": { - "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelector", - "description": "nodeSelector defines which nodes the config is applicable to. An empty or nil nodeSelector selects all nodes. This field is immutable." + "namespace": { + "description": "Namespace is the namespace of the object being referenced.", + "type": "string" }, - "perNodeHostBits": { - "description": "perNodeHostBits defines the number of host bits to be configured per node. A subnet mask determines how much of the address is used for network bits and host bits. For example an IPv4 address of 192.168.0.0/24, splits the address into 24 bits for the network portion and 8 bits for the host portion. To allocate 256 IPs, set this field to 8 (a /24 mask for IPv4 or a /120 for IPv6). Minimum value is 4 (16 IPs). This field is immutable.", - "format": "int32", - "type": "integer" + "resource": { + "description": "Resource is the resource of the object being referenced.", + "type": "string" } }, - "required": [ - "perNodeHostBits" - ], "type": "object" }, - "io.k8s.api.networking.v1alpha1.IPAddress": { - "description": "IPAddress represents a single IP of a single IP Family. The object is designed to be used by APIs that operate on IP addresses. The object is used by the Service core API for allocation of IP addresses. An IP address can be represented in different formats, to guarantee the uniqueness of the IP, the name of the object is the IP address in canonical format, four decimal digits separated by dots suppressing leading zeros for IPv4 and the representation defined by RFC 5952 for IPv6. Valid: 192.168.1.5 or 2001:db8::1 or 2001:db8:aaaa:bbbb:cccc:dddd:eeee:1 Invalid: 10.01.2.3 or 2001:db8:0:0:0::1", + "io.k8s.api.networking.v1alpha1.ServiceCIDR": { + "description": "ServiceCIDR defines a range of IP addresses using CIDR format (e.g. 192.168.0.0/24 or 2001:db2::/64). This range is used to allocate ClusterIPs to Service objects.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", @@ -13177,30 +13311,34 @@ "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" }, "spec": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddressSpec", - "description": "spec is the desired state of the IPAddress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDRSpec", + "description": "spec is the desired state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + }, + "status": { + "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDRStatus", + "description": "status represents the current state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" } }, "type": "object", "x-kubernetes-group-version-kind": [ { "group": "networking.k8s.io", - "kind": "IPAddress", + "kind": "ServiceCIDR", "version": "v1alpha1" } ] }, - "io.k8s.api.networking.v1alpha1.IPAddressList": { - "description": "IPAddressList contains a list of IPAddress.", + "io.k8s.api.networking.v1alpha1.ServiceCIDRList": { + "description": "ServiceCIDRList contains a list of ServiceCIDR objects.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", "type": "string" }, "items": { - "description": "items is the list of IPAddresses.", + "description": "items is the list of ServiceCIDRs.", "items": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddress" + "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR" }, "type": "array" }, @@ -13220,43 +13358,39 @@ "x-kubernetes-group-version-kind": [ { "group": "networking.k8s.io", - "kind": "IPAddressList", + "kind": "ServiceCIDRList", "version": "v1alpha1" } ] }, - "io.k8s.api.networking.v1alpha1.IPAddressSpec": { - "description": "IPAddressSpec describe the attributes in an IP Address.", + "io.k8s.api.networking.v1alpha1.ServiceCIDRSpec": { + "description": "ServiceCIDRSpec define the CIDRs the user wants to use for allocating ClusterIPs for Services.", "properties": { - "parentRef": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ParentReference", - "description": "ParentRef references the resource that an IPAddress is attached to. An IPAddress must reference a parent object." + "cidrs": { + "description": "CIDRs defines the IP blocks in CIDR notation (e.g. \"192.168.0.0/24\" or \"2001:db8::/64\") from which to assign service cluster IPs. Max of two CIDRs is allowed, one of each IP family. This field is immutable.", + "items": { + "type": "string" + }, + "type": "array" } }, "type": "object" }, - "io.k8s.api.networking.v1alpha1.ParentReference": { - "description": "ParentReference describes a reference to a parent object.", + "io.k8s.api.networking.v1alpha1.ServiceCIDRStatus": { + "description": "ServiceCIDRStatus describes the current state of the ServiceCIDR.", "properties": { - "group": { - "description": "Group is the group of the object being referenced.", - "type": "string" - }, - "name": { - "description": "Name is the name of the object being referenced.", - "type": "string" - }, - "namespace": { - "description": "Namespace is the namespace of the object being referenced.", - "type": "string" - }, - "resource": { - "description": "Resource is the resource of the object being referenced.", - "type": "string" - }, - "uid": { - "description": "UID is the uid of the object being referenced.", - "type": "string" + "conditions": { + "description": "conditions holds an array of metav1.Condition that describe the state of the ServiceCIDR. Current service state", + "items": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Condition" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" } }, "type": "object" @@ -14044,7 +14178,7 @@ "type": "string" }, "type": "array", - "x-kubernetes-list-type": "set" + "x-kubernetes-list-type": "atomic" }, "selectedNode": { "description": "SelectedNode is the node for which allocation of ResourceClaims that are referenced by the Pod and that use \"WaitForFirstConsumer\" allocation is to be attempted.", @@ -14203,7 +14337,7 @@ "type": "string" }, "type": "array", - "x-kubernetes-list-type": "set" + "x-kubernetes-list-type": "atomic" } }, "type": "object" @@ -14616,7 +14750,7 @@ "type": "string" }, "podInfoOnMount": { - "description": "podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations, if set to true. If set to false, pod information will not be passed on mount. Default is false.\n\nThe CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext.\n\nThe following VolumeConext will be passed if podInfoOnMount is set to true. This list might grow, but the prefix will be used. \"csi.storage.k8s.io/pod.name\": pod.Name \"csi.storage.k8s.io/pod.namespace\": pod.Namespace \"csi.storage.k8s.io/pod.uid\": string(pod.UID) \"csi.storage.k8s.io/ephemeral\": \"true\" if the volume is an ephemeral inline volume\n defined by a CSIVolumeSource, otherwise \"false\"\n\n\"csi.storage.k8s.io/ephemeral\" is a new feature in Kubernetes 1.16. It is only required for drivers which support both the \"Persistent\" and \"Ephemeral\" VolumeLifecycleMode. Other drivers can leave pod info disabled and/or ignore this field. As Kubernetes 1.15 doesn't support this field, drivers can only support one mode when deployed on such a cluster and the deployment determines which mode that is, for example via a command line parameter of the driver.\n\nThis field is immutable.", + "description": "podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations, if set to true. If set to false, pod information will not be passed on mount. Default is false.\n\nThe CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext.\n\nThe following VolumeContext will be passed if podInfoOnMount is set to true. This list might grow, but the prefix will be used. \"csi.storage.k8s.io/pod.name\": pod.Name \"csi.storage.k8s.io/pod.namespace\": pod.Namespace \"csi.storage.k8s.io/pod.uid\": string(pod.UID) \"csi.storage.k8s.io/ephemeral\": \"true\" if the volume is an ephemeral inline volume\n defined by a CSIVolumeSource, otherwise \"false\"\n\n\"csi.storage.k8s.io/ephemeral\" is a new feature in Kubernetes 1.16. It is only required for drivers which support both the \"Persistent\" and \"Ephemeral\" VolumeLifecycleMode. Other drivers can leave pod info disabled and/or ignore this field. As Kubernetes 1.15 doesn't support this field, drivers can only support one mode when deployed on such a cluster and the deployment determines which mode that is, for example via a command line parameter of the driver.\n\nThis field is immutable.", "type": "boolean" }, "requiresRepublish": { @@ -15127,6 +15261,80 @@ }, "type": "object" }, + "io.k8s.api.storage.v1alpha1.VolumeAttributesClass": { + "description": "VolumeAttributesClass represents a specification of mutable volume attributes defined by the CSI driver. The class can be specified during dynamic provisioning of PersistentVolumeClaims, and changed in the PersistentVolumeClaim spec after provisioning.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "driverName": { + "description": "Name of the CSI driver This field is immutable.", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + }, + "parameters": { + "additionalProperties": { + "type": "string" + }, + "description": "parameters hold volume attributes defined by the CSI driver. These values are opaque to the Kubernetes and are passed directly to the CSI driver. The underlying storage provider supports changing these attributes on an existing volume, however the parameters field itself is immutable. To invoke a volume update, a new VolumeAttributesClass should be created with new parameters, and the PersistentVolumeClaim should be updated to reference the new VolumeAttributesClass.\n\nThis field is required and must contain at least one key/value pair. The keys cannot be empty, and the maximum number of parameters is 512, with a cumulative max size of 256K. If the CSI driver rejects invalid parameters, the target PersistentVolumeClaim will be set to an \"Infeasible\" state in the modifyVolumeStatus field.", + "type": "object" + } + }, + "required": [ + "driverName" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "storage.k8s.io", + "kind": "VolumeAttributesClass", + "version": "v1alpha1" + } + ] + }, + "io.k8s.api.storage.v1alpha1.VolumeAttributesClassList": { + "description": "VolumeAttributesClassList is a collection of VolumeAttributesClass objects.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "items is the list of VolumeAttributesClass objects.", + "items": { + "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.VolumeAttributesClass" + }, + "type": "array" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", + "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + } + }, + "required": [ + "items" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "storage.k8s.io", + "kind": "VolumeAttributesClassList", + "version": "v1alpha1" + } + ] + }, "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceColumnDefinition": { "description": "CustomResourceColumnDefinition specifies a column for server side printing.", "properties": { @@ -15745,12 +15953,16 @@ "description": "MessageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a rule, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the rule; the only difference is the return type. Example: \"x must be less than max (\"+string(self.max)+\")\"", "type": "string" }, + "optionalOldSelf": { + "description": "optionalOldSelf is used to opt a transition rule into evaluation even when the object is first created, or if the old object is missing the value.\n\nWhen enabled `oldSelf` will be a CEL optional whose value will be `None` if there is no old value, or when the object is initially created.\n\nYou may check for presence of oldSelf using `oldSelf.hasValue()` and unwrap it after checking using `oldSelf.value()`. Check the CEL documentation for Optional types for more information: https://pkg.go.dev/github.com/google/cel-go/cel#OptionalTypes\n\nMay not be set unless `oldSelf` is used in `rule`.", + "type": "boolean" + }, "reason": { "description": "reason provides a machine-readable validation failure reason that is returned to the caller when a request fails this validation rule. The HTTP status code returned to the caller will match the reason of the reason of the first failed validation rule. The currently supported reasons are: \"FieldValueInvalid\", \"FieldValueForbidden\", \"FieldValueRequired\", \"FieldValueDuplicate\". If not set, default to use \"FieldValueInvalid\". All future added reasons must be accepted by clients when reading this value and unknown reasons should be treated as FieldValueInvalid.", "type": "string" }, "rule": { - "description": "Rule represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec The Rule is scoped to the location of the x-kubernetes-validations extension in the schema. The `self` variable in the CEL expression is bound to the scoped value. Example: - Rule scoped to the root of a resource with a status subresource: {\"rule\": \"self.status.actual <= self.spec.maxDesired\"}\n\nIf the Rule is scoped to an object with properties, the accessible properties of the object are field selectable via `self.field` and field presence can be checked via `has(self.field)`. Null valued fields are treated as absent fields in CEL expressions. If the Rule is scoped to an object with additionalProperties (i.e. a map) the value of the map are accessible via `self[mapKey]`, map containment can be checked via `mapKey in self` and all entries of the map are accessible via CEL macros and functions such as `self.all(...)`. If the Rule is scoped to an array, the elements of the array are accessible via `self[i]` and also by macros and functions. If the Rule is scoped to a scalar, `self` is bound to the scalar value. Examples: - Rule scoped to a map of objects: {\"rule\": \"self.components['Widget'].priority < 10\"} - Rule scoped to a list of integers: {\"rule\": \"self.values.all(value, value >= 0 && value < 100)\"} - Rule scoped to a string value: {\"rule\": \"self.startsWith('kube')\"}\n\nThe `apiVersion`, `kind`, `metadata.name` and `metadata.generateName` are always accessible from the root of the object and from any x-kubernetes-embedded-resource annotated objects. No other metadata properties are accessible.\n\nUnknown data preserved in custom resources via x-kubernetes-preserve-unknown-fields is not accessible in CEL expressions. This includes: - Unknown field values that are preserved by object schemas with x-kubernetes-preserve-unknown-fields. - Object properties where the property schema is of an \"unknown type\". An \"unknown type\" is recursively defined as:\n - A schema with no type and x-kubernetes-preserve-unknown-fields set to true\n - An array where the items schema is of an \"unknown type\"\n - An object where the additionalProperties schema is of an \"unknown type\"\n\nOnly property names of the form `[a-zA-Z_.-/][a-zA-Z0-9_.-/]*` are accessible. Accessible property names are escaped according to the following rules when accessed in the expression: - '__' escapes to '__underscores__' - '.' escapes to '__dot__' - '-' escapes to '__dash__' - '/' escapes to '__slash__' - Property names that exactly match a CEL RESERVED keyword escape to '__{keyword}__'. The keywords are:\n\t \"true\", \"false\", \"null\", \"in\", \"as\", \"break\", \"const\", \"continue\", \"else\", \"for\", \"function\", \"if\",\n\t \"import\", \"let\", \"loop\", \"package\", \"namespace\", \"return\".\nExamples:\n - Rule accessing a property named \"namespace\": {\"rule\": \"self.__namespace__ > 0\"}\n - Rule accessing a property named \"x-prop\": {\"rule\": \"self.x__dash__prop > 0\"}\n - Rule accessing a property named \"redact__d\": {\"rule\": \"self.redact__underscores__d > 0\"}\n\nEquality on arrays with x-kubernetes-list-type of 'set' or 'map' ignores element order, i.e. [1, 2] == [2, 1]. Concatenation on arrays with x-kubernetes-list-type use the semantics of the list type:\n - 'set': `X + Y` performs a union where the array positions of all elements in `X` are preserved and\n non-intersecting elements in `Y` are appended, retaining their partial order.\n - 'map': `X + Y` performs a merge where the array positions of all keys in `X` are preserved but the values\n are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with\n non-intersecting keys are appended, retaining their partial order.", + "description": "Rule represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec The Rule is scoped to the location of the x-kubernetes-validations extension in the schema. The `self` variable in the CEL expression is bound to the scoped value. Example: - Rule scoped to the root of a resource with a status subresource: {\"rule\": \"self.status.actual <= self.spec.maxDesired\"}\n\nIf the Rule is scoped to an object with properties, the accessible properties of the object are field selectable via `self.field` and field presence can be checked via `has(self.field)`. Null valued fields are treated as absent fields in CEL expressions. If the Rule is scoped to an object with additionalProperties (i.e. a map) the value of the map are accessible via `self[mapKey]`, map containment can be checked via `mapKey in self` and all entries of the map are accessible via CEL macros and functions such as `self.all(...)`. If the Rule is scoped to an array, the elements of the array are accessible via `self[i]` and also by macros and functions. If the Rule is scoped to a scalar, `self` is bound to the scalar value. Examples: - Rule scoped to a map of objects: {\"rule\": \"self.components['Widget'].priority < 10\"} - Rule scoped to a list of integers: {\"rule\": \"self.values.all(value, value >= 0 && value < 100)\"} - Rule scoped to a string value: {\"rule\": \"self.startsWith('kube')\"}\n\nThe `apiVersion`, `kind`, `metadata.name` and `metadata.generateName` are always accessible from the root of the object and from any x-kubernetes-embedded-resource annotated objects. No other metadata properties are accessible.\n\nUnknown data preserved in custom resources via x-kubernetes-preserve-unknown-fields is not accessible in CEL expressions. This includes: - Unknown field values that are preserved by object schemas with x-kubernetes-preserve-unknown-fields. - Object properties where the property schema is of an \"unknown type\". An \"unknown type\" is recursively defined as:\n - A schema with no type and x-kubernetes-preserve-unknown-fields set to true\n - An array where the items schema is of an \"unknown type\"\n - An object where the additionalProperties schema is of an \"unknown type\"\n\nOnly property names of the form `[a-zA-Z_.-/][a-zA-Z0-9_.-/]*` are accessible. Accessible property names are escaped according to the following rules when accessed in the expression: - '__' escapes to '__underscores__' - '.' escapes to '__dot__' - '-' escapes to '__dash__' - '/' escapes to '__slash__' - Property names that exactly match a CEL RESERVED keyword escape to '__{keyword}__'. The keywords are:\n\t \"true\", \"false\", \"null\", \"in\", \"as\", \"break\", \"const\", \"continue\", \"else\", \"for\", \"function\", \"if\",\n\t \"import\", \"let\", \"loop\", \"package\", \"namespace\", \"return\".\nExamples:\n - Rule accessing a property named \"namespace\": {\"rule\": \"self.__namespace__ > 0\"}\n - Rule accessing a property named \"x-prop\": {\"rule\": \"self.x__dash__prop > 0\"}\n - Rule accessing a property named \"redact__d\": {\"rule\": \"self.redact__underscores__d > 0\"}\n\nEquality on arrays with x-kubernetes-list-type of 'set' or 'map' ignores element order, i.e. [1, 2] == [2, 1]. Concatenation on arrays with x-kubernetes-list-type use the semantics of the list type:\n - 'set': `X + Y` performs a union where the array positions of all elements in `X` are preserved and\n non-intersecting elements in `Y` are appended, retaining their partial order.\n - 'map': `X + Y` performs a merge where the array positions of all keys in `X` are preserved but the values\n are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with\n non-intersecting keys are appended, retaining their partial order.\n\nIf `rule` makes use of the `oldSelf` variable it is implicitly a `transition rule`.\n\nBy default, the `oldSelf` variable is the same type as `self`. When `optionalOldSelf` is true, the `oldSelf` variable is a CEL optional\n variable whose value() is the same type as `self`.\nSee the documentation for the `optionalOldSelf` field for details.\n\nTransition rules by default are applied only on UPDATE requests and are skipped if an old value could not be found. You can opt a transition rule into unconditional evaluation by setting `optionalOldSelf` to true.", "type": "string" } }, @@ -16266,7 +16478,7 @@ { "group": "flowcontrol.apiserver.k8s.io", "kind": "DeleteOptions", - "version": "v1alpha1" + "version": "v1" }, { "group": "flowcontrol.apiserver.k8s.io", @@ -16972,7 +17184,7 @@ { "group": "flowcontrol.apiserver.k8s.io", "kind": "WatchEvent", - "version": "v1alpha1" + "version": "v1" }, { "group": "flowcontrol.apiserver.k8s.io", @@ -17256,7 +17468,7 @@ "type": "string" }, "groupPriorityMinimum": { - "description": "GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s", + "description": "GroupPriorityMinimum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMinimum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s", "format": "int32", "type": "integer" }, @@ -17514,8 +17726,8 @@ "type": "integer", "uniqueItems": true }, - "pretty-nN7o5FEq": { - "description": "If 'true', then the output is pretty printed.", + "pretty-tJGM1-ng": { + "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).", "in": "query", "name": "pretty", "type": "string", @@ -17796,7 +18008,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -17861,7 +18073,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ] }, @@ -17920,7 +18132,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -17994,7 +18206,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -18068,7 +18280,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -18142,7 +18354,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -18233,7 +18445,7 @@ }, "parameters": [ { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -18334,7 +18546,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -18550,7 +18762,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -18739,7 +18951,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -19035,7 +19247,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -19224,7 +19436,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -19520,7 +19732,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -19709,7 +19921,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -20005,7 +20217,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -20194,7 +20406,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -20490,7 +20702,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -20679,7 +20891,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -20869,7 +21081,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -21165,7 +21377,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -21354,7 +21566,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -21622,7 +21834,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -21732,7 +21944,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -21904,7 +22116,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -22126,7 +22338,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/previous-1jxDPu3y" @@ -22776,7 +22988,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -23072,7 +23284,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -23261,7 +23473,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -23557,7 +23769,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -23746,7 +23958,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -23936,7 +24148,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -24126,7 +24338,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -24422,7 +24634,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -24611,7 +24823,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -24801,7 +25013,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -25097,7 +25309,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -25286,7 +25498,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -25582,7 +25794,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -25771,7 +25983,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -25943,7 +26155,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -26159,7 +26371,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -26348,7 +26560,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -27039,7 +27251,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -27288,7 +27500,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -27457,7 +27669,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "put": { @@ -27558,7 +27770,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -27851,7 +28063,7 @@ }, "parameters": [ { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -28037,7 +28249,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -28719,7 +28931,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -28915,7 +29127,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -29086,7 +29298,7 @@ }, "parameters": [ { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -29272,7 +29484,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -29459,7 +29671,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -29655,7 +29867,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -29729,7 +29941,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -29803,7 +30015,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -29877,7 +30089,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -29951,7 +30163,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -30025,7 +30237,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -30099,7 +30311,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -30173,7 +30385,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -30247,7 +30459,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -30321,7 +30533,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -30395,7 +30607,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -30469,7 +30681,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -30546,7 +30758,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -30631,7 +30843,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -30708,7 +30920,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -30793,7 +31005,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -30870,7 +31082,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -30955,7 +31167,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -31032,7 +31244,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -31117,7 +31329,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -31194,7 +31406,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -31279,7 +31491,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -31356,7 +31568,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -31441,7 +31653,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -31518,7 +31730,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -31603,7 +31815,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -31680,7 +31892,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -31765,7 +31977,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -31842,7 +32054,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -31927,7 +32139,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -32004,7 +32216,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -32089,7 +32301,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -32166,7 +32378,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -32251,7 +32463,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -32328,7 +32540,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -32413,7 +32625,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -32495,7 +32707,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -32569,7 +32781,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -32651,7 +32863,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -32725,7 +32937,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -32799,7 +33011,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -32881,7 +33093,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -32955,7 +33167,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -33029,7 +33241,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -33103,7 +33315,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -33177,7 +33389,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -33251,7 +33463,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -33325,7 +33537,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -33399,7 +33611,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -33669,7 +33881,7 @@ }, "parameters": [ { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -33855,7 +34067,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -34148,7 +34360,7 @@ }, "parameters": [ { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -34334,7 +34546,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -34530,7 +34742,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -34612,7 +34824,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -34686,7 +34898,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -34768,7 +34980,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -34972,7 +35184,7 @@ }, "parameters": [ { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -35158,7 +35370,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -35345,7 +35557,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -35638,7 +35850,7 @@ }, "parameters": [ { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -35824,7 +36036,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -36020,7 +36232,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -36102,7 +36314,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -36176,7 +36388,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -36258,7 +36470,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -36462,7 +36674,7 @@ }, "parameters": [ { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -36648,7 +36860,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -36835,7 +37047,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -37128,7 +37340,7 @@ }, "parameters": [ { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -37314,7 +37526,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -37510,7 +37722,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -37592,7 +37804,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -37666,7 +37878,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -37748,7 +37960,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -37985,7 +38197,7 @@ }, "parameters": [ { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -38171,7 +38383,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -38358,7 +38570,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -38554,7 +38766,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -38636,7 +38848,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -38873,7 +39085,7 @@ }, "parameters": [ { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -39059,7 +39271,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -39246,7 +39458,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -39442,7 +39654,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -39524,7 +39736,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -39664,7 +39876,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -39738,7 +39950,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -39812,7 +40024,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -39986,7 +40198,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -40175,7 +40387,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -40471,7 +40683,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -40660,7 +40872,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -40850,7 +41062,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -41146,7 +41358,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -41335,7 +41547,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -41525,7 +41737,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -41715,7 +41927,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -42011,7 +42223,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -42200,7 +42412,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -42390,7 +42602,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -42580,7 +42792,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -42876,7 +43088,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -43065,7 +43277,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -43255,7 +43467,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -43445,7 +43657,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -43641,7 +43853,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -43715,7 +43927,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -43789,7 +44001,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -43863,7 +44075,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -43937,7 +44149,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -44014,7 +44226,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -44099,7 +44311,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -44176,7 +44388,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -44261,7 +44473,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -44338,7 +44550,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -44423,7 +44635,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -44500,7 +44712,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -44585,7 +44797,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -44662,7 +44874,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -44747,7 +44959,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -44821,7 +45033,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -44895,7 +45107,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -45000,7 +45212,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -45081,7 +45293,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -45195,7 +45407,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -45309,7 +45521,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -45459,7 +45671,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -45540,7 +45752,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -45621,7 +45833,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -45702,7 +45914,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -45884,7 +46096,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -46058,7 +46270,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -46247,7 +46459,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -46437,7 +46649,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -46633,7 +46845,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -46710,7 +46922,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -46795,7 +47007,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -46902,7 +47114,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -47076,7 +47288,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -47265,7 +47477,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -47455,7 +47667,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -47651,7 +47863,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -47728,7 +47940,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -47813,7 +48025,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -47953,7 +48165,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -48027,7 +48239,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -48201,7 +48413,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -48390,7 +48602,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -48580,7 +48792,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -48876,7 +49088,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -49065,7 +49277,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -49255,7 +49467,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -49451,7 +49663,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -49525,7 +49737,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -49602,7 +49814,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -49687,7 +49899,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -49764,7 +49976,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -49849,7 +50061,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -50086,7 +50298,7 @@ }, "parameters": [ { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -50272,7 +50484,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -50459,7 +50671,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -50646,7 +50858,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -50842,7 +51054,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -50924,7 +51136,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -51128,7 +51340,7 @@ }, "parameters": [ { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -51314,7 +51526,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -51510,7 +51722,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -51592,7 +51804,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -51732,7 +51944,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -51906,7 +52118,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -52095,7 +52307,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -52291,7 +52503,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -52368,7 +52580,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -52453,7 +52665,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -52593,7 +52805,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -52767,7 +52979,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -52956,7 +53168,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -53152,7 +53364,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -53229,7 +53441,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -53314,7 +53526,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -53454,7 +53666,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -53628,7 +53840,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -53817,7 +54029,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -54013,7 +54225,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -54090,7 +54302,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -54175,7 +54387,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -54227,7 +54439,7 @@ ] } }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta2/": { + "/apis/flowcontrol.apiserver.k8s.io/v1/": { "get": { "consumes": [ "application/json", @@ -54235,7 +54447,7 @@ "application/vnd.kubernetes.protobuf" ], "description": "get available resources", - "operationId": "getFlowcontrolApiserverV1beta2APIResources", + "operationId": "getFlowcontrolApiserverV1APIResources", "produces": [ "application/json", "application/yaml", @@ -54256,17 +54468,17 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta2" + "flowcontrolApiserver_v1" ] } }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta2/flowschemas": { + "/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas": { "delete": { "consumes": [ "*/*" ], "description": "delete collection of FlowSchema", - "operationId": "deleteFlowcontrolApiserverV1beta2CollectionFlowSchema", + "operationId": "deleteFlowcontrolApiserverV1CollectionFlowSchema", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -54332,13 +54544,13 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta2" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", "kind": "FlowSchema", - "version": "v1beta2" + "version": "v1" } }, "get": { @@ -54346,7 +54558,7 @@ "*/*" ], "description": "list or watch objects of kind FlowSchema", - "operationId": "listFlowcontrolApiserverV1beta2FlowSchema", + "operationId": "listFlowcontrolApiserverV1FlowSchema", "parameters": [ { "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" @@ -54390,7 +54602,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta2.FlowSchemaList" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchemaList" } }, "401": { @@ -54401,18 +54613,18 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta2" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", "kind": "FlowSchema", - "version": "v1beta2" + "version": "v1" } }, "parameters": [ { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -54420,14 +54632,14 @@ "*/*" ], "description": "create a FlowSchema", - "operationId": "createFlowcontrolApiserverV1beta2FlowSchema", + "operationId": "createFlowcontrolApiserverV1FlowSchema", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta2.FlowSchema" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" } }, { @@ -54457,19 +54669,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta2.FlowSchema" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta2.FlowSchema" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta2.FlowSchema" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" } }, "401": { @@ -54480,23 +54692,23 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta2" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", "kind": "FlowSchema", - "version": "v1beta2" + "version": "v1" } } }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta2/flowschemas/{name}": { + "/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name}": { "delete": { "consumes": [ "*/*" ], "description": "delete a FlowSchema", - "operationId": "deleteFlowcontrolApiserverV1beta2FlowSchema", + "operationId": "deleteFlowcontrolApiserverV1FlowSchema", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -54544,13 +54756,13 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta2" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", "kind": "FlowSchema", - "version": "v1beta2" + "version": "v1" } }, "get": { @@ -54558,7 +54770,7 @@ "*/*" ], "description": "read the specified FlowSchema", - "operationId": "readFlowcontrolApiserverV1beta2FlowSchema", + "operationId": "readFlowcontrolApiserverV1FlowSchema", "produces": [ "application/json", "application/yaml", @@ -54568,7 +54780,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta2.FlowSchema" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" } }, "401": { @@ -54579,13 +54791,13 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta2" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", "kind": "FlowSchema", - "version": "v1beta2" + "version": "v1" } }, "parameters": [ @@ -54598,7 +54810,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -54609,7 +54821,7 @@ "application/apply-patch+yaml" ], "description": "partially update the specified FlowSchema", - "operationId": "patchFlowcontrolApiserverV1beta2FlowSchema", + "operationId": "patchFlowcontrolApiserverV1FlowSchema", "parameters": [ { "$ref": "#/parameters/body-78PwaGsr" @@ -54644,13 +54856,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta2.FlowSchema" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta2.FlowSchema" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" } }, "401": { @@ -54661,13 +54873,13 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta2" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", "kind": "FlowSchema", - "version": "v1beta2" + "version": "v1" } }, "put": { @@ -54675,14 +54887,14 @@ "*/*" ], "description": "replace the specified FlowSchema", - "operationId": "replaceFlowcontrolApiserverV1beta2FlowSchema", + "operationId": "replaceFlowcontrolApiserverV1FlowSchema", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta2.FlowSchema" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" } }, { @@ -54712,13 +54924,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta2.FlowSchema" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta2.FlowSchema" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" } }, "401": { @@ -54729,23 +54941,23 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta2" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", "kind": "FlowSchema", - "version": "v1beta2" + "version": "v1" } } }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta2/flowschemas/{name}/status": { + "/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name}/status": { "get": { "consumes": [ "*/*" ], "description": "read status of the specified FlowSchema", - "operationId": "readFlowcontrolApiserverV1beta2FlowSchemaStatus", + "operationId": "readFlowcontrolApiserverV1FlowSchemaStatus", "produces": [ "application/json", "application/yaml", @@ -54755,7 +54967,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta2.FlowSchema" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" } }, "401": { @@ -54766,13 +54978,13 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta2" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", "kind": "FlowSchema", - "version": "v1beta2" + "version": "v1" } }, "parameters": [ @@ -54785,7 +54997,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -54796,7 +55008,7 @@ "application/apply-patch+yaml" ], "description": "partially update status of the specified FlowSchema", - "operationId": "patchFlowcontrolApiserverV1beta2FlowSchemaStatus", + "operationId": "patchFlowcontrolApiserverV1FlowSchemaStatus", "parameters": [ { "$ref": "#/parameters/body-78PwaGsr" @@ -54831,13 +55043,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta2.FlowSchema" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta2.FlowSchema" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" } }, "401": { @@ -54848,13 +55060,13 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta2" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", "kind": "FlowSchema", - "version": "v1beta2" + "version": "v1" } }, "put": { @@ -54862,14 +55074,14 @@ "*/*" ], "description": "replace status of the specified FlowSchema", - "operationId": "replaceFlowcontrolApiserverV1beta2FlowSchemaStatus", + "operationId": "replaceFlowcontrolApiserverV1FlowSchemaStatus", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta2.FlowSchema" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" } }, { @@ -54899,13 +55111,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta2.FlowSchema" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta2.FlowSchema" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.FlowSchema" } }, "401": { @@ -54916,23 +55128,23 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta2" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", "kind": "FlowSchema", - "version": "v1beta2" + "version": "v1" } } }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta2/prioritylevelconfigurations": { + "/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations": { "delete": { "consumes": [ "*/*" ], "description": "delete collection of PriorityLevelConfiguration", - "operationId": "deleteFlowcontrolApiserverV1beta2CollectionPriorityLevelConfiguration", + "operationId": "deleteFlowcontrolApiserverV1CollectionPriorityLevelConfiguration", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -54998,13 +55210,13 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta2" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", "kind": "PriorityLevelConfiguration", - "version": "v1beta2" + "version": "v1" } }, "get": { @@ -55012,7 +55224,7 @@ "*/*" ], "description": "list or watch objects of kind PriorityLevelConfiguration", - "operationId": "listFlowcontrolApiserverV1beta2PriorityLevelConfiguration", + "operationId": "listFlowcontrolApiserverV1PriorityLevelConfiguration", "parameters": [ { "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" @@ -55056,7 +55268,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta2.PriorityLevelConfigurationList" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfigurationList" } }, "401": { @@ -55067,18 +55279,18 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta2" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", "kind": "PriorityLevelConfiguration", - "version": "v1beta2" + "version": "v1" } }, "parameters": [ { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -55086,14 +55298,14 @@ "*/*" ], "description": "create a PriorityLevelConfiguration", - "operationId": "createFlowcontrolApiserverV1beta2PriorityLevelConfiguration", + "operationId": "createFlowcontrolApiserverV1PriorityLevelConfiguration", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta2.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" } }, { @@ -55123,19 +55335,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta2.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta2.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta2.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" } }, "401": { @@ -55146,23 +55358,23 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta2" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", "kind": "PriorityLevelConfiguration", - "version": "v1beta2" + "version": "v1" } } }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta2/prioritylevelconfigurations/{name}": { + "/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name}": { "delete": { "consumes": [ "*/*" ], "description": "delete a PriorityLevelConfiguration", - "operationId": "deleteFlowcontrolApiserverV1beta2PriorityLevelConfiguration", + "operationId": "deleteFlowcontrolApiserverV1PriorityLevelConfiguration", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -55210,13 +55422,13 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta2" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", "kind": "PriorityLevelConfiguration", - "version": "v1beta2" + "version": "v1" } }, "get": { @@ -55224,7 +55436,7 @@ "*/*" ], "description": "read the specified PriorityLevelConfiguration", - "operationId": "readFlowcontrolApiserverV1beta2PriorityLevelConfiguration", + "operationId": "readFlowcontrolApiserverV1PriorityLevelConfiguration", "produces": [ "application/json", "application/yaml", @@ -55234,7 +55446,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta2.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" } }, "401": { @@ -55245,13 +55457,13 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta2" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", "kind": "PriorityLevelConfiguration", - "version": "v1beta2" + "version": "v1" } }, "parameters": [ @@ -55264,7 +55476,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -55275,7 +55487,7 @@ "application/apply-patch+yaml" ], "description": "partially update the specified PriorityLevelConfiguration", - "operationId": "patchFlowcontrolApiserverV1beta2PriorityLevelConfiguration", + "operationId": "patchFlowcontrolApiserverV1PriorityLevelConfiguration", "parameters": [ { "$ref": "#/parameters/body-78PwaGsr" @@ -55310,13 +55522,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta2.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta2.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" } }, "401": { @@ -55327,13 +55539,13 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta2" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", "kind": "PriorityLevelConfiguration", - "version": "v1beta2" + "version": "v1" } }, "put": { @@ -55341,14 +55553,14 @@ "*/*" ], "description": "replace the specified PriorityLevelConfiguration", - "operationId": "replaceFlowcontrolApiserverV1beta2PriorityLevelConfiguration", + "operationId": "replaceFlowcontrolApiserverV1PriorityLevelConfiguration", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta2.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" } }, { @@ -55378,13 +55590,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta2.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta2.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" } }, "401": { @@ -55395,23 +55607,23 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta2" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", "kind": "PriorityLevelConfiguration", - "version": "v1beta2" + "version": "v1" } } }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta2/prioritylevelconfigurations/{name}/status": { + "/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name}/status": { "get": { "consumes": [ "*/*" ], "description": "read status of the specified PriorityLevelConfiguration", - "operationId": "readFlowcontrolApiserverV1beta2PriorityLevelConfigurationStatus", + "operationId": "readFlowcontrolApiserverV1PriorityLevelConfigurationStatus", "produces": [ "application/json", "application/yaml", @@ -55421,7 +55633,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta2.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" } }, "401": { @@ -55432,13 +55644,13 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta2" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", "kind": "PriorityLevelConfiguration", - "version": "v1beta2" + "version": "v1" } }, "parameters": [ @@ -55451,7 +55663,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -55462,7 +55674,7 @@ "application/apply-patch+yaml" ], "description": "partially update status of the specified PriorityLevelConfiguration", - "operationId": "patchFlowcontrolApiserverV1beta2PriorityLevelConfigurationStatus", + "operationId": "patchFlowcontrolApiserverV1PriorityLevelConfigurationStatus", "parameters": [ { "$ref": "#/parameters/body-78PwaGsr" @@ -55497,13 +55709,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta2.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta2.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" } }, "401": { @@ -55514,13 +55726,13 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta2" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", "kind": "PriorityLevelConfiguration", - "version": "v1beta2" + "version": "v1" } }, "put": { @@ -55528,14 +55740,14 @@ "*/*" ], "description": "replace status of the specified PriorityLevelConfiguration", - "operationId": "replaceFlowcontrolApiserverV1beta2PriorityLevelConfigurationStatus", + "operationId": "replaceFlowcontrolApiserverV1PriorityLevelConfigurationStatus", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta2.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" } }, { @@ -55565,13 +55777,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta2.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta2.PriorityLevelConfiguration" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1.PriorityLevelConfiguration" } }, "401": { @@ -55582,23 +55794,23 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta2" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", "kind": "PriorityLevelConfiguration", - "version": "v1beta2" + "version": "v1" } } }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta2/watch/flowschemas": { + "/apis/flowcontrol.apiserver.k8s.io/v1/watch/flowschemas": { "get": { "consumes": [ "*/*" ], "description": "watch individual changes to a list of FlowSchema. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchFlowcontrolApiserverV1beta2FlowSchemaList", + "operationId": "watchFlowcontrolApiserverV1FlowSchemaList", "produces": [ "application/json", "application/yaml", @@ -55621,13 +55833,13 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta2" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", "kind": "FlowSchema", - "version": "v1beta2" + "version": "v1" } }, "parameters": [ @@ -55647,7 +55859,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -55666,13 +55878,13 @@ } ] }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta2/watch/flowschemas/{name}": { + "/apis/flowcontrol.apiserver.k8s.io/v1/watch/flowschemas/{name}": { "get": { "consumes": [ "*/*" ], "description": "watch changes to an object of kind FlowSchema. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchFlowcontrolApiserverV1beta2FlowSchema", + "operationId": "watchFlowcontrolApiserverV1FlowSchema", "produces": [ "application/json", "application/yaml", @@ -55695,13 +55907,13 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta2" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", "kind": "FlowSchema", - "version": "v1beta2" + "version": "v1" } }, "parameters": [ @@ -55729,7 +55941,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -55748,13 +55960,13 @@ } ] }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta2/watch/prioritylevelconfigurations": { + "/apis/flowcontrol.apiserver.k8s.io/v1/watch/prioritylevelconfigurations": { "get": { "consumes": [ "*/*" ], "description": "watch individual changes to a list of PriorityLevelConfiguration. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchFlowcontrolApiserverV1beta2PriorityLevelConfigurationList", + "operationId": "watchFlowcontrolApiserverV1PriorityLevelConfigurationList", "produces": [ "application/json", "application/yaml", @@ -55777,13 +55989,13 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta2" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", "kind": "PriorityLevelConfiguration", - "version": "v1beta2" + "version": "v1" } }, "parameters": [ @@ -55803,7 +56015,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -55822,13 +56034,13 @@ } ] }, - "/apis/flowcontrol.apiserver.k8s.io/v1beta2/watch/prioritylevelconfigurations/{name}": { + "/apis/flowcontrol.apiserver.k8s.io/v1/watch/prioritylevelconfigurations/{name}": { "get": { "consumes": [ "*/*" ], "description": "watch changes to an object of kind PriorityLevelConfiguration. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchFlowcontrolApiserverV1beta2PriorityLevelConfiguration", + "operationId": "watchFlowcontrolApiserverV1PriorityLevelConfiguration", "produces": [ "application/json", "application/yaml", @@ -55851,13 +56063,13 @@ "https" ], "tags": [ - "flowcontrolApiserver_v1beta2" + "flowcontrolApiserver_v1" ], "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "flowcontrol.apiserver.k8s.io", "kind": "PriorityLevelConfiguration", - "version": "v1beta2" + "version": "v1" } }, "parameters": [ @@ -55885,7 +56097,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -56089,7 +56301,7 @@ }, "parameters": [ { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -56275,7 +56487,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -56462,7 +56674,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -56755,7 +56967,7 @@ }, "parameters": [ { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -56941,7 +57153,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -57128,7 +57340,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -57324,7 +57536,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -57406,7 +57618,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -57480,7 +57692,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -57562,7 +57774,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -57799,7 +58011,7 @@ }, "parameters": [ { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -57985,7 +58197,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -58172,7 +58384,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -58368,7 +58580,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -58450,7 +58662,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -58687,7 +58899,7 @@ }, "parameters": [ { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -58873,7 +59085,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -59069,7 +59281,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -59243,7 +59455,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -59432,7 +59644,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -59622,7 +59834,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -59918,7 +60130,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -60107,7 +60319,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -60303,7 +60515,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -60377,7 +60589,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -60459,7 +60671,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -60533,7 +60745,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -60610,7 +60822,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -60695,7 +60907,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -60772,7 +60984,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -60857,7 +61069,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -60931,7 +61143,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -60983,13 +61195,13 @@ ] } }, - "/apis/networking.k8s.io/v1alpha1/clustercidrs": { + "/apis/networking.k8s.io/v1alpha1/ipaddresses": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of ClusterCIDR", - "operationId": "deleteNetworkingV1alpha1CollectionClusterCIDR", + "description": "delete collection of IPAddress", + "operationId": "deleteNetworkingV1alpha1CollectionIPAddress", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -61060,7 +61272,7 @@ "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "ClusterCIDR", + "kind": "IPAddress", "version": "v1alpha1" } }, @@ -61068,8 +61280,8 @@ "consumes": [ "*/*" ], - "description": "list or watch objects of kind ClusterCIDR", - "operationId": "listNetworkingV1alpha1ClusterCIDR", + "description": "list or watch objects of kind IPAddress", + "operationId": "listNetworkingV1alpha1IPAddress", "parameters": [ { "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" @@ -61113,7 +61325,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ClusterCIDRList" + "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddressList" } }, "401": { @@ -61129,28 +61341,28 @@ "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "ClusterCIDR", + "kind": "IPAddress", "version": "v1alpha1" } }, "parameters": [ { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { "consumes": [ "*/*" ], - "description": "create a ClusterCIDR", - "operationId": "createNetworkingV1alpha1ClusterCIDR", + "description": "create an IPAddress", + "operationId": "createNetworkingV1alpha1IPAddress", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ClusterCIDR" + "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddress" } }, { @@ -61180,19 +61392,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ClusterCIDR" + "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddress" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ClusterCIDR" + "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddress" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ClusterCIDR" + "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddress" } }, "401": { @@ -61208,18 +61420,18 @@ "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "ClusterCIDR", + "kind": "IPAddress", "version": "v1alpha1" } } }, - "/apis/networking.k8s.io/v1alpha1/clustercidrs/{name}": { + "/apis/networking.k8s.io/v1alpha1/ipaddresses/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a ClusterCIDR", - "operationId": "deleteNetworkingV1alpha1ClusterCIDR", + "description": "delete an IPAddress", + "operationId": "deleteNetworkingV1alpha1IPAddress", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -61272,7 +61484,7 @@ "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "ClusterCIDR", + "kind": "IPAddress", "version": "v1alpha1" } }, @@ -61280,8 +61492,8 @@ "consumes": [ "*/*" ], - "description": "read the specified ClusterCIDR", - "operationId": "readNetworkingV1alpha1ClusterCIDR", + "description": "read the specified IPAddress", + "operationId": "readNetworkingV1alpha1IPAddress", "produces": [ "application/json", "application/yaml", @@ -61291,7 +61503,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ClusterCIDR" + "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddress" } }, "401": { @@ -61307,13 +61519,13 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "ClusterCIDR", + "kind": "IPAddress", "version": "v1alpha1" } }, "parameters": [ { - "description": "name of the ClusterCIDR", + "description": "name of the IPAddress", "in": "path", "name": "name", "required": true, @@ -61321,7 +61533,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -61331,8 +61543,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified ClusterCIDR", - "operationId": "patchNetworkingV1alpha1ClusterCIDR", + "description": "partially update the specified IPAddress", + "operationId": "patchNetworkingV1alpha1IPAddress", "parameters": [ { "$ref": "#/parameters/body-78PwaGsr" @@ -61367,13 +61579,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ClusterCIDR" + "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddress" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ClusterCIDR" + "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddress" } }, "401": { @@ -61389,7 +61601,7 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "ClusterCIDR", + "kind": "IPAddress", "version": "v1alpha1" } }, @@ -61397,15 +61609,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified ClusterCIDR", - "operationId": "replaceNetworkingV1alpha1ClusterCIDR", + "description": "replace the specified IPAddress", + "operationId": "replaceNetworkingV1alpha1IPAddress", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ClusterCIDR" + "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddress" } }, { @@ -61435,13 +61647,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ClusterCIDR" + "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddress" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ClusterCIDR" + "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddress" } }, "401": { @@ -61457,18 +61669,18 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "ClusterCIDR", + "kind": "IPAddress", "version": "v1alpha1" } } }, - "/apis/networking.k8s.io/v1alpha1/ipaddresses": { + "/apis/networking.k8s.io/v1alpha1/servicecidrs": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of IPAddress", - "operationId": "deleteNetworkingV1alpha1CollectionIPAddress", + "description": "delete collection of ServiceCIDR", + "operationId": "deleteNetworkingV1alpha1CollectionServiceCIDR", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -61539,7 +61751,7 @@ "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "IPAddress", + "kind": "ServiceCIDR", "version": "v1alpha1" } }, @@ -61547,8 +61759,8 @@ "consumes": [ "*/*" ], - "description": "list or watch objects of kind IPAddress", - "operationId": "listNetworkingV1alpha1IPAddress", + "description": "list or watch objects of kind ServiceCIDR", + "operationId": "listNetworkingV1alpha1ServiceCIDR", "parameters": [ { "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" @@ -61592,7 +61804,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddressList" + "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDRList" } }, "401": { @@ -61608,28 +61820,28 @@ "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "IPAddress", + "kind": "ServiceCIDR", "version": "v1alpha1" } }, "parameters": [ { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { "consumes": [ "*/*" ], - "description": "create an IPAddress", - "operationId": "createNetworkingV1alpha1IPAddress", + "description": "create a ServiceCIDR", + "operationId": "createNetworkingV1alpha1ServiceCIDR", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddress" + "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR" } }, { @@ -61659,19 +61871,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddress" + "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddress" + "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddress" + "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR" } }, "401": { @@ -61687,18 +61899,18 @@ "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "IPAddress", + "kind": "ServiceCIDR", "version": "v1alpha1" } } }, - "/apis/networking.k8s.io/v1alpha1/ipaddresses/{name}": { + "/apis/networking.k8s.io/v1alpha1/servicecidrs/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete an IPAddress", - "operationId": "deleteNetworkingV1alpha1IPAddress", + "description": "delete a ServiceCIDR", + "operationId": "deleteNetworkingV1alpha1ServiceCIDR", "parameters": [ { "$ref": "#/parameters/body-2Y1dVQaQ" @@ -61751,7 +61963,7 @@ "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "IPAddress", + "kind": "ServiceCIDR", "version": "v1alpha1" } }, @@ -61759,8 +61971,8 @@ "consumes": [ "*/*" ], - "description": "read the specified IPAddress", - "operationId": "readNetworkingV1alpha1IPAddress", + "description": "read the specified ServiceCIDR", + "operationId": "readNetworkingV1alpha1ServiceCIDR", "produces": [ "application/json", "application/yaml", @@ -61770,7 +61982,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddress" + "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR" } }, "401": { @@ -61786,13 +61998,13 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "IPAddress", + "kind": "ServiceCIDR", "version": "v1alpha1" } }, "parameters": [ { - "description": "name of the IPAddress", + "description": "name of the ServiceCIDR", "in": "path", "name": "name", "required": true, @@ -61800,7 +62012,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -61810,8 +62022,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified IPAddress", - "operationId": "patchNetworkingV1alpha1IPAddress", + "description": "partially update the specified ServiceCIDR", + "operationId": "patchNetworkingV1alpha1ServiceCIDR", "parameters": [ { "$ref": "#/parameters/body-78PwaGsr" @@ -61846,13 +62058,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddress" + "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddress" + "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR" } }, "401": { @@ -61868,7 +62080,7 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "IPAddress", + "kind": "ServiceCIDR", "version": "v1alpha1" } }, @@ -61876,15 +62088,15 @@ "consumes": [ "*/*" ], - "description": "replace the specified IPAddress", - "operationId": "replaceNetworkingV1alpha1IPAddress", + "description": "replace the specified ServiceCIDR", + "operationId": "replaceNetworkingV1alpha1ServiceCIDR", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddress" + "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR" } }, { @@ -61914,13 +62126,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddress" + "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddress" + "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR" } }, "401": { @@ -61936,30 +62148,28 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "IPAddress", + "kind": "ServiceCIDR", "version": "v1alpha1" } } }, - "/apis/networking.k8s.io/v1alpha1/watch/clustercidrs": { + "/apis/networking.k8s.io/v1alpha1/servicecidrs/{name}/status": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of ClusterCIDR. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchNetworkingV1alpha1ClusterCIDRList", + "description": "read status of the specified ServiceCIDR", + "operationId": "readNetworkingV1alpha1ServiceCIDRStatus", "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR" } }, "401": { @@ -61972,56 +62182,245 @@ "tags": [ "networking_v1alpha1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "ClusterCIDR", + "kind": "ServiceCIDR", "version": "v1alpha1" } }, "parameters": [ { - "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" - }, - { - "$ref": "#/parameters/continue-QfD61s0i" - }, - { - "$ref": "#/parameters/fieldSelector-xIcQKXFG" - }, - { - "$ref": "#/parameters/labelSelector-5Zw57w4C" - }, - { - "$ref": "#/parameters/limit-1NfNmdNH" - }, - { - "$ref": "#/parameters/pretty-nN7o5FEq" - }, - { - "$ref": "#/parameters/resourceVersion-5WAnf1kx" - }, - { - "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + "description": "name of the ServiceCIDR", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true }, { - "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ], + "patch": { + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update status of the specified ServiceCIDR", + "operationId": "patchNetworkingV1alpha1ServiceCIDRStatus", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "description": "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", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + "schemes": [ + "https" + ], + "tags": [ + "networking_v1alpha1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "ServiceCIDR", + "version": "v1alpha1" + } + }, + "put": { + "consumes": [ + "*/*" + ], + "description": "replace status of the specified ServiceCIDR", + "operationId": "replaceNetworkingV1alpha1ServiceCIDRStatus", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR" + } + }, + { + "description": "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", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "$ref": "#/parameters/watch-XNNPZGbK" + "schemes": [ + "https" + ], + "tags": [ + "networking_v1alpha1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "ServiceCIDR", + "version": "v1alpha1" } - ] + } }, - "/apis/networking.k8s.io/v1alpha1/watch/clustercidrs/{name}": { + "/apis/networking.k8s.io/v1alpha1/watch/ipaddresses": { "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind ClusterCIDR. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchNetworkingV1alpha1ClusterCIDR", + "description": "watch individual changes to a list of IPAddress. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchNetworkingV1alpha1IPAddressList", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "networking_v1alpha1" + ], + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "IPAddress", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/networking.k8s.io/v1alpha1/watch/ipaddresses/{name}": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch changes to an object of kind IPAddress. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchNetworkingV1alpha1IPAddress", "produces": [ "application/json", "application/yaml", @@ -62049,7 +62448,7 @@ "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "ClusterCIDR", + "kind": "IPAddress", "version": "v1alpha1" } }, @@ -62070,7 +62469,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "description": "name of the ClusterCIDR", + "description": "name of the IPAddress", "in": "path", "name": "name", "required": true, @@ -62078,7 +62477,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -62097,13 +62496,13 @@ } ] }, - "/apis/networking.k8s.io/v1alpha1/watch/ipaddresses": { + "/apis/networking.k8s.io/v1alpha1/watch/servicecidrs": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of IPAddress. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchNetworkingV1alpha1IPAddressList", + "description": "watch individual changes to a list of ServiceCIDR. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchNetworkingV1alpha1ServiceCIDRList", "produces": [ "application/json", "application/yaml", @@ -62131,7 +62530,7 @@ "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "IPAddress", + "kind": "ServiceCIDR", "version": "v1alpha1" } }, @@ -62152,7 +62551,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -62171,13 +62570,13 @@ } ] }, - "/apis/networking.k8s.io/v1alpha1/watch/ipaddresses/{name}": { + "/apis/networking.k8s.io/v1alpha1/watch/servicecidrs/{name}": { "get": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind IPAddress. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchNetworkingV1alpha1IPAddress", + "description": "watch changes to an object of kind ServiceCIDR. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchNetworkingV1alpha1ServiceCIDR", "produces": [ "application/json", "application/yaml", @@ -62205,7 +62604,7 @@ "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "networking.k8s.io", - "kind": "IPAddress", + "kind": "ServiceCIDR", "version": "v1alpha1" } }, @@ -62226,7 +62625,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "description": "name of the IPAddress", + "description": "name of the ServiceCIDR", "in": "path", "name": "name", "required": true, @@ -62234,7 +62633,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -62471,7 +62870,7 @@ }, "parameters": [ { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -62657,7 +63056,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -62853,7 +63252,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -62935,7 +63334,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -63175,7 +63574,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -63364,7 +63763,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -63554,7 +63953,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -63750,7 +64149,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -63827,7 +64226,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -63912,7 +64311,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -63986,7 +64385,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -64223,7 +64622,7 @@ }, "parameters": [ { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -64409,7 +64808,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -64702,7 +65101,7 @@ }, "parameters": [ { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -64888,7 +65287,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -65184,7 +65583,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -65373,7 +65772,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -65669,7 +66068,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -65858,7 +66257,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -66054,7 +66453,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -66128,7 +66527,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -66202,7 +66601,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -66284,7 +66683,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -66358,7 +66757,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -66440,7 +66839,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -66517,7 +66916,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -66602,7 +67001,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -66679,7 +67078,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -66764,7 +67163,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -66838,7 +67237,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -66912,7 +67311,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -67152,7 +67551,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -67341,7 +67740,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -67531,7 +67930,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -67827,7 +68226,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -68016,7 +68415,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -68206,7 +68605,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -68502,7 +68901,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -68691,7 +69090,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -68887,7 +69286,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -68961,7 +69360,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -69035,7 +69434,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -69206,7 +69605,7 @@ }, "parameters": [ { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -69392,7 +69791,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -69591,7 +69990,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -69676,7 +70075,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -69753,7 +70152,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -69838,7 +70237,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -69915,7 +70314,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -70000,7 +70399,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -70074,7 +70473,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -70148,7 +70547,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -70222,7 +70621,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -70296,7 +70695,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -70378,7 +70777,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -70615,7 +71014,7 @@ }, "parameters": [ { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -70801,7 +71200,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -70997,7 +71396,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -71079,7 +71478,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -71316,7 +71715,7 @@ }, "parameters": [ { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -71502,7 +71901,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -71795,7 +72194,7 @@ }, "parameters": [ { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -71981,7 +72380,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -72177,7 +72576,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -72351,7 +72750,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -72540,7 +72939,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -72833,7 +73232,7 @@ }, "parameters": [ { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -73019,7 +73418,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -73312,7 +73711,7 @@ }, "parameters": [ { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "post": { @@ -73498,7 +73897,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -73685,7 +74084,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" } ], "patch": { @@ -73881,7 +74280,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -73963,7 +74362,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -74037,7 +74436,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -74119,7 +74518,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -74193,7 +74592,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -74270,7 +74669,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -74355,7 +74754,7 @@ "$ref": "#/parameters/namespace-vgWSWtn3" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -74429,7 +74828,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -74511,7 +74910,7 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -74585,7 +74984,7 @@ "$ref": "#/parameters/limit-1NfNmdNH" }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" @@ -74667,7 +75066,675 @@ "uniqueItems": true }, { - "$ref": "#/parameters/pretty-nN7o5FEq" + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/storage.k8s.io/v1alpha1/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get available resources", + "operationId": "getStorageV1alpha1APIResources", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1alpha1" + ] + } + }, + "/apis/storage.k8s.io/v1alpha1/volumeattributesclasses": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete collection of VolumeAttributesClass", + "operationId": "deleteStorageV1alpha1CollectionVolumeAttributesClass", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "description": "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", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1alpha1" + ], + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttributesClass", + "version": "v1alpha1" + } + }, + "get": { + "consumes": [ + "*/*" + ], + "description": "list or watch objects of kind VolumeAttributesClass", + "operationId": "listStorageV1alpha1VolumeAttributesClass", + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.VolumeAttributesClassList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1alpha1" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttributesClass", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ], + "post": { + "consumes": [ + "*/*" + ], + "description": "create a VolumeAttributesClass", + "operationId": "createStorageV1alpha1VolumeAttributesClass", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.VolumeAttributesClass" + } + }, + { + "description": "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", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.VolumeAttributesClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.VolumeAttributesClass" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.VolumeAttributesClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1alpha1" + ], + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttributesClass", + "version": "v1alpha1" + } + } + }, + "/apis/storage.k8s.io/v1alpha1/volumeattributesclasses/{name}": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete a VolumeAttributesClass", + "operationId": "deleteStorageV1alpha1VolumeAttributesClass", + "parameters": [ + { + "$ref": "#/parameters/body-2Y1dVQaQ" + }, + { + "description": "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", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/gracePeriodSeconds--K5HaBOS" + }, + { + "$ref": "#/parameters/orphanDependents-uRB25kX5" + }, + { + "$ref": "#/parameters/propagationPolicy-6jk3prlO" + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.VolumeAttributesClass" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.VolumeAttributesClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1alpha1" + ], + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttributesClass", + "version": "v1alpha1" + } + }, + "get": { + "consumes": [ + "*/*" + ], + "description": "read the specified VolumeAttributesClass", + "operationId": "readStorageV1alpha1VolumeAttributesClass", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.VolumeAttributesClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1alpha1" + ], + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttributesClass", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "description": "name of the VolumeAttributesClass", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + } + ], + "patch": { + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update the specified VolumeAttributesClass", + "operationId": "patchStorageV1alpha1VolumeAttributesClass", + "parameters": [ + { + "$ref": "#/parameters/body-78PwaGsr" + }, + { + "description": "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", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/fieldManager-7c6nTn1T" + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/force-tOGGb0Yi" + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.VolumeAttributesClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.VolumeAttributesClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1alpha1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttributesClass", + "version": "v1alpha1" + } + }, + "put": { + "consumes": [ + "*/*" + ], + "description": "replace the specified VolumeAttributesClass", + "operationId": "replaceStorageV1alpha1VolumeAttributesClass", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.VolumeAttributesClass" + } + }, + { + "description": "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", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/fieldManager-Qy4HdaTW" + }, + { + "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", + "in": "query", + "name": "fieldValidation", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.VolumeAttributesClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.VolumeAttributesClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1alpha1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttributesClass", + "version": "v1alpha1" + } + } + }, + "/apis/storage.k8s.io/v1alpha1/watch/volumeattributesclasses": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch individual changes to a list of VolumeAttributesClass. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchStorageV1alpha1VolumeAttributesClassList", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1alpha1" + ], + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttributesClass", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" + }, + { + "$ref": "#/parameters/resourceVersion-5WAnf1kx" + }, + { + "$ref": "#/parameters/resourceVersionMatch-t8XhRHeC" + }, + { + "$ref": "#/parameters/sendInitialEvents-rLXlEK_k" + }, + { + "$ref": "#/parameters/timeoutSeconds-yvYezaOC" + }, + { + "$ref": "#/parameters/watch-XNNPZGbK" + } + ] + }, + "/apis/storage.k8s.io/v1alpha1/watch/volumeattributesclasses/{name}": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch changes to an object of kind VolumeAttributesClass. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchStorageV1alpha1VolumeAttributesClass", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1alpha1" + ], + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttributesClass", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J" + }, + { + "$ref": "#/parameters/continue-QfD61s0i" + }, + { + "$ref": "#/parameters/fieldSelector-xIcQKXFG" + }, + { + "$ref": "#/parameters/labelSelector-5Zw57w4C" + }, + { + "$ref": "#/parameters/limit-1NfNmdNH" + }, + { + "description": "name of the VolumeAttributesClass", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "$ref": "#/parameters/pretty-tJGM1-ng" }, { "$ref": "#/parameters/resourceVersion-5WAnf1kx" diff --git a/kubernetes/unit-test/test_flowcontrol_v1_subject.c b/kubernetes/unit-test/test_flowcontrol_v1_subject.c new file mode 100644 index 00000000..a8e196f6 --- /dev/null +++ b/kubernetes/unit-test/test_flowcontrol_v1_subject.c @@ -0,0 +1,70 @@ +#ifndef flowcontrol_v1_subject_TEST +#define flowcontrol_v1_subject_TEST + +// the following is to include only the main from the first c file +#ifndef TEST_MAIN +#define TEST_MAIN +#define flowcontrol_v1_subject_MAIN +#endif // TEST_MAIN + +#include +#include +#include +#include +#include "../external/cJSON.h" + +#include "../model/flowcontrol_v1_subject.h" +flowcontrol_v1_subject_t* instantiate_flowcontrol_v1_subject(int include_optional); + +#include "test_v1_group_subject.c" +#include "test_v1_service_account_subject.c" +#include "test_v1_user_subject.c" + + +flowcontrol_v1_subject_t* instantiate_flowcontrol_v1_subject(int include_optional) { + flowcontrol_v1_subject_t* flowcontrol_v1_subject = NULL; + if (include_optional) { + flowcontrol_v1_subject = flowcontrol_v1_subject_create( + // false, not to have infinite recursion + instantiate_v1_group_subject(0), + "0", + // false, not to have infinite recursion + instantiate_v1_service_account_subject(0), + // false, not to have infinite recursion + instantiate_v1_user_subject(0) + ); + } else { + flowcontrol_v1_subject = flowcontrol_v1_subject_create( + NULL, + "0", + NULL, + NULL + ); + } + + return flowcontrol_v1_subject; +} + + +#ifdef flowcontrol_v1_subject_MAIN + +void test_flowcontrol_v1_subject(int include_optional) { + flowcontrol_v1_subject_t* flowcontrol_v1_subject_1 = instantiate_flowcontrol_v1_subject(include_optional); + + cJSON* jsonflowcontrol_v1_subject_1 = flowcontrol_v1_subject_convertToJSON(flowcontrol_v1_subject_1); + printf("flowcontrol_v1_subject :\n%s\n", cJSON_Print(jsonflowcontrol_v1_subject_1)); + flowcontrol_v1_subject_t* flowcontrol_v1_subject_2 = flowcontrol_v1_subject_parseFromJSON(jsonflowcontrol_v1_subject_1); + cJSON* jsonflowcontrol_v1_subject_2 = flowcontrol_v1_subject_convertToJSON(flowcontrol_v1_subject_2); + printf("repeating flowcontrol_v1_subject:\n%s\n", cJSON_Print(jsonflowcontrol_v1_subject_2)); +} + +int main() { + test_flowcontrol_v1_subject(1); + test_flowcontrol_v1_subject(0); + + printf("Hello world \n"); + return 0; +} + +#endif // flowcontrol_v1_subject_MAIN +#endif // flowcontrol_v1_subject_TEST diff --git a/kubernetes/unit-test/test_rbac_v1_subject.c b/kubernetes/unit-test/test_rbac_v1_subject.c new file mode 100644 index 00000000..a787290e --- /dev/null +++ b/kubernetes/unit-test/test_rbac_v1_subject.c @@ -0,0 +1,64 @@ +#ifndef rbac_v1_subject_TEST +#define rbac_v1_subject_TEST + +// the following is to include only the main from the first c file +#ifndef TEST_MAIN +#define TEST_MAIN +#define rbac_v1_subject_MAIN +#endif // TEST_MAIN + +#include +#include +#include +#include +#include "../external/cJSON.h" + +#include "../model/rbac_v1_subject.h" +rbac_v1_subject_t* instantiate_rbac_v1_subject(int include_optional); + + + +rbac_v1_subject_t* instantiate_rbac_v1_subject(int include_optional) { + rbac_v1_subject_t* rbac_v1_subject = NULL; + if (include_optional) { + rbac_v1_subject = rbac_v1_subject_create( + "0", + "0", + "0", + "0" + ); + } else { + rbac_v1_subject = rbac_v1_subject_create( + "0", + "0", + "0", + "0" + ); + } + + return rbac_v1_subject; +} + + +#ifdef rbac_v1_subject_MAIN + +void test_rbac_v1_subject(int include_optional) { + rbac_v1_subject_t* rbac_v1_subject_1 = instantiate_rbac_v1_subject(include_optional); + + cJSON* jsonrbac_v1_subject_1 = rbac_v1_subject_convertToJSON(rbac_v1_subject_1); + printf("rbac_v1_subject :\n%s\n", cJSON_Print(jsonrbac_v1_subject_1)); + rbac_v1_subject_t* rbac_v1_subject_2 = rbac_v1_subject_parseFromJSON(jsonrbac_v1_subject_1); + cJSON* jsonrbac_v1_subject_2 = rbac_v1_subject_convertToJSON(rbac_v1_subject_2); + printf("repeating rbac_v1_subject:\n%s\n", cJSON_Print(jsonrbac_v1_subject_2)); +} + +int main() { + test_rbac_v1_subject(1); + test_rbac_v1_subject(0); + + printf("Hello world \n"); + return 0; +} + +#endif // rbac_v1_subject_MAIN +#endif // rbac_v1_subject_TEST diff --git a/kubernetes/unit-test/test_v1_cluster_trust_bundle_projection.c b/kubernetes/unit-test/test_v1_cluster_trust_bundle_projection.c new file mode 100644 index 00000000..5b14ed61 --- /dev/null +++ b/kubernetes/unit-test/test_v1_cluster_trust_bundle_projection.c @@ -0,0 +1,68 @@ +#ifndef v1_cluster_trust_bundle_projection_TEST +#define v1_cluster_trust_bundle_projection_TEST + +// the following is to include only the main from the first c file +#ifndef TEST_MAIN +#define TEST_MAIN +#define v1_cluster_trust_bundle_projection_MAIN +#endif // TEST_MAIN + +#include +#include +#include +#include +#include "../external/cJSON.h" + +#include "../model/v1_cluster_trust_bundle_projection.h" +v1_cluster_trust_bundle_projection_t* instantiate_v1_cluster_trust_bundle_projection(int include_optional); + +#include "test_v1_label_selector.c" + + +v1_cluster_trust_bundle_projection_t* instantiate_v1_cluster_trust_bundle_projection(int include_optional) { + v1_cluster_trust_bundle_projection_t* v1_cluster_trust_bundle_projection = NULL; + if (include_optional) { + v1_cluster_trust_bundle_projection = v1_cluster_trust_bundle_projection_create( + // false, not to have infinite recursion + instantiate_v1_label_selector(0), + "0", + 1, + "0", + "0" + ); + } else { + v1_cluster_trust_bundle_projection = v1_cluster_trust_bundle_projection_create( + NULL, + "0", + 1, + "0", + "0" + ); + } + + return v1_cluster_trust_bundle_projection; +} + + +#ifdef v1_cluster_trust_bundle_projection_MAIN + +void test_v1_cluster_trust_bundle_projection(int include_optional) { + v1_cluster_trust_bundle_projection_t* v1_cluster_trust_bundle_projection_1 = instantiate_v1_cluster_trust_bundle_projection(include_optional); + + cJSON* jsonv1_cluster_trust_bundle_projection_1 = v1_cluster_trust_bundle_projection_convertToJSON(v1_cluster_trust_bundle_projection_1); + printf("v1_cluster_trust_bundle_projection :\n%s\n", cJSON_Print(jsonv1_cluster_trust_bundle_projection_1)); + v1_cluster_trust_bundle_projection_t* v1_cluster_trust_bundle_projection_2 = v1_cluster_trust_bundle_projection_parseFromJSON(jsonv1_cluster_trust_bundle_projection_1); + cJSON* jsonv1_cluster_trust_bundle_projection_2 = v1_cluster_trust_bundle_projection_convertToJSON(v1_cluster_trust_bundle_projection_2); + printf("repeating v1_cluster_trust_bundle_projection:\n%s\n", cJSON_Print(jsonv1_cluster_trust_bundle_projection_2)); +} + +int main() { + test_v1_cluster_trust_bundle_projection(1); + test_v1_cluster_trust_bundle_projection(0); + + printf("Hello world \n"); + return 0; +} + +#endif // v1_cluster_trust_bundle_projection_MAIN +#endif // v1_cluster_trust_bundle_projection_TEST diff --git a/kubernetes/unit-test/test_v1_exempt_priority_level_configuration.c b/kubernetes/unit-test/test_v1_exempt_priority_level_configuration.c new file mode 100644 index 00000000..28458e98 --- /dev/null +++ b/kubernetes/unit-test/test_v1_exempt_priority_level_configuration.c @@ -0,0 +1,60 @@ +#ifndef v1_exempt_priority_level_configuration_TEST +#define v1_exempt_priority_level_configuration_TEST + +// the following is to include only the main from the first c file +#ifndef TEST_MAIN +#define TEST_MAIN +#define v1_exempt_priority_level_configuration_MAIN +#endif // TEST_MAIN + +#include +#include +#include +#include +#include "../external/cJSON.h" + +#include "../model/v1_exempt_priority_level_configuration.h" +v1_exempt_priority_level_configuration_t* instantiate_v1_exempt_priority_level_configuration(int include_optional); + + + +v1_exempt_priority_level_configuration_t* instantiate_v1_exempt_priority_level_configuration(int include_optional) { + v1_exempt_priority_level_configuration_t* v1_exempt_priority_level_configuration = NULL; + if (include_optional) { + v1_exempt_priority_level_configuration = v1_exempt_priority_level_configuration_create( + 56, + 56 + ); + } else { + v1_exempt_priority_level_configuration = v1_exempt_priority_level_configuration_create( + 56, + 56 + ); + } + + return v1_exempt_priority_level_configuration; +} + + +#ifdef v1_exempt_priority_level_configuration_MAIN + +void test_v1_exempt_priority_level_configuration(int include_optional) { + v1_exempt_priority_level_configuration_t* v1_exempt_priority_level_configuration_1 = instantiate_v1_exempt_priority_level_configuration(include_optional); + + cJSON* jsonv1_exempt_priority_level_configuration_1 = v1_exempt_priority_level_configuration_convertToJSON(v1_exempt_priority_level_configuration_1); + printf("v1_exempt_priority_level_configuration :\n%s\n", cJSON_Print(jsonv1_exempt_priority_level_configuration_1)); + v1_exempt_priority_level_configuration_t* v1_exempt_priority_level_configuration_2 = v1_exempt_priority_level_configuration_parseFromJSON(jsonv1_exempt_priority_level_configuration_1); + cJSON* jsonv1_exempt_priority_level_configuration_2 = v1_exempt_priority_level_configuration_convertToJSON(v1_exempt_priority_level_configuration_2); + printf("repeating v1_exempt_priority_level_configuration:\n%s\n", cJSON_Print(jsonv1_exempt_priority_level_configuration_2)); +} + +int main() { + test_v1_exempt_priority_level_configuration(1); + test_v1_exempt_priority_level_configuration(0); + + printf("Hello world \n"); + return 0; +} + +#endif // v1_exempt_priority_level_configuration_MAIN +#endif // v1_exempt_priority_level_configuration_TEST diff --git a/kubernetes/unit-test/test_v1_flow_distinguisher_method.c b/kubernetes/unit-test/test_v1_flow_distinguisher_method.c new file mode 100644 index 00000000..54a27859 --- /dev/null +++ b/kubernetes/unit-test/test_v1_flow_distinguisher_method.c @@ -0,0 +1,58 @@ +#ifndef v1_flow_distinguisher_method_TEST +#define v1_flow_distinguisher_method_TEST + +// the following is to include only the main from the first c file +#ifndef TEST_MAIN +#define TEST_MAIN +#define v1_flow_distinguisher_method_MAIN +#endif // TEST_MAIN + +#include +#include +#include +#include +#include "../external/cJSON.h" + +#include "../model/v1_flow_distinguisher_method.h" +v1_flow_distinguisher_method_t* instantiate_v1_flow_distinguisher_method(int include_optional); + + + +v1_flow_distinguisher_method_t* instantiate_v1_flow_distinguisher_method(int include_optional) { + v1_flow_distinguisher_method_t* v1_flow_distinguisher_method = NULL; + if (include_optional) { + v1_flow_distinguisher_method = v1_flow_distinguisher_method_create( + "0" + ); + } else { + v1_flow_distinguisher_method = v1_flow_distinguisher_method_create( + "0" + ); + } + + return v1_flow_distinguisher_method; +} + + +#ifdef v1_flow_distinguisher_method_MAIN + +void test_v1_flow_distinguisher_method(int include_optional) { + v1_flow_distinguisher_method_t* v1_flow_distinguisher_method_1 = instantiate_v1_flow_distinguisher_method(include_optional); + + cJSON* jsonv1_flow_distinguisher_method_1 = v1_flow_distinguisher_method_convertToJSON(v1_flow_distinguisher_method_1); + printf("v1_flow_distinguisher_method :\n%s\n", cJSON_Print(jsonv1_flow_distinguisher_method_1)); + v1_flow_distinguisher_method_t* v1_flow_distinguisher_method_2 = v1_flow_distinguisher_method_parseFromJSON(jsonv1_flow_distinguisher_method_1); + cJSON* jsonv1_flow_distinguisher_method_2 = v1_flow_distinguisher_method_convertToJSON(v1_flow_distinguisher_method_2); + printf("repeating v1_flow_distinguisher_method:\n%s\n", cJSON_Print(jsonv1_flow_distinguisher_method_2)); +} + +int main() { + test_v1_flow_distinguisher_method(1); + test_v1_flow_distinguisher_method(0); + + printf("Hello world \n"); + return 0; +} + +#endif // v1_flow_distinguisher_method_MAIN +#endif // v1_flow_distinguisher_method_TEST diff --git a/kubernetes/unit-test/test_v1_flow_schema.c b/kubernetes/unit-test/test_v1_flow_schema.c new file mode 100644 index 00000000..03fc37b0 --- /dev/null +++ b/kubernetes/unit-test/test_v1_flow_schema.c @@ -0,0 +1,72 @@ +#ifndef v1_flow_schema_TEST +#define v1_flow_schema_TEST + +// the following is to include only the main from the first c file +#ifndef TEST_MAIN +#define TEST_MAIN +#define v1_flow_schema_MAIN +#endif // TEST_MAIN + +#include +#include +#include +#include +#include "../external/cJSON.h" + +#include "../model/v1_flow_schema.h" +v1_flow_schema_t* instantiate_v1_flow_schema(int include_optional); + +#include "test_v1_object_meta.c" +#include "test_v1_flow_schema_spec.c" +#include "test_v1_flow_schema_status.c" + + +v1_flow_schema_t* instantiate_v1_flow_schema(int include_optional) { + v1_flow_schema_t* v1_flow_schema = NULL; + if (include_optional) { + v1_flow_schema = v1_flow_schema_create( + "0", + "0", + // false, not to have infinite recursion + instantiate_v1_object_meta(0), + // false, not to have infinite recursion + instantiate_v1_flow_schema_spec(0), + // false, not to have infinite recursion + instantiate_v1_flow_schema_status(0) + ); + } else { + v1_flow_schema = v1_flow_schema_create( + "0", + "0", + NULL, + NULL, + NULL + ); + } + + return v1_flow_schema; +} + + +#ifdef v1_flow_schema_MAIN + +void test_v1_flow_schema(int include_optional) { + v1_flow_schema_t* v1_flow_schema_1 = instantiate_v1_flow_schema(include_optional); + + cJSON* jsonv1_flow_schema_1 = v1_flow_schema_convertToJSON(v1_flow_schema_1); + printf("v1_flow_schema :\n%s\n", cJSON_Print(jsonv1_flow_schema_1)); + v1_flow_schema_t* v1_flow_schema_2 = v1_flow_schema_parseFromJSON(jsonv1_flow_schema_1); + cJSON* jsonv1_flow_schema_2 = v1_flow_schema_convertToJSON(v1_flow_schema_2); + printf("repeating v1_flow_schema:\n%s\n", cJSON_Print(jsonv1_flow_schema_2)); +} + +int main() { + test_v1_flow_schema(1); + test_v1_flow_schema(0); + + printf("Hello world \n"); + return 0; +} + +#endif // v1_flow_schema_MAIN +#endif // v1_flow_schema_TEST diff --git a/kubernetes/unit-test/test_v1_flow_schema_condition.c b/kubernetes/unit-test/test_v1_flow_schema_condition.c new file mode 100644 index 00000000..058dbebb --- /dev/null +++ b/kubernetes/unit-test/test_v1_flow_schema_condition.c @@ -0,0 +1,66 @@ +#ifndef v1_flow_schema_condition_TEST +#define v1_flow_schema_condition_TEST + +// the following is to include only the main from the first c file +#ifndef TEST_MAIN +#define TEST_MAIN +#define v1_flow_schema_condition_MAIN +#endif // TEST_MAIN + +#include +#include +#include +#include +#include "../external/cJSON.h" + +#include "../model/v1_flow_schema_condition.h" +v1_flow_schema_condition_t* instantiate_v1_flow_schema_condition(int include_optional); + + + +v1_flow_schema_condition_t* instantiate_v1_flow_schema_condition(int include_optional) { + v1_flow_schema_condition_t* v1_flow_schema_condition = NULL; + if (include_optional) { + v1_flow_schema_condition = v1_flow_schema_condition_create( + "2013-10-20T19:20:30+01:00", + "0", + "0", + "0", + "0" + ); + } else { + v1_flow_schema_condition = v1_flow_schema_condition_create( + "2013-10-20T19:20:30+01:00", + "0", + "0", + "0", + "0" + ); + } + + return v1_flow_schema_condition; +} + + +#ifdef v1_flow_schema_condition_MAIN + +void test_v1_flow_schema_condition(int include_optional) { + v1_flow_schema_condition_t* v1_flow_schema_condition_1 = instantiate_v1_flow_schema_condition(include_optional); + + cJSON* jsonv1_flow_schema_condition_1 = v1_flow_schema_condition_convertToJSON(v1_flow_schema_condition_1); + printf("v1_flow_schema_condition :\n%s\n", cJSON_Print(jsonv1_flow_schema_condition_1)); + v1_flow_schema_condition_t* v1_flow_schema_condition_2 = v1_flow_schema_condition_parseFromJSON(jsonv1_flow_schema_condition_1); + cJSON* jsonv1_flow_schema_condition_2 = v1_flow_schema_condition_convertToJSON(v1_flow_schema_condition_2); + printf("repeating v1_flow_schema_condition:\n%s\n", cJSON_Print(jsonv1_flow_schema_condition_2)); +} + +int main() { + test_v1_flow_schema_condition(1); + test_v1_flow_schema_condition(0); + + printf("Hello world \n"); + return 0; +} + +#endif // v1_flow_schema_condition_MAIN +#endif // v1_flow_schema_condition_TEST diff --git a/kubernetes/unit-test/test_v1_flow_schema_list.c b/kubernetes/unit-test/test_v1_flow_schema_list.c new file mode 100644 index 00000000..f4221dc5 --- /dev/null +++ b/kubernetes/unit-test/test_v1_flow_schema_list.c @@ -0,0 +1,66 @@ +#ifndef v1_flow_schema_list_TEST +#define v1_flow_schema_list_TEST + +// the following is to include only the main from the first c file +#ifndef TEST_MAIN +#define TEST_MAIN +#define v1_flow_schema_list_MAIN +#endif // TEST_MAIN + +#include +#include +#include +#include +#include "../external/cJSON.h" + +#include "../model/v1_flow_schema_list.h" +v1_flow_schema_list_t* instantiate_v1_flow_schema_list(int include_optional); + +#include "test_v1_list_meta.c" + + +v1_flow_schema_list_t* instantiate_v1_flow_schema_list(int include_optional) { + v1_flow_schema_list_t* v1_flow_schema_list = NULL; + if (include_optional) { + v1_flow_schema_list = v1_flow_schema_list_create( + "0", + list_createList(), + "0", + // false, not to have infinite recursion + instantiate_v1_list_meta(0) + ); + } else { + v1_flow_schema_list = v1_flow_schema_list_create( + "0", + list_createList(), + "0", + NULL + ); + } + + return v1_flow_schema_list; +} + + +#ifdef v1_flow_schema_list_MAIN + +void test_v1_flow_schema_list(int include_optional) { + v1_flow_schema_list_t* v1_flow_schema_list_1 = instantiate_v1_flow_schema_list(include_optional); + + cJSON* jsonv1_flow_schema_list_1 = v1_flow_schema_list_convertToJSON(v1_flow_schema_list_1); + printf("v1_flow_schema_list :\n%s\n", cJSON_Print(jsonv1_flow_schema_list_1)); + v1_flow_schema_list_t* v1_flow_schema_list_2 = v1_flow_schema_list_parseFromJSON(jsonv1_flow_schema_list_1); + cJSON* jsonv1_flow_schema_list_2 = v1_flow_schema_list_convertToJSON(v1_flow_schema_list_2); + printf("repeating v1_flow_schema_list:\n%s\n", cJSON_Print(jsonv1_flow_schema_list_2)); +} + +int main() { + test_v1_flow_schema_list(1); + test_v1_flow_schema_list(0); + + printf("Hello world \n"); + return 0; +} + +#endif // v1_flow_schema_list_MAIN +#endif // v1_flow_schema_list_TEST diff --git a/kubernetes/unit-test/test_v1_flow_schema_spec.c b/kubernetes/unit-test/test_v1_flow_schema_spec.c new file mode 100644 index 00000000..88269fdc --- /dev/null +++ b/kubernetes/unit-test/test_v1_flow_schema_spec.c @@ -0,0 +1,68 @@ +#ifndef v1_flow_schema_spec_TEST +#define v1_flow_schema_spec_TEST + +// the following is to include only the main from the first c file +#ifndef TEST_MAIN +#define TEST_MAIN +#define v1_flow_schema_spec_MAIN +#endif // TEST_MAIN + +#include +#include +#include +#include +#include "../external/cJSON.h" + +#include "../model/v1_flow_schema_spec.h" +v1_flow_schema_spec_t* instantiate_v1_flow_schema_spec(int include_optional); + +#include "test_v1_flow_distinguisher_method.c" +#include "test_v1_priority_level_configuration_reference.c" + + +v1_flow_schema_spec_t* instantiate_v1_flow_schema_spec(int include_optional) { + v1_flow_schema_spec_t* v1_flow_schema_spec = NULL; + if (include_optional) { + v1_flow_schema_spec = v1_flow_schema_spec_create( + // false, not to have infinite recursion + instantiate_v1_flow_distinguisher_method(0), + 56, + // false, not to have infinite recursion + instantiate_v1_priority_level_configuration_reference(0), + list_createList() + ); + } else { + v1_flow_schema_spec = v1_flow_schema_spec_create( + NULL, + 56, + NULL, + list_createList() + ); + } + + return v1_flow_schema_spec; +} + + +#ifdef v1_flow_schema_spec_MAIN + +void test_v1_flow_schema_spec(int include_optional) { + v1_flow_schema_spec_t* v1_flow_schema_spec_1 = instantiate_v1_flow_schema_spec(include_optional); + + cJSON* jsonv1_flow_schema_spec_1 = v1_flow_schema_spec_convertToJSON(v1_flow_schema_spec_1); + printf("v1_flow_schema_spec :\n%s\n", cJSON_Print(jsonv1_flow_schema_spec_1)); + v1_flow_schema_spec_t* v1_flow_schema_spec_2 = v1_flow_schema_spec_parseFromJSON(jsonv1_flow_schema_spec_1); + cJSON* jsonv1_flow_schema_spec_2 = v1_flow_schema_spec_convertToJSON(v1_flow_schema_spec_2); + printf("repeating v1_flow_schema_spec:\n%s\n", cJSON_Print(jsonv1_flow_schema_spec_2)); +} + +int main() { + test_v1_flow_schema_spec(1); + test_v1_flow_schema_spec(0); + + printf("Hello world \n"); + return 0; +} + +#endif // v1_flow_schema_spec_MAIN +#endif // v1_flow_schema_spec_TEST diff --git a/kubernetes/unit-test/test_v1_flow_schema_status.c b/kubernetes/unit-test/test_v1_flow_schema_status.c new file mode 100644 index 00000000..5f0320a0 --- /dev/null +++ b/kubernetes/unit-test/test_v1_flow_schema_status.c @@ -0,0 +1,58 @@ +#ifndef v1_flow_schema_status_TEST +#define v1_flow_schema_status_TEST + +// the following is to include only the main from the first c file +#ifndef TEST_MAIN +#define TEST_MAIN +#define v1_flow_schema_status_MAIN +#endif // TEST_MAIN + +#include +#include +#include +#include +#include "../external/cJSON.h" + +#include "../model/v1_flow_schema_status.h" +v1_flow_schema_status_t* instantiate_v1_flow_schema_status(int include_optional); + + + +v1_flow_schema_status_t* instantiate_v1_flow_schema_status(int include_optional) { + v1_flow_schema_status_t* v1_flow_schema_status = NULL; + if (include_optional) { + v1_flow_schema_status = v1_flow_schema_status_create( + list_createList() + ); + } else { + v1_flow_schema_status = v1_flow_schema_status_create( + list_createList() + ); + } + + return v1_flow_schema_status; +} + + +#ifdef v1_flow_schema_status_MAIN + +void test_v1_flow_schema_status(int include_optional) { + v1_flow_schema_status_t* v1_flow_schema_status_1 = instantiate_v1_flow_schema_status(include_optional); + + cJSON* jsonv1_flow_schema_status_1 = v1_flow_schema_status_convertToJSON(v1_flow_schema_status_1); + printf("v1_flow_schema_status :\n%s\n", cJSON_Print(jsonv1_flow_schema_status_1)); + v1_flow_schema_status_t* v1_flow_schema_status_2 = v1_flow_schema_status_parseFromJSON(jsonv1_flow_schema_status_1); + cJSON* jsonv1_flow_schema_status_2 = v1_flow_schema_status_convertToJSON(v1_flow_schema_status_2); + printf("repeating v1_flow_schema_status:\n%s\n", cJSON_Print(jsonv1_flow_schema_status_2)); +} + +int main() { + test_v1_flow_schema_status(1); + test_v1_flow_schema_status(0); + + printf("Hello world \n"); + return 0; +} + +#endif // v1_flow_schema_status_MAIN +#endif // v1_flow_schema_status_TEST diff --git a/kubernetes/unit-test/test_v1_group_subject.c b/kubernetes/unit-test/test_v1_group_subject.c new file mode 100644 index 00000000..e422b430 --- /dev/null +++ b/kubernetes/unit-test/test_v1_group_subject.c @@ -0,0 +1,58 @@ +#ifndef v1_group_subject_TEST +#define v1_group_subject_TEST + +// the following is to include only the main from the first c file +#ifndef TEST_MAIN +#define TEST_MAIN +#define v1_group_subject_MAIN +#endif // TEST_MAIN + +#include +#include +#include +#include +#include "../external/cJSON.h" + +#include "../model/v1_group_subject.h" +v1_group_subject_t* instantiate_v1_group_subject(int include_optional); + + + +v1_group_subject_t* instantiate_v1_group_subject(int include_optional) { + v1_group_subject_t* v1_group_subject = NULL; + if (include_optional) { + v1_group_subject = v1_group_subject_create( + "0" + ); + } else { + v1_group_subject = v1_group_subject_create( + "0" + ); + } + + return v1_group_subject; +} + + +#ifdef v1_group_subject_MAIN + +void test_v1_group_subject(int include_optional) { + v1_group_subject_t* v1_group_subject_1 = instantiate_v1_group_subject(include_optional); + + cJSON* jsonv1_group_subject_1 = v1_group_subject_convertToJSON(v1_group_subject_1); + printf("v1_group_subject :\n%s\n", cJSON_Print(jsonv1_group_subject_1)); + v1_group_subject_t* v1_group_subject_2 = v1_group_subject_parseFromJSON(jsonv1_group_subject_1); + cJSON* jsonv1_group_subject_2 = v1_group_subject_convertToJSON(v1_group_subject_2); + printf("repeating v1_group_subject:\n%s\n", cJSON_Print(jsonv1_group_subject_2)); +} + +int main() { + test_v1_group_subject(1); + test_v1_group_subject(0); + + printf("Hello world \n"); + return 0; +} + +#endif // v1_group_subject_MAIN +#endif // v1_group_subject_TEST diff --git a/kubernetes/unit-test/test_v1_lifecycle_handler.c b/kubernetes/unit-test/test_v1_lifecycle_handler.c index 25b168c5..1c0b5b51 100644 --- a/kubernetes/unit-test/test_v1_lifecycle_handler.c +++ b/kubernetes/unit-test/test_v1_lifecycle_handler.c @@ -18,6 +18,7 @@ v1_lifecycle_handler_t* instantiate_v1_lifecycle_handler(int include_optional); #include "test_v1_exec_action.c" #include "test_v1_http_get_action.c" +#include "test_v1_sleep_action.c" #include "test_v1_tcp_socket_action.c" @@ -30,10 +31,13 @@ v1_lifecycle_handler_t* instantiate_v1_lifecycle_handler(int include_optional) { // false, not to have infinite recursion instantiate_v1_http_get_action(0), // false, not to have infinite recursion + instantiate_v1_sleep_action(0), + // false, not to have infinite recursion instantiate_v1_tcp_socket_action(0) ); } else { v1_lifecycle_handler = v1_lifecycle_handler_create( + NULL, NULL, NULL, NULL diff --git a/kubernetes/unit-test/test_v1_limit_response.c b/kubernetes/unit-test/test_v1_limit_response.c new file mode 100644 index 00000000..5a877247 --- /dev/null +++ b/kubernetes/unit-test/test_v1_limit_response.c @@ -0,0 +1,62 @@ +#ifndef v1_limit_response_TEST +#define v1_limit_response_TEST + +// the following is to include only the main from the first c file +#ifndef TEST_MAIN +#define TEST_MAIN +#define v1_limit_response_MAIN +#endif // TEST_MAIN + +#include +#include +#include +#include +#include "../external/cJSON.h" + +#include "../model/v1_limit_response.h" +v1_limit_response_t* instantiate_v1_limit_response(int include_optional); + +#include "test_v1_queuing_configuration.c" + + +v1_limit_response_t* instantiate_v1_limit_response(int include_optional) { + v1_limit_response_t* v1_limit_response = NULL; + if (include_optional) { + v1_limit_response = v1_limit_response_create( + // false, not to have infinite recursion + instantiate_v1_queuing_configuration(0), + "0" + ); + } else { + v1_limit_response = v1_limit_response_create( + NULL, + "0" + ); + } + + return v1_limit_response; +} + + +#ifdef v1_limit_response_MAIN + +void test_v1_limit_response(int include_optional) { + v1_limit_response_t* v1_limit_response_1 = instantiate_v1_limit_response(include_optional); + + cJSON* jsonv1_limit_response_1 = v1_limit_response_convertToJSON(v1_limit_response_1); + printf("v1_limit_response :\n%s\n", cJSON_Print(jsonv1_limit_response_1)); + v1_limit_response_t* v1_limit_response_2 = v1_limit_response_parseFromJSON(jsonv1_limit_response_1); + cJSON* jsonv1_limit_response_2 = v1_limit_response_convertToJSON(v1_limit_response_2); + printf("repeating v1_limit_response:\n%s\n", cJSON_Print(jsonv1_limit_response_2)); +} + +int main() { + test_v1_limit_response(1); + test_v1_limit_response(0); + + printf("Hello world \n"); + return 0; +} + +#endif // v1_limit_response_MAIN +#endif // v1_limit_response_TEST diff --git a/kubernetes/unit-test/test_v1_limited_priority_level_configuration.c b/kubernetes/unit-test/test_v1_limited_priority_level_configuration.c new file mode 100644 index 00000000..f011a3d9 --- /dev/null +++ b/kubernetes/unit-test/test_v1_limited_priority_level_configuration.c @@ -0,0 +1,66 @@ +#ifndef v1_limited_priority_level_configuration_TEST +#define v1_limited_priority_level_configuration_TEST + +// the following is to include only the main from the first c file +#ifndef TEST_MAIN +#define TEST_MAIN +#define v1_limited_priority_level_configuration_MAIN +#endif // TEST_MAIN + +#include +#include +#include +#include +#include "../external/cJSON.h" + +#include "../model/v1_limited_priority_level_configuration.h" +v1_limited_priority_level_configuration_t* instantiate_v1_limited_priority_level_configuration(int include_optional); + +#include "test_v1_limit_response.c" + + +v1_limited_priority_level_configuration_t* instantiate_v1_limited_priority_level_configuration(int include_optional) { + v1_limited_priority_level_configuration_t* v1_limited_priority_level_configuration = NULL; + if (include_optional) { + v1_limited_priority_level_configuration = v1_limited_priority_level_configuration_create( + 56, + 56, + // false, not to have infinite recursion + instantiate_v1_limit_response(0), + 56 + ); + } else { + v1_limited_priority_level_configuration = v1_limited_priority_level_configuration_create( + 56, + 56, + NULL, + 56 + ); + } + + return v1_limited_priority_level_configuration; +} + + +#ifdef v1_limited_priority_level_configuration_MAIN + +void test_v1_limited_priority_level_configuration(int include_optional) { + v1_limited_priority_level_configuration_t* v1_limited_priority_level_configuration_1 = instantiate_v1_limited_priority_level_configuration(include_optional); + + cJSON* jsonv1_limited_priority_level_configuration_1 = v1_limited_priority_level_configuration_convertToJSON(v1_limited_priority_level_configuration_1); + printf("v1_limited_priority_level_configuration :\n%s\n", cJSON_Print(jsonv1_limited_priority_level_configuration_1)); + v1_limited_priority_level_configuration_t* v1_limited_priority_level_configuration_2 = v1_limited_priority_level_configuration_parseFromJSON(jsonv1_limited_priority_level_configuration_1); + cJSON* jsonv1_limited_priority_level_configuration_2 = v1_limited_priority_level_configuration_convertToJSON(v1_limited_priority_level_configuration_2); + printf("repeating v1_limited_priority_level_configuration:\n%s\n", cJSON_Print(jsonv1_limited_priority_level_configuration_2)); +} + +int main() { + test_v1_limited_priority_level_configuration(1); + test_v1_limited_priority_level_configuration(0); + + printf("Hello world \n"); + return 0; +} + +#endif // v1_limited_priority_level_configuration_MAIN +#endif // v1_limited_priority_level_configuration_TEST diff --git a/kubernetes/unit-test/test_v1_load_balancer_ingress.c b/kubernetes/unit-test/test_v1_load_balancer_ingress.c index e8fcfad4..7515cbae 100644 --- a/kubernetes/unit-test/test_v1_load_balancer_ingress.c +++ b/kubernetes/unit-test/test_v1_load_balancer_ingress.c @@ -22,12 +22,14 @@ v1_load_balancer_ingress_t* instantiate_v1_load_balancer_ingress(int include_opt v1_load_balancer_ingress_t* v1_load_balancer_ingress = NULL; if (include_optional) { v1_load_balancer_ingress = v1_load_balancer_ingress_create( + "0", "0", "0", list_createList() ); } else { v1_load_balancer_ingress = v1_load_balancer_ingress_create( + "0", "0", "0", list_createList() diff --git a/kubernetes/unit-test/test_v1_modify_volume_status.c b/kubernetes/unit-test/test_v1_modify_volume_status.c new file mode 100644 index 00000000..1830a18b --- /dev/null +++ b/kubernetes/unit-test/test_v1_modify_volume_status.c @@ -0,0 +1,60 @@ +#ifndef v1_modify_volume_status_TEST +#define v1_modify_volume_status_TEST + +// the following is to include only the main from the first c file +#ifndef TEST_MAIN +#define TEST_MAIN +#define v1_modify_volume_status_MAIN +#endif // TEST_MAIN + +#include +#include +#include +#include +#include "../external/cJSON.h" + +#include "../model/v1_modify_volume_status.h" +v1_modify_volume_status_t* instantiate_v1_modify_volume_status(int include_optional); + + + +v1_modify_volume_status_t* instantiate_v1_modify_volume_status(int include_optional) { + v1_modify_volume_status_t* v1_modify_volume_status = NULL; + if (include_optional) { + v1_modify_volume_status = v1_modify_volume_status_create( + "0", + "0" + ); + } else { + v1_modify_volume_status = v1_modify_volume_status_create( + "0", + "0" + ); + } + + return v1_modify_volume_status; +} + + +#ifdef v1_modify_volume_status_MAIN + +void test_v1_modify_volume_status(int include_optional) { + v1_modify_volume_status_t* v1_modify_volume_status_1 = instantiate_v1_modify_volume_status(include_optional); + + cJSON* jsonv1_modify_volume_status_1 = v1_modify_volume_status_convertToJSON(v1_modify_volume_status_1); + printf("v1_modify_volume_status :\n%s\n", cJSON_Print(jsonv1_modify_volume_status_1)); + v1_modify_volume_status_t* v1_modify_volume_status_2 = v1_modify_volume_status_parseFromJSON(jsonv1_modify_volume_status_1); + cJSON* jsonv1_modify_volume_status_2 = v1_modify_volume_status_convertToJSON(v1_modify_volume_status_2); + printf("repeating v1_modify_volume_status:\n%s\n", cJSON_Print(jsonv1_modify_volume_status_2)); +} + +int main() { + test_v1_modify_volume_status(1); + test_v1_modify_volume_status(0); + + printf("Hello world \n"); + return 0; +} + +#endif // v1_modify_volume_status_MAIN +#endif // v1_modify_volume_status_TEST diff --git a/kubernetes/unit-test/test_v1_non_resource_policy_rule.c b/kubernetes/unit-test/test_v1_non_resource_policy_rule.c new file mode 100644 index 00000000..34a68d98 --- /dev/null +++ b/kubernetes/unit-test/test_v1_non_resource_policy_rule.c @@ -0,0 +1,60 @@ +#ifndef v1_non_resource_policy_rule_TEST +#define v1_non_resource_policy_rule_TEST + +// the following is to include only the main from the first c file +#ifndef TEST_MAIN +#define TEST_MAIN +#define v1_non_resource_policy_rule_MAIN +#endif // TEST_MAIN + +#include +#include +#include +#include +#include "../external/cJSON.h" + +#include "../model/v1_non_resource_policy_rule.h" +v1_non_resource_policy_rule_t* instantiate_v1_non_resource_policy_rule(int include_optional); + + + +v1_non_resource_policy_rule_t* instantiate_v1_non_resource_policy_rule(int include_optional) { + v1_non_resource_policy_rule_t* v1_non_resource_policy_rule = NULL; + if (include_optional) { + v1_non_resource_policy_rule = v1_non_resource_policy_rule_create( + list_createList(), + list_createList() + ); + } else { + v1_non_resource_policy_rule = v1_non_resource_policy_rule_create( + list_createList(), + list_createList() + ); + } + + return v1_non_resource_policy_rule; +} + + +#ifdef v1_non_resource_policy_rule_MAIN + +void test_v1_non_resource_policy_rule(int include_optional) { + v1_non_resource_policy_rule_t* v1_non_resource_policy_rule_1 = instantiate_v1_non_resource_policy_rule(include_optional); + + cJSON* jsonv1_non_resource_policy_rule_1 = v1_non_resource_policy_rule_convertToJSON(v1_non_resource_policy_rule_1); + printf("v1_non_resource_policy_rule :\n%s\n", cJSON_Print(jsonv1_non_resource_policy_rule_1)); + v1_non_resource_policy_rule_t* v1_non_resource_policy_rule_2 = v1_non_resource_policy_rule_parseFromJSON(jsonv1_non_resource_policy_rule_1); + cJSON* jsonv1_non_resource_policy_rule_2 = v1_non_resource_policy_rule_convertToJSON(v1_non_resource_policy_rule_2); + printf("repeating v1_non_resource_policy_rule:\n%s\n", cJSON_Print(jsonv1_non_resource_policy_rule_2)); +} + +int main() { + test_v1_non_resource_policy_rule(1); + test_v1_non_resource_policy_rule(0); + + printf("Hello world \n"); + return 0; +} + +#endif // v1_non_resource_policy_rule_MAIN +#endif // v1_non_resource_policy_rule_TEST diff --git a/kubernetes/unit-test/test_v1_persistent_volume_claim_spec.c b/kubernetes/unit-test/test_v1_persistent_volume_claim_spec.c index bd122ff7..4395ab8c 100644 --- a/kubernetes/unit-test/test_v1_persistent_volume_claim_spec.c +++ b/kubernetes/unit-test/test_v1_persistent_volume_claim_spec.c @@ -18,7 +18,7 @@ v1_persistent_volume_claim_spec_t* instantiate_v1_persistent_volume_claim_spec(i #include "test_v1_typed_local_object_reference.c" #include "test_v1_typed_object_reference.c" -#include "test_v1_resource_requirements.c" +#include "test_v1_volume_resource_requirements.c" #include "test_v1_label_selector.c" @@ -32,11 +32,12 @@ v1_persistent_volume_claim_spec_t* instantiate_v1_persistent_volume_claim_spec(i // false, not to have infinite recursion instantiate_v1_typed_object_reference(0), // false, not to have infinite recursion - instantiate_v1_resource_requirements(0), + instantiate_v1_volume_resource_requirements(0), // false, not to have infinite recursion instantiate_v1_label_selector(0), "0", "0", + "0", "0" ); } else { @@ -48,6 +49,7 @@ v1_persistent_volume_claim_spec_t* instantiate_v1_persistent_volume_claim_spec(i NULL, "0", "0", + "0", "0" ); } diff --git a/kubernetes/unit-test/test_v1_persistent_volume_claim_status.c b/kubernetes/unit-test/test_v1_persistent_volume_claim_status.c index a3fea2af..cd822649 100644 --- a/kubernetes/unit-test/test_v1_persistent_volume_claim_status.c +++ b/kubernetes/unit-test/test_v1_persistent_volume_claim_status.c @@ -16,6 +16,7 @@ #include "../model/v1_persistent_volume_claim_status.h" v1_persistent_volume_claim_status_t* instantiate_v1_persistent_volume_claim_status(int include_optional); +#include "test_v1_modify_volume_status.c" v1_persistent_volume_claim_status_t* instantiate_v1_persistent_volume_claim_status(int include_optional) { @@ -27,6 +28,9 @@ v1_persistent_volume_claim_status_t* instantiate_v1_persistent_volume_claim_stat list_createList(), list_createList(), list_createList(), + "0", + // false, not to have infinite recursion + instantiate_v1_modify_volume_status(0), "0" ); } else { @@ -36,6 +40,8 @@ v1_persistent_volume_claim_status_t* instantiate_v1_persistent_volume_claim_stat list_createList(), list_createList(), list_createList(), + "0", + NULL, "0" ); } diff --git a/kubernetes/unit-test/test_v1_persistent_volume_spec.c b/kubernetes/unit-test/test_v1_persistent_volume_spec.c index 7a97bc4e..b745772b 100644 --- a/kubernetes/unit-test/test_v1_persistent_volume_spec.c +++ b/kubernetes/unit-test/test_v1_persistent_volume_spec.c @@ -97,6 +97,7 @@ v1_persistent_volume_spec_t* instantiate_v1_persistent_volume_spec(int include_o "0", // false, not to have infinite recursion instantiate_v1_storage_os_persistent_volume_source(0), + "0", "0", // false, not to have infinite recursion instantiate_v1_vsphere_virtual_disk_volume_source(0) @@ -132,6 +133,7 @@ v1_persistent_volume_spec_t* instantiate_v1_persistent_volume_spec(int include_o "0", NULL, "0", + "0", NULL ); } diff --git a/kubernetes/unit-test/test_v1_pod_affinity_term.c b/kubernetes/unit-test/test_v1_pod_affinity_term.c index d5cab43a..dc958e0a 100644 --- a/kubernetes/unit-test/test_v1_pod_affinity_term.c +++ b/kubernetes/unit-test/test_v1_pod_affinity_term.c @@ -26,6 +26,8 @@ v1_pod_affinity_term_t* instantiate_v1_pod_affinity_term(int include_optional) { v1_pod_affinity_term = v1_pod_affinity_term_create( // false, not to have infinite recursion instantiate_v1_label_selector(0), + list_createList(), + list_createList(), // false, not to have infinite recursion instantiate_v1_label_selector(0), list_createList(), @@ -34,6 +36,8 @@ v1_pod_affinity_term_t* instantiate_v1_pod_affinity_term(int include_optional) { } else { v1_pod_affinity_term = v1_pod_affinity_term_create( NULL, + list_createList(), + list_createList(), NULL, list_createList(), "0" diff --git a/kubernetes/unit-test/test_v1_policy_rules_with_subjects.c b/kubernetes/unit-test/test_v1_policy_rules_with_subjects.c new file mode 100644 index 00000000..f140f06f --- /dev/null +++ b/kubernetes/unit-test/test_v1_policy_rules_with_subjects.c @@ -0,0 +1,62 @@ +#ifndef v1_policy_rules_with_subjects_TEST +#define v1_policy_rules_with_subjects_TEST + +// the following is to include only the main from the first c file +#ifndef TEST_MAIN +#define TEST_MAIN +#define v1_policy_rules_with_subjects_MAIN +#endif // TEST_MAIN + +#include +#include +#include +#include +#include "../external/cJSON.h" + +#include "../model/v1_policy_rules_with_subjects.h" +v1_policy_rules_with_subjects_t* instantiate_v1_policy_rules_with_subjects(int include_optional); + + + +v1_policy_rules_with_subjects_t* instantiate_v1_policy_rules_with_subjects(int include_optional) { + v1_policy_rules_with_subjects_t* v1_policy_rules_with_subjects = NULL; + if (include_optional) { + v1_policy_rules_with_subjects = v1_policy_rules_with_subjects_create( + list_createList(), + list_createList(), + list_createList() + ); + } else { + v1_policy_rules_with_subjects = v1_policy_rules_with_subjects_create( + list_createList(), + list_createList(), + list_createList() + ); + } + + return v1_policy_rules_with_subjects; +} + + +#ifdef v1_policy_rules_with_subjects_MAIN + +void test_v1_policy_rules_with_subjects(int include_optional) { + v1_policy_rules_with_subjects_t* v1_policy_rules_with_subjects_1 = instantiate_v1_policy_rules_with_subjects(include_optional); + + cJSON* jsonv1_policy_rules_with_subjects_1 = v1_policy_rules_with_subjects_convertToJSON(v1_policy_rules_with_subjects_1); + printf("v1_policy_rules_with_subjects :\n%s\n", cJSON_Print(jsonv1_policy_rules_with_subjects_1)); + v1_policy_rules_with_subjects_t* v1_policy_rules_with_subjects_2 = v1_policy_rules_with_subjects_parseFromJSON(jsonv1_policy_rules_with_subjects_1); + cJSON* jsonv1_policy_rules_with_subjects_2 = v1_policy_rules_with_subjects_convertToJSON(v1_policy_rules_with_subjects_2); + printf("repeating v1_policy_rules_with_subjects:\n%s\n", cJSON_Print(jsonv1_policy_rules_with_subjects_2)); +} + +int main() { + test_v1_policy_rules_with_subjects(1); + test_v1_policy_rules_with_subjects(0); + + printf("Hello world \n"); + return 0; +} + +#endif // v1_policy_rules_with_subjects_MAIN +#endif // v1_policy_rules_with_subjects_TEST diff --git a/kubernetes/unit-test/test_v1_priority_level_configuration.c b/kubernetes/unit-test/test_v1_priority_level_configuration.c new file mode 100644 index 00000000..f3e01be2 --- /dev/null +++ b/kubernetes/unit-test/test_v1_priority_level_configuration.c @@ -0,0 +1,72 @@ +#ifndef v1_priority_level_configuration_TEST +#define v1_priority_level_configuration_TEST + +// the following is to include only the main from the first c file +#ifndef TEST_MAIN +#define TEST_MAIN +#define v1_priority_level_configuration_MAIN +#endif // TEST_MAIN + +#include +#include +#include +#include +#include "../external/cJSON.h" + +#include "../model/v1_priority_level_configuration.h" +v1_priority_level_configuration_t* instantiate_v1_priority_level_configuration(int include_optional); + +#include "test_v1_object_meta.c" +#include "test_v1_priority_level_configuration_spec.c" +#include "test_v1_priority_level_configuration_status.c" + + +v1_priority_level_configuration_t* instantiate_v1_priority_level_configuration(int include_optional) { + v1_priority_level_configuration_t* v1_priority_level_configuration = NULL; + if (include_optional) { + v1_priority_level_configuration = v1_priority_level_configuration_create( + "0", + "0", + // false, not to have infinite recursion + instantiate_v1_object_meta(0), + // false, not to have infinite recursion + instantiate_v1_priority_level_configuration_spec(0), + // false, not to have infinite recursion + instantiate_v1_priority_level_configuration_status(0) + ); + } else { + v1_priority_level_configuration = v1_priority_level_configuration_create( + "0", + "0", + NULL, + NULL, + NULL + ); + } + + return v1_priority_level_configuration; +} + + +#ifdef v1_priority_level_configuration_MAIN + +void test_v1_priority_level_configuration(int include_optional) { + v1_priority_level_configuration_t* v1_priority_level_configuration_1 = instantiate_v1_priority_level_configuration(include_optional); + + cJSON* jsonv1_priority_level_configuration_1 = v1_priority_level_configuration_convertToJSON(v1_priority_level_configuration_1); + printf("v1_priority_level_configuration :\n%s\n", cJSON_Print(jsonv1_priority_level_configuration_1)); + v1_priority_level_configuration_t* v1_priority_level_configuration_2 = v1_priority_level_configuration_parseFromJSON(jsonv1_priority_level_configuration_1); + cJSON* jsonv1_priority_level_configuration_2 = v1_priority_level_configuration_convertToJSON(v1_priority_level_configuration_2); + printf("repeating v1_priority_level_configuration:\n%s\n", cJSON_Print(jsonv1_priority_level_configuration_2)); +} + +int main() { + test_v1_priority_level_configuration(1); + test_v1_priority_level_configuration(0); + + printf("Hello world \n"); + return 0; +} + +#endif // v1_priority_level_configuration_MAIN +#endif // v1_priority_level_configuration_TEST diff --git a/kubernetes/unit-test/test_v1_priority_level_configuration_condition.c b/kubernetes/unit-test/test_v1_priority_level_configuration_condition.c new file mode 100644 index 00000000..9bec753f --- /dev/null +++ b/kubernetes/unit-test/test_v1_priority_level_configuration_condition.c @@ -0,0 +1,66 @@ +#ifndef v1_priority_level_configuration_condition_TEST +#define v1_priority_level_configuration_condition_TEST + +// the following is to include only the main from the first c file +#ifndef TEST_MAIN +#define TEST_MAIN +#define v1_priority_level_configuration_condition_MAIN +#endif // TEST_MAIN + +#include +#include +#include +#include +#include "../external/cJSON.h" + +#include "../model/v1_priority_level_configuration_condition.h" +v1_priority_level_configuration_condition_t* instantiate_v1_priority_level_configuration_condition(int include_optional); + + + +v1_priority_level_configuration_condition_t* instantiate_v1_priority_level_configuration_condition(int include_optional) { + v1_priority_level_configuration_condition_t* v1_priority_level_configuration_condition = NULL; + if (include_optional) { + v1_priority_level_configuration_condition = v1_priority_level_configuration_condition_create( + "2013-10-20T19:20:30+01:00", + "0", + "0", + "0", + "0" + ); + } else { + v1_priority_level_configuration_condition = v1_priority_level_configuration_condition_create( + "2013-10-20T19:20:30+01:00", + "0", + "0", + "0", + "0" + ); + } + + return v1_priority_level_configuration_condition; +} + + +#ifdef v1_priority_level_configuration_condition_MAIN + +void test_v1_priority_level_configuration_condition(int include_optional) { + v1_priority_level_configuration_condition_t* v1_priority_level_configuration_condition_1 = instantiate_v1_priority_level_configuration_condition(include_optional); + + cJSON* jsonv1_priority_level_configuration_condition_1 = v1_priority_level_configuration_condition_convertToJSON(v1_priority_level_configuration_condition_1); + printf("v1_priority_level_configuration_condition :\n%s\n", cJSON_Print(jsonv1_priority_level_configuration_condition_1)); + v1_priority_level_configuration_condition_t* v1_priority_level_configuration_condition_2 = v1_priority_level_configuration_condition_parseFromJSON(jsonv1_priority_level_configuration_condition_1); + cJSON* jsonv1_priority_level_configuration_condition_2 = v1_priority_level_configuration_condition_convertToJSON(v1_priority_level_configuration_condition_2); + printf("repeating v1_priority_level_configuration_condition:\n%s\n", cJSON_Print(jsonv1_priority_level_configuration_condition_2)); +} + +int main() { + test_v1_priority_level_configuration_condition(1); + test_v1_priority_level_configuration_condition(0); + + printf("Hello world \n"); + return 0; +} + +#endif // v1_priority_level_configuration_condition_MAIN +#endif // v1_priority_level_configuration_condition_TEST diff --git a/kubernetes/unit-test/test_v1_priority_level_configuration_list.c b/kubernetes/unit-test/test_v1_priority_level_configuration_list.c new file mode 100644 index 00000000..bcde5009 --- /dev/null +++ b/kubernetes/unit-test/test_v1_priority_level_configuration_list.c @@ -0,0 +1,66 @@ +#ifndef v1_priority_level_configuration_list_TEST +#define v1_priority_level_configuration_list_TEST + +// the following is to include only the main from the first c file +#ifndef TEST_MAIN +#define TEST_MAIN +#define v1_priority_level_configuration_list_MAIN +#endif // TEST_MAIN + +#include +#include +#include +#include +#include "../external/cJSON.h" + +#include "../model/v1_priority_level_configuration_list.h" +v1_priority_level_configuration_list_t* instantiate_v1_priority_level_configuration_list(int include_optional); + +#include "test_v1_list_meta.c" + + +v1_priority_level_configuration_list_t* instantiate_v1_priority_level_configuration_list(int include_optional) { + v1_priority_level_configuration_list_t* v1_priority_level_configuration_list = NULL; + if (include_optional) { + v1_priority_level_configuration_list = v1_priority_level_configuration_list_create( + "0", + list_createList(), + "0", + // false, not to have infinite recursion + instantiate_v1_list_meta(0) + ); + } else { + v1_priority_level_configuration_list = v1_priority_level_configuration_list_create( + "0", + list_createList(), + "0", + NULL + ); + } + + return v1_priority_level_configuration_list; +} + + +#ifdef v1_priority_level_configuration_list_MAIN + +void test_v1_priority_level_configuration_list(int include_optional) { + v1_priority_level_configuration_list_t* v1_priority_level_configuration_list_1 = instantiate_v1_priority_level_configuration_list(include_optional); + + cJSON* jsonv1_priority_level_configuration_list_1 = v1_priority_level_configuration_list_convertToJSON(v1_priority_level_configuration_list_1); + printf("v1_priority_level_configuration_list :\n%s\n", cJSON_Print(jsonv1_priority_level_configuration_list_1)); + v1_priority_level_configuration_list_t* v1_priority_level_configuration_list_2 = v1_priority_level_configuration_list_parseFromJSON(jsonv1_priority_level_configuration_list_1); + cJSON* jsonv1_priority_level_configuration_list_2 = v1_priority_level_configuration_list_convertToJSON(v1_priority_level_configuration_list_2); + printf("repeating v1_priority_level_configuration_list:\n%s\n", cJSON_Print(jsonv1_priority_level_configuration_list_2)); +} + +int main() { + test_v1_priority_level_configuration_list(1); + test_v1_priority_level_configuration_list(0); + + printf("Hello world \n"); + return 0; +} + +#endif // v1_priority_level_configuration_list_MAIN +#endif // v1_priority_level_configuration_list_TEST diff --git a/kubernetes/unit-test/test_v1_priority_level_configuration_reference.c b/kubernetes/unit-test/test_v1_priority_level_configuration_reference.c new file mode 100644 index 00000000..34c72163 --- /dev/null +++ b/kubernetes/unit-test/test_v1_priority_level_configuration_reference.c @@ -0,0 +1,58 @@ +#ifndef v1_priority_level_configuration_reference_TEST +#define v1_priority_level_configuration_reference_TEST + +// the following is to include only the main from the first c file +#ifndef TEST_MAIN +#define TEST_MAIN +#define v1_priority_level_configuration_reference_MAIN +#endif // TEST_MAIN + +#include +#include +#include +#include +#include "../external/cJSON.h" + +#include "../model/v1_priority_level_configuration_reference.h" +v1_priority_level_configuration_reference_t* instantiate_v1_priority_level_configuration_reference(int include_optional); + + + +v1_priority_level_configuration_reference_t* instantiate_v1_priority_level_configuration_reference(int include_optional) { + v1_priority_level_configuration_reference_t* v1_priority_level_configuration_reference = NULL; + if (include_optional) { + v1_priority_level_configuration_reference = v1_priority_level_configuration_reference_create( + "0" + ); + } else { + v1_priority_level_configuration_reference = v1_priority_level_configuration_reference_create( + "0" + ); + } + + return v1_priority_level_configuration_reference; +} + + +#ifdef v1_priority_level_configuration_reference_MAIN + +void test_v1_priority_level_configuration_reference(int include_optional) { + v1_priority_level_configuration_reference_t* v1_priority_level_configuration_reference_1 = instantiate_v1_priority_level_configuration_reference(include_optional); + + cJSON* jsonv1_priority_level_configuration_reference_1 = v1_priority_level_configuration_reference_convertToJSON(v1_priority_level_configuration_reference_1); + printf("v1_priority_level_configuration_reference :\n%s\n", cJSON_Print(jsonv1_priority_level_configuration_reference_1)); + v1_priority_level_configuration_reference_t* v1_priority_level_configuration_reference_2 = v1_priority_level_configuration_reference_parseFromJSON(jsonv1_priority_level_configuration_reference_1); + cJSON* jsonv1_priority_level_configuration_reference_2 = v1_priority_level_configuration_reference_convertToJSON(v1_priority_level_configuration_reference_2); + printf("repeating v1_priority_level_configuration_reference:\n%s\n", cJSON_Print(jsonv1_priority_level_configuration_reference_2)); +} + +int main() { + test_v1_priority_level_configuration_reference(1); + test_v1_priority_level_configuration_reference(0); + + printf("Hello world \n"); + return 0; +} + +#endif // v1_priority_level_configuration_reference_MAIN +#endif // v1_priority_level_configuration_reference_TEST diff --git a/kubernetes/unit-test/test_v1_priority_level_configuration_spec.c b/kubernetes/unit-test/test_v1_priority_level_configuration_spec.c new file mode 100644 index 00000000..365179fc --- /dev/null +++ b/kubernetes/unit-test/test_v1_priority_level_configuration_spec.c @@ -0,0 +1,66 @@ +#ifndef v1_priority_level_configuration_spec_TEST +#define v1_priority_level_configuration_spec_TEST + +// the following is to include only the main from the first c file +#ifndef TEST_MAIN +#define TEST_MAIN +#define v1_priority_level_configuration_spec_MAIN +#endif // TEST_MAIN + +#include +#include +#include +#include +#include "../external/cJSON.h" + +#include "../model/v1_priority_level_configuration_spec.h" +v1_priority_level_configuration_spec_t* instantiate_v1_priority_level_configuration_spec(int include_optional); + +#include "test_v1_exempt_priority_level_configuration.c" +#include "test_v1_limited_priority_level_configuration.c" + + +v1_priority_level_configuration_spec_t* instantiate_v1_priority_level_configuration_spec(int include_optional) { + v1_priority_level_configuration_spec_t* v1_priority_level_configuration_spec = NULL; + if (include_optional) { + v1_priority_level_configuration_spec = v1_priority_level_configuration_spec_create( + // false, not to have infinite recursion + instantiate_v1_exempt_priority_level_configuration(0), + // false, not to have infinite recursion + instantiate_v1_limited_priority_level_configuration(0), + "0" + ); + } else { + v1_priority_level_configuration_spec = v1_priority_level_configuration_spec_create( + NULL, + NULL, + "0" + ); + } + + return v1_priority_level_configuration_spec; +} + + +#ifdef v1_priority_level_configuration_spec_MAIN + +void test_v1_priority_level_configuration_spec(int include_optional) { + v1_priority_level_configuration_spec_t* v1_priority_level_configuration_spec_1 = instantiate_v1_priority_level_configuration_spec(include_optional); + + cJSON* jsonv1_priority_level_configuration_spec_1 = v1_priority_level_configuration_spec_convertToJSON(v1_priority_level_configuration_spec_1); + printf("v1_priority_level_configuration_spec :\n%s\n", cJSON_Print(jsonv1_priority_level_configuration_spec_1)); + v1_priority_level_configuration_spec_t* v1_priority_level_configuration_spec_2 = v1_priority_level_configuration_spec_parseFromJSON(jsonv1_priority_level_configuration_spec_1); + cJSON* jsonv1_priority_level_configuration_spec_2 = v1_priority_level_configuration_spec_convertToJSON(v1_priority_level_configuration_spec_2); + printf("repeating v1_priority_level_configuration_spec:\n%s\n", cJSON_Print(jsonv1_priority_level_configuration_spec_2)); +} + +int main() { + test_v1_priority_level_configuration_spec(1); + test_v1_priority_level_configuration_spec(0); + + printf("Hello world \n"); + return 0; +} + +#endif // v1_priority_level_configuration_spec_MAIN +#endif // v1_priority_level_configuration_spec_TEST diff --git a/kubernetes/unit-test/test_v1_priority_level_configuration_status.c b/kubernetes/unit-test/test_v1_priority_level_configuration_status.c new file mode 100644 index 00000000..d04f7b95 --- /dev/null +++ b/kubernetes/unit-test/test_v1_priority_level_configuration_status.c @@ -0,0 +1,58 @@ +#ifndef v1_priority_level_configuration_status_TEST +#define v1_priority_level_configuration_status_TEST + +// the following is to include only the main from the first c file +#ifndef TEST_MAIN +#define TEST_MAIN +#define v1_priority_level_configuration_status_MAIN +#endif // TEST_MAIN + +#include +#include +#include +#include +#include "../external/cJSON.h" + +#include "../model/v1_priority_level_configuration_status.h" +v1_priority_level_configuration_status_t* instantiate_v1_priority_level_configuration_status(int include_optional); + + + +v1_priority_level_configuration_status_t* instantiate_v1_priority_level_configuration_status(int include_optional) { + v1_priority_level_configuration_status_t* v1_priority_level_configuration_status = NULL; + if (include_optional) { + v1_priority_level_configuration_status = v1_priority_level_configuration_status_create( + list_createList() + ); + } else { + v1_priority_level_configuration_status = v1_priority_level_configuration_status_create( + list_createList() + ); + } + + return v1_priority_level_configuration_status; +} + + +#ifdef v1_priority_level_configuration_status_MAIN + +void test_v1_priority_level_configuration_status(int include_optional) { + v1_priority_level_configuration_status_t* v1_priority_level_configuration_status_1 = instantiate_v1_priority_level_configuration_status(include_optional); + + cJSON* jsonv1_priority_level_configuration_status_1 = v1_priority_level_configuration_status_convertToJSON(v1_priority_level_configuration_status_1); + printf("v1_priority_level_configuration_status :\n%s\n", cJSON_Print(jsonv1_priority_level_configuration_status_1)); + v1_priority_level_configuration_status_t* v1_priority_level_configuration_status_2 = v1_priority_level_configuration_status_parseFromJSON(jsonv1_priority_level_configuration_status_1); + cJSON* jsonv1_priority_level_configuration_status_2 = v1_priority_level_configuration_status_convertToJSON(v1_priority_level_configuration_status_2); + printf("repeating v1_priority_level_configuration_status:\n%s\n", cJSON_Print(jsonv1_priority_level_configuration_status_2)); +} + +int main() { + test_v1_priority_level_configuration_status(1); + test_v1_priority_level_configuration_status(0); + + printf("Hello world \n"); + return 0; +} + +#endif // v1_priority_level_configuration_status_MAIN +#endif // v1_priority_level_configuration_status_TEST diff --git a/kubernetes/unit-test/test_v1_queuing_configuration.c b/kubernetes/unit-test/test_v1_queuing_configuration.c new file mode 100644 index 00000000..a8f7b6d1 --- /dev/null +++ b/kubernetes/unit-test/test_v1_queuing_configuration.c @@ -0,0 +1,62 @@ +#ifndef v1_queuing_configuration_TEST +#define v1_queuing_configuration_TEST + +// the following is to include only the main from the first c file +#ifndef TEST_MAIN +#define TEST_MAIN +#define v1_queuing_configuration_MAIN +#endif // TEST_MAIN + +#include +#include +#include +#include +#include "../external/cJSON.h" + +#include "../model/v1_queuing_configuration.h" +v1_queuing_configuration_t* instantiate_v1_queuing_configuration(int include_optional); + + + +v1_queuing_configuration_t* instantiate_v1_queuing_configuration(int include_optional) { + v1_queuing_configuration_t* v1_queuing_configuration = NULL; + if (include_optional) { + v1_queuing_configuration = v1_queuing_configuration_create( + 56, + 56, + 56 + ); + } else { + v1_queuing_configuration = v1_queuing_configuration_create( + 56, + 56, + 56 + ); + } + + return v1_queuing_configuration; +} + + +#ifdef v1_queuing_configuration_MAIN + +void test_v1_queuing_configuration(int include_optional) { + v1_queuing_configuration_t* v1_queuing_configuration_1 = instantiate_v1_queuing_configuration(include_optional); + + cJSON* jsonv1_queuing_configuration_1 = v1_queuing_configuration_convertToJSON(v1_queuing_configuration_1); + printf("v1_queuing_configuration :\n%s\n", cJSON_Print(jsonv1_queuing_configuration_1)); + v1_queuing_configuration_t* v1_queuing_configuration_2 = v1_queuing_configuration_parseFromJSON(jsonv1_queuing_configuration_1); + cJSON* jsonv1_queuing_configuration_2 = v1_queuing_configuration_convertToJSON(v1_queuing_configuration_2); + printf("repeating v1_queuing_configuration:\n%s\n", cJSON_Print(jsonv1_queuing_configuration_2)); +} + +int main() { + test_v1_queuing_configuration(1); + test_v1_queuing_configuration(0); + + printf("Hello world \n"); + return 0; +} + +#endif // v1_queuing_configuration_MAIN +#endif // v1_queuing_configuration_TEST diff --git a/kubernetes/unit-test/test_v1_resource_policy_rule.c b/kubernetes/unit-test/test_v1_resource_policy_rule.c new file mode 100644 index 00000000..f59fe4b5 --- /dev/null +++ b/kubernetes/unit-test/test_v1_resource_policy_rule.c @@ -0,0 +1,66 @@ +#ifndef v1_resource_policy_rule_TEST +#define v1_resource_policy_rule_TEST + +// the following is to include only the main from the first c file +#ifndef TEST_MAIN +#define TEST_MAIN +#define v1_resource_policy_rule_MAIN +#endif // TEST_MAIN + +#include +#include +#include +#include +#include "../external/cJSON.h" + +#include "../model/v1_resource_policy_rule.h" +v1_resource_policy_rule_t* instantiate_v1_resource_policy_rule(int include_optional); + + + +v1_resource_policy_rule_t* instantiate_v1_resource_policy_rule(int include_optional) { + v1_resource_policy_rule_t* v1_resource_policy_rule = NULL; + if (include_optional) { + v1_resource_policy_rule = v1_resource_policy_rule_create( + list_createList(), + 1, + list_createList(), + list_createList(), + list_createList() + ); + } else { + v1_resource_policy_rule = v1_resource_policy_rule_create( + list_createList(), + 1, + list_createList(), + list_createList(), + list_createList() + ); + } + + return v1_resource_policy_rule; +} + + +#ifdef v1_resource_policy_rule_MAIN + +void test_v1_resource_policy_rule(int include_optional) { + v1_resource_policy_rule_t* v1_resource_policy_rule_1 = instantiate_v1_resource_policy_rule(include_optional); + + cJSON* jsonv1_resource_policy_rule_1 = v1_resource_policy_rule_convertToJSON(v1_resource_policy_rule_1); + printf("v1_resource_policy_rule :\n%s\n", cJSON_Print(jsonv1_resource_policy_rule_1)); + v1_resource_policy_rule_t* v1_resource_policy_rule_2 = v1_resource_policy_rule_parseFromJSON(jsonv1_resource_policy_rule_1); + cJSON* jsonv1_resource_policy_rule_2 = v1_resource_policy_rule_convertToJSON(v1_resource_policy_rule_2); + printf("repeating v1_resource_policy_rule:\n%s\n", cJSON_Print(jsonv1_resource_policy_rule_2)); +} + +int main() { + test_v1_resource_policy_rule(1); + test_v1_resource_policy_rule(0); + + printf("Hello world \n"); + return 0; +} + +#endif // v1_resource_policy_rule_MAIN +#endif // v1_resource_policy_rule_TEST diff --git a/kubernetes/unit-test/test_v1_service_account_subject.c b/kubernetes/unit-test/test_v1_service_account_subject.c new file mode 100644 index 00000000..aeae18e2 --- /dev/null +++ b/kubernetes/unit-test/test_v1_service_account_subject.c @@ -0,0 +1,60 @@ +#ifndef v1_service_account_subject_TEST +#define v1_service_account_subject_TEST + +// the following is to include only the main from the first c file +#ifndef TEST_MAIN +#define TEST_MAIN +#define v1_service_account_subject_MAIN +#endif // TEST_MAIN + +#include +#include +#include +#include +#include "../external/cJSON.h" + +#include "../model/v1_service_account_subject.h" +v1_service_account_subject_t* instantiate_v1_service_account_subject(int include_optional); + + + +v1_service_account_subject_t* instantiate_v1_service_account_subject(int include_optional) { + v1_service_account_subject_t* v1_service_account_subject = NULL; + if (include_optional) { + v1_service_account_subject = v1_service_account_subject_create( + "0", + "0" + ); + } else { + v1_service_account_subject = v1_service_account_subject_create( + "0", + "0" + ); + } + + return v1_service_account_subject; +} + + +#ifdef v1_service_account_subject_MAIN + +void test_v1_service_account_subject(int include_optional) { + v1_service_account_subject_t* v1_service_account_subject_1 = instantiate_v1_service_account_subject(include_optional); + + cJSON* jsonv1_service_account_subject_1 = v1_service_account_subject_convertToJSON(v1_service_account_subject_1); + printf("v1_service_account_subject :\n%s\n", cJSON_Print(jsonv1_service_account_subject_1)); + v1_service_account_subject_t* v1_service_account_subject_2 = v1_service_account_subject_parseFromJSON(jsonv1_service_account_subject_1); + cJSON* jsonv1_service_account_subject_2 = v1_service_account_subject_convertToJSON(v1_service_account_subject_2); + printf("repeating v1_service_account_subject:\n%s\n", cJSON_Print(jsonv1_service_account_subject_2)); +} + +int main() { + test_v1_service_account_subject(1); + test_v1_service_account_subject(0); + + printf("Hello world \n"); + return 0; +} + +#endif // v1_service_account_subject_MAIN +#endif // v1_service_account_subject_TEST diff --git a/kubernetes/unit-test/test_v1_sleep_action.c b/kubernetes/unit-test/test_v1_sleep_action.c new file mode 100644 index 00000000..eb4bf76d --- /dev/null +++ b/kubernetes/unit-test/test_v1_sleep_action.c @@ -0,0 +1,58 @@ +#ifndef v1_sleep_action_TEST +#define v1_sleep_action_TEST + +// the following is to include only the main from the first c file +#ifndef TEST_MAIN +#define TEST_MAIN +#define v1_sleep_action_MAIN +#endif // TEST_MAIN + +#include +#include +#include +#include +#include "../external/cJSON.h" + +#include "../model/v1_sleep_action.h" +v1_sleep_action_t* instantiate_v1_sleep_action(int include_optional); + + + +v1_sleep_action_t* instantiate_v1_sleep_action(int include_optional) { + v1_sleep_action_t* v1_sleep_action = NULL; + if (include_optional) { + v1_sleep_action = v1_sleep_action_create( + 56 + ); + } else { + v1_sleep_action = v1_sleep_action_create( + 56 + ); + } + + return v1_sleep_action; +} + + +#ifdef v1_sleep_action_MAIN + +void test_v1_sleep_action(int include_optional) { + v1_sleep_action_t* v1_sleep_action_1 = instantiate_v1_sleep_action(include_optional); + + cJSON* jsonv1_sleep_action_1 = v1_sleep_action_convertToJSON(v1_sleep_action_1); + printf("v1_sleep_action :\n%s\n", cJSON_Print(jsonv1_sleep_action_1)); + v1_sleep_action_t* v1_sleep_action_2 = v1_sleep_action_parseFromJSON(jsonv1_sleep_action_1); + cJSON* jsonv1_sleep_action_2 = v1_sleep_action_convertToJSON(v1_sleep_action_2); + printf("repeating v1_sleep_action:\n%s\n", cJSON_Print(jsonv1_sleep_action_2)); +} + +int main() { + test_v1_sleep_action(1); + test_v1_sleep_action(0); + + printf("Hello world \n"); + return 0; +} + +#endif // v1_sleep_action_MAIN +#endif // v1_sleep_action_TEST diff --git a/kubernetes/unit-test/test_v1_subject.c b/kubernetes/unit-test/test_v1_subject.c deleted file mode 100644 index d2acf361..00000000 --- a/kubernetes/unit-test/test_v1_subject.c +++ /dev/null @@ -1,64 +0,0 @@ -#ifndef v1_subject_TEST -#define v1_subject_TEST - -// the following is to include only the main from the first c file -#ifndef TEST_MAIN -#define TEST_MAIN -#define v1_subject_MAIN -#endif // TEST_MAIN - -#include -#include -#include -#include -#include "../external/cJSON.h" - -#include "../model/v1_subject.h" -v1_subject_t* instantiate_v1_subject(int include_optional); - - - -v1_subject_t* instantiate_v1_subject(int include_optional) { - v1_subject_t* v1_subject = NULL; - if (include_optional) { - v1_subject = v1_subject_create( - "0", - "0", - "0", - "0" - ); - } else { - v1_subject = v1_subject_create( - "0", - "0", - "0", - "0" - ); - } - - return v1_subject; -} - - -#ifdef v1_subject_MAIN - -void test_v1_subject(int include_optional) { - v1_subject_t* v1_subject_1 = instantiate_v1_subject(include_optional); - - cJSON* jsonv1_subject_1 = v1_subject_convertToJSON(v1_subject_1); - printf("v1_subject :\n%s\n", cJSON_Print(jsonv1_subject_1)); - v1_subject_t* v1_subject_2 = v1_subject_parseFromJSON(jsonv1_subject_1); - cJSON* jsonv1_subject_2 = v1_subject_convertToJSON(v1_subject_2); - printf("repeating v1_subject:\n%s\n", cJSON_Print(jsonv1_subject_2)); -} - -int main() { - test_v1_subject(1); - test_v1_subject(0); - - printf("Hello world \n"); - return 0; -} - -#endif // v1_subject_MAIN -#endif // v1_subject_TEST diff --git a/kubernetes/unit-test/test_v1_user_subject.c b/kubernetes/unit-test/test_v1_user_subject.c new file mode 100644 index 00000000..eff5b705 --- /dev/null +++ b/kubernetes/unit-test/test_v1_user_subject.c @@ -0,0 +1,58 @@ +#ifndef v1_user_subject_TEST +#define v1_user_subject_TEST + +// the following is to include only the main from the first c file +#ifndef TEST_MAIN +#define TEST_MAIN +#define v1_user_subject_MAIN +#endif // TEST_MAIN + +#include +#include +#include +#include +#include "../external/cJSON.h" + +#include "../model/v1_user_subject.h" +v1_user_subject_t* instantiate_v1_user_subject(int include_optional); + + + +v1_user_subject_t* instantiate_v1_user_subject(int include_optional) { + v1_user_subject_t* v1_user_subject = NULL; + if (include_optional) { + v1_user_subject = v1_user_subject_create( + "0" + ); + } else { + v1_user_subject = v1_user_subject_create( + "0" + ); + } + + return v1_user_subject; +} + + +#ifdef v1_user_subject_MAIN + +void test_v1_user_subject(int include_optional) { + v1_user_subject_t* v1_user_subject_1 = instantiate_v1_user_subject(include_optional); + + cJSON* jsonv1_user_subject_1 = v1_user_subject_convertToJSON(v1_user_subject_1); + printf("v1_user_subject :\n%s\n", cJSON_Print(jsonv1_user_subject_1)); + v1_user_subject_t* v1_user_subject_2 = v1_user_subject_parseFromJSON(jsonv1_user_subject_1); + cJSON* jsonv1_user_subject_2 = v1_user_subject_convertToJSON(v1_user_subject_2); + printf("repeating v1_user_subject:\n%s\n", cJSON_Print(jsonv1_user_subject_2)); +} + +int main() { + test_v1_user_subject(1); + test_v1_user_subject(0); + + printf("Hello world \n"); + return 0; +} + +#endif // v1_user_subject_MAIN +#endif // v1_user_subject_TEST diff --git a/kubernetes/unit-test/test_v1_validation_rule.c b/kubernetes/unit-test/test_v1_validation_rule.c index eb94566e..5a25a4fb 100644 --- a/kubernetes/unit-test/test_v1_validation_rule.c +++ b/kubernetes/unit-test/test_v1_validation_rule.c @@ -25,6 +25,7 @@ v1_validation_rule_t* instantiate_v1_validation_rule(int include_optional) { "0", "0", "0", + 1, "0", "0" ); @@ -33,6 +34,7 @@ v1_validation_rule_t* instantiate_v1_validation_rule(int include_optional) { "0", "0", "0", + 1, "0", "0" ); diff --git a/kubernetes/unit-test/test_v1_volume_projection.c b/kubernetes/unit-test/test_v1_volume_projection.c index d2824844..211337bd 100644 --- a/kubernetes/unit-test/test_v1_volume_projection.c +++ b/kubernetes/unit-test/test_v1_volume_projection.c @@ -16,6 +16,7 @@ #include "../model/v1_volume_projection.h" v1_volume_projection_t* instantiate_v1_volume_projection(int include_optional); +#include "test_v1_cluster_trust_bundle_projection.c" #include "test_v1_config_map_projection.c" #include "test_v1_downward_api_projection.c" #include "test_v1_secret_projection.c" @@ -27,6 +28,8 @@ v1_volume_projection_t* instantiate_v1_volume_projection(int include_optional) { if (include_optional) { v1_volume_projection = v1_volume_projection_create( // false, not to have infinite recursion + instantiate_v1_cluster_trust_bundle_projection(0), + // false, not to have infinite recursion instantiate_v1_config_map_projection(0), // false, not to have infinite recursion instantiate_v1_downward_api_projection(0), @@ -40,6 +43,7 @@ v1_volume_projection_t* instantiate_v1_volume_projection(int include_optional) { NULL, NULL, NULL, + NULL, NULL ); } diff --git a/kubernetes/unit-test/test_v1_volume_resource_requirements.c b/kubernetes/unit-test/test_v1_volume_resource_requirements.c new file mode 100644 index 00000000..f1faa58c --- /dev/null +++ b/kubernetes/unit-test/test_v1_volume_resource_requirements.c @@ -0,0 +1,60 @@ +#ifndef v1_volume_resource_requirements_TEST +#define v1_volume_resource_requirements_TEST + +// the following is to include only the main from the first c file +#ifndef TEST_MAIN +#define TEST_MAIN +#define v1_volume_resource_requirements_MAIN +#endif // TEST_MAIN + +#include +#include +#include +#include +#include "../external/cJSON.h" + +#include "../model/v1_volume_resource_requirements.h" +v1_volume_resource_requirements_t* instantiate_v1_volume_resource_requirements(int include_optional); + + + +v1_volume_resource_requirements_t* instantiate_v1_volume_resource_requirements(int include_optional) { + v1_volume_resource_requirements_t* v1_volume_resource_requirements = NULL; + if (include_optional) { + v1_volume_resource_requirements = v1_volume_resource_requirements_create( + list_createList(), + list_createList() + ); + } else { + v1_volume_resource_requirements = v1_volume_resource_requirements_create( + list_createList(), + list_createList() + ); + } + + return v1_volume_resource_requirements; +} + + +#ifdef v1_volume_resource_requirements_MAIN + +void test_v1_volume_resource_requirements(int include_optional) { + v1_volume_resource_requirements_t* v1_volume_resource_requirements_1 = instantiate_v1_volume_resource_requirements(include_optional); + + cJSON* jsonv1_volume_resource_requirements_1 = v1_volume_resource_requirements_convertToJSON(v1_volume_resource_requirements_1); + printf("v1_volume_resource_requirements :\n%s\n", cJSON_Print(jsonv1_volume_resource_requirements_1)); + v1_volume_resource_requirements_t* v1_volume_resource_requirements_2 = v1_volume_resource_requirements_parseFromJSON(jsonv1_volume_resource_requirements_1); + cJSON* jsonv1_volume_resource_requirements_2 = v1_volume_resource_requirements_convertToJSON(v1_volume_resource_requirements_2); + printf("repeating v1_volume_resource_requirements:\n%s\n", cJSON_Print(jsonv1_volume_resource_requirements_2)); +} + +int main() { + test_v1_volume_resource_requirements(1); + test_v1_volume_resource_requirements(0); + + printf("Hello world \n"); + return 0; +} + +#endif // v1_volume_resource_requirements_MAIN +#endif // v1_volume_resource_requirements_TEST diff --git a/kubernetes/unit-test/test_v1alpha1_cluster_cidr.c b/kubernetes/unit-test/test_v1alpha1_cluster_cidr.c deleted file mode 100644 index b3b26c00..00000000 --- a/kubernetes/unit-test/test_v1alpha1_cluster_cidr.c +++ /dev/null @@ -1,68 +0,0 @@ -#ifndef v1alpha1_cluster_cidr_TEST -#define v1alpha1_cluster_cidr_TEST - -// the following is to include only the main from the first c file -#ifndef TEST_MAIN -#define TEST_MAIN -#define v1alpha1_cluster_cidr_MAIN -#endif // TEST_MAIN - -#include -#include -#include -#include -#include "../external/cJSON.h" - -#include "../model/v1alpha1_cluster_cidr.h" -v1alpha1_cluster_cidr_t* instantiate_v1alpha1_cluster_cidr(int include_optional); - -#include "test_v1_object_meta.c" -#include "test_v1alpha1_cluster_cidr_spec.c" - - -v1alpha1_cluster_cidr_t* instantiate_v1alpha1_cluster_cidr(int include_optional) { - v1alpha1_cluster_cidr_t* v1alpha1_cluster_cidr = NULL; - if (include_optional) { - v1alpha1_cluster_cidr = v1alpha1_cluster_cidr_create( - "0", - "0", - // false, not to have infinite recursion - instantiate_v1_object_meta(0), - // false, not to have infinite recursion - instantiate_v1alpha1_cluster_cidr_spec(0) - ); - } else { - v1alpha1_cluster_cidr = v1alpha1_cluster_cidr_create( - "0", - "0", - NULL, - NULL - ); - } - - return v1alpha1_cluster_cidr; -} - - -#ifdef v1alpha1_cluster_cidr_MAIN - -void test_v1alpha1_cluster_cidr(int include_optional) { - v1alpha1_cluster_cidr_t* v1alpha1_cluster_cidr_1 = instantiate_v1alpha1_cluster_cidr(include_optional); - - cJSON* jsonv1alpha1_cluster_cidr_1 = v1alpha1_cluster_cidr_convertToJSON(v1alpha1_cluster_cidr_1); - printf("v1alpha1_cluster_cidr :\n%s\n", cJSON_Print(jsonv1alpha1_cluster_cidr_1)); - v1alpha1_cluster_cidr_t* v1alpha1_cluster_cidr_2 = v1alpha1_cluster_cidr_parseFromJSON(jsonv1alpha1_cluster_cidr_1); - cJSON* jsonv1alpha1_cluster_cidr_2 = v1alpha1_cluster_cidr_convertToJSON(v1alpha1_cluster_cidr_2); - printf("repeating v1alpha1_cluster_cidr:\n%s\n", cJSON_Print(jsonv1alpha1_cluster_cidr_2)); -} - -int main() { - test_v1alpha1_cluster_cidr(1); - test_v1alpha1_cluster_cidr(0); - - printf("Hello world \n"); - return 0; -} - -#endif // v1alpha1_cluster_cidr_MAIN -#endif // v1alpha1_cluster_cidr_TEST diff --git a/kubernetes/unit-test/test_v1alpha1_cluster_cidr_list.c b/kubernetes/unit-test/test_v1alpha1_cluster_cidr_list.c deleted file mode 100644 index d03b1412..00000000 --- a/kubernetes/unit-test/test_v1alpha1_cluster_cidr_list.c +++ /dev/null @@ -1,66 +0,0 @@ -#ifndef v1alpha1_cluster_cidr_list_TEST -#define v1alpha1_cluster_cidr_list_TEST - -// the following is to include only the main from the first c file -#ifndef TEST_MAIN -#define TEST_MAIN -#define v1alpha1_cluster_cidr_list_MAIN -#endif // TEST_MAIN - -#include -#include -#include -#include -#include "../external/cJSON.h" - -#include "../model/v1alpha1_cluster_cidr_list.h" -v1alpha1_cluster_cidr_list_t* instantiate_v1alpha1_cluster_cidr_list(int include_optional); - -#include "test_v1_list_meta.c" - - -v1alpha1_cluster_cidr_list_t* instantiate_v1alpha1_cluster_cidr_list(int include_optional) { - v1alpha1_cluster_cidr_list_t* v1alpha1_cluster_cidr_list = NULL; - if (include_optional) { - v1alpha1_cluster_cidr_list = v1alpha1_cluster_cidr_list_create( - "0", - list_createList(), - "0", - // false, not to have infinite recursion - instantiate_v1_list_meta(0) - ); - } else { - v1alpha1_cluster_cidr_list = v1alpha1_cluster_cidr_list_create( - "0", - list_createList(), - "0", - NULL - ); - } - - return v1alpha1_cluster_cidr_list; -} - - -#ifdef v1alpha1_cluster_cidr_list_MAIN - -void test_v1alpha1_cluster_cidr_list(int include_optional) { - v1alpha1_cluster_cidr_list_t* v1alpha1_cluster_cidr_list_1 = instantiate_v1alpha1_cluster_cidr_list(include_optional); - - cJSON* jsonv1alpha1_cluster_cidr_list_1 = v1alpha1_cluster_cidr_list_convertToJSON(v1alpha1_cluster_cidr_list_1); - printf("v1alpha1_cluster_cidr_list :\n%s\n", cJSON_Print(jsonv1alpha1_cluster_cidr_list_1)); - v1alpha1_cluster_cidr_list_t* v1alpha1_cluster_cidr_list_2 = v1alpha1_cluster_cidr_list_parseFromJSON(jsonv1alpha1_cluster_cidr_list_1); - cJSON* jsonv1alpha1_cluster_cidr_list_2 = v1alpha1_cluster_cidr_list_convertToJSON(v1alpha1_cluster_cidr_list_2); - printf("repeating v1alpha1_cluster_cidr_list:\n%s\n", cJSON_Print(jsonv1alpha1_cluster_cidr_list_2)); -} - -int main() { - test_v1alpha1_cluster_cidr_list(1); - test_v1alpha1_cluster_cidr_list(0); - - printf("Hello world \n"); - return 0; -} - -#endif // v1alpha1_cluster_cidr_list_MAIN -#endif // v1alpha1_cluster_cidr_list_TEST diff --git a/kubernetes/unit-test/test_v1alpha1_cluster_cidr_spec.c b/kubernetes/unit-test/test_v1alpha1_cluster_cidr_spec.c deleted file mode 100644 index 3a843b70..00000000 --- a/kubernetes/unit-test/test_v1alpha1_cluster_cidr_spec.c +++ /dev/null @@ -1,66 +0,0 @@ -#ifndef v1alpha1_cluster_cidr_spec_TEST -#define v1alpha1_cluster_cidr_spec_TEST - -// the following is to include only the main from the first c file -#ifndef TEST_MAIN -#define TEST_MAIN -#define v1alpha1_cluster_cidr_spec_MAIN -#endif // TEST_MAIN - -#include -#include -#include -#include -#include "../external/cJSON.h" - -#include "../model/v1alpha1_cluster_cidr_spec.h" -v1alpha1_cluster_cidr_spec_t* instantiate_v1alpha1_cluster_cidr_spec(int include_optional); - -#include "test_v1_node_selector.c" - - -v1alpha1_cluster_cidr_spec_t* instantiate_v1alpha1_cluster_cidr_spec(int include_optional) { - v1alpha1_cluster_cidr_spec_t* v1alpha1_cluster_cidr_spec = NULL; - if (include_optional) { - v1alpha1_cluster_cidr_spec = v1alpha1_cluster_cidr_spec_create( - "0", - "0", - // false, not to have infinite recursion - instantiate_v1_node_selector(0), - 56 - ); - } else { - v1alpha1_cluster_cidr_spec = v1alpha1_cluster_cidr_spec_create( - "0", - "0", - NULL, - 56 - ); - } - - return v1alpha1_cluster_cidr_spec; -} - - -#ifdef v1alpha1_cluster_cidr_spec_MAIN - -void test_v1alpha1_cluster_cidr_spec(int include_optional) { - v1alpha1_cluster_cidr_spec_t* v1alpha1_cluster_cidr_spec_1 = instantiate_v1alpha1_cluster_cidr_spec(include_optional); - - cJSON* jsonv1alpha1_cluster_cidr_spec_1 = v1alpha1_cluster_cidr_spec_convertToJSON(v1alpha1_cluster_cidr_spec_1); - printf("v1alpha1_cluster_cidr_spec :\n%s\n", cJSON_Print(jsonv1alpha1_cluster_cidr_spec_1)); - v1alpha1_cluster_cidr_spec_t* v1alpha1_cluster_cidr_spec_2 = v1alpha1_cluster_cidr_spec_parseFromJSON(jsonv1alpha1_cluster_cidr_spec_1); - cJSON* jsonv1alpha1_cluster_cidr_spec_2 = v1alpha1_cluster_cidr_spec_convertToJSON(v1alpha1_cluster_cidr_spec_2); - printf("repeating v1alpha1_cluster_cidr_spec:\n%s\n", cJSON_Print(jsonv1alpha1_cluster_cidr_spec_2)); -} - -int main() { - test_v1alpha1_cluster_cidr_spec(1); - test_v1alpha1_cluster_cidr_spec(0); - - printf("Hello world \n"); - return 0; -} - -#endif // v1alpha1_cluster_cidr_spec_MAIN -#endif // v1alpha1_cluster_cidr_spec_TEST diff --git a/kubernetes/unit-test/test_v1alpha1_parent_reference.c b/kubernetes/unit-test/test_v1alpha1_parent_reference.c index c91f4aa3..32be6584 100644 --- a/kubernetes/unit-test/test_v1alpha1_parent_reference.c +++ b/kubernetes/unit-test/test_v1alpha1_parent_reference.c @@ -25,7 +25,6 @@ v1alpha1_parent_reference_t* instantiate_v1alpha1_parent_reference(int include_o "0", "0", "0", - "0", "0" ); } else { @@ -33,7 +32,6 @@ v1alpha1_parent_reference_t* instantiate_v1alpha1_parent_reference(int include_o "0", "0", "0", - "0", "0" ); } diff --git a/kubernetes/unit-test/test_v1alpha1_service_cidr.c b/kubernetes/unit-test/test_v1alpha1_service_cidr.c new file mode 100644 index 00000000..9b0c54dc --- /dev/null +++ b/kubernetes/unit-test/test_v1alpha1_service_cidr.c @@ -0,0 +1,72 @@ +#ifndef v1alpha1_service_cidr_TEST +#define v1alpha1_service_cidr_TEST + +// the following is to include only the main from the first c file +#ifndef TEST_MAIN +#define TEST_MAIN +#define v1alpha1_service_cidr_MAIN +#endif // TEST_MAIN + +#include +#include +#include +#include +#include "../external/cJSON.h" + +#include "../model/v1alpha1_service_cidr.h" +v1alpha1_service_cidr_t* instantiate_v1alpha1_service_cidr(int include_optional); + +#include "test_v1_object_meta.c" +#include "test_v1alpha1_service_cidr_spec.c" +#include "test_v1alpha1_service_cidr_status.c" + + +v1alpha1_service_cidr_t* instantiate_v1alpha1_service_cidr(int include_optional) { + v1alpha1_service_cidr_t* v1alpha1_service_cidr = NULL; + if (include_optional) { + v1alpha1_service_cidr = v1alpha1_service_cidr_create( + "0", + "0", + // false, not to have infinite recursion + instantiate_v1_object_meta(0), + // false, not to have infinite recursion + instantiate_v1alpha1_service_cidr_spec(0), + // false, not to have infinite recursion + instantiate_v1alpha1_service_cidr_status(0) + ); + } else { + v1alpha1_service_cidr = v1alpha1_service_cidr_create( + "0", + "0", + NULL, + NULL, + NULL + ); + } + + return v1alpha1_service_cidr; +} + + +#ifdef v1alpha1_service_cidr_MAIN + +void test_v1alpha1_service_cidr(int include_optional) { + v1alpha1_service_cidr_t* v1alpha1_service_cidr_1 = instantiate_v1alpha1_service_cidr(include_optional); + + cJSON* jsonv1alpha1_service_cidr_1 = v1alpha1_service_cidr_convertToJSON(v1alpha1_service_cidr_1); + printf("v1alpha1_service_cidr :\n%s\n", cJSON_Print(jsonv1alpha1_service_cidr_1)); + v1alpha1_service_cidr_t* v1alpha1_service_cidr_2 = v1alpha1_service_cidr_parseFromJSON(jsonv1alpha1_service_cidr_1); + cJSON* jsonv1alpha1_service_cidr_2 = v1alpha1_service_cidr_convertToJSON(v1alpha1_service_cidr_2); + printf("repeating v1alpha1_service_cidr:\n%s\n", cJSON_Print(jsonv1alpha1_service_cidr_2)); +} + +int main() { + test_v1alpha1_service_cidr(1); + test_v1alpha1_service_cidr(0); + + printf("Hello world \n"); + return 0; +} + +#endif // v1alpha1_service_cidr_MAIN +#endif // v1alpha1_service_cidr_TEST diff --git a/kubernetes/unit-test/test_v1alpha1_service_cidr_list.c b/kubernetes/unit-test/test_v1alpha1_service_cidr_list.c new file mode 100644 index 00000000..5fe37ac4 --- /dev/null +++ b/kubernetes/unit-test/test_v1alpha1_service_cidr_list.c @@ -0,0 +1,66 @@ +#ifndef v1alpha1_service_cidr_list_TEST +#define v1alpha1_service_cidr_list_TEST + +// the following is to include only the main from the first c file +#ifndef TEST_MAIN +#define TEST_MAIN +#define v1alpha1_service_cidr_list_MAIN +#endif // TEST_MAIN + +#include +#include +#include +#include +#include "../external/cJSON.h" + +#include "../model/v1alpha1_service_cidr_list.h" +v1alpha1_service_cidr_list_t* instantiate_v1alpha1_service_cidr_list(int include_optional); + +#include "test_v1_list_meta.c" + + +v1alpha1_service_cidr_list_t* instantiate_v1alpha1_service_cidr_list(int include_optional) { + v1alpha1_service_cidr_list_t* v1alpha1_service_cidr_list = NULL; + if (include_optional) { + v1alpha1_service_cidr_list = v1alpha1_service_cidr_list_create( + "0", + list_createList(), + "0", + // false, not to have infinite recursion + instantiate_v1_list_meta(0) + ); + } else { + v1alpha1_service_cidr_list = v1alpha1_service_cidr_list_create( + "0", + list_createList(), + "0", + NULL + ); + } + + return v1alpha1_service_cidr_list; +} + + +#ifdef v1alpha1_service_cidr_list_MAIN + +void test_v1alpha1_service_cidr_list(int include_optional) { + v1alpha1_service_cidr_list_t* v1alpha1_service_cidr_list_1 = instantiate_v1alpha1_service_cidr_list(include_optional); + + cJSON* jsonv1alpha1_service_cidr_list_1 = v1alpha1_service_cidr_list_convertToJSON(v1alpha1_service_cidr_list_1); + printf("v1alpha1_service_cidr_list :\n%s\n", cJSON_Print(jsonv1alpha1_service_cidr_list_1)); + v1alpha1_service_cidr_list_t* v1alpha1_service_cidr_list_2 = v1alpha1_service_cidr_list_parseFromJSON(jsonv1alpha1_service_cidr_list_1); + cJSON* jsonv1alpha1_service_cidr_list_2 = v1alpha1_service_cidr_list_convertToJSON(v1alpha1_service_cidr_list_2); + printf("repeating v1alpha1_service_cidr_list:\n%s\n", cJSON_Print(jsonv1alpha1_service_cidr_list_2)); +} + +int main() { + test_v1alpha1_service_cidr_list(1); + test_v1alpha1_service_cidr_list(0); + + printf("Hello world \n"); + return 0; +} + +#endif // v1alpha1_service_cidr_list_MAIN +#endif // v1alpha1_service_cidr_list_TEST diff --git a/kubernetes/unit-test/test_v1alpha1_service_cidr_spec.c b/kubernetes/unit-test/test_v1alpha1_service_cidr_spec.c new file mode 100644 index 00000000..efe5d51d --- /dev/null +++ b/kubernetes/unit-test/test_v1alpha1_service_cidr_spec.c @@ -0,0 +1,58 @@ +#ifndef v1alpha1_service_cidr_spec_TEST +#define v1alpha1_service_cidr_spec_TEST + +// the following is to include only the main from the first c file +#ifndef TEST_MAIN +#define TEST_MAIN +#define v1alpha1_service_cidr_spec_MAIN +#endif // TEST_MAIN + +#include +#include +#include +#include +#include "../external/cJSON.h" + +#include "../model/v1alpha1_service_cidr_spec.h" +v1alpha1_service_cidr_spec_t* instantiate_v1alpha1_service_cidr_spec(int include_optional); + + + +v1alpha1_service_cidr_spec_t* instantiate_v1alpha1_service_cidr_spec(int include_optional) { + v1alpha1_service_cidr_spec_t* v1alpha1_service_cidr_spec = NULL; + if (include_optional) { + v1alpha1_service_cidr_spec = v1alpha1_service_cidr_spec_create( + list_createList() + ); + } else { + v1alpha1_service_cidr_spec = v1alpha1_service_cidr_spec_create( + list_createList() + ); + } + + return v1alpha1_service_cidr_spec; +} + + +#ifdef v1alpha1_service_cidr_spec_MAIN + +void test_v1alpha1_service_cidr_spec(int include_optional) { + v1alpha1_service_cidr_spec_t* v1alpha1_service_cidr_spec_1 = instantiate_v1alpha1_service_cidr_spec(include_optional); + + cJSON* jsonv1alpha1_service_cidr_spec_1 = v1alpha1_service_cidr_spec_convertToJSON(v1alpha1_service_cidr_spec_1); + printf("v1alpha1_service_cidr_spec :\n%s\n", cJSON_Print(jsonv1alpha1_service_cidr_spec_1)); + v1alpha1_service_cidr_spec_t* v1alpha1_service_cidr_spec_2 = v1alpha1_service_cidr_spec_parseFromJSON(jsonv1alpha1_service_cidr_spec_1); + cJSON* jsonv1alpha1_service_cidr_spec_2 = v1alpha1_service_cidr_spec_convertToJSON(v1alpha1_service_cidr_spec_2); + printf("repeating v1alpha1_service_cidr_spec:\n%s\n", cJSON_Print(jsonv1alpha1_service_cidr_spec_2)); +} + +int main() { + test_v1alpha1_service_cidr_spec(1); + test_v1alpha1_service_cidr_spec(0); + + printf("Hello world \n"); + return 0; +} + +#endif // v1alpha1_service_cidr_spec_MAIN +#endif // v1alpha1_service_cidr_spec_TEST diff --git a/kubernetes/unit-test/test_v1alpha1_service_cidr_status.c b/kubernetes/unit-test/test_v1alpha1_service_cidr_status.c new file mode 100644 index 00000000..7ff56055 --- /dev/null +++ b/kubernetes/unit-test/test_v1alpha1_service_cidr_status.c @@ -0,0 +1,58 @@ +#ifndef v1alpha1_service_cidr_status_TEST +#define v1alpha1_service_cidr_status_TEST + +// the following is to include only the main from the first c file +#ifndef TEST_MAIN +#define TEST_MAIN +#define v1alpha1_service_cidr_status_MAIN +#endif // TEST_MAIN + +#include +#include +#include +#include +#include "../external/cJSON.h" + +#include "../model/v1alpha1_service_cidr_status.h" +v1alpha1_service_cidr_status_t* instantiate_v1alpha1_service_cidr_status(int include_optional); + + + +v1alpha1_service_cidr_status_t* instantiate_v1alpha1_service_cidr_status(int include_optional) { + v1alpha1_service_cidr_status_t* v1alpha1_service_cidr_status = NULL; + if (include_optional) { + v1alpha1_service_cidr_status = v1alpha1_service_cidr_status_create( + list_createList() + ); + } else { + v1alpha1_service_cidr_status = v1alpha1_service_cidr_status_create( + list_createList() + ); + } + + return v1alpha1_service_cidr_status; +} + + +#ifdef v1alpha1_service_cidr_status_MAIN + +void test_v1alpha1_service_cidr_status(int include_optional) { + v1alpha1_service_cidr_status_t* v1alpha1_service_cidr_status_1 = instantiate_v1alpha1_service_cidr_status(include_optional); + + cJSON* jsonv1alpha1_service_cidr_status_1 = v1alpha1_service_cidr_status_convertToJSON(v1alpha1_service_cidr_status_1); + printf("v1alpha1_service_cidr_status :\n%s\n", cJSON_Print(jsonv1alpha1_service_cidr_status_1)); + v1alpha1_service_cidr_status_t* v1alpha1_service_cidr_status_2 = v1alpha1_service_cidr_status_parseFromJSON(jsonv1alpha1_service_cidr_status_1); + cJSON* jsonv1alpha1_service_cidr_status_2 = v1alpha1_service_cidr_status_convertToJSON(v1alpha1_service_cidr_status_2); + printf("repeating v1alpha1_service_cidr_status:\n%s\n", cJSON_Print(jsonv1alpha1_service_cidr_status_2)); +} + +int main() { + test_v1alpha1_service_cidr_status(1); + test_v1alpha1_service_cidr_status(0); + + printf("Hello world \n"); + return 0; +} + +#endif // v1alpha1_service_cidr_status_MAIN +#endif // v1alpha1_service_cidr_status_TEST diff --git a/kubernetes/unit-test/test_v1alpha1_volume_attributes_class.c b/kubernetes/unit-test/test_v1alpha1_volume_attributes_class.c new file mode 100644 index 00000000..97494aab --- /dev/null +++ b/kubernetes/unit-test/test_v1alpha1_volume_attributes_class.c @@ -0,0 +1,68 @@ +#ifndef v1alpha1_volume_attributes_class_TEST +#define v1alpha1_volume_attributes_class_TEST + +// the following is to include only the main from the first c file +#ifndef TEST_MAIN +#define TEST_MAIN +#define v1alpha1_volume_attributes_class_MAIN +#endif // TEST_MAIN + +#include +#include +#include +#include +#include "../external/cJSON.h" + +#include "../model/v1alpha1_volume_attributes_class.h" +v1alpha1_volume_attributes_class_t* instantiate_v1alpha1_volume_attributes_class(int include_optional); + +#include "test_v1_object_meta.c" + + +v1alpha1_volume_attributes_class_t* instantiate_v1alpha1_volume_attributes_class(int include_optional) { + v1alpha1_volume_attributes_class_t* v1alpha1_volume_attributes_class = NULL; + if (include_optional) { + v1alpha1_volume_attributes_class = v1alpha1_volume_attributes_class_create( + "0", + "0", + "0", + // false, not to have infinite recursion + instantiate_v1_object_meta(0), + list_createList() + ); + } else { + v1alpha1_volume_attributes_class = v1alpha1_volume_attributes_class_create( + "0", + "0", + "0", + NULL, + list_createList() + ); + } + + return v1alpha1_volume_attributes_class; +} + + +#ifdef v1alpha1_volume_attributes_class_MAIN + +void test_v1alpha1_volume_attributes_class(int include_optional) { + v1alpha1_volume_attributes_class_t* v1alpha1_volume_attributes_class_1 = instantiate_v1alpha1_volume_attributes_class(include_optional); + + cJSON* jsonv1alpha1_volume_attributes_class_1 = v1alpha1_volume_attributes_class_convertToJSON(v1alpha1_volume_attributes_class_1); + printf("v1alpha1_volume_attributes_class :\n%s\n", cJSON_Print(jsonv1alpha1_volume_attributes_class_1)); + v1alpha1_volume_attributes_class_t* v1alpha1_volume_attributes_class_2 = v1alpha1_volume_attributes_class_parseFromJSON(jsonv1alpha1_volume_attributes_class_1); + cJSON* jsonv1alpha1_volume_attributes_class_2 = v1alpha1_volume_attributes_class_convertToJSON(v1alpha1_volume_attributes_class_2); + printf("repeating v1alpha1_volume_attributes_class:\n%s\n", cJSON_Print(jsonv1alpha1_volume_attributes_class_2)); +} + +int main() { + test_v1alpha1_volume_attributes_class(1); + test_v1alpha1_volume_attributes_class(0); + + printf("Hello world \n"); + return 0; +} + +#endif // v1alpha1_volume_attributes_class_MAIN +#endif // v1alpha1_volume_attributes_class_TEST diff --git a/kubernetes/unit-test/test_v1alpha1_volume_attributes_class_list.c b/kubernetes/unit-test/test_v1alpha1_volume_attributes_class_list.c new file mode 100644 index 00000000..4ab0e736 --- /dev/null +++ b/kubernetes/unit-test/test_v1alpha1_volume_attributes_class_list.c @@ -0,0 +1,66 @@ +#ifndef v1alpha1_volume_attributes_class_list_TEST +#define v1alpha1_volume_attributes_class_list_TEST + +// the following is to include only the main from the first c file +#ifndef TEST_MAIN +#define TEST_MAIN +#define v1alpha1_volume_attributes_class_list_MAIN +#endif // TEST_MAIN + +#include +#include +#include +#include +#include "../external/cJSON.h" + +#include "../model/v1alpha1_volume_attributes_class_list.h" +v1alpha1_volume_attributes_class_list_t* instantiate_v1alpha1_volume_attributes_class_list(int include_optional); + +#include "test_v1_list_meta.c" + + +v1alpha1_volume_attributes_class_list_t* instantiate_v1alpha1_volume_attributes_class_list(int include_optional) { + v1alpha1_volume_attributes_class_list_t* v1alpha1_volume_attributes_class_list = NULL; + if (include_optional) { + v1alpha1_volume_attributes_class_list = v1alpha1_volume_attributes_class_list_create( + "0", + list_createList(), + "0", + // false, not to have infinite recursion + instantiate_v1_list_meta(0) + ); + } else { + v1alpha1_volume_attributes_class_list = v1alpha1_volume_attributes_class_list_create( + "0", + list_createList(), + "0", + NULL + ); + } + + return v1alpha1_volume_attributes_class_list; +} + + +#ifdef v1alpha1_volume_attributes_class_list_MAIN + +void test_v1alpha1_volume_attributes_class_list(int include_optional) { + v1alpha1_volume_attributes_class_list_t* v1alpha1_volume_attributes_class_list_1 = instantiate_v1alpha1_volume_attributes_class_list(include_optional); + + cJSON* jsonv1alpha1_volume_attributes_class_list_1 = v1alpha1_volume_attributes_class_list_convertToJSON(v1alpha1_volume_attributes_class_list_1); + printf("v1alpha1_volume_attributes_class_list :\n%s\n", cJSON_Print(jsonv1alpha1_volume_attributes_class_list_1)); + v1alpha1_volume_attributes_class_list_t* v1alpha1_volume_attributes_class_list_2 = v1alpha1_volume_attributes_class_list_parseFromJSON(jsonv1alpha1_volume_attributes_class_list_1); + cJSON* jsonv1alpha1_volume_attributes_class_list_2 = v1alpha1_volume_attributes_class_list_convertToJSON(v1alpha1_volume_attributes_class_list_2); + printf("repeating v1alpha1_volume_attributes_class_list:\n%s\n", cJSON_Print(jsonv1alpha1_volume_attributes_class_list_2)); +} + +int main() { + test_v1alpha1_volume_attributes_class_list(1); + test_v1alpha1_volume_attributes_class_list(0); + + printf("Hello world \n"); + return 0; +} + +#endif // v1alpha1_volume_attributes_class_list_MAIN +#endif // v1alpha1_volume_attributes_class_list_TEST diff --git a/kubernetes/unit-test/test_v1beta2_exempt_priority_level_configuration.c b/kubernetes/unit-test/test_v1beta2_exempt_priority_level_configuration.c deleted file mode 100644 index 0d9e4746..00000000 --- a/kubernetes/unit-test/test_v1beta2_exempt_priority_level_configuration.c +++ /dev/null @@ -1,60 +0,0 @@ -#ifndef v1beta2_exempt_priority_level_configuration_TEST -#define v1beta2_exempt_priority_level_configuration_TEST - -// the following is to include only the main from the first c file -#ifndef TEST_MAIN -#define TEST_MAIN -#define v1beta2_exempt_priority_level_configuration_MAIN -#endif // TEST_MAIN - -#include -#include -#include -#include -#include "../external/cJSON.h" - -#include "../model/v1beta2_exempt_priority_level_configuration.h" -v1beta2_exempt_priority_level_configuration_t* instantiate_v1beta2_exempt_priority_level_configuration(int include_optional); - - - -v1beta2_exempt_priority_level_configuration_t* instantiate_v1beta2_exempt_priority_level_configuration(int include_optional) { - v1beta2_exempt_priority_level_configuration_t* v1beta2_exempt_priority_level_configuration = NULL; - if (include_optional) { - v1beta2_exempt_priority_level_configuration = v1beta2_exempt_priority_level_configuration_create( - 56, - 56 - ); - } else { - v1beta2_exempt_priority_level_configuration = v1beta2_exempt_priority_level_configuration_create( - 56, - 56 - ); - } - - return v1beta2_exempt_priority_level_configuration; -} - - -#ifdef v1beta2_exempt_priority_level_configuration_MAIN - -void test_v1beta2_exempt_priority_level_configuration(int include_optional) { - v1beta2_exempt_priority_level_configuration_t* v1beta2_exempt_priority_level_configuration_1 = instantiate_v1beta2_exempt_priority_level_configuration(include_optional); - - cJSON* jsonv1beta2_exempt_priority_level_configuration_1 = v1beta2_exempt_priority_level_configuration_convertToJSON(v1beta2_exempt_priority_level_configuration_1); - printf("v1beta2_exempt_priority_level_configuration :\n%s\n", cJSON_Print(jsonv1beta2_exempt_priority_level_configuration_1)); - v1beta2_exempt_priority_level_configuration_t* v1beta2_exempt_priority_level_configuration_2 = v1beta2_exempt_priority_level_configuration_parseFromJSON(jsonv1beta2_exempt_priority_level_configuration_1); - cJSON* jsonv1beta2_exempt_priority_level_configuration_2 = v1beta2_exempt_priority_level_configuration_convertToJSON(v1beta2_exempt_priority_level_configuration_2); - printf("repeating v1beta2_exempt_priority_level_configuration:\n%s\n", cJSON_Print(jsonv1beta2_exempt_priority_level_configuration_2)); -} - -int main() { - test_v1beta2_exempt_priority_level_configuration(1); - test_v1beta2_exempt_priority_level_configuration(0); - - printf("Hello world \n"); - return 0; -} - -#endif // v1beta2_exempt_priority_level_configuration_MAIN -#endif // v1beta2_exempt_priority_level_configuration_TEST diff --git a/kubernetes/unit-test/test_v1beta2_flow_distinguisher_method.c b/kubernetes/unit-test/test_v1beta2_flow_distinguisher_method.c deleted file mode 100644 index 58c15df7..00000000 --- a/kubernetes/unit-test/test_v1beta2_flow_distinguisher_method.c +++ /dev/null @@ -1,58 +0,0 @@ -#ifndef v1beta2_flow_distinguisher_method_TEST -#define v1beta2_flow_distinguisher_method_TEST - -// the following is to include only the main from the first c file -#ifndef TEST_MAIN -#define TEST_MAIN -#define v1beta2_flow_distinguisher_method_MAIN -#endif // TEST_MAIN - -#include -#include -#include -#include -#include "../external/cJSON.h" - -#include "../model/v1beta2_flow_distinguisher_method.h" -v1beta2_flow_distinguisher_method_t* instantiate_v1beta2_flow_distinguisher_method(int include_optional); - - - -v1beta2_flow_distinguisher_method_t* instantiate_v1beta2_flow_distinguisher_method(int include_optional) { - v1beta2_flow_distinguisher_method_t* v1beta2_flow_distinguisher_method = NULL; - if (include_optional) { - v1beta2_flow_distinguisher_method = v1beta2_flow_distinguisher_method_create( - "0" - ); - } else { - v1beta2_flow_distinguisher_method = v1beta2_flow_distinguisher_method_create( - "0" - ); - } - - return v1beta2_flow_distinguisher_method; -} - - -#ifdef v1beta2_flow_distinguisher_method_MAIN - -void test_v1beta2_flow_distinguisher_method(int include_optional) { - v1beta2_flow_distinguisher_method_t* v1beta2_flow_distinguisher_method_1 = instantiate_v1beta2_flow_distinguisher_method(include_optional); - - cJSON* jsonv1beta2_flow_distinguisher_method_1 = v1beta2_flow_distinguisher_method_convertToJSON(v1beta2_flow_distinguisher_method_1); - printf("v1beta2_flow_distinguisher_method :\n%s\n", cJSON_Print(jsonv1beta2_flow_distinguisher_method_1)); - v1beta2_flow_distinguisher_method_t* v1beta2_flow_distinguisher_method_2 = v1beta2_flow_distinguisher_method_parseFromJSON(jsonv1beta2_flow_distinguisher_method_1); - cJSON* jsonv1beta2_flow_distinguisher_method_2 = v1beta2_flow_distinguisher_method_convertToJSON(v1beta2_flow_distinguisher_method_2); - printf("repeating v1beta2_flow_distinguisher_method:\n%s\n", cJSON_Print(jsonv1beta2_flow_distinguisher_method_2)); -} - -int main() { - test_v1beta2_flow_distinguisher_method(1); - test_v1beta2_flow_distinguisher_method(0); - - printf("Hello world \n"); - return 0; -} - -#endif // v1beta2_flow_distinguisher_method_MAIN -#endif // v1beta2_flow_distinguisher_method_TEST diff --git a/kubernetes/unit-test/test_v1beta2_flow_schema.c b/kubernetes/unit-test/test_v1beta2_flow_schema.c deleted file mode 100644 index ea518cff..00000000 --- a/kubernetes/unit-test/test_v1beta2_flow_schema.c +++ /dev/null @@ -1,72 +0,0 @@ -#ifndef v1beta2_flow_schema_TEST -#define v1beta2_flow_schema_TEST - -// the following is to include only the main from the first c file -#ifndef TEST_MAIN -#define TEST_MAIN -#define v1beta2_flow_schema_MAIN -#endif // TEST_MAIN - -#include -#include -#include -#include -#include "../external/cJSON.h" - -#include "../model/v1beta2_flow_schema.h" -v1beta2_flow_schema_t* instantiate_v1beta2_flow_schema(int include_optional); - -#include "test_v1_object_meta.c" -#include "test_v1beta2_flow_schema_spec.c" -#include "test_v1beta2_flow_schema_status.c" - - -v1beta2_flow_schema_t* instantiate_v1beta2_flow_schema(int include_optional) { - v1beta2_flow_schema_t* v1beta2_flow_schema = NULL; - if (include_optional) { - v1beta2_flow_schema = v1beta2_flow_schema_create( - "0", - "0", - // false, not to have infinite recursion - instantiate_v1_object_meta(0), - // false, not to have infinite recursion - instantiate_v1beta2_flow_schema_spec(0), - // false, not to have infinite recursion - instantiate_v1beta2_flow_schema_status(0) - ); - } else { - v1beta2_flow_schema = v1beta2_flow_schema_create( - "0", - "0", - NULL, - NULL, - NULL - ); - } - - return v1beta2_flow_schema; -} - - -#ifdef v1beta2_flow_schema_MAIN - -void test_v1beta2_flow_schema(int include_optional) { - v1beta2_flow_schema_t* v1beta2_flow_schema_1 = instantiate_v1beta2_flow_schema(include_optional); - - cJSON* jsonv1beta2_flow_schema_1 = v1beta2_flow_schema_convertToJSON(v1beta2_flow_schema_1); - printf("v1beta2_flow_schema :\n%s\n", cJSON_Print(jsonv1beta2_flow_schema_1)); - v1beta2_flow_schema_t* v1beta2_flow_schema_2 = v1beta2_flow_schema_parseFromJSON(jsonv1beta2_flow_schema_1); - cJSON* jsonv1beta2_flow_schema_2 = v1beta2_flow_schema_convertToJSON(v1beta2_flow_schema_2); - printf("repeating v1beta2_flow_schema:\n%s\n", cJSON_Print(jsonv1beta2_flow_schema_2)); -} - -int main() { - test_v1beta2_flow_schema(1); - test_v1beta2_flow_schema(0); - - printf("Hello world \n"); - return 0; -} - -#endif // v1beta2_flow_schema_MAIN -#endif // v1beta2_flow_schema_TEST diff --git a/kubernetes/unit-test/test_v1beta2_flow_schema_condition.c b/kubernetes/unit-test/test_v1beta2_flow_schema_condition.c deleted file mode 100644 index 79963d28..00000000 --- a/kubernetes/unit-test/test_v1beta2_flow_schema_condition.c +++ /dev/null @@ -1,66 +0,0 @@ -#ifndef v1beta2_flow_schema_condition_TEST -#define v1beta2_flow_schema_condition_TEST - -// the following is to include only the main from the first c file -#ifndef TEST_MAIN -#define TEST_MAIN -#define v1beta2_flow_schema_condition_MAIN -#endif // TEST_MAIN - -#include -#include -#include -#include -#include "../external/cJSON.h" - -#include "../model/v1beta2_flow_schema_condition.h" -v1beta2_flow_schema_condition_t* instantiate_v1beta2_flow_schema_condition(int include_optional); - - - -v1beta2_flow_schema_condition_t* instantiate_v1beta2_flow_schema_condition(int include_optional) { - v1beta2_flow_schema_condition_t* v1beta2_flow_schema_condition = NULL; - if (include_optional) { - v1beta2_flow_schema_condition = v1beta2_flow_schema_condition_create( - "2013-10-20T19:20:30+01:00", - "0", - "0", - "0", - "0" - ); - } else { - v1beta2_flow_schema_condition = v1beta2_flow_schema_condition_create( - "2013-10-20T19:20:30+01:00", - "0", - "0", - "0", - "0" - ); - } - - return v1beta2_flow_schema_condition; -} - - -#ifdef v1beta2_flow_schema_condition_MAIN - -void test_v1beta2_flow_schema_condition(int include_optional) { - v1beta2_flow_schema_condition_t* v1beta2_flow_schema_condition_1 = instantiate_v1beta2_flow_schema_condition(include_optional); - - cJSON* jsonv1beta2_flow_schema_condition_1 = v1beta2_flow_schema_condition_convertToJSON(v1beta2_flow_schema_condition_1); - printf("v1beta2_flow_schema_condition :\n%s\n", cJSON_Print(jsonv1beta2_flow_schema_condition_1)); - v1beta2_flow_schema_condition_t* v1beta2_flow_schema_condition_2 = v1beta2_flow_schema_condition_parseFromJSON(jsonv1beta2_flow_schema_condition_1); - cJSON* jsonv1beta2_flow_schema_condition_2 = v1beta2_flow_schema_condition_convertToJSON(v1beta2_flow_schema_condition_2); - printf("repeating v1beta2_flow_schema_condition:\n%s\n", cJSON_Print(jsonv1beta2_flow_schema_condition_2)); -} - -int main() { - test_v1beta2_flow_schema_condition(1); - test_v1beta2_flow_schema_condition(0); - - printf("Hello world \n"); - return 0; -} - -#endif // v1beta2_flow_schema_condition_MAIN -#endif // v1beta2_flow_schema_condition_TEST diff --git a/kubernetes/unit-test/test_v1beta2_flow_schema_list.c b/kubernetes/unit-test/test_v1beta2_flow_schema_list.c deleted file mode 100644 index 5e33afc8..00000000 --- a/kubernetes/unit-test/test_v1beta2_flow_schema_list.c +++ /dev/null @@ -1,66 +0,0 @@ -#ifndef v1beta2_flow_schema_list_TEST -#define v1beta2_flow_schema_list_TEST - -// the following is to include only the main from the first c file -#ifndef TEST_MAIN -#define TEST_MAIN -#define v1beta2_flow_schema_list_MAIN -#endif // TEST_MAIN - -#include -#include -#include -#include -#include "../external/cJSON.h" - -#include "../model/v1beta2_flow_schema_list.h" -v1beta2_flow_schema_list_t* instantiate_v1beta2_flow_schema_list(int include_optional); - -#include "test_v1_list_meta.c" - - -v1beta2_flow_schema_list_t* instantiate_v1beta2_flow_schema_list(int include_optional) { - v1beta2_flow_schema_list_t* v1beta2_flow_schema_list = NULL; - if (include_optional) { - v1beta2_flow_schema_list = v1beta2_flow_schema_list_create( - "0", - list_createList(), - "0", - // false, not to have infinite recursion - instantiate_v1_list_meta(0) - ); - } else { - v1beta2_flow_schema_list = v1beta2_flow_schema_list_create( - "0", - list_createList(), - "0", - NULL - ); - } - - return v1beta2_flow_schema_list; -} - - -#ifdef v1beta2_flow_schema_list_MAIN - -void test_v1beta2_flow_schema_list(int include_optional) { - v1beta2_flow_schema_list_t* v1beta2_flow_schema_list_1 = instantiate_v1beta2_flow_schema_list(include_optional); - - cJSON* jsonv1beta2_flow_schema_list_1 = v1beta2_flow_schema_list_convertToJSON(v1beta2_flow_schema_list_1); - printf("v1beta2_flow_schema_list :\n%s\n", cJSON_Print(jsonv1beta2_flow_schema_list_1)); - v1beta2_flow_schema_list_t* v1beta2_flow_schema_list_2 = v1beta2_flow_schema_list_parseFromJSON(jsonv1beta2_flow_schema_list_1); - cJSON* jsonv1beta2_flow_schema_list_2 = v1beta2_flow_schema_list_convertToJSON(v1beta2_flow_schema_list_2); - printf("repeating v1beta2_flow_schema_list:\n%s\n", cJSON_Print(jsonv1beta2_flow_schema_list_2)); -} - -int main() { - test_v1beta2_flow_schema_list(1); - test_v1beta2_flow_schema_list(0); - - printf("Hello world \n"); - return 0; -} - -#endif // v1beta2_flow_schema_list_MAIN -#endif // v1beta2_flow_schema_list_TEST diff --git a/kubernetes/unit-test/test_v1beta2_flow_schema_spec.c b/kubernetes/unit-test/test_v1beta2_flow_schema_spec.c deleted file mode 100644 index c61511bf..00000000 --- a/kubernetes/unit-test/test_v1beta2_flow_schema_spec.c +++ /dev/null @@ -1,68 +0,0 @@ -#ifndef v1beta2_flow_schema_spec_TEST -#define v1beta2_flow_schema_spec_TEST - -// the following is to include only the main from the first c file -#ifndef TEST_MAIN -#define TEST_MAIN -#define v1beta2_flow_schema_spec_MAIN -#endif // TEST_MAIN - -#include -#include -#include -#include -#include "../external/cJSON.h" - -#include "../model/v1beta2_flow_schema_spec.h" -v1beta2_flow_schema_spec_t* instantiate_v1beta2_flow_schema_spec(int include_optional); - -#include "test_v1beta2_flow_distinguisher_method.c" -#include "test_v1beta2_priority_level_configuration_reference.c" - - -v1beta2_flow_schema_spec_t* instantiate_v1beta2_flow_schema_spec(int include_optional) { - v1beta2_flow_schema_spec_t* v1beta2_flow_schema_spec = NULL; - if (include_optional) { - v1beta2_flow_schema_spec = v1beta2_flow_schema_spec_create( - // false, not to have infinite recursion - instantiate_v1beta2_flow_distinguisher_method(0), - 56, - // false, not to have infinite recursion - instantiate_v1beta2_priority_level_configuration_reference(0), - list_createList() - ); - } else { - v1beta2_flow_schema_spec = v1beta2_flow_schema_spec_create( - NULL, - 56, - NULL, - list_createList() - ); - } - - return v1beta2_flow_schema_spec; -} - - -#ifdef v1beta2_flow_schema_spec_MAIN - -void test_v1beta2_flow_schema_spec(int include_optional) { - v1beta2_flow_schema_spec_t* v1beta2_flow_schema_spec_1 = instantiate_v1beta2_flow_schema_spec(include_optional); - - cJSON* jsonv1beta2_flow_schema_spec_1 = v1beta2_flow_schema_spec_convertToJSON(v1beta2_flow_schema_spec_1); - printf("v1beta2_flow_schema_spec :\n%s\n", cJSON_Print(jsonv1beta2_flow_schema_spec_1)); - v1beta2_flow_schema_spec_t* v1beta2_flow_schema_spec_2 = v1beta2_flow_schema_spec_parseFromJSON(jsonv1beta2_flow_schema_spec_1); - cJSON* jsonv1beta2_flow_schema_spec_2 = v1beta2_flow_schema_spec_convertToJSON(v1beta2_flow_schema_spec_2); - printf("repeating v1beta2_flow_schema_spec:\n%s\n", cJSON_Print(jsonv1beta2_flow_schema_spec_2)); -} - -int main() { - test_v1beta2_flow_schema_spec(1); - test_v1beta2_flow_schema_spec(0); - - printf("Hello world \n"); - return 0; -} - -#endif // v1beta2_flow_schema_spec_MAIN -#endif // v1beta2_flow_schema_spec_TEST diff --git a/kubernetes/unit-test/test_v1beta2_flow_schema_status.c b/kubernetes/unit-test/test_v1beta2_flow_schema_status.c deleted file mode 100644 index 8a101ffa..00000000 --- a/kubernetes/unit-test/test_v1beta2_flow_schema_status.c +++ /dev/null @@ -1,58 +0,0 @@ -#ifndef v1beta2_flow_schema_status_TEST -#define v1beta2_flow_schema_status_TEST - -// the following is to include only the main from the first c file -#ifndef TEST_MAIN -#define TEST_MAIN -#define v1beta2_flow_schema_status_MAIN -#endif // TEST_MAIN - -#include -#include -#include -#include -#include "../external/cJSON.h" - -#include "../model/v1beta2_flow_schema_status.h" -v1beta2_flow_schema_status_t* instantiate_v1beta2_flow_schema_status(int include_optional); - - - -v1beta2_flow_schema_status_t* instantiate_v1beta2_flow_schema_status(int include_optional) { - v1beta2_flow_schema_status_t* v1beta2_flow_schema_status = NULL; - if (include_optional) { - v1beta2_flow_schema_status = v1beta2_flow_schema_status_create( - list_createList() - ); - } else { - v1beta2_flow_schema_status = v1beta2_flow_schema_status_create( - list_createList() - ); - } - - return v1beta2_flow_schema_status; -} - - -#ifdef v1beta2_flow_schema_status_MAIN - -void test_v1beta2_flow_schema_status(int include_optional) { - v1beta2_flow_schema_status_t* v1beta2_flow_schema_status_1 = instantiate_v1beta2_flow_schema_status(include_optional); - - cJSON* jsonv1beta2_flow_schema_status_1 = v1beta2_flow_schema_status_convertToJSON(v1beta2_flow_schema_status_1); - printf("v1beta2_flow_schema_status :\n%s\n", cJSON_Print(jsonv1beta2_flow_schema_status_1)); - v1beta2_flow_schema_status_t* v1beta2_flow_schema_status_2 = v1beta2_flow_schema_status_parseFromJSON(jsonv1beta2_flow_schema_status_1); - cJSON* jsonv1beta2_flow_schema_status_2 = v1beta2_flow_schema_status_convertToJSON(v1beta2_flow_schema_status_2); - printf("repeating v1beta2_flow_schema_status:\n%s\n", cJSON_Print(jsonv1beta2_flow_schema_status_2)); -} - -int main() { - test_v1beta2_flow_schema_status(1); - test_v1beta2_flow_schema_status(0); - - printf("Hello world \n"); - return 0; -} - -#endif // v1beta2_flow_schema_status_MAIN -#endif // v1beta2_flow_schema_status_TEST diff --git a/kubernetes/unit-test/test_v1beta2_group_subject.c b/kubernetes/unit-test/test_v1beta2_group_subject.c deleted file mode 100644 index 511a89a8..00000000 --- a/kubernetes/unit-test/test_v1beta2_group_subject.c +++ /dev/null @@ -1,58 +0,0 @@ -#ifndef v1beta2_group_subject_TEST -#define v1beta2_group_subject_TEST - -// the following is to include only the main from the first c file -#ifndef TEST_MAIN -#define TEST_MAIN -#define v1beta2_group_subject_MAIN -#endif // TEST_MAIN - -#include -#include -#include -#include -#include "../external/cJSON.h" - -#include "../model/v1beta2_group_subject.h" -v1beta2_group_subject_t* instantiate_v1beta2_group_subject(int include_optional); - - - -v1beta2_group_subject_t* instantiate_v1beta2_group_subject(int include_optional) { - v1beta2_group_subject_t* v1beta2_group_subject = NULL; - if (include_optional) { - v1beta2_group_subject = v1beta2_group_subject_create( - "0" - ); - } else { - v1beta2_group_subject = v1beta2_group_subject_create( - "0" - ); - } - - return v1beta2_group_subject; -} - - -#ifdef v1beta2_group_subject_MAIN - -void test_v1beta2_group_subject(int include_optional) { - v1beta2_group_subject_t* v1beta2_group_subject_1 = instantiate_v1beta2_group_subject(include_optional); - - cJSON* jsonv1beta2_group_subject_1 = v1beta2_group_subject_convertToJSON(v1beta2_group_subject_1); - printf("v1beta2_group_subject :\n%s\n", cJSON_Print(jsonv1beta2_group_subject_1)); - v1beta2_group_subject_t* v1beta2_group_subject_2 = v1beta2_group_subject_parseFromJSON(jsonv1beta2_group_subject_1); - cJSON* jsonv1beta2_group_subject_2 = v1beta2_group_subject_convertToJSON(v1beta2_group_subject_2); - printf("repeating v1beta2_group_subject:\n%s\n", cJSON_Print(jsonv1beta2_group_subject_2)); -} - -int main() { - test_v1beta2_group_subject(1); - test_v1beta2_group_subject(0); - - printf("Hello world \n"); - return 0; -} - -#endif // v1beta2_group_subject_MAIN -#endif // v1beta2_group_subject_TEST diff --git a/kubernetes/unit-test/test_v1beta2_limit_response.c b/kubernetes/unit-test/test_v1beta2_limit_response.c deleted file mode 100644 index a1aa96f9..00000000 --- a/kubernetes/unit-test/test_v1beta2_limit_response.c +++ /dev/null @@ -1,62 +0,0 @@ -#ifndef v1beta2_limit_response_TEST -#define v1beta2_limit_response_TEST - -// the following is to include only the main from the first c file -#ifndef TEST_MAIN -#define TEST_MAIN -#define v1beta2_limit_response_MAIN -#endif // TEST_MAIN - -#include -#include -#include -#include -#include "../external/cJSON.h" - -#include "../model/v1beta2_limit_response.h" -v1beta2_limit_response_t* instantiate_v1beta2_limit_response(int include_optional); - -#include "test_v1beta2_queuing_configuration.c" - - -v1beta2_limit_response_t* instantiate_v1beta2_limit_response(int include_optional) { - v1beta2_limit_response_t* v1beta2_limit_response = NULL; - if (include_optional) { - v1beta2_limit_response = v1beta2_limit_response_create( - // false, not to have infinite recursion - instantiate_v1beta2_queuing_configuration(0), - "0" - ); - } else { - v1beta2_limit_response = v1beta2_limit_response_create( - NULL, - "0" - ); - } - - return v1beta2_limit_response; -} - - -#ifdef v1beta2_limit_response_MAIN - -void test_v1beta2_limit_response(int include_optional) { - v1beta2_limit_response_t* v1beta2_limit_response_1 = instantiate_v1beta2_limit_response(include_optional); - - cJSON* jsonv1beta2_limit_response_1 = v1beta2_limit_response_convertToJSON(v1beta2_limit_response_1); - printf("v1beta2_limit_response :\n%s\n", cJSON_Print(jsonv1beta2_limit_response_1)); - v1beta2_limit_response_t* v1beta2_limit_response_2 = v1beta2_limit_response_parseFromJSON(jsonv1beta2_limit_response_1); - cJSON* jsonv1beta2_limit_response_2 = v1beta2_limit_response_convertToJSON(v1beta2_limit_response_2); - printf("repeating v1beta2_limit_response:\n%s\n", cJSON_Print(jsonv1beta2_limit_response_2)); -} - -int main() { - test_v1beta2_limit_response(1); - test_v1beta2_limit_response(0); - - printf("Hello world \n"); - return 0; -} - -#endif // v1beta2_limit_response_MAIN -#endif // v1beta2_limit_response_TEST diff --git a/kubernetes/unit-test/test_v1beta2_limited_priority_level_configuration.c b/kubernetes/unit-test/test_v1beta2_limited_priority_level_configuration.c deleted file mode 100644 index 21d877d8..00000000 --- a/kubernetes/unit-test/test_v1beta2_limited_priority_level_configuration.c +++ /dev/null @@ -1,66 +0,0 @@ -#ifndef v1beta2_limited_priority_level_configuration_TEST -#define v1beta2_limited_priority_level_configuration_TEST - -// the following is to include only the main from the first c file -#ifndef TEST_MAIN -#define TEST_MAIN -#define v1beta2_limited_priority_level_configuration_MAIN -#endif // TEST_MAIN - -#include -#include -#include -#include -#include "../external/cJSON.h" - -#include "../model/v1beta2_limited_priority_level_configuration.h" -v1beta2_limited_priority_level_configuration_t* instantiate_v1beta2_limited_priority_level_configuration(int include_optional); - -#include "test_v1beta2_limit_response.c" - - -v1beta2_limited_priority_level_configuration_t* instantiate_v1beta2_limited_priority_level_configuration(int include_optional) { - v1beta2_limited_priority_level_configuration_t* v1beta2_limited_priority_level_configuration = NULL; - if (include_optional) { - v1beta2_limited_priority_level_configuration = v1beta2_limited_priority_level_configuration_create( - 56, - 56, - 56, - // false, not to have infinite recursion - instantiate_v1beta2_limit_response(0) - ); - } else { - v1beta2_limited_priority_level_configuration = v1beta2_limited_priority_level_configuration_create( - 56, - 56, - 56, - NULL - ); - } - - return v1beta2_limited_priority_level_configuration; -} - - -#ifdef v1beta2_limited_priority_level_configuration_MAIN - -void test_v1beta2_limited_priority_level_configuration(int include_optional) { - v1beta2_limited_priority_level_configuration_t* v1beta2_limited_priority_level_configuration_1 = instantiate_v1beta2_limited_priority_level_configuration(include_optional); - - cJSON* jsonv1beta2_limited_priority_level_configuration_1 = v1beta2_limited_priority_level_configuration_convertToJSON(v1beta2_limited_priority_level_configuration_1); - printf("v1beta2_limited_priority_level_configuration :\n%s\n", cJSON_Print(jsonv1beta2_limited_priority_level_configuration_1)); - v1beta2_limited_priority_level_configuration_t* v1beta2_limited_priority_level_configuration_2 = v1beta2_limited_priority_level_configuration_parseFromJSON(jsonv1beta2_limited_priority_level_configuration_1); - cJSON* jsonv1beta2_limited_priority_level_configuration_2 = v1beta2_limited_priority_level_configuration_convertToJSON(v1beta2_limited_priority_level_configuration_2); - printf("repeating v1beta2_limited_priority_level_configuration:\n%s\n", cJSON_Print(jsonv1beta2_limited_priority_level_configuration_2)); -} - -int main() { - test_v1beta2_limited_priority_level_configuration(1); - test_v1beta2_limited_priority_level_configuration(0); - - printf("Hello world \n"); - return 0; -} - -#endif // v1beta2_limited_priority_level_configuration_MAIN -#endif // v1beta2_limited_priority_level_configuration_TEST diff --git a/kubernetes/unit-test/test_v1beta2_non_resource_policy_rule.c b/kubernetes/unit-test/test_v1beta2_non_resource_policy_rule.c deleted file mode 100644 index 4b12bc63..00000000 --- a/kubernetes/unit-test/test_v1beta2_non_resource_policy_rule.c +++ /dev/null @@ -1,60 +0,0 @@ -#ifndef v1beta2_non_resource_policy_rule_TEST -#define v1beta2_non_resource_policy_rule_TEST - -// the following is to include only the main from the first c file -#ifndef TEST_MAIN -#define TEST_MAIN -#define v1beta2_non_resource_policy_rule_MAIN -#endif // TEST_MAIN - -#include -#include -#include -#include -#include "../external/cJSON.h" - -#include "../model/v1beta2_non_resource_policy_rule.h" -v1beta2_non_resource_policy_rule_t* instantiate_v1beta2_non_resource_policy_rule(int include_optional); - - - -v1beta2_non_resource_policy_rule_t* instantiate_v1beta2_non_resource_policy_rule(int include_optional) { - v1beta2_non_resource_policy_rule_t* v1beta2_non_resource_policy_rule = NULL; - if (include_optional) { - v1beta2_non_resource_policy_rule = v1beta2_non_resource_policy_rule_create( - list_createList(), - list_createList() - ); - } else { - v1beta2_non_resource_policy_rule = v1beta2_non_resource_policy_rule_create( - list_createList(), - list_createList() - ); - } - - return v1beta2_non_resource_policy_rule; -} - - -#ifdef v1beta2_non_resource_policy_rule_MAIN - -void test_v1beta2_non_resource_policy_rule(int include_optional) { - v1beta2_non_resource_policy_rule_t* v1beta2_non_resource_policy_rule_1 = instantiate_v1beta2_non_resource_policy_rule(include_optional); - - cJSON* jsonv1beta2_non_resource_policy_rule_1 = v1beta2_non_resource_policy_rule_convertToJSON(v1beta2_non_resource_policy_rule_1); - printf("v1beta2_non_resource_policy_rule :\n%s\n", cJSON_Print(jsonv1beta2_non_resource_policy_rule_1)); - v1beta2_non_resource_policy_rule_t* v1beta2_non_resource_policy_rule_2 = v1beta2_non_resource_policy_rule_parseFromJSON(jsonv1beta2_non_resource_policy_rule_1); - cJSON* jsonv1beta2_non_resource_policy_rule_2 = v1beta2_non_resource_policy_rule_convertToJSON(v1beta2_non_resource_policy_rule_2); - printf("repeating v1beta2_non_resource_policy_rule:\n%s\n", cJSON_Print(jsonv1beta2_non_resource_policy_rule_2)); -} - -int main() { - test_v1beta2_non_resource_policy_rule(1); - test_v1beta2_non_resource_policy_rule(0); - - printf("Hello world \n"); - return 0; -} - -#endif // v1beta2_non_resource_policy_rule_MAIN -#endif // v1beta2_non_resource_policy_rule_TEST diff --git a/kubernetes/unit-test/test_v1beta2_policy_rules_with_subjects.c b/kubernetes/unit-test/test_v1beta2_policy_rules_with_subjects.c deleted file mode 100644 index b6dc97f5..00000000 --- a/kubernetes/unit-test/test_v1beta2_policy_rules_with_subjects.c +++ /dev/null @@ -1,62 +0,0 @@ -#ifndef v1beta2_policy_rules_with_subjects_TEST -#define v1beta2_policy_rules_with_subjects_TEST - -// the following is to include only the main from the first c file -#ifndef TEST_MAIN -#define TEST_MAIN -#define v1beta2_policy_rules_with_subjects_MAIN -#endif // TEST_MAIN - -#include -#include -#include -#include -#include "../external/cJSON.h" - -#include "../model/v1beta2_policy_rules_with_subjects.h" -v1beta2_policy_rules_with_subjects_t* instantiate_v1beta2_policy_rules_with_subjects(int include_optional); - - - -v1beta2_policy_rules_with_subjects_t* instantiate_v1beta2_policy_rules_with_subjects(int include_optional) { - v1beta2_policy_rules_with_subjects_t* v1beta2_policy_rules_with_subjects = NULL; - if (include_optional) { - v1beta2_policy_rules_with_subjects = v1beta2_policy_rules_with_subjects_create( - list_createList(), - list_createList(), - list_createList() - ); - } else { - v1beta2_policy_rules_with_subjects = v1beta2_policy_rules_with_subjects_create( - list_createList(), - list_createList(), - list_createList() - ); - } - - return v1beta2_policy_rules_with_subjects; -} - - -#ifdef v1beta2_policy_rules_with_subjects_MAIN - -void test_v1beta2_policy_rules_with_subjects(int include_optional) { - v1beta2_policy_rules_with_subjects_t* v1beta2_policy_rules_with_subjects_1 = instantiate_v1beta2_policy_rules_with_subjects(include_optional); - - cJSON* jsonv1beta2_policy_rules_with_subjects_1 = v1beta2_policy_rules_with_subjects_convertToJSON(v1beta2_policy_rules_with_subjects_1); - printf("v1beta2_policy_rules_with_subjects :\n%s\n", cJSON_Print(jsonv1beta2_policy_rules_with_subjects_1)); - v1beta2_policy_rules_with_subjects_t* v1beta2_policy_rules_with_subjects_2 = v1beta2_policy_rules_with_subjects_parseFromJSON(jsonv1beta2_policy_rules_with_subjects_1); - cJSON* jsonv1beta2_policy_rules_with_subjects_2 = v1beta2_policy_rules_with_subjects_convertToJSON(v1beta2_policy_rules_with_subjects_2); - printf("repeating v1beta2_policy_rules_with_subjects:\n%s\n", cJSON_Print(jsonv1beta2_policy_rules_with_subjects_2)); -} - -int main() { - test_v1beta2_policy_rules_with_subjects(1); - test_v1beta2_policy_rules_with_subjects(0); - - printf("Hello world \n"); - return 0; -} - -#endif // v1beta2_policy_rules_with_subjects_MAIN -#endif // v1beta2_policy_rules_with_subjects_TEST diff --git a/kubernetes/unit-test/test_v1beta2_priority_level_configuration.c b/kubernetes/unit-test/test_v1beta2_priority_level_configuration.c deleted file mode 100644 index ed43c327..00000000 --- a/kubernetes/unit-test/test_v1beta2_priority_level_configuration.c +++ /dev/null @@ -1,72 +0,0 @@ -#ifndef v1beta2_priority_level_configuration_TEST -#define v1beta2_priority_level_configuration_TEST - -// the following is to include only the main from the first c file -#ifndef TEST_MAIN -#define TEST_MAIN -#define v1beta2_priority_level_configuration_MAIN -#endif // TEST_MAIN - -#include -#include -#include -#include -#include "../external/cJSON.h" - -#include "../model/v1beta2_priority_level_configuration.h" -v1beta2_priority_level_configuration_t* instantiate_v1beta2_priority_level_configuration(int include_optional); - -#include "test_v1_object_meta.c" -#include "test_v1beta2_priority_level_configuration_spec.c" -#include "test_v1beta2_priority_level_configuration_status.c" - - -v1beta2_priority_level_configuration_t* instantiate_v1beta2_priority_level_configuration(int include_optional) { - v1beta2_priority_level_configuration_t* v1beta2_priority_level_configuration = NULL; - if (include_optional) { - v1beta2_priority_level_configuration = v1beta2_priority_level_configuration_create( - "0", - "0", - // false, not to have infinite recursion - instantiate_v1_object_meta(0), - // false, not to have infinite recursion - instantiate_v1beta2_priority_level_configuration_spec(0), - // false, not to have infinite recursion - instantiate_v1beta2_priority_level_configuration_status(0) - ); - } else { - v1beta2_priority_level_configuration = v1beta2_priority_level_configuration_create( - "0", - "0", - NULL, - NULL, - NULL - ); - } - - return v1beta2_priority_level_configuration; -} - - -#ifdef v1beta2_priority_level_configuration_MAIN - -void test_v1beta2_priority_level_configuration(int include_optional) { - v1beta2_priority_level_configuration_t* v1beta2_priority_level_configuration_1 = instantiate_v1beta2_priority_level_configuration(include_optional); - - cJSON* jsonv1beta2_priority_level_configuration_1 = v1beta2_priority_level_configuration_convertToJSON(v1beta2_priority_level_configuration_1); - printf("v1beta2_priority_level_configuration :\n%s\n", cJSON_Print(jsonv1beta2_priority_level_configuration_1)); - v1beta2_priority_level_configuration_t* v1beta2_priority_level_configuration_2 = v1beta2_priority_level_configuration_parseFromJSON(jsonv1beta2_priority_level_configuration_1); - cJSON* jsonv1beta2_priority_level_configuration_2 = v1beta2_priority_level_configuration_convertToJSON(v1beta2_priority_level_configuration_2); - printf("repeating v1beta2_priority_level_configuration:\n%s\n", cJSON_Print(jsonv1beta2_priority_level_configuration_2)); -} - -int main() { - test_v1beta2_priority_level_configuration(1); - test_v1beta2_priority_level_configuration(0); - - printf("Hello world \n"); - return 0; -} - -#endif // v1beta2_priority_level_configuration_MAIN -#endif // v1beta2_priority_level_configuration_TEST diff --git a/kubernetes/unit-test/test_v1beta2_priority_level_configuration_condition.c b/kubernetes/unit-test/test_v1beta2_priority_level_configuration_condition.c deleted file mode 100644 index 393a6e11..00000000 --- a/kubernetes/unit-test/test_v1beta2_priority_level_configuration_condition.c +++ /dev/null @@ -1,66 +0,0 @@ -#ifndef v1beta2_priority_level_configuration_condition_TEST -#define v1beta2_priority_level_configuration_condition_TEST - -// the following is to include only the main from the first c file -#ifndef TEST_MAIN -#define TEST_MAIN -#define v1beta2_priority_level_configuration_condition_MAIN -#endif // TEST_MAIN - -#include -#include -#include -#include -#include "../external/cJSON.h" - -#include "../model/v1beta2_priority_level_configuration_condition.h" -v1beta2_priority_level_configuration_condition_t* instantiate_v1beta2_priority_level_configuration_condition(int include_optional); - - - -v1beta2_priority_level_configuration_condition_t* instantiate_v1beta2_priority_level_configuration_condition(int include_optional) { - v1beta2_priority_level_configuration_condition_t* v1beta2_priority_level_configuration_condition = NULL; - if (include_optional) { - v1beta2_priority_level_configuration_condition = v1beta2_priority_level_configuration_condition_create( - "2013-10-20T19:20:30+01:00", - "0", - "0", - "0", - "0" - ); - } else { - v1beta2_priority_level_configuration_condition = v1beta2_priority_level_configuration_condition_create( - "2013-10-20T19:20:30+01:00", - "0", - "0", - "0", - "0" - ); - } - - return v1beta2_priority_level_configuration_condition; -} - - -#ifdef v1beta2_priority_level_configuration_condition_MAIN - -void test_v1beta2_priority_level_configuration_condition(int include_optional) { - v1beta2_priority_level_configuration_condition_t* v1beta2_priority_level_configuration_condition_1 = instantiate_v1beta2_priority_level_configuration_condition(include_optional); - - cJSON* jsonv1beta2_priority_level_configuration_condition_1 = v1beta2_priority_level_configuration_condition_convertToJSON(v1beta2_priority_level_configuration_condition_1); - printf("v1beta2_priority_level_configuration_condition :\n%s\n", cJSON_Print(jsonv1beta2_priority_level_configuration_condition_1)); - v1beta2_priority_level_configuration_condition_t* v1beta2_priority_level_configuration_condition_2 = v1beta2_priority_level_configuration_condition_parseFromJSON(jsonv1beta2_priority_level_configuration_condition_1); - cJSON* jsonv1beta2_priority_level_configuration_condition_2 = v1beta2_priority_level_configuration_condition_convertToJSON(v1beta2_priority_level_configuration_condition_2); - printf("repeating v1beta2_priority_level_configuration_condition:\n%s\n", cJSON_Print(jsonv1beta2_priority_level_configuration_condition_2)); -} - -int main() { - test_v1beta2_priority_level_configuration_condition(1); - test_v1beta2_priority_level_configuration_condition(0); - - printf("Hello world \n"); - return 0; -} - -#endif // v1beta2_priority_level_configuration_condition_MAIN -#endif // v1beta2_priority_level_configuration_condition_TEST diff --git a/kubernetes/unit-test/test_v1beta2_priority_level_configuration_list.c b/kubernetes/unit-test/test_v1beta2_priority_level_configuration_list.c deleted file mode 100644 index 38cc8072..00000000 --- a/kubernetes/unit-test/test_v1beta2_priority_level_configuration_list.c +++ /dev/null @@ -1,66 +0,0 @@ -#ifndef v1beta2_priority_level_configuration_list_TEST -#define v1beta2_priority_level_configuration_list_TEST - -// the following is to include only the main from the first c file -#ifndef TEST_MAIN -#define TEST_MAIN -#define v1beta2_priority_level_configuration_list_MAIN -#endif // TEST_MAIN - -#include -#include -#include -#include -#include "../external/cJSON.h" - -#include "../model/v1beta2_priority_level_configuration_list.h" -v1beta2_priority_level_configuration_list_t* instantiate_v1beta2_priority_level_configuration_list(int include_optional); - -#include "test_v1_list_meta.c" - - -v1beta2_priority_level_configuration_list_t* instantiate_v1beta2_priority_level_configuration_list(int include_optional) { - v1beta2_priority_level_configuration_list_t* v1beta2_priority_level_configuration_list = NULL; - if (include_optional) { - v1beta2_priority_level_configuration_list = v1beta2_priority_level_configuration_list_create( - "0", - list_createList(), - "0", - // false, not to have infinite recursion - instantiate_v1_list_meta(0) - ); - } else { - v1beta2_priority_level_configuration_list = v1beta2_priority_level_configuration_list_create( - "0", - list_createList(), - "0", - NULL - ); - } - - return v1beta2_priority_level_configuration_list; -} - - -#ifdef v1beta2_priority_level_configuration_list_MAIN - -void test_v1beta2_priority_level_configuration_list(int include_optional) { - v1beta2_priority_level_configuration_list_t* v1beta2_priority_level_configuration_list_1 = instantiate_v1beta2_priority_level_configuration_list(include_optional); - - cJSON* jsonv1beta2_priority_level_configuration_list_1 = v1beta2_priority_level_configuration_list_convertToJSON(v1beta2_priority_level_configuration_list_1); - printf("v1beta2_priority_level_configuration_list :\n%s\n", cJSON_Print(jsonv1beta2_priority_level_configuration_list_1)); - v1beta2_priority_level_configuration_list_t* v1beta2_priority_level_configuration_list_2 = v1beta2_priority_level_configuration_list_parseFromJSON(jsonv1beta2_priority_level_configuration_list_1); - cJSON* jsonv1beta2_priority_level_configuration_list_2 = v1beta2_priority_level_configuration_list_convertToJSON(v1beta2_priority_level_configuration_list_2); - printf("repeating v1beta2_priority_level_configuration_list:\n%s\n", cJSON_Print(jsonv1beta2_priority_level_configuration_list_2)); -} - -int main() { - test_v1beta2_priority_level_configuration_list(1); - test_v1beta2_priority_level_configuration_list(0); - - printf("Hello world \n"); - return 0; -} - -#endif // v1beta2_priority_level_configuration_list_MAIN -#endif // v1beta2_priority_level_configuration_list_TEST diff --git a/kubernetes/unit-test/test_v1beta2_priority_level_configuration_reference.c b/kubernetes/unit-test/test_v1beta2_priority_level_configuration_reference.c deleted file mode 100644 index 0a909f82..00000000 --- a/kubernetes/unit-test/test_v1beta2_priority_level_configuration_reference.c +++ /dev/null @@ -1,58 +0,0 @@ -#ifndef v1beta2_priority_level_configuration_reference_TEST -#define v1beta2_priority_level_configuration_reference_TEST - -// the following is to include only the main from the first c file -#ifndef TEST_MAIN -#define TEST_MAIN -#define v1beta2_priority_level_configuration_reference_MAIN -#endif // TEST_MAIN - -#include -#include -#include -#include -#include "../external/cJSON.h" - -#include "../model/v1beta2_priority_level_configuration_reference.h" -v1beta2_priority_level_configuration_reference_t* instantiate_v1beta2_priority_level_configuration_reference(int include_optional); - - - -v1beta2_priority_level_configuration_reference_t* instantiate_v1beta2_priority_level_configuration_reference(int include_optional) { - v1beta2_priority_level_configuration_reference_t* v1beta2_priority_level_configuration_reference = NULL; - if (include_optional) { - v1beta2_priority_level_configuration_reference = v1beta2_priority_level_configuration_reference_create( - "0" - ); - } else { - v1beta2_priority_level_configuration_reference = v1beta2_priority_level_configuration_reference_create( - "0" - ); - } - - return v1beta2_priority_level_configuration_reference; -} - - -#ifdef v1beta2_priority_level_configuration_reference_MAIN - -void test_v1beta2_priority_level_configuration_reference(int include_optional) { - v1beta2_priority_level_configuration_reference_t* v1beta2_priority_level_configuration_reference_1 = instantiate_v1beta2_priority_level_configuration_reference(include_optional); - - cJSON* jsonv1beta2_priority_level_configuration_reference_1 = v1beta2_priority_level_configuration_reference_convertToJSON(v1beta2_priority_level_configuration_reference_1); - printf("v1beta2_priority_level_configuration_reference :\n%s\n", cJSON_Print(jsonv1beta2_priority_level_configuration_reference_1)); - v1beta2_priority_level_configuration_reference_t* v1beta2_priority_level_configuration_reference_2 = v1beta2_priority_level_configuration_reference_parseFromJSON(jsonv1beta2_priority_level_configuration_reference_1); - cJSON* jsonv1beta2_priority_level_configuration_reference_2 = v1beta2_priority_level_configuration_reference_convertToJSON(v1beta2_priority_level_configuration_reference_2); - printf("repeating v1beta2_priority_level_configuration_reference:\n%s\n", cJSON_Print(jsonv1beta2_priority_level_configuration_reference_2)); -} - -int main() { - test_v1beta2_priority_level_configuration_reference(1); - test_v1beta2_priority_level_configuration_reference(0); - - printf("Hello world \n"); - return 0; -} - -#endif // v1beta2_priority_level_configuration_reference_MAIN -#endif // v1beta2_priority_level_configuration_reference_TEST diff --git a/kubernetes/unit-test/test_v1beta2_priority_level_configuration_spec.c b/kubernetes/unit-test/test_v1beta2_priority_level_configuration_spec.c deleted file mode 100644 index a92d5501..00000000 --- a/kubernetes/unit-test/test_v1beta2_priority_level_configuration_spec.c +++ /dev/null @@ -1,66 +0,0 @@ -#ifndef v1beta2_priority_level_configuration_spec_TEST -#define v1beta2_priority_level_configuration_spec_TEST - -// the following is to include only the main from the first c file -#ifndef TEST_MAIN -#define TEST_MAIN -#define v1beta2_priority_level_configuration_spec_MAIN -#endif // TEST_MAIN - -#include -#include -#include -#include -#include "../external/cJSON.h" - -#include "../model/v1beta2_priority_level_configuration_spec.h" -v1beta2_priority_level_configuration_spec_t* instantiate_v1beta2_priority_level_configuration_spec(int include_optional); - -#include "test_v1beta2_exempt_priority_level_configuration.c" -#include "test_v1beta2_limited_priority_level_configuration.c" - - -v1beta2_priority_level_configuration_spec_t* instantiate_v1beta2_priority_level_configuration_spec(int include_optional) { - v1beta2_priority_level_configuration_spec_t* v1beta2_priority_level_configuration_spec = NULL; - if (include_optional) { - v1beta2_priority_level_configuration_spec = v1beta2_priority_level_configuration_spec_create( - // false, not to have infinite recursion - instantiate_v1beta2_exempt_priority_level_configuration(0), - // false, not to have infinite recursion - instantiate_v1beta2_limited_priority_level_configuration(0), - "0" - ); - } else { - v1beta2_priority_level_configuration_spec = v1beta2_priority_level_configuration_spec_create( - NULL, - NULL, - "0" - ); - } - - return v1beta2_priority_level_configuration_spec; -} - - -#ifdef v1beta2_priority_level_configuration_spec_MAIN - -void test_v1beta2_priority_level_configuration_spec(int include_optional) { - v1beta2_priority_level_configuration_spec_t* v1beta2_priority_level_configuration_spec_1 = instantiate_v1beta2_priority_level_configuration_spec(include_optional); - - cJSON* jsonv1beta2_priority_level_configuration_spec_1 = v1beta2_priority_level_configuration_spec_convertToJSON(v1beta2_priority_level_configuration_spec_1); - printf("v1beta2_priority_level_configuration_spec :\n%s\n", cJSON_Print(jsonv1beta2_priority_level_configuration_spec_1)); - v1beta2_priority_level_configuration_spec_t* v1beta2_priority_level_configuration_spec_2 = v1beta2_priority_level_configuration_spec_parseFromJSON(jsonv1beta2_priority_level_configuration_spec_1); - cJSON* jsonv1beta2_priority_level_configuration_spec_2 = v1beta2_priority_level_configuration_spec_convertToJSON(v1beta2_priority_level_configuration_spec_2); - printf("repeating v1beta2_priority_level_configuration_spec:\n%s\n", cJSON_Print(jsonv1beta2_priority_level_configuration_spec_2)); -} - -int main() { - test_v1beta2_priority_level_configuration_spec(1); - test_v1beta2_priority_level_configuration_spec(0); - - printf("Hello world \n"); - return 0; -} - -#endif // v1beta2_priority_level_configuration_spec_MAIN -#endif // v1beta2_priority_level_configuration_spec_TEST diff --git a/kubernetes/unit-test/test_v1beta2_priority_level_configuration_status.c b/kubernetes/unit-test/test_v1beta2_priority_level_configuration_status.c deleted file mode 100644 index 3af9d48f..00000000 --- a/kubernetes/unit-test/test_v1beta2_priority_level_configuration_status.c +++ /dev/null @@ -1,58 +0,0 @@ -#ifndef v1beta2_priority_level_configuration_status_TEST -#define v1beta2_priority_level_configuration_status_TEST - -// the following is to include only the main from the first c file -#ifndef TEST_MAIN -#define TEST_MAIN -#define v1beta2_priority_level_configuration_status_MAIN -#endif // TEST_MAIN - -#include -#include -#include -#include -#include "../external/cJSON.h" - -#include "../model/v1beta2_priority_level_configuration_status.h" -v1beta2_priority_level_configuration_status_t* instantiate_v1beta2_priority_level_configuration_status(int include_optional); - - - -v1beta2_priority_level_configuration_status_t* instantiate_v1beta2_priority_level_configuration_status(int include_optional) { - v1beta2_priority_level_configuration_status_t* v1beta2_priority_level_configuration_status = NULL; - if (include_optional) { - v1beta2_priority_level_configuration_status = v1beta2_priority_level_configuration_status_create( - list_createList() - ); - } else { - v1beta2_priority_level_configuration_status = v1beta2_priority_level_configuration_status_create( - list_createList() - ); - } - - return v1beta2_priority_level_configuration_status; -} - - -#ifdef v1beta2_priority_level_configuration_status_MAIN - -void test_v1beta2_priority_level_configuration_status(int include_optional) { - v1beta2_priority_level_configuration_status_t* v1beta2_priority_level_configuration_status_1 = instantiate_v1beta2_priority_level_configuration_status(include_optional); - - cJSON* jsonv1beta2_priority_level_configuration_status_1 = v1beta2_priority_level_configuration_status_convertToJSON(v1beta2_priority_level_configuration_status_1); - printf("v1beta2_priority_level_configuration_status :\n%s\n", cJSON_Print(jsonv1beta2_priority_level_configuration_status_1)); - v1beta2_priority_level_configuration_status_t* v1beta2_priority_level_configuration_status_2 = v1beta2_priority_level_configuration_status_parseFromJSON(jsonv1beta2_priority_level_configuration_status_1); - cJSON* jsonv1beta2_priority_level_configuration_status_2 = v1beta2_priority_level_configuration_status_convertToJSON(v1beta2_priority_level_configuration_status_2); - printf("repeating v1beta2_priority_level_configuration_status:\n%s\n", cJSON_Print(jsonv1beta2_priority_level_configuration_status_2)); -} - -int main() { - test_v1beta2_priority_level_configuration_status(1); - test_v1beta2_priority_level_configuration_status(0); - - printf("Hello world \n"); - return 0; -} - -#endif // v1beta2_priority_level_configuration_status_MAIN -#endif // v1beta2_priority_level_configuration_status_TEST diff --git a/kubernetes/unit-test/test_v1beta2_queuing_configuration.c b/kubernetes/unit-test/test_v1beta2_queuing_configuration.c deleted file mode 100644 index 2e26de40..00000000 --- a/kubernetes/unit-test/test_v1beta2_queuing_configuration.c +++ /dev/null @@ -1,62 +0,0 @@ -#ifndef v1beta2_queuing_configuration_TEST -#define v1beta2_queuing_configuration_TEST - -// the following is to include only the main from the first c file -#ifndef TEST_MAIN -#define TEST_MAIN -#define v1beta2_queuing_configuration_MAIN -#endif // TEST_MAIN - -#include -#include -#include -#include -#include "../external/cJSON.h" - -#include "../model/v1beta2_queuing_configuration.h" -v1beta2_queuing_configuration_t* instantiate_v1beta2_queuing_configuration(int include_optional); - - - -v1beta2_queuing_configuration_t* instantiate_v1beta2_queuing_configuration(int include_optional) { - v1beta2_queuing_configuration_t* v1beta2_queuing_configuration = NULL; - if (include_optional) { - v1beta2_queuing_configuration = v1beta2_queuing_configuration_create( - 56, - 56, - 56 - ); - } else { - v1beta2_queuing_configuration = v1beta2_queuing_configuration_create( - 56, - 56, - 56 - ); - } - - return v1beta2_queuing_configuration; -} - - -#ifdef v1beta2_queuing_configuration_MAIN - -void test_v1beta2_queuing_configuration(int include_optional) { - v1beta2_queuing_configuration_t* v1beta2_queuing_configuration_1 = instantiate_v1beta2_queuing_configuration(include_optional); - - cJSON* jsonv1beta2_queuing_configuration_1 = v1beta2_queuing_configuration_convertToJSON(v1beta2_queuing_configuration_1); - printf("v1beta2_queuing_configuration :\n%s\n", cJSON_Print(jsonv1beta2_queuing_configuration_1)); - v1beta2_queuing_configuration_t* v1beta2_queuing_configuration_2 = v1beta2_queuing_configuration_parseFromJSON(jsonv1beta2_queuing_configuration_1); - cJSON* jsonv1beta2_queuing_configuration_2 = v1beta2_queuing_configuration_convertToJSON(v1beta2_queuing_configuration_2); - printf("repeating v1beta2_queuing_configuration:\n%s\n", cJSON_Print(jsonv1beta2_queuing_configuration_2)); -} - -int main() { - test_v1beta2_queuing_configuration(1); - test_v1beta2_queuing_configuration(0); - - printf("Hello world \n"); - return 0; -} - -#endif // v1beta2_queuing_configuration_MAIN -#endif // v1beta2_queuing_configuration_TEST diff --git a/kubernetes/unit-test/test_v1beta2_resource_policy_rule.c b/kubernetes/unit-test/test_v1beta2_resource_policy_rule.c deleted file mode 100644 index 25157609..00000000 --- a/kubernetes/unit-test/test_v1beta2_resource_policy_rule.c +++ /dev/null @@ -1,66 +0,0 @@ -#ifndef v1beta2_resource_policy_rule_TEST -#define v1beta2_resource_policy_rule_TEST - -// the following is to include only the main from the first c file -#ifndef TEST_MAIN -#define TEST_MAIN -#define v1beta2_resource_policy_rule_MAIN -#endif // TEST_MAIN - -#include -#include -#include -#include -#include "../external/cJSON.h" - -#include "../model/v1beta2_resource_policy_rule.h" -v1beta2_resource_policy_rule_t* instantiate_v1beta2_resource_policy_rule(int include_optional); - - - -v1beta2_resource_policy_rule_t* instantiate_v1beta2_resource_policy_rule(int include_optional) { - v1beta2_resource_policy_rule_t* v1beta2_resource_policy_rule = NULL; - if (include_optional) { - v1beta2_resource_policy_rule = v1beta2_resource_policy_rule_create( - list_createList(), - 1, - list_createList(), - list_createList(), - list_createList() - ); - } else { - v1beta2_resource_policy_rule = v1beta2_resource_policy_rule_create( - list_createList(), - 1, - list_createList(), - list_createList(), - list_createList() - ); - } - - return v1beta2_resource_policy_rule; -} - - -#ifdef v1beta2_resource_policy_rule_MAIN - -void test_v1beta2_resource_policy_rule(int include_optional) { - v1beta2_resource_policy_rule_t* v1beta2_resource_policy_rule_1 = instantiate_v1beta2_resource_policy_rule(include_optional); - - cJSON* jsonv1beta2_resource_policy_rule_1 = v1beta2_resource_policy_rule_convertToJSON(v1beta2_resource_policy_rule_1); - printf("v1beta2_resource_policy_rule :\n%s\n", cJSON_Print(jsonv1beta2_resource_policy_rule_1)); - v1beta2_resource_policy_rule_t* v1beta2_resource_policy_rule_2 = v1beta2_resource_policy_rule_parseFromJSON(jsonv1beta2_resource_policy_rule_1); - cJSON* jsonv1beta2_resource_policy_rule_2 = v1beta2_resource_policy_rule_convertToJSON(v1beta2_resource_policy_rule_2); - printf("repeating v1beta2_resource_policy_rule:\n%s\n", cJSON_Print(jsonv1beta2_resource_policy_rule_2)); -} - -int main() { - test_v1beta2_resource_policy_rule(1); - test_v1beta2_resource_policy_rule(0); - - printf("Hello world \n"); - return 0; -} - -#endif // v1beta2_resource_policy_rule_MAIN -#endif // v1beta2_resource_policy_rule_TEST diff --git a/kubernetes/unit-test/test_v1beta2_service_account_subject.c b/kubernetes/unit-test/test_v1beta2_service_account_subject.c deleted file mode 100644 index 0fd843f0..00000000 --- a/kubernetes/unit-test/test_v1beta2_service_account_subject.c +++ /dev/null @@ -1,60 +0,0 @@ -#ifndef v1beta2_service_account_subject_TEST -#define v1beta2_service_account_subject_TEST - -// the following is to include only the main from the first c file -#ifndef TEST_MAIN -#define TEST_MAIN -#define v1beta2_service_account_subject_MAIN -#endif // TEST_MAIN - -#include -#include -#include -#include -#include "../external/cJSON.h" - -#include "../model/v1beta2_service_account_subject.h" -v1beta2_service_account_subject_t* instantiate_v1beta2_service_account_subject(int include_optional); - - - -v1beta2_service_account_subject_t* instantiate_v1beta2_service_account_subject(int include_optional) { - v1beta2_service_account_subject_t* v1beta2_service_account_subject = NULL; - if (include_optional) { - v1beta2_service_account_subject = v1beta2_service_account_subject_create( - "0", - "0" - ); - } else { - v1beta2_service_account_subject = v1beta2_service_account_subject_create( - "0", - "0" - ); - } - - return v1beta2_service_account_subject; -} - - -#ifdef v1beta2_service_account_subject_MAIN - -void test_v1beta2_service_account_subject(int include_optional) { - v1beta2_service_account_subject_t* v1beta2_service_account_subject_1 = instantiate_v1beta2_service_account_subject(include_optional); - - cJSON* jsonv1beta2_service_account_subject_1 = v1beta2_service_account_subject_convertToJSON(v1beta2_service_account_subject_1); - printf("v1beta2_service_account_subject :\n%s\n", cJSON_Print(jsonv1beta2_service_account_subject_1)); - v1beta2_service_account_subject_t* v1beta2_service_account_subject_2 = v1beta2_service_account_subject_parseFromJSON(jsonv1beta2_service_account_subject_1); - cJSON* jsonv1beta2_service_account_subject_2 = v1beta2_service_account_subject_convertToJSON(v1beta2_service_account_subject_2); - printf("repeating v1beta2_service_account_subject:\n%s\n", cJSON_Print(jsonv1beta2_service_account_subject_2)); -} - -int main() { - test_v1beta2_service_account_subject(1); - test_v1beta2_service_account_subject(0); - - printf("Hello world \n"); - return 0; -} - -#endif // v1beta2_service_account_subject_MAIN -#endif // v1beta2_service_account_subject_TEST diff --git a/kubernetes/unit-test/test_v1beta2_subject.c b/kubernetes/unit-test/test_v1beta2_subject.c deleted file mode 100644 index 1e7b753a..00000000 --- a/kubernetes/unit-test/test_v1beta2_subject.c +++ /dev/null @@ -1,70 +0,0 @@ -#ifndef v1beta2_subject_TEST -#define v1beta2_subject_TEST - -// the following is to include only the main from the first c file -#ifndef TEST_MAIN -#define TEST_MAIN -#define v1beta2_subject_MAIN -#endif // TEST_MAIN - -#include -#include -#include -#include -#include "../external/cJSON.h" - -#include "../model/v1beta2_subject.h" -v1beta2_subject_t* instantiate_v1beta2_subject(int include_optional); - -#include "test_v1beta2_group_subject.c" -#include "test_v1beta2_service_account_subject.c" -#include "test_v1beta2_user_subject.c" - - -v1beta2_subject_t* instantiate_v1beta2_subject(int include_optional) { - v1beta2_subject_t* v1beta2_subject = NULL; - if (include_optional) { - v1beta2_subject = v1beta2_subject_create( - // false, not to have infinite recursion - instantiate_v1beta2_group_subject(0), - "0", - // false, not to have infinite recursion - instantiate_v1beta2_service_account_subject(0), - // false, not to have infinite recursion - instantiate_v1beta2_user_subject(0) - ); - } else { - v1beta2_subject = v1beta2_subject_create( - NULL, - "0", - NULL, - NULL - ); - } - - return v1beta2_subject; -} - - -#ifdef v1beta2_subject_MAIN - -void test_v1beta2_subject(int include_optional) { - v1beta2_subject_t* v1beta2_subject_1 = instantiate_v1beta2_subject(include_optional); - - cJSON* jsonv1beta2_subject_1 = v1beta2_subject_convertToJSON(v1beta2_subject_1); - printf("v1beta2_subject :\n%s\n", cJSON_Print(jsonv1beta2_subject_1)); - v1beta2_subject_t* v1beta2_subject_2 = v1beta2_subject_parseFromJSON(jsonv1beta2_subject_1); - cJSON* jsonv1beta2_subject_2 = v1beta2_subject_convertToJSON(v1beta2_subject_2); - printf("repeating v1beta2_subject:\n%s\n", cJSON_Print(jsonv1beta2_subject_2)); -} - -int main() { - test_v1beta2_subject(1); - test_v1beta2_subject(0); - - printf("Hello world \n"); - return 0; -} - -#endif // v1beta2_subject_MAIN -#endif // v1beta2_subject_TEST diff --git a/kubernetes/unit-test/test_v1beta2_user_subject.c b/kubernetes/unit-test/test_v1beta2_user_subject.c deleted file mode 100644 index 2a028e4d..00000000 --- a/kubernetes/unit-test/test_v1beta2_user_subject.c +++ /dev/null @@ -1,58 +0,0 @@ -#ifndef v1beta2_user_subject_TEST -#define v1beta2_user_subject_TEST - -// the following is to include only the main from the first c file -#ifndef TEST_MAIN -#define TEST_MAIN -#define v1beta2_user_subject_MAIN -#endif // TEST_MAIN - -#include -#include -#include -#include -#include "../external/cJSON.h" - -#include "../model/v1beta2_user_subject.h" -v1beta2_user_subject_t* instantiate_v1beta2_user_subject(int include_optional); - - - -v1beta2_user_subject_t* instantiate_v1beta2_user_subject(int include_optional) { - v1beta2_user_subject_t* v1beta2_user_subject = NULL; - if (include_optional) { - v1beta2_user_subject = v1beta2_user_subject_create( - "0" - ); - } else { - v1beta2_user_subject = v1beta2_user_subject_create( - "0" - ); - } - - return v1beta2_user_subject; -} - - -#ifdef v1beta2_user_subject_MAIN - -void test_v1beta2_user_subject(int include_optional) { - v1beta2_user_subject_t* v1beta2_user_subject_1 = instantiate_v1beta2_user_subject(include_optional); - - cJSON* jsonv1beta2_user_subject_1 = v1beta2_user_subject_convertToJSON(v1beta2_user_subject_1); - printf("v1beta2_user_subject :\n%s\n", cJSON_Print(jsonv1beta2_user_subject_1)); - v1beta2_user_subject_t* v1beta2_user_subject_2 = v1beta2_user_subject_parseFromJSON(jsonv1beta2_user_subject_1); - cJSON* jsonv1beta2_user_subject_2 = v1beta2_user_subject_convertToJSON(v1beta2_user_subject_2); - printf("repeating v1beta2_user_subject:\n%s\n", cJSON_Print(jsonv1beta2_user_subject_2)); -} - -int main() { - test_v1beta2_user_subject(1); - test_v1beta2_user_subject(0); - - printf("Hello world \n"); - return 0; -} - -#endif // v1beta2_user_subject_MAIN -#endif // v1beta2_user_subject_TEST diff --git a/settings b/settings index 0f2e02a3..b6ba4b61 100644 --- a/settings +++ b/settings @@ -1,13 +1,13 @@ # Kubernetes branch/tag to get the OpenAPI spec from. -export KUBERNETES_BRANCH="release-1.28" +export KUBERNETES_BRANCH="release-1.29" # client version is not currently used by the code generator. -export CLIENT_VERSION="0.8.0" +export CLIENT_VERSION="0.9.0" # Name of the release package export PACKAGE_NAME="client" # OpenAPI-Generator branch/tag to generate the client library -export OPENAPI_GENERATOR_COMMIT="v7.0.0" +export OPENAPI_GENERATOR_COMMIT="master" export USERNAME=kubernetes