Documentation ¶
Index ¶
- Variables
- type Authenticated
- type Git
- type GitURL
- type Maven
- func (r *Maven) CreateSettingsFile() (path string, err error)
- func (r *Maven) DeleteArtifacts(sourceDir string) (err error)
- func (r *Maven) Fetch(sourceDir string) (err error)
- func (r *Maven) FetchArtifact(artifact string) (err error)
- func (r *Maven) HasModules(sourceDir string) (found bool, err error)
- func (r *Maven) InstallArtifacts(sourceDir string) (err error)
- type SCM
- type Subversion
Constants ¶
This section is empty.
Variables ¶
View Source
var (
HomeDir = ""
)
Functions ¶
This section is empty.
Types ¶
type Authenticated ¶ added in v0.6.0
Authenticated repository.
type Git ¶
type Git struct { Authenticated Remote api.Repository Path string }
Git repository.
type Maven ¶
type Maven struct { Authenticated BinDir string M2Dir string }
Maven repository.
func (*Maven) CreateSettingsFile ¶ added in v0.3.0
CreateSettingsFile creates the maven settings.xml file Will exit with path and nil error if file exists already
func (*Maven) DeleteArtifacts ¶
DeleteArtifacts deletes application artifacts.
func (*Maven) FetchArtifact ¶
FetchArtifact fetches an application artifact.
func (*Maven) HasModules ¶
HasModules determines if the POM specifies modules.
func (*Maven) InstallArtifacts ¶
InstallArtifacts installs application artifacts.
type SCM ¶
type SCM interface { Validate() (err error) Fetch() (err error) Branch(name string) (err error) Commit(files []string, msg string) (err error) Head() (commit string, err error) }
SCM interface.
type Subversion ¶
type Subversion struct { Authenticated Remote api.Repository Path string }
Subversion repository.
func (*Subversion) Branch ¶
func (r *Subversion) Branch(name string) error
func (*Subversion) Commit ¶
func (r *Subversion) Commit(files []string, msg string) (err error)
Commit records changes to the repo and push to the server
func (*Subversion) Head ¶ added in v0.6.0
func (r *Subversion) Head() (commit string, err error)
Head returns latest commit.
Click to show internal directories.
Click to hide internal directories.