Files
podman/libpod/networking_unsupported.go
Matthew Heon f9fc9a7b7b Add support for multiple CNI networks in podman inspect
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>
2020-02-25 13:20:25 -05:00

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
}