Comments (5)
A quick-and-dirty option would just be to pull out all the method names from the varlink schema and run an identifier search over the python source (especially libs
).
If the identifier doesn't appear, you have pretty high confidence the feature isn't implemented. (Since afaik you're not doing dynamic things.)
If it does appear, you can be mildly certain it is implemented.
You could probably hack an initial version with a regex and a pile of greps. Unless you have a varlink schema library lying around.
from python-podman.
I think we should have a discussion on these features. I love seeing python-podman further develop.
We need to coordinate with the APIv2 work that is going on in Podman.
https://github.com/containers/libpod/tree/apiv2
The bottom line we are moving away from varlink to a similar Protocol to the Docker.API.
from python-podman.
A quick-and-dirty option would just be to pull out all the method names from the varlink schema and run an identifier search over the python source (especially
libs
).If the identifier doesn't appear, you have pretty high confidence the feature isn't implemented. (Since afaik you're not doing dynamic things.)
If it does appear, you can be mildly certain it is implemented.
You could probably hack an initial version with a regex and a pile of greps. Unless you have a varlink schema library lying around.
Yep I agree it can be a first version quickly released, however, we still don't check if defined and implemented signatures and we risk to face this kind of issue #64, so we need to move further in a second time to cover this part too.
from python-podman.
I think we should have a discussion on these features. I love seeing python-podman further develop.
We need to coordinate with the APIv2 work that is going on in Podman.
https://github.com/containers/libpod/tree/apiv2
The bottom line we are moving away from varlink to a similar Protocol to the Docker.API.
Thanks Daniel for the heads up, I will take a look to the APIv2 to avoid to spend time on something who will be deprecated in the next releases.
from python-podman.
See my proposed changes #71
from python-podman.
Related Issues (20)
- How to use push args using SDK HOT 2
- 'org.varlink.service.InvalidParameter' error while using Push function HOT 3
- Call host podman inside a container but encounter `Connection refused` error HOT 11
- "endpoint requires a more connection" HOT 2
- No option to publish ports on pod HOT 6
- Cannot create container from untagged image
- [Questions] related to the varlink server address format
- Multiple Volumes not reported HOT 2
- Container Exec HOT 1
- containers.list() gathers too much data HOT 5
- Push image with options tls-verify=false
- Is there an API documentation? HOT 2
- Images.build incorrectly uses os.walk
- README.MD should have note about V2 changes
- release date for new podman 1.6.1 pypi ? - with the exec method included in the libs/containers.py module HOT 2
- Libary calls do not work HOT 3
- [feature] allow lambda to run with podman instead of docker
- [Help] Can't start created container: executable file not found in $PATH HOT 1
- history() doesn't work
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 python-podman.