Comments (19)
Good suggestion! I want to do this before but consider it as low priority.
And welcome PR, the change should be done in the openapi-generator project.
from c.
Ok. Thank U I will PR to openapi-generator project.
from c.
Hi @minerba
Do you have interest to fix this issue ?
The steps:
- Update the files in the directory: https://github.com/OpenAPITools/openapi-generator/tree/master/modules/openapi-generator/src/main/resources/C-libcurl
- Execute the script in https://github.com/kubernetes-client/gen with the configuration https://github.com/kubernetes-client/c/blob/master/settings to get a generated directory
kubernetes
- The step 2 can be replaced with below commands if you want to use the current swagger spec of Kubernetes API server:
# Execute the command in the directory of repo `OpenAPITools/openapi-generator`
mvn clean package
java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar generate -i ../c/kubernetes/swagger.json -g c -o ../kubernetes --skip-validate-spec
- Copy the files in
kubernetes
to overwrite the files in the directory of this repoc/kubernetes/
exceptCMakeLists.txt
- Follow the https://github.com/kubernetes-client/c/blob/master/README.md to build and test
- Create a PR to apply to merge.
from c.
I will fix it. Reopen this ticket to trace.
from c.
Could you please give any function for example ?
from c.
I have a Compile warning in this function
Because of parameters "char *" .
v1_pod_t* CoreV1API_readNamespacedPod(apiClient_t *apiClient, char * name , char * _namespace , char * pretty , int exact , int _export )
parameters name, _namespace, pretty are unlikely to be modified.
I suggest that functions that take a parameter "char " are changed to "const char"
The same for other functions in Directory '/kubernetes/api/*'.
from c.
You need submit 2 PR.
- The 1st PR is in OpenAPI-Generator, take this PR OpenAPITools/openapi-generator#10034 as example
- The 2nd PR will be here. FYI #68
from c.
Hi @minerba
Are you still working on this ticket ?
from c.
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.
This bot triages issues and PRs according to the following rules:
- After 90d of inactivity,
lifecycle/stale
is applied - After 30d of inactivity since
lifecycle/stale
was applied,lifecycle/rotten
is applied - After 30d of inactivity since
lifecycle/rotten
was applied, the issue is closed
You can:
- Mark this issue or PR as fresh with
/remove-lifecycle stale
- Mark this issue or PR as rotten with
/lifecycle rotten
- Close this issue or PR with
/close
- Offer to help out with Issue Triage
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
from c.
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.
This bot triages issues and PRs according to the following rules:
- After 90d of inactivity,
lifecycle/stale
is applied - After 30d of inactivity since
lifecycle/stale
was applied,lifecycle/rotten
is applied - After 30d of inactivity since
lifecycle/rotten
was applied, the issue is closed
You can:
- Mark this issue or PR as fresh with
/remove-lifecycle rotten
- Close this issue or PR with
/close
- Offer to help out with Issue Triage
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle rotten
from c.
/remove-lifecycle rotten
from c.
@ityuhui
sorry Well... How can I apply this command? "/remove-lifecycle rotten"
from c.
How can I apply this command? "/remove-lifecycle rotten"
I have done it. You don't need do it again.
from c.
@ityuhui Thank you:)
from c.
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.
This bot triages issues and PRs according to the following rules:
- After 90d of inactivity,
lifecycle/stale
is applied - After 30d of inactivity since
lifecycle/stale
was applied,lifecycle/rotten
is applied - After 30d of inactivity since
lifecycle/rotten
was applied, the issue is closed
You can:
- Mark this issue or PR as fresh with
/remove-lifecycle stale
- Mark this issue or PR as rotten with
/lifecycle rotten
- Close this issue or PR with
/close
- Offer to help out with Issue Triage
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
from c.
Thanks your Pr.
from c.
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.
This bot triages issues and PRs according to the following rules:
- After 90d of inactivity,
lifecycle/stale
is applied - After 30d of inactivity since
lifecycle/stale
was applied,lifecycle/rotten
is applied - After 30d of inactivity since
lifecycle/rotten
was applied, the issue is closed
You can:
- Mark this issue or PR as fresh with
/remove-lifecycle rotten
- Close this issue or PR with
/close
- Offer to help out with Issue Triage
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle rotten
from c.
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.
This bot triages issues and PRs according to the following rules:
- After 90d of inactivity,
lifecycle/stale
is applied - After 30d of inactivity since
lifecycle/stale
was applied,lifecycle/rotten
is applied - After 30d of inactivity since
lifecycle/rotten
was applied, the issue is closed
You can:
- Reopen this issue or PR with
/reopen
- Mark this issue or PR as fresh with
/remove-lifecycle rotten
- Offer to help out with Issue Triage
Please send feedback to sig-contributor-experience at kubernetes/community.
/close
from c.
@k8s-triage-robot: Closing this issue.
In response to this:
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.
This bot triages issues and PRs according to the following rules:
- After 90d of inactivity,
lifecycle/stale
is applied- After 30d of inactivity since
lifecycle/stale
was applied,lifecycle/rotten
is applied- After 30d of inactivity since
lifecycle/rotten
was applied, the issue is closedYou can:
- Reopen this issue or PR with
/reopen
- Mark this issue or PR as fresh with
/remove-lifecycle rotten
- Offer to help out with Issue Triage
Please send feedback to sig-contributor-experience at kubernetes/community.
/close
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
from c.
Related Issues (20)
- `sendInitialEvents` error HOT 14
- v0.8.0 release plan HOT 2
- CoreV1API_listPodForAllNamespaces/CoreV1API_listNamespacedPod API return 422 error HOT 19
- Is it possible to change the cURL HTTP accpet header? HOT 1
- Creating Deployment Patch using the AppsV1API_patchNamespacedDeployment HOT 3
- doc: Some parameter types of functions in the API documentation are wrong
- How to get label key and value? HOT 3
- v0.9.0 release plan HOT 2
- libwebsockets make fails with error: conflicting types for ‘lws_tls_server_abort_connection HOT 4
- How to compile as static .a file? HOT 7
- v1_pod_list_parseFromJSON does not parse pod statuses HOT 7
- CoreV1API_readNamespacedPodLog doesn't work and contains a segfault HOT 9
- Both Custom Resource Definitions and Custom Resources strip the spec from their object. HOT 1
- Feature Request: Decoupling parsing from network message passing HOT 5
- Remove printf from internal function HOT 1
- Issue with Running list_pod_incluster Example Code - HTTP 422 HOT 5
- Conan support HOT 2
- Using the operating system provided websockets library HOT 2
- Need bump actions/checkout@v3 HOT 1
- v0.10.0 release plan HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from c.