Versions in this module Expand all Collapse all v0 v0.11.0 May 18, 2018 Changes in this version + const GitHubURL + const TarSuffix + const Tarball + func RepoType() (msg.RepoType, error) + type Git struct + func NewGit() *Git + func (g *Git) CreateTag(name string) error + func (g *Git) Install(repository *msg.Package_Repository, version *msg.Package_Version, ...) (*common.PackageWrapper, error) + func (g *Git) LastCommitAuthorName() (string, error) + func (g *Git) LastCommitEmail() (string, error) + func (g *Git) LastCommitRevision() (string, error) + func (g *Git) RepositoryFileList() ([]string, error) + func (g *Git) RepositoryURL() (string, error) + func (g *Git) Test() error + func (g *Git) ValidateCommit(commit string) error + type GitHub struct + func NewGitHub() *GitHub + func (g *GitHub) Install(repository *msg.Package_Repository, version *msg.Package_Version, ...) (*common.PackageWrapper, error) + type Installer interface + Install func(repository *msg.Package_Repository, version *msg.Package_Version, ...) (*common.PackageWrapper, error) + func CreateInstaller(repository *msg.Package_Repository) (Installer, error) + type Mercurial struct + func NewMercurial() *Mercurial + func (m *Mercurial) CreateTag(name string) error + func (m *Mercurial) Install(repository *msg.Package_Repository, version *msg.Package_Version, ...) (*common.PackageWrapper, error) + func (m *Mercurial) LastCommitAuthorName() (string, error) + func (m *Mercurial) LastCommitEmail() (string, error) + func (m *Mercurial) LastCommitRevision() (string, error) + func (m *Mercurial) RepositoryFileList() ([]string, error) + func (m *Mercurial) RepositoryURL() (string, error) + func (m *Mercurial) Test() error + func (m *Mercurial) ValidateCommit(commit string) error + type Publisher interface + CreateTag func(name string) error + LastCommitAuthorName func() (string, error) + LastCommitEmail func() (string, error) + LastCommitRevision func() (string, error) + RepositoryFileList func() ([]string, error) + RepositoryURL func() (string, error) + Test func() error + ValidateCommit func(commit string) error + func CreatePublisher(repository *msg.Package_Repository) (Publisher, error)