-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Network prune filters for http api (compat and libpod) #9710
Network prune filters for http api (compat and libpod) #9710
Conversation
0377f73
to
b76e051
Compare
It seems there is a timezone issue (maybe due to a time change in the USA):
|
The `libpod/network` package should only be used on the backend and not the client. The client used this package only for two functions so move them into a new `pkg/network` package. This is needed so we can put linux only code into `libpod/network`, see containers#9710. [NO TESTS NEEDED] Signed-off-by: Paul Holzinger <[email protected]>
Some packages used by the remote client imported the libpod package. This is not wanted because it adds unnecessary bloat to the client and also causes problems with platform specific code(linux only), see containers#9710. The solution is to move the used functions/variables into extra packages which do not import libpod. This change shrinks the remote client size more than 6MB compared to the current master. [NO TESTS NEEDED] I have no idea how to test this properly but with containers#9710 the cross compile should fail. Signed-off-by: Paul Holzinger <[email protected]>
0828547
to
b3d03d0
Compare
sys remote ubuntu-2004 root host fails because of some podman build issues. I think it is unrelated. I would be grateful if somebody with rights could re-run. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make sure to update the api docs in pkg/api/server/register_networks.go
.
Also squash your commits please.
Signed-off-by: Jakub Guzik <[email protected]>
b3d03d0
to
8ea02d0
Compare
Commits squashed and API docs updated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@containers/podman-maintainers PTAL |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jmguzik, Luap99, mheon The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/kind feature
Prune filters are missing not implemented in HTTP API. This PR tackles the topic in compat and libpod API.