Hui Yu
035dea4918
Support pure C compiler build
2025-06-07 16:44:48 +08:00
Brendan Burns
c419fa7bec
Fix examples
2025-02-11 20:18:33 +00:00
Brendan Burns
b1181ee814
Updates for new generated code. Mostly cleanups.
2025-02-11 19:58:54 +00:00
Brendan Burns
d72a1c8566
Automated openapi generation from release-1.32
...
Signed-off-by: Kubernetes Prow Robot <k8s.ci.robot@gmail.com >
2025-02-11 19:36:46 +00:00
Kubernetes Prow Robot
f914036e5a
Automated openapi generation from release-1.31
...
Signed-off-by: Hui Yu <ityuhui@gmail.com >
2024-10-12 12:08:56 +08:00
903d09f6-e821-4655-9e8b-7e6068b26f74
b448cd1147
Avoid Duplicattion
...
Move pclose to the end of function.
2024-07-23 19:22:56 +09:00
903d09f6-e821-4655-9e8b-7e6068b26f74
02a71845ae
Fix Potential Handler Leaks #2
...
Add fclose before function out
2024-07-23 10:21:12 +09:00
903d09f6-e821-4655-9e8b-7e6068b26f74
fd735fca4b
Fix Potential Handler Leaks #1
...
Add pclose before function out
2024-07-23 10:17:48 +09:00
DanyT
70f05e512c
resolve code-sytle-check issues
2024-07-05 07:55:42 +03:00
DanyT
4a19bc2a5f
add support to free a stack based allocated kubeconfig_t
2024-07-03 18:48:51 +03:00
DanyT
34d1b13efe
Check that only one of the kubeconfig_t::fileName and kubeconfig_t::buffer is set
...
Add documentation note stating that only of the kubeconfig_t::fileName and kubeconfig_t::buffer may be set
2024-07-03 09:18:24 +03:00
DanyT
8f759fcfb7
fix typo
...
close filehandle only if we opened one
2024-07-02 11:58:32 +03:00
DanyT
6d3bd66121
add support to load kubernetes configuration for memory buffer
...
- existing api is not changed
- load_kube_config works as before
- extend kubeconfig_t to hold in memory buffer
- make a common flow for file/buffer code
- set fileName/buffer members accordingly
- provide new api: load_kube_config_buffer
2024-07-01 18:55:51 +03:00
Kubernetes Prow Robot
c97b51f36a
Automated openapi generation from release-1.30
...
Signed-off-by: Kubernetes Prow Robot <k8s.ci.robot@gmail.com >
2024-05-18 13:20:54 +00:00
Hui Yu
4a760d5237
Use the libwebsockets-dev package provided by the operating system instead of building from source
2024-05-01 14:25:55 +08:00
ydcpp
8a69cc41df
conanfile update for lws openssl3 fix
2024-04-29 10:43:37 +03:00
ydcpp
1592302ba9
updated conanfile for dependency versions
2024-04-27 13:47:21 +03:00
ydcpp
9eaf51d756
added openssl and curl options to conanfile
2024-04-25 18:11:23 +03:00
ydcpp
fb12ba5c18
updated conan dependency versions and wsclient.h fix
2024-04-22 12:02:33 +03:00
ydcpp
fa9f6113f9
added conan support
2024-04-21 14:35:35 +03:00
Steve Sperandeo
c7ca96c069
Removed printf lines instead of commenting.
2024-03-08 11:46:43 -08:00
Steve Sperandeo
ccf8dda691
Commented out printf statements in the generic client.
2024-03-05 10:43:18 -08:00
Kubernetes Prow Robot
6d68c83d69
Automated openapi generation from release-1.29
...
Signed-off-by: Kubernetes Prow Robot <k8s.ci.robot@gmail.com >
2024-01-23 12:51:46 +00:00
Hui Yu
8423b0c171
Update API document after some data types of function parameters are changed from "int" to "int *"
2024-01-07 20:54:40 +08:00
Hui Yu
82eedf0e8c
Regenerate the client after https://github.com/OpenAPITools/openapi-generator/pull/17179 is merged:
...
Use int* as int or bool type function parameter
2023-12-14 20:34:20 +08:00
Kubernetes Prow Robot
0f1f163bb9
Automated openapi generation from release-1.28
...
Signed-off-by: Kubernetes Prow Robot <k8s.ci.robot@gmail.com >
2023-09-06 01:56:31 +00:00
Hui Yu
8ed333e1bf
Support 32bit
...
Co-authored-by: hai22yu23 <hai22yu23@163.com >
2023-08-04 09:55:43 +08:00
aiden
79ab588d74
fixed
2023-07-22 11:51:59 +08:00
Kubernetes Prow Robot
f0ac80fb61
Automated openapi generation from release-1.27
...
Signed-off-by: Kubernetes Prow Robot <k8s.ci.robot@gmail.com >
2023-06-05 02:09:22 +00:00
DanyT
7378278961
allow apiGroup to be null
...
- allocate and copy the apiGroup only if one is provided
- no need for explicit check for null when free is called - free does it
2023-04-24 11:12:35 +03:00
DanyT
0c3a731fa4
improve generic list and namespacedlist
...
- allow empty apiGroup
- select rest api path based on apiGroup value
2023-04-21 12:49:18 +03:00
hirishh
bbaa861cde
Fix loading users.user.token from yaml config
2023-04-04 16:32:43 +02:00
Hui Yu
de071b82c0
Include config.h to define HAVE_SECURE_GETENV or HAVE_GETENV
2023-03-30 15:00:37 +08:00
Hui Yu
20d4ad12a6
Increase buffer size
2023-03-24 20:36:56 +08:00
Kubernetes Prow Robot
060e5f800a
Automated openapi generation from release-1.26
...
Signed-off-by: Kubernetes Prow Robot <k8s.ci.robot@gmail.com >
2023-02-23 01:48:36 +00:00
Ahmed Yarub Hani Al Nuaimi
2e2b5c91da
Fix symbol tests
2023-02-09 22:36:24 -03:00
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