Versions in this module Expand all Collapse all v0 v0.1.1 Mar 31, 2016 v0.1.0 Nov 30, 2015 Changes in this version + func Debug(i ...interface{}) + func DirExists(path string) bool + func GetAssetString(aciAsset, localAsset string) string + func GetBinaryName(binDir, useBinary string) (string, error) + func GetVCSInfo(projPath string) (string, string, error) + func Info(i ...interface{}) + func InitDebug() + func PrepareAssets(assets []string, rootfs string, placeholderMapping map[string]string) error + func RunCmd(args, env []string, cwd string) error + func RunCmdFull(execProg string, args, env []string, cwd string, stdout, stderr io.Writer) error + func Warn(i ...interface{}) + type Builder struct + func NewBuilder(custom BuilderCustomizations) *Builder + func (cmd *Builder) Name() string + func (cmd *Builder) Run() error + type BuilderCustomizations interface + GetAssets func(aciBinDir string) ([]string, error) + GetBinaryName func() (string, error) + GetCommonConfiguration func() *CommonConfiguration + GetCommonPaths func() *CommonPaths + GetDirectoriesToMake func() []string + GetImageFileName func() (string, error) + GetImageName func() (*types.ACIdentifier, error) + GetPlaceholderMapping func() map[string]string + GetRepoPath func() (string, error) + Name func() string + PrepareProject func() error + SetupPaths func() error + ValidateConfiguration func() error + type BzrInfo struct + func (info BzrInfo) GetLabelAndId(path string) (string, string, error) + func (info BzrInfo) IsValid(path string) bool + type CmakeConfiguration struct + BinDir string + CmakeParams []string + ReuseSrcDir string + type CmakeCustomizations struct + Configuration CmakeConfiguration + func (custom *CmakeCustomizations) GetAssets(aciBinDir string) ([]string, error) + func (custom *CmakeCustomizations) GetBinaryName() (string, error) + func (custom *CmakeCustomizations) GetCommonConfiguration() *CommonConfiguration + func (custom *CmakeCustomizations) GetCommonPaths() *CommonPaths + func (custom *CmakeCustomizations) GetDirectoriesToMake() []string + func (custom *CmakeCustomizations) GetImageFileName() (string, error) + func (custom *CmakeCustomizations) GetImageName() (*types.ACIdentifier, error) + func (custom *CmakeCustomizations) GetPlaceholderMapping() map[string]string + func (custom *CmakeCustomizations) GetRepoPath() (string, error) + func (custom *CmakeCustomizations) Name() string + func (custom *CmakeCustomizations) PrepareProject() error + func (custom *CmakeCustomizations) SetupPaths() error + func (custom *CmakeCustomizations) ValidateConfiguration() error + type CmakePaths struct + type CmdFailedError struct + Err error + func (e CmdFailedError) Error() string + type CmdNotFoundError struct + Err error + func (e CmdNotFoundError) Error() string + type CommonConfiguration struct + Assets []string + Exec []string + KeepTmpDir bool + Project string + ReuseTmpDir string + TmpDir string + UseBinary string + type CommonPaths struct + AciDir string + RootFS string + TmpDir string + type GitInfo struct + func (info GitInfo) GetLabelAndId(path string) (string, string, error) + func (info GitInfo) IsValid(path string) bool + type GoConfiguration struct + GoBinary string + GoPath string + type GoCustomizations struct + Configuration GoConfiguration + func (custom *GoCustomizations) GetAssets(aciBinDir string) ([]string, error) + func (custom *GoCustomizations) GetBinaryName() (string, error) + func (custom *GoCustomizations) GetCommonConfiguration() *CommonConfiguration + func (custom *GoCustomizations) GetCommonPaths() *CommonPaths + func (custom *GoCustomizations) GetDirectoriesToMake() []string + func (custom *GoCustomizations) GetImageFileName() (string, error) + func (custom *GoCustomizations) GetImageName() (*types.ACIdentifier, error) + func (custom *GoCustomizations) GetPlaceholderMapping() map[string]string + func (custom *GoCustomizations) GetRepoPath() (string, error) + func (custom *GoCustomizations) Name() string + func (custom *GoCustomizations) PrepareProject() error + func (custom *GoCustomizations) SetupPaths() error + func (custom *GoCustomizations) ValidateConfiguration() error + type GoPaths struct + type HgInfo struct + func (info HgInfo) GetLabelAndId(path string) (string, string, error) + func (info HgInfo) IsValid(path string) bool + type SvnInfo struct + func (info SvnInfo) GetLabelAndId(path string) (string, string, error) + func (info SvnInfo) IsValid(path string) bool + type VCSInfo interface + GetLabelAndId func(path string) (string, string, error) + IsValid func(path string) bool