{"repo":"kubernetes-client/c","free":true,"listed":false,"github":"https://github.com/kubernetes-client/c","clone":"git clone https://github.com/kubernetes-client/c.git","description":"Official C client library for Kubernetes","language":"C","stars":188,"topics":["client-library","kubernetes"],"license":"Apache-2.0","category":"deployment-docker-iac","readme_excerpt":"Kubernetes Client Library for C This is the official Kubernetes client library for the C programming language. Building the library (Optional) Installing using vcpkg on Windows If you want to install the C client using vcpkg, please refer to vcpkg.md (Optional) Installing using conan on Windows, Linux, Mac If you want to install the C client using conan, please refer to conan.md Building an example Running the example Usage example list all pods: list all pods in cluster: How to send integer or boolean parameters to API Server If you want to send an integer or boolean parameter to the API server, you will see that the data type in API function is int , e.g. For example we can send timeoutSeconds and watch using the following usage: Setting the parameter to NULL means not to send the parameter to the API Server, and the API Server will use the default value for this parameter. Aggregated APIs and CRD-based APIs If you want to implement a client for aggregated APIs (such as the metrics server API apis/metrics.k8s.io ) or CRD-based APIs, use the generic client. See example. Multi-threaded Usage If the C client library is used in multi-threaded program, the following 2 actions are required: 1. After the program starts up, main thread must call the function before any worker thread is created. 2. If the C client is no longer used, main thread must call the function after all worker threads end. Refer to the example for detail. Documentation All APIs and Models' documentation can b","default_branch":null,"files":null,"tree":[],"storefront":"/r/kubernetes-client","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/kubernetes-client/c/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}