Commit Graph

115 Commits

Author SHA1 Message Date
Ahmed Yarub Hani Al Nuaimi
ccef130aeb Temporarily revert changes 2023-02-09 21:40:22 -03:00
Ahmed Yarub Hani Al Nuaimi
de6542609e Fix configuration file 2023-02-08 20:38:10 -03:00
Ahmed Yarub Hani Al Nuaimi
c8c27b1da6 Correct check for getenv()/secure_getenv() 2023-02-08 19:23:16 -03:00
Hui Yu
1ab7d304d3 code style check and fix 2023-01-16 15:42:58 +08:00
Hui Yu
2887dd5fee * Fix memory leak when kubeconfig is invalid
* Add a test for this case
2023-01-16 15:41:01 +08:00
hirishh
1e06eb2dfd Load user certificates by file path 2023-01-13 17:09:51 +01:00
Hui Yu
8b70a4f482 Update config.h.in to be more clear 2023-01-03 14:53:28 +08:00
Iacopo Rozzo
fc4f5d1f27 Address review comments 2022-12-30 16:37:52 +01:00
Iacopo Rozzo
42a7642d4e Add support for IPv6 addresses in the in-cluster resolution
This change adds support for kubernetes services with cluster IPs v6 for
the in cluster resolution. Previously, the IP v6 addresses were not wrapped
in square brackets when forming the Apiserver URL.
2022-12-30 15:13:40 +01:00
Kubernetes Prow Robot
05257357f8 Merge pull request #163 from irozzo-1A/add-secure-getenv-check
Add check for the presence of secure_getenv
2022-12-29 18:51:30 -08:00
Iacopo Rozzo
703fdc63ef Add check for the presence of secure_getenv
This change introduces support for glibc versions older than 2.17 where
secure_getenv was introduced.
2022-12-29 17:47:02 +01:00
Hui Yu
c740f061c9 Allow cJSON_IsNull() for a string if it is not mandatory 2022-12-29 10:58:47 +08:00
Hui Yu
9dca01932d Always send integer or boolean query parameters to the API server 2022-11-30 11:07:13 +08:00
Hui Yu
1102730a9e Regenerate the c client to merge https://github.com/OpenAPITools/openapi-generator/pull/13884 2022-11-07 10:45:06 +08:00
Kubernetes Prow Robot
fd71accdaf Automated openapi generation from release-1.25
Signed-off-by: Kubernetes Prow Robot <k8s.ci.robot@gmail.com>
2022-09-26 01:26:15 +00:00
Kubernetes Prow Robot
8afde9c48b Merge pull request #141 from ityuhui/yh-null-value-in-map-0909
Treat "null" as a valid value for a field of a JSON map
2022-09-09 13:35:23 -07:00
Hui Yu
d305005b80 Treat "null" as a valid value for a field of a JSON map
(Marge https://github.com/OpenAPITools/openapi-generator/pull/13352)
2022-09-09 10:18:51 +08:00
chenxm
86dc1b2b9b Resolve cpp keyword conflict 2022-08-25 20:07:05 +08:00
Hui Yu
878fde5df9 Set the default value for the null json 2022-06-16 10:49:33 +08:00
Hui Yu
dcc3d8a9fc Support free-form objects 2022-06-14 10:38:10 +08:00
Kubernetes Prow Robot
cf0538fd4d Automated openapi generation from release-1.24
Signed-off-by: Kubernetes Prow Robot <k8s.ci.robot@gmail.com>
2022-06-05 18:16:17 +00:00
Hui Yu
885b795ec8 Eliminate compiler warnings 2022-05-16 10:08:17 +08:00
Hui Yu
08845310b8 Merge OpenAPITools/openapi-generator #12133
Do not put the invalid value of the enum to a JSON structure
2022-04-18 09:29:02 +08:00
Hui Yu
50b553f732 Update versions after regeneration 2022-04-12 21:19:56 +08:00
Hui Yu
978e673a64 Regenerate the C client based on Kubernetes 1.23.5 OpenAPI Spec 2022-04-12 21:14:09 +08:00
Hui Yu
7b6379eec1 Free the memory of list or map when json parsing fails 2022-03-29 10:12:05 +08:00
Hui Yu
84ca277aa9 Update create/free list function names due to changes in generated code 2022-03-09 14:09:10 +08:00
Hui Yu
4c6db23e55 Remove the obsolete files from Kubernetes 1.22 and above 2022-03-09 13:53:35 +08:00
Hui Yu
5381a17d19 Merge the recent changes from openapi-generator 2022-03-09 10:56:53 +08:00
Pang
b49469dee7 Support specify CURL paths 2022-03-03 15:53:17 +08:00
Ahmed Yarub Hani Al Nuaimi
f42a8f5645 Use secure_getenv() when building using Emscripten 2022-01-16 18:57:03 -03:00
Hui Yu
e658377db1 IntOrString initialization 2021-12-21 19:47:08 +08:00
Hui Yu
a4fc03ce10 format the code style 2021-12-20 17:27:39 +08:00
Hui Yu
67a504f84d Support the type "IntOrString" (Automatically generated part) 2021-12-20 17:14:46 +08:00
Hui Yu
5eafd277d8 Support the type "IntOrString" (Manually added part) 2021-12-20 17:05:36 +08:00
Kubernetes Prow Robot
8df3411545 Merge pull request #94 from ityuhui/yh-cpack-deb
[Package] Use cpack to build deb package
2021-11-28 01:07:21 -08:00
Ahmed Yarub Hani Al Nuaimi
2833dc9b76 Add libwebsockets to configuration template 2021-11-21 17:36:43 -03:00
Hui Yu
39f4c9a01c [Package] Adding dependencies for deb package automatically 2021-11-19 16:05:26 +08:00
Hui Yu
fa251b2e5c [Package] Use cpack to build deb package 2021-11-18 16:35:45 +08:00
Ahmed Yarub Hani Al Nuaimi
f97d7e6e59 Fix script 2021-11-15 12:10:43 -03:00
Ahmed Yarub Hani Al Nuaimi
d932ede8cd Fix script 2021-11-15 12:08:00 -03:00
Ahmed Yarub Hani Al Nuaimi
985ffbecb2 Automatically detect shared/static versions of libwebsockets 2021-11-15 11:50:39 -03:00
Hui Yu
33ee688caf Define and initialize non-primitive variables at the beginning of function 2021-11-05 14:13:35 +08:00
Ahmed Yarub Hani Al Nuaimi
64dcf16b20 MacOS adaptations 2021-09-20 10:27:35 -03:00
Ahmed Yarub Hani Al Nuaimi
b05e7724b4 MacOS adaptations 2021-09-19 14:31:26 -03:00
Ahmed Yarub Hani Al Nuaimi
681d07b19f Merge branch 'master' of https://github.com/kubernetes-client/c into ay/windows_installation_adaptaions2 2021-09-19 14:26:54 -03:00
Ahmed Yarub Hani Al Nuaimi
f264e268f7 Android adaptations 2021-09-19 14:26:42 -03:00
Hui Yu
857874a2ed Bump forward to Kubernetes v1.22.1 2021-09-15 14:14:46 +08:00
Ahmed Yarub Hani Al Nuaimi
6b98698c92 Update installation logic 2021-09-10 14:10:08 -03:00
Ahmed Yarub Hani Al Nuaimi
835a9b8d58 Add C specific flags 2021-09-10 11:32:51 -03:00