mirror of
https://github.com/containers/podman.git
synced 2025-08-06 19:44:14 +08:00

When inspecting containers, info on CNI networks added to the container by name (e.g. --net=name1) should be displayed separately from the configuration of the default network, in a separate map called Networks. This patch adds this separation, improving our Docker compatibility and also adding the ability to see if a container has more than one IPv4 and IPv6 address and more than one MAC address. Fixes #4907 Signed-off-by: Matthew Heon <matthew.heon@pm.me>
26 lines
594 B
Go
26 lines
594 B
Go
// +build !linux
|
|
|
|
package libpod
|
|
|
|
import "github.com/containers/libpod/libpod/define"
|
|
|
|
func (r *Runtime) setupRootlessNetNS(ctr *Container) (err error) {
|
|
return define.ErrNotImplemented
|
|
}
|
|
|
|
func (r *Runtime) setupNetNS(ctr *Container) (err error) {
|
|
return define.ErrNotImplemented
|
|
}
|
|
|
|
func (r *Runtime) teardownNetNS(ctr *Container) error {
|
|
return define.ErrNotImplemented
|
|
}
|
|
|
|
func (r *Runtime) createNetNS(ctr *Container) (err error) {
|
|
return define.ErrNotImplemented
|
|
}
|
|
|
|
func (c *Container) getContainerNetworkInfo() (*InspectNetworkSettings, error) {
|
|
return nil, define.ErrNotImplemented
|
|
}
|