link

package
v1.0.0-alpha-21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 17, 2016 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerError

type ContainerError struct {
	ContainerPath string
	Error         error
}

ContainerError struct

type Errors

type Errors struct {
	List []ContainerError
}

Errors list

func (Errors) Error

func (le Errors) Error() string
type Link struct {
	Project       *projects.Project
	Container     *containers.Container
	ContainerPath string
}

Link holds the information of container to be linked

func New

func New(project *projects.Project, dir string) (*Link, error)

New Container link

type Machine

type Machine struct {
	Project     *projects.Project
	Links       []*Link
	ProjectPath string
	Errors      *Errors
	FErrStream  io.Writer
	ErrorsMutex sync.Mutex

	Watcher *list.Watcher
	// contains filtered or unexported fields
}

Machine structure

func (*Machine) Run

func (m *Machine) Run()

Run links the containers of the list input

func (*Machine) Setup

func (m *Machine) Setup(projectPath string, list []string) error

Setup prepares a project / container for linking

func (*Machine) Watch

func (m *Machine) Watch()

Watch changes due to linking

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL