mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Added RemoveInterface support to sandbox.
Signed-off-by: Jana Radhakrishnan <mrjana@docker.com>
This commit is contained in:
parent
d96a409c6a
commit
f055e06f3a
2 changed files with 52 additions and 0 deletions
|
@ -23,6 +23,10 @@ type Sandbox interface {
|
|||
// interface according to the specified settings.
|
||||
AddInterface(*Interface) error
|
||||
|
||||
// Remove an interface from the sandbox by renamin to original name
|
||||
// and moving it out of the sandbox.
|
||||
RemoveInterface(*Interface) error
|
||||
|
||||
// Set default IPv4 gateway for the sandbox
|
||||
SetGateway(gw net.IP) error
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue