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
a54530c4c3
Merge branch 'master' of https://github.com/kubernetes-client/c into ay/windows_installation_adaptaions2
2021-09-09 09:26:04 -03:00
Kubernetes Prow Robot
1d433b7758
Merge pull request #79 from ityuhui/yh-exec-incluster
...
[Exec] Pod exec in cluster
2021-09-08 14:13:56 -07: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
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
c19fa547fc
Fix CMake scripts for example
2021-08-31 00:36:05 -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
Hui Yu
568bccbe5b
[Example] Add an example for configmap
2021-08-05 17:38:49 +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
4b73d0ac3f
Add PATCH operation to the generic client
2021-02-19 11:45:55 +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
87ee1eeea7
[Example] An example demonstrates deleting a pod
2020-10-08 21:25:33 +08:00
Hui Yu
be3b335b9c
[Watch] Support watch
2020-10-01 20:09:03 +08: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
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
b65a27bc80
[Examples] Fix memory leak in example/create_pod
2020-06-04 12:51:30 +00:00
Hui Yu
82fb962911
[Examples] Fix memory leak in example/list_pod
2020-06-01 12:00:58 +00:00
Hui Yu
dc590fb0d3
[Configuration] Support exec for kubeconfig
2020-05-24 12:17:29 +00:00
Hui Yu
219b0c0a50
[CI/CD] Add Github Actions for building test and code check
2020-04-17 19:52:15 +08:00
Hui Yu
504f452db6
[Configuration]Support bearer tokens in cluster
2020-04-15 19:49:36 +08: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