Commit Graph

20 Commits

Author SHA1 Message Date
Hui Yu
83799e274c Update examples after the data types of function prameters changes from "int" to "int*" 2023-12-14 21:48:47 +08:00
Hui Yu
776899647a Update examples based on Kubernetes v1.27 changes 2023-06-05 22:17:37 +08:00
Hui Yu
3fe8c8b11c Add valgrind memory check for examples 2022-08-12 14:56:25 +08:00
Hui Yu
42ab594c4c Update examples and README because API changes after bumping to Kubernetes v1.22.1 2021-09-15 14:23:19 +08: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
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
c19fa547fc Fix CMake scripts for example 2021-08-31 00:36:05 -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
Hui Yu
5d5e3233d3 [Websocket] Support exec 2021-07-14 18:45:45 +08:00
Hui Yu
2b77421c90 [CI/CD] Add example test to Github/Actions 2021-01-12 20:58:43 +08:00
Hui Yu
91b5f8aff8 [Example] Multi-threaded programming example 2020-11-29 10:55:11 +08:00
Hui Yu
493a027b70 [Multi-Thread] Support working in multi-thread environment 2020-10-31 19:01:54 +08:00
Hui Yu
9e5533206e [Readme & Examples]
* Update the usage example in README.md because kubernetes-client/c has supported loading cluster configuration to authentication.

* Update some examples to keep consistence with README.md
2020-06-28 12:24:08 +08:00
Hui Yu
82fb962911 [Examples] Fix memory leak in example/list_pod 2020-06-01 12:00:58 +00:00
Hui Yu
705a605e95 [Configuration]Support configuration for X509 client certificate in kube config file 2020-04-05 19:34:24 +08:00
Brendan Burns
a66596b0c2 Improve the READMEs for the client. 2020-03-23 21:44:28 -07:00
Hui Yu
9576c62024 Update the code style of examples source 2020-03-20 22:13:28 +08:00
Hui Yu
2502f6b00b Update examples code:
1. Anonymize the API server address

2. Remove useless line-break

3. Delete commented out code
2020-03-20 16:13:42 +08:00
Hui Yu
cf3729b611 Add the examples to demo listing/creating pods 2020-03-19 09:56:19 +08:00