Documentation
¶
Index ¶
Constants ¶
View Source
const ( SSHMode uint8 = iota HTTPMode )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloneService ¶
type CloneService struct {
// contains filtered or unexported fields
}
func NewCloneService ¶
func NewCloneService(project ports.GitlabProjectRepository, group ports.GitlabGroupRepository, git ports.GitRepository, storage ports.StorageRepository, opts ...OptionsFunc) (CloneService, error)
func (CloneService) CloneAll ¶
func (s CloneService) CloneAll() error
func (CloneService) CloneProject ¶
func (s CloneService) CloneProject(project string) error
func (CloneService) CloneProjectsFromGroup ¶
func (s CloneService) CloneProjectsFromGroup(group string) error
type OptionsFunc ¶
type OptionsFunc func(*CloneService)
func WithBasePath ¶
func WithBasePath(p string) OptionsFunc
func WithDir ¶
func WithDir(d string) OptionsFunc
func WithMode ¶
func WithMode(m uint8) OptionsFunc
func WithUseNamespacePath ¶
func WithUseNamespacePath() OptionsFunc
Click to show internal directories.
Click to hide internal directories.