DanyT
65bcd15fc0
add example to memcheck target
2024-07-22 16:04:16 +03:00
DanyT
45f6073fd0
fix example
2024-07-22 14:42:48 +03:00
DanyT
fb4170b235
log attempts to load kube data
2024-07-05 17:59:15 +03:00
DanyT
25252711e7
remove files that are not needed
2024-07-05 17:05:20 +03:00
DanyT
1d79e0f4f6
add example for load_kube_config_buffer
2024-07-05 09:25:16 +03:00
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
cf0e04da8d
Build and clean list_pod_with_invalid_kubeconfig for testing
2023-01-16 16:08:38 +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
Hui Yu
ab0c7fc276
Provide a grace period (30 seconds) for pod deletion
2022-11-30 11:29:05 +08:00
Hui Yu
18c9414a1a
Add an example to list events
2022-11-07 11:05:38 +08:00
Hui Yu
04ea94918b
Update example due to API change
2022-09-26 10:37:43 +08:00
Hui Yu
5890c9b595
Wait for the pod to terminate cleanly after deleting the pod
2022-08-18 11:35:47 +08:00
Hui Yu
fd7fbe50c0
Replace "sleep" with "kubectl wait" to wait for the pod to be ready
2022-08-17 10:25:14 +08:00
Hui Yu
3fe8c8b11c
Add valgrind memory check for examples
2022-08-12 14:56:25 +08:00
Brendan Burns
1b43ec1100
Compile fixes.
2022-06-07 16:51:43 +00:00
Hui Yu
c8678cbe7e
Update examples as the openapi spec of Kubenretes 1.23.5 changes
2022-04-12 22:14:28 +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
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