mirror of
https://github.com/moby/moby.git
synced 2026-07-16 20:42:23 +00:00
19 lines
376 B
Go
19 lines
376 B
Go
package portmapper
|
|
|
|
import "net"
|
|
|
|
func newMockProxyCommand(proto string, hostIP net.IP, hostPort int, containerIP net.IP, containerPort int, userlandProxyPath string) (userlandProxy, error) {
|
|
return &mockProxyCommand{}, nil
|
|
}
|
|
|
|
type mockProxyCommand struct {
|
|
}
|
|
|
|
func (p *mockProxyCommand) Start() error {
|
|
return nil
|
|
}
|
|
|
|
func (p *mockProxyCommand) Stop() error {
|
|
return nil
|
|
}
|