Initial commit
This commit is contained in:
22
vendor/github.com/hyperhq/hypercli/daemon/network/settings.go
generated
vendored
Normal file
22
vendor/github.com/hyperhq/hypercli/daemon/network/settings.go
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
package network
|
||||
|
||||
import (
|
||||
networktypes "github.com/docker/engine-api/types/network"
|
||||
"github.com/docker/go-connections/nat"
|
||||
)
|
||||
|
||||
// Settings stores configuration details about the daemon network config
|
||||
// TODO Windows. Many of these fields can be factored out.,
|
||||
type Settings struct {
|
||||
Bridge string
|
||||
SandboxID string
|
||||
HairpinMode bool
|
||||
LinkLocalIPv6Address string
|
||||
LinkLocalIPv6PrefixLen int
|
||||
Networks map[string]*networktypes.EndpointSettings
|
||||
Ports nat.PortMap
|
||||
SandboxKey string
|
||||
SecondaryIPAddresses []networktypes.Address
|
||||
SecondaryIPv6Addresses []networktypes.Address
|
||||
IsAnonymousEndpoint bool
|
||||
}
|
||||
Reference in New Issue
Block a user