Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Configuration ¶
type Configuration struct {
ReposPath string `long:"repos-path" description:"Path to the directory containing the repositories" required:"true" default:"tmp/repos"`
LFS *gitLFSConfiguration `flags-group:"git-lfs" namespace:"lfs"`
}
type RepoProvider ¶
type RepoProvider interface {
TrunkProvider
ViewProvider
}
RepoProvider Deprecated: RepoProvider in favour for executor.Executor (except when used in an executor.ExecuteFunc)
func FromConfigration ¶
func FromConfigration(cfg *Configuration) RepoProvider
func New ¶
func New(reposBasePath, lfsHostname string) RepoProvider
type TrunkProvider ¶
type TrunkProvider interface {
TrunkRepo(codebaseID string) (vcs.RepoWriter, error)
TrunkPath(codebaseID string) string
}
TrunkProvider Deprecated: TrunkProvider in favour for executor.Executor (except when used in an executor.ExecuteFunc)
type ViewProvider ¶
type ViewProvider interface {
ViewRepo(codebaseID, viewID string) (vcs.RepoWriter, error)
ViewPath(codebaseID, viewID string) string
}
ViewProvider Deprecated: ViewProvider in favour for executor.Executor (except when used in an executor.ExecuteFunc)
Click to show internal directories.
Click to hide internal directories.