Commit Graph

147 Commits

Author SHA1 Message Date
Ahmed Yarub Hani Al Nuaimi
9c7fc8baa0 Correct freeing resource 2021-09-08 00:30:27 -03:00
Ahmed Yarub Hani Al Nuaimi
a50a3f20a5 Remove redundant #undef directives 2021-09-08 00:21:50 -03:00
Ahmed Yarub Hani Al Nuaimi
e3f4285173 Regenerate specs and CMake scripts 2021-09-07 12:42:28 -03:00
Ahmed Yarub Hani Al Nuaimi
8925ed5139 Regenerate CMake scripts 2021-09-07 05:04:27 -03:00
Ahmed Yarub Hani Al Nuaimi
6691d2724a Regenerate scripts 2021-09-07 04:56:13 -03:00
Ahmed Yarub Hani Al Nuaimi
7fea12f259 Add package version 2021-09-07 04:50:35 -03:00
Ahmed Yarub Hani Al Nuaimi
c05f567c4a Regenerate specs and CMake scripts 2021-09-07 04:36:00 -03:00
Ahmed Yarub Hani Al Nuaimi
3917fce7cf Fix linking to shared libraries on Windows 2021-09-07 03:44:24 -03:00
Ahmed Yarub Hani Al Nuaimi
1d5348f99e Remove duplicate macro
Add alternative strndup implementation
2021-09-06 18:18:47 -03:00
Ahmed Yarub Hani Al Nuaimi
4221f70114 More conditional includes 2021-09-05 12:16:40 -03:00
Ahmed Yarub Hani Al Nuaimi
d91f3852fd Regenerate specs 2021-09-05 12:12:19 -03:00
Ahmed Yarub Hani Al Nuaimi
eb2fa17582 Make test buildable both using a Makefile and CMake
Fix conditional commands
2021-09-04 22:16:17 -03:00
Ahmed Yarub Hani Al Nuaimi
01c77c34c4 Update CMake scripts
C++ compatibility update
2021-09-04 21:12:21 -03:00
Ahmed Yarub Hani Al Nuaimi
00c9cedf59 Conditional compilation for UNIX specific libraries
Add TLS configuration parsing
2021-09-04 12:49:02 -03:00
Hui Yu
c8899efc21 [Exec] Pod exec in cluster 2021-09-01 20:35:27 +08:00
Ahmed Yarub Hani Al Nuaimi
fdde49bddc Update CMakeLists.txt 2021-08-31 01:25:28 -03:00
Ahmed Yarub Hani Al Nuaimi
54b3d3ff37 Update README and CMakeLists.txt
Add package name to examples
2021-08-31 00:34:32 -03:00
Ahmed Yarub Hani Al Nuaimi
776dfae8bc Examples in a separate CMake project 2021-08-30 12:09:20 -03:00
Ahmed Yarub Hani Al Nuaimi
739e921c77 Add partial examples building scripts
Add pre and post CMake building scripts
2021-08-29 21:00:43 -03:00
Ahmed Yarub Hani Al Nuaimi
99a084b5a1 Increase maximum bearer token size to avoid truncation
(cherry picked from commit 79a7a820c0db292a7605a631a060d6cbe05e8cd6)
2021-08-16 09:36:07 -03:00
Hui Yu
d710fc99aa Regenerate the C client to merge the PR https://github.com/OpenAPITools/openapi-generator/pull/10124 2021-08-12 15:20:22 +08:00
Hui Yu
a4fdd8e9df Free the variable with the data type "byteArray" same as "string" 2021-08-04 10:39:09 +08:00
Hui Yu
63d8c15564 Fix the issue of parsing json string of kubernetes secret 2021-07-27 19:00:56 +08:00
Hui Yu
5d5e3233d3 [Websocket] Support exec 2021-07-14 18:45:45 +08:00
Hui Yu
369762b089 [Multi-Thread] Remove cJSON_GetErrorPtr in examples and authentication plugin code to ensure thread safety 2021-03-30 20:55:12 +08:00
Hui Yu
6381367c3c [DOCUMENT] Add API and model documents 2021-03-17 16:50:46 +08:00
Hui Yu
4b73d0ac3f Add PATCH operation to the generic client 2021-02-19 11:45:55 +08:00
Hui Yu
a8dcc30f5a Fix memory leak when a JSON of model fails to parse 2021-01-11 12:46:16 +08:00
Hui Yu
732348e69e Re-generate the C client to merge recent changes from openapi-generator:
1. [C][Client] Add C++ reserved keywords to C-libcurl client generator,then the C client can be compiled by C++ compiler (#8205)

2. [C][Client] Disable escaping the parameter name in URL path string (#8243)

3. [C][Client] Fix coredump when releasing the memory of an incompleted model (#8190)
2021-01-05 15:42:34 +08:00
Hui Yu
9105f49d64 Fix memory leak when http request carries parameters 2020-12-11 11:10:12 +08:00
Hui Yu
91b5f8aff8 [Example] Multi-threaded programming example 2020-11-29 10:55:11 +08:00
Hui Yu
e8e2625aa5 Re-generate the client to merge the multi-thread support from
openapi-generator
2020-10-30 18:58:39 +08:00
Hui Yu
be3b335b9c [Watch] Support watch 2020-10-01 20:09:03 +08:00
Hui Yu
84c76b5d49 1. Re-generate c client to merge PR #7467 of openapi-generator
2. Remove the duplicated definition of "clear_and_free_string_list" after code merge
2020-09-26 13:09:03 +08:00
Brendan Burns
26e67e9cfa Update generated code. 2020-09-02 14:25:31 -07:00
Hui Yu
43aaf95cd1 [Configuration]
1. Authentication provider plugin framework

2. An instance of authentication provider plugin for OIDC (OpenID Connect)
2020-08-19 21:38:06 +08:00
Brendan Burns
3f6419e9e0 Add delete/create/replace to the generic client. 2020-08-17 08:01:26 -07:00
Brendan Burns
4000633202 Add a generic client (read-only for now) 2020-08-14 10:57:25 -07:00
Hui Yu
ab432efa49 [API] Re-run code generator to merge the changes of OpenAPITools/openapi-generator to fix the bug:
* If the data type of query parameter is "int" or "bool" in OpenAPI Spec, the request url will not be generated correctly. ( PR #6692 )
2020-06-20 09:41:15 +08:00
Hui Yu
dc590fb0d3 [Configuration] Support exec for kubeconfig 2020-05-24 12:17:29 +00:00
Hui Yu
504f452db6 [Configuration]Support bearer tokens in cluster 2020-04-15 19:49:36 +08:00
Hui Yu
ed82ac046a [Configuration]Update the data structures for kube config file 2020-04-07 22:44:34 +08:00
Hui Yu
705a605e95 [Configuration]Support configuration for X509 client certificate in kube config file 2020-04-05 19:34:24 +08:00
Hui Yu
2f2bd8f4b9 Re-run openapi-generator to merge the recent changes 2020-04-02 10:47:22 +08:00
Hui Yu
62b6012027 Apply 2 useful patches from OpenAPITools/openapi-generator repo:
1. Support SSL client authentication for the c client (#5719)

2. Fix base64 decode funtion (#5642)
2020-04-01 13:32:02 +08:00
Brendan Burns
a66596b0c2 Improve the READMEs for the client. 2020-03-23 21:44:28 -07:00
Hui Yu
8ba394045d commit
1. The kubernetes-client/gen setting for c generator

    2. The source code generated by OpenAPI c generator
2020-03-18 17:24:33 +08:00