package links

import "github.com/docker/docker/links"

Index

Types

type Link struct {
	ParentIP         string
	ChildIP          string
	Name             string
	ChildEnvironment []string
	Ports            []nat.Port
	IsEnabled        bool
	// contains filtered or unexported fields
}
func NewLink(parentIP, childIP, name string, env []string, exposedPorts map[nat.Port]struct{}, eng *engine.Engine) (*Link, error)

func (*Link) Alias

func (l *Link) Alias() string

func (*Link) Disable

func (l *Link) Disable()

func (*Link) Enable

func (l *Link) Enable() error

func (*Link) ToEnv

func (l *Link) ToEnv() []string

Source Files

links.go

Version
v1.0.0
Published
Jun 8, 2014
Platform
js/wasm
Imports
5 packages
Last checked
1 minute ago

Tools for package owners.