Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CLIGitClient ¶
type CLIGitClient struct{}
func (*CLIGitClient) Clone ¶
func (client *CLIGitClient) Clone(baseFolder string, outputFolder string, remote string) error
func (*CLIGitClient) FetchAll ¶
func (client *CLIGitClient) FetchAll(repoFolder string) error
type EmbeddedGitClient ¶
type EmbeddedGitClient struct {
Auth transport.AuthMethod
}
func (*EmbeddedGitClient) Clone ¶
func (client *EmbeddedGitClient) Clone(baseFolder string, outFolder string, remote string) error
func (*EmbeddedGitClient) FetchAll ¶
func (client *EmbeddedGitClient) FetchAll(repoFolder string) error
type FetchResult ¶
type GitClient ¶
type GitClient interface { Clone(baseFolder string, outputFolder string, remote string) error FetchAll(repoFolder string) error HardReset(repoFolder string, commit string) error }
func GetGitClient ¶
func GetGitClient() GitClient
func NewCLIGitClient ¶
func NewCLIGitClient() GitClient
func NewEmbeddedGitClient ¶
func NewEmbeddedGitClient(auth transport.AuthMethod) GitClient
type RepositoryFetcher ¶
type RepositoryFetcher interface {
Fetch(baseFolder string) (*FetchResult, []error)
}
type RepositoryFetcherImpl ¶
type RepositoryFetcherImpl struct {
// contains filtered or unexported fields
}
func NewRepositoryFetcher ¶
func NewRepositoryFetcher(gitClient GitClient) *RepositoryFetcherImpl
func (*RepositoryFetcherImpl) Fetch ¶
func (fetcher *RepositoryFetcherImpl) Fetch(baseFolder string) (*FetchResult, []error)
Click to show internal directories.
Click to hide internal directories.