Documentation
¶
Overview ¶
Package file implements the git connector used to fetch components from local repositories.
It is basically an implementation of the interface "scmHandler" in "github.com/ekara-platform/engine/component/scm"
Currently the local repositories are only used for testing purpose but later the should be used as part of an environment descriptor.
Index ¶
- type FileScmHandler
- func (fileScm FileScmHandler) Fetch(repository model.Repository, path string, auth model.Parameters) error
- func (fileScm FileScmHandler) Matches(repository model.Repository, path string) bool
- func (fileScm FileScmHandler) Switch(path string, ref string) error
- func (fileScm FileScmHandler) Update(path string, auth model.Parameters) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileScmHandler ¶
FileScmHandler Represents the scm connector allowing to fecth local repositories.
It implements "github.com/ekara-platform/engine/component/scm.scmHandler
func (FileScmHandler) Fetch ¶
func (fileScm FileScmHandler) Fetch(repository model.Repository, path string, auth model.Parameters) error
Fetch implements "github.com/ekara-platform/engine/component/scm.scmHandler
func (FileScmHandler) Matches ¶
func (fileScm FileScmHandler) Matches(repository model.Repository, path string) bool
Matches implements "github.com/ekara-platform/engine/component/scm.scmHandler
func (FileScmHandler) Switch ¶
func (fileScm FileScmHandler) Switch(path string, ref string) error
Switch implements "github.com/ekara-platform/engine/component/scm.scmHandler
func (FileScmHandler) Update ¶
func (fileScm FileScmHandler) Update(path string, auth model.Parameters) error
Update implements "github.com/ekara-platform/engine/component/scm.scmHandler