Versions in this module Expand all Collapse all v0 v0.0.3 May 6, 2015 v0.0.2 May 6, 2015 Changes in this version + const ConfigFilename + const TempDirName + func Add(dir, toolchainPath string, opt *AddOpt) error + func ChooseTool(op, unitType string) (*srclib.ToolRef, error) + func ListTools(op string) ([]*srclib.ToolRef, error) + func TempDir(toolchainPath string) (string, error) + type AddOpt struct + Force bool + type Config struct + Tools []*ToolInfo + type Info struct + ConfigFile string + Dir string + Dockerfile string + Path string + Program string + func Get(path string, update bool) (*Info, error) + func List() ([]*Info, error) + func Lookup(path string) (*Info, error) + func (t *Info) ReadConfig() (*Config, error) + type Mode uint + const AsDockerContainer + const AsProgram + func (m Mode) String() string + type Tool interface + Command func() (*exec.Cmd, error) + Run func(arg []string, input, resp interface{}) error + SetLogger func(l *log.Logger) + func OpenTool(toolchain, subcmd string, mode Mode) (Tool, error) + type ToolInfo struct + Op string + SourceUnitTypes []string + Subcmd string + type Toolchain interface + Build func() error + Command func() (*exec.Cmd, error) + IsBuilt func() (bool, error) + func Open(path string, mode Mode) (Toolchain, error)