1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Windows: Remove TP4 support from main code

Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
John Howard 2016-04-06 12:01:29 -07:00
parent 40ccb7114e
commit 331c8a86d4
11 changed files with 16 additions and 261 deletions

View file

@ -4,11 +4,7 @@ package windowsoci
// writing, Windows does not have a spec defined in opencontainers/specs,
// hence this is an interim workaround. TODO Windows: FIXME @jhowardmsft
import (
"fmt"
"github.com/docker/go-connections/nat"
)
import "fmt"
// WindowsSpec is the full specification for Windows containers.
type WindowsSpec struct {
@ -113,15 +109,6 @@ type HvRuntime struct {
// Networking contains the platform specific network settings for the container
type Networking struct {
// TODO Windows TP5. The following three fields are for 'legacy' non-
// libnetwork networking through HCS. They can be removed once TP4 is
// no longer supported. Also remove in libcontainerd\client_windows.go,
// function Create(), and in daemon\oci_windows.go, function CreateSpec()
MacAddress string `json:"mac,omitempty"`
Bridge string `json:"bridge,omitempty"`
PortBindings nat.PortMap `json:"port_bindings,omitempty"`
// End of TODO Windows TP5.
// List of endpoints to be attached to the container
EndpointList []string `json:"endpoints,omitempty"`
}