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 e8744dc1..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 diff --git a/README.md b/README.md index 236d6737..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 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/CustomObjectsAPI.c b/kubernetes/api/CustomObjectsAPI.c index 26bc5336..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 *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); + } + // Body Param cJSON *localVarSingleItemJSON_body = NULL; if (body != NULL) @@ -384,6 +420,18 @@ CustomObjectsAPI_createNamespacedCustomObject(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; + } return elementToReturn; end: free(localVarPath); @@ -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,6 +722,18 @@ 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; @@ -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,6 +990,18 @@ 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; @@ -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; @@ -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,6 +2982,18 @@ CustomObjectsAPI_patchClusterCustomObject(apiClient_t *apiClient, char *group, c 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; @@ -2981,6 +3089,18 @@ CustomObjectsAPI_patchClusterCustomObject(apiClient_t *apiClient, char *group, c 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, 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) +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,6 +3204,18 @@ CustomObjectsAPI_patchClusterCustomObjectScale(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); + } + // query parameters char *keyQuery_force = NULL; char * valueQuery_force = NULL; @@ -3181,6 +3313,18 @@ CustomObjectsAPI_patchClusterCustomObjectScale(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; + } if(keyQuery_force){ free(keyQuery_force); keyQuery_force = NULL; @@ -3203,7 +3347,7 @@ CustomObjectsAPI_patchClusterCustomObjectScale(apiClient_t *apiClient, char *gro // 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,6 +3428,18 @@ CustomObjectsAPI_patchClusterCustomObjectStatus(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; @@ -3381,6 +3537,18 @@ CustomObjectsAPI_patchClusterCustomObjectStatus(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; @@ -3403,7 +3571,7 @@ CustomObjectsAPI_patchClusterCustomObjectStatus(apiClient_t *apiClient, char *gr // 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,6 +3662,18 @@ CustomObjectsAPI_patchNamespacedCustomObject(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; @@ -3590,6 +3770,18 @@ CustomObjectsAPI_patchNamespacedCustomObject(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; @@ -3612,7 +3804,7 @@ CustomObjectsAPI_patchNamespacedCustomObject(apiClient_t *apiClient, char *group // 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,6 +3895,18 @@ 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; @@ -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,6 +4131,18 @@ 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; @@ -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 *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); + } + // Body Param cJSON *localVarSingleItemJSON_body = NULL; if (body != NULL) @@ -4374,6 +4650,18 @@ CustomObjectsAPI_replaceClusterCustomObjectScale(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; + } return elementToReturn; end: free(localVarPath); @@ -4384,7 +4672,7 @@ CustomObjectsAPI_replaceClusterCustomObjectScale(apiClient_t *apiClient, char *g // 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 *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) @@ -4733,6 +5057,18 @@ CustomObjectsAPI_replaceNamespacedCustomObject(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); @@ -4743,7 +5079,7 @@ CustomObjectsAPI_replaceNamespacedCustomObject(apiClient_t *apiClient, char *gro // 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 9f433047..6c66d694 100644 --- a/kubernetes/api/CustomObjectsAPI.h +++ b/kubernetes/api/CustomObjectsAPI.h @@ -13,13 +13,13 @@ // 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 @@ -31,13 +31,13 @@ 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); // 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 @@ -103,72 +103,72 @@ 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); // 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/FlowcontrolApiserverV1beta2API.c b/kubernetes/api/FlowcontrolApiserverV1API.c similarity index 91% rename from kubernetes/api/FlowcontrolApiserverV1beta2API.c rename to kubernetes/api/FlowcontrolApiserverV1API.c index 3913af71..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"); @@ -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"); @@ -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 *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 @@ -1304,9 +1304,9 @@ FlowcontrolApiserverV1beta2API_deleteFlowSchema(apiClient_t *apiClient, char *na // 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 *na // 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 @@ -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 *pret 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"); @@ -1861,9 +1861,9 @@ FlowcontrolApiserverV1beta2API_listFlowSchema(apiClient_t *apiClient, char *pret // 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 *pret // 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"); @@ -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 *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 @@ -2486,9 +2486,9 @@ FlowcontrolApiserverV1beta2API_patchFlowSchema(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; } @@ -2580,8 +2580,8 @@ FlowcontrolApiserverV1beta2API_patchFlowSchema(apiClient_t *apiClient, char *nam // 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 @@ -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 @@ -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 @@ -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 *name 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 *name // 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 *name // 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 *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 @@ -3732,7 +3732,7 @@ FlowcontrolApiserverV1beta2API_replaceFlowSchema(apiClient_t *apiClient, char *n 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 *n // 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 *n // 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 073a7582..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/NetworkingV1alpha1API.c b/kubernetes/api/NetworkingV1alpha1API.c index c79deb63..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 (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; - -} - -// 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"); @@ -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 *pr 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"); @@ -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,17 +1409,235 @@ 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, + 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, @@ -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, int 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"); @@ -1862,7 +1862,7 @@ NetworkingV1alpha1API_listClusterCIDR(apiClient_t *apiClient, char *pretty, int //} //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, int } -// 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 *a 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"); @@ -2200,7 +2200,7 @@ NetworkingV1alpha1API_listIPAddress(apiClient_t *apiClient, char *pretty, int *a //} //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 *a } -// 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, objec 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 @@ -2487,7 +2487,7 @@ NetworkingV1alpha1API_patchClusterCIDR(apiClient_t *apiClient, char *name, objec //} //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, objec } -// 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, object_ 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 @@ -2708,7 +2708,7 @@ NetworkingV1alpha1API_patchIPAddress(apiClient_t *apiClient, char *name, object_ //} //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, object_ } -// 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,21 +2840,344 @@ 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"); - // uncomment below to debug the error response - //if (apiClient->response_code == 200) { + // 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 @@ -2863,7 +3186,7 @@ NetworkingV1alpha1API_readClusterCIDR(apiClient_t *apiClient, char *name, char * //} //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 *pr 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 *pr 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 *pr 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 *pr 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 *pr } -// 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, v1a 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, v1a 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, v1a //} //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, v1a } -// 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, v1alp 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, v1alp 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, v1alp //} //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 579c8b96..18132b86 100644 --- a/kubernetes/api/NetworkingV1alpha1API.h +++ b/kubernetes/api/NetworkingV1alpha1API.h @@ -9,16 +9,10 @@ #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" - - -// create a ClusterCIDR -// -v1alpha1_cluster_cidr_t* -NetworkingV1alpha1API_createClusterCIDR(apiClient_t *apiClient, v1alpha1_cluster_cidr_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); +#include "../model/v1alpha1_service_cidr.h" +#include "../model/v1alpha1_service_cidr_list.h" // create an IPAddress @@ -27,22 +21,22 @@ v1alpha1_ip_address_t* NetworkingV1alpha1API_createIPAddress(apiClient_t *apiClient, v1alpha1_ip_address_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); -// delete a ClusterCIDR +// create a ServiceCIDR // -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); +v1alpha1_service_cidr_t* +NetworkingV1alpha1API_createServiceCIDR(apiClient_t *apiClient, v1alpha1_service_cidr_t *body, char *pretty, char *dryRun, char *fieldManager, char *fieldValidation); -// 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); -// 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); // delete an IPAddress @@ -51,16 +45,16 @@ 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); -// 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 or watch objects of kind ClusterCIDR +// get available resources // -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); +v1_api_resource_list_t* +NetworkingV1alpha1API_getAPIResources(apiClient_t *apiClient); // list or watch objects of kind IPAddress @@ -69,10 +63,10 @@ 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); -// 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 @@ -81,10 +75,16 @@ v1alpha1_ip_address_t* 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_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_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); // read the specified IPAddress @@ -93,10 +93,16 @@ v1alpha1_ip_address_t* NetworkingV1alpha1API_readIPAddress(apiClient_t *apiClient, char *name, char *pretty); -// replace the specified ClusterCIDR +// read the specified ServiceCIDR +// +v1alpha1_service_cidr_t* +NetworkingV1alpha1API_readServiceCIDR(apiClient_t *apiClient, char *name, char *pretty); + + +// 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 @@ -105,3 +111,15 @@ v1alpha1_ip_address_t* 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/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 84be1ff7..c0043e3d 100644 --- a/kubernetes/docs/AdmissionregistrationV1API.md +++ b/kubernetes/docs/AdmissionregistrationV1API.md @@ -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] @@ -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] @@ -98,7 +98,7 @@ v1_status_t* AdmissionregistrationV1API_deleteCollectionMutatingWebhookConfigura 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] @@ -140,7 +140,7 @@ v1_status_t* AdmissionregistrationV1API_deleteCollectionValidatingWebhookConfigu 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] @@ -183,7 +183,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -218,7 +218,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -280,7 +280,7 @@ v1_mutating_webhook_configuration_list_t* AdmissionregistrationV1API_listMutatin 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] **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] @@ -319,7 +319,7 @@ v1_validating_webhook_configuration_list_t* AdmissionregistrationV1API_listValid 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] **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] @@ -360,7 +360,7 @@ 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] @@ -395,7 +395,7 @@ 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] @@ -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 @@ -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 @@ -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] @@ -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 22bd3346..0fedbfd4 100644 --- a/kubernetes/docs/AdmissionregistrationV1alpha1API.md +++ b/kubernetes/docs/AdmissionregistrationV1alpha1API.md @@ -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] @@ -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] @@ -101,7 +101,7 @@ v1_status_t* AdmissionregistrationV1alpha1API_deleteCollectionValidatingAdmissio 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] @@ -143,7 +143,7 @@ v1_status_t* AdmissionregistrationV1alpha1API_deleteCollectionValidatingAdmissio 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] @@ -186,7 +186,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -221,7 +221,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -283,7 +283,7 @@ v1alpha1_validating_admission_policy_list_t* AdmissionregistrationV1alpha1API_li 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] **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] @@ -322,7 +322,7 @@ v1alpha1_validating_admission_policy_binding_list_t* AdmissionregistrationV1alph 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] **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] @@ -363,7 +363,7 @@ 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] @@ -398,7 +398,7 @@ 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] @@ -433,7 +433,7 @@ 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] @@ -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 @@ -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 @@ -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 @@ -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] @@ -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] @@ -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 146b5cbb..0c99a2e3 100644 --- a/kubernetes/docs/AdmissionregistrationV1beta1API.md +++ b/kubernetes/docs/AdmissionregistrationV1beta1API.md @@ -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] @@ -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] @@ -101,7 +101,7 @@ v1_status_t* AdmissionregistrationV1beta1API_deleteCollectionValidatingAdmission 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] @@ -143,7 +143,7 @@ v1_status_t* AdmissionregistrationV1beta1API_deleteCollectionValidatingAdmission 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] @@ -186,7 +186,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -221,7 +221,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -283,7 +283,7 @@ v1beta1_validating_admission_policy_list_t* AdmissionregistrationV1beta1API_list 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] **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] @@ -322,7 +322,7 @@ v1beta1_validating_admission_policy_binding_list_t* AdmissionregistrationV1beta1 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] **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] @@ -363,7 +363,7 @@ 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] @@ -398,7 +398,7 @@ 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] @@ -433,7 +433,7 @@ 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] @@ -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 @@ -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 @@ -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 @@ -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] @@ -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] @@ -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 372c90f8..afd6d369 100644 --- a/kubernetes/docs/ApiextensionsV1API.md +++ b/kubernetes/docs/ApiextensionsV1API.md @@ -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] @@ -61,7 +61,7 @@ v1_status_t* ApiextensionsV1API_deleteCollectionCustomResourceDefinition(apiClie 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] @@ -104,7 +104,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -166,7 +166,7 @@ v1_custom_resource_definition_list_t* ApiextensionsV1API_listCustomResourceDefin 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] **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] @@ -207,7 +207,7 @@ 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] @@ -242,7 +242,7 @@ 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] @@ -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 @@ -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 @@ -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] @@ -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 815ce878..359b65b1 100644 --- a/kubernetes/docs/ApiregistrationV1API.md +++ b/kubernetes/docs/ApiregistrationV1API.md @@ -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] @@ -62,7 +62,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -96,7 +96,7 @@ v1_status_t* ApiregistrationV1API_deleteCollectionAPIService(apiClient_t *apiCli 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] @@ -166,7 +166,7 @@ v1_api_service_list_t* ApiregistrationV1API_listAPIService(apiClient_t *apiClien 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] **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] @@ -207,7 +207,7 @@ 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] @@ -242,7 +242,7 @@ 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] @@ -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 @@ -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 @@ -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] @@ -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 d29ad0cd..0d2ea730 100644 --- a/kubernetes/docs/AppsV1API.md +++ b/kubernetes/docs/AppsV1API.md @@ -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] @@ -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] @@ -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] @@ -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] @@ -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] @@ -250,7 +250,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -293,7 +293,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -336,7 +336,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -379,7 +379,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -422,7 +422,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -466,7 +466,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -502,7 +502,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -538,7 +538,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -574,7 +574,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -610,7 +610,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -677,7 +677,7 @@ Name | Type | Description | Notes **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] +**pretty** | **char \*** | If 'true', then 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] @@ -716,7 +716,7 @@ Name | Type | Description | Notes **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] +**pretty** | **char \*** | If 'true', then 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] @@ -755,7 +755,7 @@ Name | Type | Description | Notes **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] +**pretty** | **char \*** | If 'true', then 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] @@ -790,7 +790,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -830,7 +830,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -870,7 +870,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -910,7 +910,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -950,7 +950,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -994,7 +994,7 @@ Name | Type | Description | Notes **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] +**pretty** | **char \*** | If 'true', then 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] @@ -1033,7 +1033,7 @@ Name | Type | Description | Notes **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] +**pretty** | **char \*** | If 'true', then 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] @@ -1070,7 +1070,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** | **[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] @@ -1106,7 +1106,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** | **[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] @@ -1142,7 +1142,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** | **[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] @@ -1178,7 +1178,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** | **[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] @@ -1214,7 +1214,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** | **[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] @@ -1250,7 +1250,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** | **[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] @@ -1286,7 +1286,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** | **[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] @@ -1322,7 +1322,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** | **[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] @@ -1358,7 +1358,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** | **[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] @@ -1394,7 +1394,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** | **[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] @@ -1430,7 +1430,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** | **[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] @@ -1466,7 +1466,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** | **[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] @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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] @@ -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] @@ -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] @@ -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] @@ -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] @@ -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] @@ -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] @@ -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] @@ -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] @@ -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] @@ -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] @@ -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 bc03b6cf..8898b36c 100644 --- a/kubernetes/docs/AuthenticationV1API.md +++ b/kubernetes/docs/AuthenticationV1API.md @@ -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 @@ -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 e787a7ea..1b52b873 100644 --- a/kubernetes/docs/AuthenticationV1alpha1API.md +++ b/kubernetes/docs/AuthenticationV1alpha1API.md @@ -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 2946206a..6183ab9d 100644 --- a/kubernetes/docs/AuthenticationV1beta1API.md +++ b/kubernetes/docs/AuthenticationV1beta1API.md @@ -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 48f58808..a890eda1 100644 --- a/kubernetes/docs/AuthorizationV1API.md +++ b/kubernetes/docs/AuthorizationV1API.md @@ -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 @@ -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 @@ -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 @@ -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 2f7fbf3f..ea8edf7a 100644 --- a/kubernetes/docs/AutoscalingV1API.md +++ b/kubernetes/docs/AutoscalingV1API.md @@ -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] @@ -64,7 +64,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -108,7 +108,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -175,7 +175,7 @@ Name | Type | Description | Notes **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] +**pretty** | **char \*** | If 'true', then 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] @@ -210,7 +210,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -252,7 +252,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** | **[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] @@ -288,7 +288,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** | **[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] @@ -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 @@ -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 @@ -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] @@ -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 1e8b1c2d..6676faf8 100644 --- a/kubernetes/docs/AutoscalingV2API.md +++ b/kubernetes/docs/AutoscalingV2API.md @@ -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] @@ -64,7 +64,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -108,7 +108,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -175,7 +175,7 @@ Name | Type | Description | Notes **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] +**pretty** | **char \*** | If 'true', then 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] @@ -210,7 +210,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -252,7 +252,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** | **[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] @@ -288,7 +288,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** | **[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] @@ -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 @@ -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 @@ -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] @@ -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 8172ec92..b20f840b 100644 --- a/kubernetes/docs/BatchV1API.md +++ b/kubernetes/docs/BatchV1API.md @@ -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] @@ -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] @@ -109,7 +109,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -152,7 +152,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -196,7 +196,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -232,7 +232,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -299,7 +299,7 @@ Name | Type | Description | Notes **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] +**pretty** | **char \*** | If 'true', then 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] @@ -338,7 +338,7 @@ Name | Type | Description | Notes **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] +**pretty** | **char \*** | If 'true', then 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] @@ -373,7 +373,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -413,7 +413,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -455,7 +455,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** | **[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] @@ -491,7 +491,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** | **[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] @@ -527,7 +527,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** | **[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] @@ -563,7 +563,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** | **[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] @@ -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 @@ -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 @@ -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 @@ -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 @@ -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] @@ -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] @@ -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] @@ -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 e6990fad..9d9fb814 100644 --- a/kubernetes/docs/CertificatesV1API.md +++ b/kubernetes/docs/CertificatesV1API.md @@ -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] @@ -65,7 +65,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -99,7 +99,7 @@ v1_status_t* CertificatesV1API_deleteCollectionCertificateSigningRequest(apiClie 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] @@ -169,7 +169,7 @@ v1_certificate_signing_request_list_t* CertificatesV1API_listCertificateSigningR 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] **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] @@ -210,7 +210,7 @@ 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] @@ -245,7 +245,7 @@ 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] @@ -280,7 +280,7 @@ 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] @@ -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 @@ -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 @@ -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 @@ -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] @@ -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] @@ -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 bfc68610..30097f21 100644 --- a/kubernetes/docs/CertificatesV1alpha1API.md +++ b/kubernetes/docs/CertificatesV1alpha1API.md @@ -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] @@ -59,7 +59,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -93,7 +93,7 @@ v1_status_t* CertificatesV1alpha1API_deleteCollectionClusterTrustBundle(apiClien 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] @@ -163,7 +163,7 @@ v1alpha1_cluster_trust_bundle_list_t* CertificatesV1alpha1API_listClusterTrustBu 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] **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] @@ -204,7 +204,7 @@ 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] @@ -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 @@ -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 7df784d3..b1d4877f 100644 --- a/kubernetes/docs/CoordinationV1API.md +++ b/kubernetes/docs/CoordinationV1API.md @@ -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] @@ -61,7 +61,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -105,7 +105,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -172,7 +172,7 @@ Name | Type | Description | Notes **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] +**pretty** | **char \*** | If 'true', then 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] @@ -207,7 +207,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -249,7 +249,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** | **[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] @@ -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 @@ -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 9a502567..3c8d8381 100644 --- a/kubernetes/docs/CoreV1API.md +++ b/kubernetes/docs/CoreV1API.md @@ -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] @@ -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 @@ -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] @@ -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] @@ -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] @@ -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] @@ -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] @@ -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] @@ -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 @@ -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 @@ -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] @@ -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] @@ -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] @@ -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] @@ -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] @@ -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] @@ -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 @@ -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] @@ -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] @@ -2428,7 +2428,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -2471,7 +2471,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -2514,7 +2514,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -2557,7 +2557,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -2600,7 +2600,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -2643,7 +2643,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -2686,7 +2686,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -2729,7 +2729,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -2772,7 +2772,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -2815,7 +2815,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -2858,7 +2858,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -2901,7 +2901,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -2943,7 +2943,7 @@ v1_status_t* CoreV1API_deleteCollectionNode(apiClient_t *apiClient, char *pretty 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] @@ -2985,7 +2985,7 @@ v1_status_t* CoreV1API_deleteCollectionPersistentVolume(apiClient_t *apiClient, 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] @@ -3028,7 +3028,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -3064,7 +3064,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -3100,7 +3100,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -3136,7 +3136,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -3172,7 +3172,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -3208,7 +3208,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -3244,7 +3244,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -3280,7 +3280,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -3316,7 +3316,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -3352,7 +3352,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -3388,7 +3388,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -3424,7 +3424,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -3460,7 +3460,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -3495,7 +3495,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -3530,7 +3530,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -3597,7 +3597,7 @@ Name | Type | Description | Notes **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] +**pretty** | **char \*** | If 'true', then 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] @@ -3636,7 +3636,7 @@ Name | Type | Description | Notes **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] +**pretty** | **char \*** | If 'true', then 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] @@ -3675,7 +3675,7 @@ Name | Type | Description | Notes **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] +**pretty** | **char \*** | If 'true', then 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] @@ -3714,7 +3714,7 @@ Name | Type | Description | Notes **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] +**pretty** | **char \*** | If 'true', then 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] @@ -3753,7 +3753,7 @@ Name | Type | Description | Notes **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] +**pretty** | **char \*** | If 'true', then 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] @@ -3787,7 +3787,7 @@ v1_namespace_list_t* CoreV1API_listNamespace(apiClient_t *apiClient, char *prett 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] **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] @@ -3827,7 +3827,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -3867,7 +3867,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -3907,7 +3907,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -3947,7 +3947,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -3987,7 +3987,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -4027,7 +4027,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -4067,7 +4067,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -4107,7 +4107,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -4147,7 +4147,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -4187,7 +4187,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -4227,7 +4227,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -4267,7 +4267,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -4306,7 +4306,7 @@ v1_node_list_t* CoreV1API_listNode(apiClient_t *apiClient, char *pretty, int *al 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] **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] @@ -4345,7 +4345,7 @@ v1_persistent_volume_list_t* CoreV1API_listPersistentVolume(apiClient_t *apiClie 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] **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] @@ -4389,7 +4389,7 @@ Name | Type | Description | Notes **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] +**pretty** | **char \*** | If 'true', then 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] @@ -4428,7 +4428,7 @@ Name | Type | Description | Notes **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] +**pretty** | **char \*** | If 'true', then 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] @@ -4467,7 +4467,7 @@ Name | Type | Description | Notes **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] +**pretty** | **char \*** | If 'true', then 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] @@ -4506,7 +4506,7 @@ Name | Type | Description | Notes **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] +**pretty** | **char \*** | If 'true', then 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] @@ -4545,7 +4545,7 @@ Name | Type | Description | Notes **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] +**pretty** | **char \*** | If 'true', then 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] @@ -4584,7 +4584,7 @@ Name | Type | Description | Notes **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] +**pretty** | **char \*** | If 'true', then 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] @@ -4623,7 +4623,7 @@ Name | Type | Description | Notes **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] +**pretty** | **char \*** | If 'true', then 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] @@ -4662,7 +4662,7 @@ Name | Type | Description | Notes **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] +**pretty** | **char \*** | If 'true', then 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] @@ -4698,7 +4698,7 @@ 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] @@ -4733,7 +4733,7 @@ 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] @@ -4769,7 +4769,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** | **[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] @@ -4805,7 +4805,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** | **[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] @@ -4841,7 +4841,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** | **[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] @@ -4877,7 +4877,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** | **[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] @@ -4913,7 +4913,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** | **[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] @@ -4949,7 +4949,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** | **[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] @@ -4985,7 +4985,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** | **[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] @@ -5021,7 +5021,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** | **[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] @@ -5057,7 +5057,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** | **[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] @@ -5093,7 +5093,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** | **[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] @@ -5129,7 +5129,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** | **[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] @@ -5165,7 +5165,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** | **[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] @@ -5201,7 +5201,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** | **[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] @@ -5237,7 +5237,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** | **[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] @@ -5273,7 +5273,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** | **[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] @@ -5309,7 +5309,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** | **[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] @@ -5345,7 +5345,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** | **[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] @@ -5381,7 +5381,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** | **[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] @@ -5417,7 +5417,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** | **[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] @@ -5452,7 +5452,7 @@ 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] @@ -5487,7 +5487,7 @@ 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] @@ -5522,7 +5522,7 @@ 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] @@ -5557,7 +5557,7 @@ 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] @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -5934,7 +5934,7 @@ Name | Type | Description | Notes **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] +**pretty** | **char \*** | If 'true', then 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] @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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] @@ -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 @@ -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] @@ -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] @@ -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] @@ -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] @@ -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] @@ -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] @@ -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] @@ -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] @@ -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] @@ -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] @@ -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] @@ -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] @@ -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] @@ -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] @@ -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] @@ -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] @@ -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] @@ -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] @@ -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] @@ -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] @@ -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] @@ -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] @@ -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] @@ -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 f413ae37..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 @@ -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,6 +158,7 @@ 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] +**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] @@ -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,6 +197,7 @@ 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] +**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] @@ -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,6 +584,7 @@ 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] +**fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from 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,6 +621,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. 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] **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,6 +658,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. 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] **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,6 +696,7 @@ 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] +**fieldValidation** | **char \*** | fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from 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,6 +734,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. 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] **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,6 +772,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. 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] **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 4e869b42..3c5626b8 100644 --- a/kubernetes/docs/DiscoveryV1API.md +++ b/kubernetes/docs/DiscoveryV1API.md @@ -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] @@ -61,7 +61,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -105,7 +105,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -172,7 +172,7 @@ Name | Type | Description | Notes **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] +**pretty** | **char \*** | If 'true', then 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] @@ -207,7 +207,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -249,7 +249,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** | **[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] @@ -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 @@ -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 98ac305c..be767a0f 100644 --- a/kubernetes/docs/EventsV1API.md +++ b/kubernetes/docs/EventsV1API.md @@ -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] @@ -61,7 +61,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -105,7 +105,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -172,7 +172,7 @@ Name | Type | Description | Notes **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] +**pretty** | **char \*** | If 'true', then 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] @@ -207,7 +207,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -249,7 +249,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** | **[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] @@ -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 @@ -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/FlowcontrolApiserverV1beta3API.md b/kubernetes/docs/FlowcontrolApiserverV1beta3API.md index 9499a6a4..a55daab2 100644 --- a/kubernetes/docs/FlowcontrolApiserverV1beta3API.md +++ b/kubernetes/docs/FlowcontrolApiserverV1beta3API.md @@ -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] @@ -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] @@ -104,7 +104,7 @@ v1_status_t* FlowcontrolApiserverV1beta3API_deleteCollectionFlowSchema(apiClient 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] @@ -146,7 +146,7 @@ v1_status_t* FlowcontrolApiserverV1beta3API_deleteCollectionPriorityLevelConfigu 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] @@ -189,7 +189,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -224,7 +224,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -286,7 +286,7 @@ v1beta3_flow_schema_list_t* FlowcontrolApiserverV1beta3API_listFlowSchema(apiCli 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] **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] @@ -325,7 +325,7 @@ v1beta3_priority_level_configuration_list_t* FlowcontrolApiserverV1beta3API_list 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] **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] @@ -366,7 +366,7 @@ 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] @@ -401,7 +401,7 @@ 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] @@ -436,7 +436,7 @@ 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] @@ -471,7 +471,7 @@ 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] @@ -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 @@ -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 @@ -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 @@ -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 @@ -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] @@ -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] @@ -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] @@ -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 889c3d54..d50e03d6 100644 --- a/kubernetes/docs/InternalApiserverV1alpha1API.md +++ b/kubernetes/docs/InternalApiserverV1alpha1API.md @@ -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] @@ -61,7 +61,7 @@ v1_status_t* InternalApiserverV1alpha1API_deleteCollectionStorageVersion(apiClie 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] @@ -104,7 +104,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -166,7 +166,7 @@ v1alpha1_storage_version_list_t* InternalApiserverV1alpha1API_listStorageVersion 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] **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] @@ -207,7 +207,7 @@ 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] @@ -242,7 +242,7 @@ 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] @@ -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 @@ -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 @@ -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] @@ -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/NetworkingV1API.md b/kubernetes/docs/NetworkingV1API.md index 4452735a..f487da08 100644 --- a/kubernetes/docs/NetworkingV1API.md +++ b/kubernetes/docs/NetworkingV1API.md @@ -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] @@ -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] @@ -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] @@ -145,7 +145,7 @@ v1_status_t* NetworkingV1API_deleteCollectionIngressClass(apiClient_t *apiClient 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] @@ -188,7 +188,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -231,7 +231,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -274,7 +274,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -310,7 +310,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -346,7 +346,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -408,7 +408,7 @@ v1_ingress_class_list_t* NetworkingV1API_listIngressClass(apiClient_t *apiClient 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] **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] @@ -452,7 +452,7 @@ Name | Type | Description | Notes **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] +**pretty** | **char \*** | If 'true', then 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] @@ -487,7 +487,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -527,7 +527,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -571,7 +571,7 @@ Name | Type | Description | Notes **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] +**pretty** | **char \*** | If 'true', then 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] @@ -607,7 +607,7 @@ 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] @@ -643,7 +643,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** | **[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] @@ -679,7 +679,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** | **[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] @@ -715,7 +715,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** | **[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] @@ -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 @@ -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 @@ -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 @@ -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 @@ -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] @@ -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] @@ -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] @@ -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 c290c4b7..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] +**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,18 +132,18 @@ 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] @@ -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] **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,19 +209,19 @@ 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] @@ -269,18 +272,18 @@ 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] +**pretty** | **char \*** | If 'true', then 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] @@ -294,7 +297,7 @@ Name | Type | Description | Notes ### Return type -[v1alpha1_cluster_cidr_list_t](v1alpha1_cluster_cidr_list.md) * +[v1alpha1_ip_address_list_t](v1alpha1_ip_address_list.md) * ### Authorization @@ -308,18 +311,18 @@ 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] +**pretty** | **char \*** | If 'true', then 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] @@ -333,7 +336,7 @@ Name | Type | Description | Notes ### Return type -[v1alpha1_ip_address_list_t](v1alpha1_ip_address_list.md) * +[v1alpha1_service_cidr_list_t](v1alpha1_service_cidr_list.md) * ### Authorization @@ -347,20 +350,20 @@ 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] @@ -368,7 +371,7 @@ Name | Type | Description | Notes ### Return type -[v1alpha1_cluster_cidr_t](v1alpha1_cluster_cidr.md) * +[v1alpha1_ip_address_t](v1alpha1_ip_address.md) * ### Authorization @@ -382,20 +385,20 @@ 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] @@ -403,7 +406,7 @@ Name | Type | Description | Notes ### 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) @@ -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_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_cluster_cidr_t](v1alpha1_cluster_cidr.md) * +[v1alpha1_service_cidr_t](v1alpha1_service_cidr.md) * ### Authorization @@ -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 0bec13c1..ed74b3c9 100644 --- a/kubernetes/docs/NodeV1API.md +++ b/kubernetes/docs/NodeV1API.md @@ -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] @@ -58,7 +58,7 @@ v1_status_t* NodeV1API_deleteCollectionRuntimeClass(apiClient_t *apiClient, char 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] @@ -101,7 +101,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -163,7 +163,7 @@ v1_runtime_class_list_t* NodeV1API_listRuntimeClass(apiClient_t *apiClient, char 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] **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] @@ -204,7 +204,7 @@ 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] @@ -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 @@ -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 ee6def73..16baa94c 100644 --- a/kubernetes/docs/PolicyV1API.md +++ b/kubernetes/docs/PolicyV1API.md @@ -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] @@ -64,7 +64,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -108,7 +108,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -171,7 +171,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -215,7 +215,7 @@ Name | Type | Description | Notes **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] +**pretty** | **char \*** | If 'true', then 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] @@ -252,7 +252,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** | **[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] @@ -288,7 +288,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** | **[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] @@ -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 @@ -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 @@ -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] @@ -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 0f75c584..6cb2a577 100644 --- a/kubernetes/docs/RbacAuthorizationV1API.md +++ b/kubernetes/docs/RbacAuthorizationV1API.md @@ -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] @@ -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] @@ -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] @@ -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] @@ -183,7 +183,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -218,7 +218,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -252,7 +252,7 @@ v1_status_t* RbacAuthorizationV1API_deleteCollectionClusterRole(apiClient_t *api 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] @@ -294,7 +294,7 @@ v1_status_t* RbacAuthorizationV1API_deleteCollectionClusterRoleBinding(apiClient 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] @@ -337,7 +337,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -380,7 +380,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -424,7 +424,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -460,7 +460,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -522,7 +522,7 @@ v1_cluster_role_list_t* RbacAuthorizationV1API_listClusterRole(apiClient_t *apiC 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] **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] @@ -561,7 +561,7 @@ v1_cluster_role_binding_list_t* RbacAuthorizationV1API_listClusterRoleBinding(ap 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] **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] @@ -601,7 +601,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -641,7 +641,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -685,7 +685,7 @@ Name | Type | Description | Notes **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] +**pretty** | **char \*** | If 'true', then 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] @@ -724,7 +724,7 @@ Name | Type | Description | Notes **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] +**pretty** | **char \*** | If 'true', then 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] @@ -760,7 +760,7 @@ 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] @@ -795,7 +795,7 @@ 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] @@ -831,7 +831,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** | **[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] @@ -867,7 +867,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** | **[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] @@ -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 @@ -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 @@ -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 @@ -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 @@ -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] @@ -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] @@ -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] @@ -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 74524531..deb400c1 100644 --- a/kubernetes/docs/ResourceV1alpha2API.md +++ b/kubernetes/docs/ResourceV1alpha2API.md @@ -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] @@ -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] @@ -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] @@ -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] @@ -191,7 +191,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -234,7 +234,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -277,7 +277,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -319,7 +319,7 @@ v1_status_t* ResourceV1alpha2API_deleteCollectionResourceClass(apiClient_t *apiC 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] @@ -363,7 +363,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -399,7 +399,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -435,7 +435,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -470,7 +470,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -533,7 +533,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -573,7 +573,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -613,7 +613,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -657,7 +657,7 @@ Name | Type | Description | Notes **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] +**pretty** | **char \*** | If 'true', then 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] @@ -696,7 +696,7 @@ Name | Type | Description | Notes **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] +**pretty** | **char \*** | If 'true', then 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] @@ -735,7 +735,7 @@ Name | Type | Description | Notes **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] +**pretty** | **char \*** | If 'true', then 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] @@ -769,7 +769,7 @@ v1alpha2_resource_class_list_t* ResourceV1alpha2API_listResourceClass(apiClient_ 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] **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] @@ -811,7 +811,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** | **[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] @@ -847,7 +847,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** | **[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] @@ -883,7 +883,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** | **[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] @@ -919,7 +919,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** | **[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] @@ -955,7 +955,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** | **[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] @@ -990,7 +990,7 @@ 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] @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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] @@ -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] @@ -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] @@ -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] @@ -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] @@ -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 7de57526..bd9c65f8 100644 --- a/kubernetes/docs/SchedulingV1API.md +++ b/kubernetes/docs/SchedulingV1API.md @@ -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] @@ -58,7 +58,7 @@ v1_status_t* SchedulingV1API_deleteCollectionPriorityClass(apiClient_t *apiClien 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] @@ -101,7 +101,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -163,7 +163,7 @@ v1_priority_class_list_t* SchedulingV1API_listPriorityClass(apiClient_t *apiClie 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] **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] @@ -204,7 +204,7 @@ 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] @@ -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 @@ -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 453f0db0..ec0bbec0 100644 --- a/kubernetes/docs/StorageV1API.md +++ b/kubernetes/docs/StorageV1API.md @@ -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] @@ -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] @@ -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] @@ -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] @@ -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] @@ -224,7 +224,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -259,7 +259,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -293,7 +293,7 @@ v1_status_t* StorageV1API_deleteCollectionCSIDriver(apiClient_t *apiClient, char 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] @@ -335,7 +335,7 @@ v1_status_t* StorageV1API_deleteCollectionCSINode(apiClient_t *apiClient, char * 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] @@ -378,7 +378,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -420,7 +420,7 @@ v1_status_t* StorageV1API_deleteCollectionStorageClass(apiClient_t *apiClient, c 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] @@ -462,7 +462,7 @@ v1_status_t* StorageV1API_deleteCollectionVolumeAttachment(apiClient_t *apiClien 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] @@ -506,7 +506,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -541,7 +541,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -576,7 +576,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] **dryRun** | **char \*** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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] @@ -638,7 +638,7 @@ v1_csi_driver_list_t* StorageV1API_listCSIDriver(apiClient_t *apiClient, char *p 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] **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] @@ -677,7 +677,7 @@ v1_csi_node_list_t* StorageV1API_listCSINode(apiClient_t *apiClient, char *prett 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] **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] @@ -721,7 +721,7 @@ Name | Type | Description | Notes **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] +**pretty** | **char \*** | If 'true', then 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] @@ -756,7 +756,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 | -**pretty** | **char \*** | If 'true', then the output is pretty printed. | [optional] +**pretty** | **char \*** | If 'true', then 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] @@ -795,7 +795,7 @@ v1_storage_class_list_t* StorageV1API_listStorageClass(apiClient_t *apiClient, c 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] **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] @@ -834,7 +834,7 @@ v1_volume_attachment_list_t* StorageV1API_listVolumeAttachment(apiClient_t *apiC 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] **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] @@ -875,7 +875,7 @@ 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] @@ -910,7 +910,7 @@ 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] @@ -946,7 +946,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** | **[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] @@ -981,7 +981,7 @@ 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] @@ -1016,7 +1016,7 @@ 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] @@ -1051,7 +1051,7 @@ 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] @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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] @@ -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] @@ -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] @@ -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] @@ -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] @@ -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/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