podman/libpod/networking_unsupported.go
W. Trevor King cad28cc2d3 libpod/networking_unsupported: Remove JoinNetworkNameSpace
This function was added in cc6f0e85 (more changes to compile darwin,
2018-07-04, #1047), but it has no consumers and no Linux analog.
Remove it, which also fixes the [1]:

  libpod/networking_unsupported.go:9:1⚠️ exported function
  JoinNetworkNameSpace should have comment or be unexported (golint)

lint issue.

[1]: https://travis-ci.org/projectatomic/libpod/jobs/400555937#L158

Signed-off-by: W. Trevor King <wking@tremily.us>

Closes: #1034
Approved by: baude
2018-07-06 00:48:39 +00:00

24 lines
481 B
Go

// +build !linux
package libpod
import (
"github.com/projectatomic/libpod/pkg/inspect"
)
func (r *Runtime) setupNetNS(ctr *Container) (err error) {
return ErrNotImplemented
}
func (r *Runtime) teardownNetNS(ctr *Container) error {
return ErrNotImplemented
}
func (r *Runtime) createNetNS(ctr *Container) (err error) {
return ErrNotImplemented
}
func (c *Container) getContainerNetworkInfo(data *inspect.ContainerInspectData) *inspect.ContainerInspectData {
return nil
}