package links
import "github.com/docker/docker/links"
Index ¶
Types ¶
type Link ¶
type Link struct { ParentIP string ChildIP string Name string ChildEnvironment []string Ports []nat.Port IsEnabled bool }
func NewLink ¶
func NewLink(parentIP, childIP, name string, env []string, exposedPorts map[nat.Port]struct{}) (*Link, error)
func (*Link) Alias ¶
func (*Link) Disable ¶
func (l *Link) Disable()
func (*Link) Enable ¶
func (*Link) ToEnv ¶
Source Files ¶
- Version
- v1.7.0
- Published
- Jun 18, 2015
- Platform
- js/wasm
- Imports
- 4 packages
- Last checked
- 2 minutes ago –
Tools for package owners.