Documentation ¶
Overview ¶
Package git implements the git connector used to fetch components repositories.
It is basically an implementation of the interface "scmHandler" in "github.com/ekara-platform/engine/component/scm"
Index ¶
- type GitScmHandler
- func (gitScm GitScmHandler) Fetch(repository model.Repository, path string, auth model.Parameters) error
- func (gitScm GitScmHandler) Matches(repository model.Repository, path string) bool
- func (gitScm GitScmHandler) Switch(path string, ref string) error
- func (gitScm GitScmHandler) Update(path string, auth model.Parameters) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitScmHandler ¶
GitScmHandler Represents the scm connector allowing to fecth GIT repositories.
It implements "github.com/ekara-platform/engine/component/scm.scmHandler
func (GitScmHandler) Fetch ¶
func (gitScm GitScmHandler) Fetch(repository model.Repository, path string, auth model.Parameters) error
Fetch implements "github.com/ekara-platform/engine/component/scm.scmHandler
func (GitScmHandler) Matches ¶
func (gitScm GitScmHandler) Matches(repository model.Repository, path string) bool
Matches implements "github.com/ekara-platform/engine/component/scm.scmHandler
func (GitScmHandler) Switch ¶
func (gitScm GitScmHandler) Switch(path string, ref string) error
Switch implements "github.com/ekara-platform/engine/component/scm.scmHandler
func (GitScmHandler) Update ¶
func (gitScm GitScmHandler) Update(path string, auth model.Parameters) error
Update implements "github.com/ekara-platform/engine/component/scm.scmHandler