-
Notifications
You must be signed in to change notification settings - Fork 519
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
create from object feature #1595
Comments
There's not a really great example of this, you need an equivalent of the generic client in Java, but it doesn't exist. The closest example is this "raw" example: https://github.com/kubernetes-client/javascript/blob/master/examples/raw-example.js Which you could use, but you'll need to be able to figure out the right HTTP path from the object before hand. |
i see why not to implement the this feature then? it seems pretty easy to do. i think it will very simplify the usage of this tool |
We'd gladly take a PR implementing this if you want to send it. |
alright, just so happens that i already did it ; ) i will create a seperate class called something like it will take me few weeks tho, a little busy these days |
Sounds great! Perhaps |
neat |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close not-planned |
@k8s-triage-robot: Closing this issue, marking it as "Not Planned". In response to this:
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-sigs/prow repository. |
hello, i have been looking at the examples and couldn't find any example of creating from object function.
like in the kubernetes python they have create from dict im looking for something similar for js.
all examples describe that in order to create an object you have to use function for that object.
for example for creating namespace you have to run
k8sApi.createNamespace(namespace)
, but i want something likek8sApi.createObject(namespace)
The text was updated successfully, but these errors were encountered: