Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ForkConfig ¶
type Forker ¶
type Forker struct { Api RepoForker ForkConfigs []*ForkConfig TaskRunner dd.TaskRunner Logger dd.LevelLogger }
Forker
type RepoForker ¶
type RepoForker interface { RepoListor Fork(r *Repo, group *string) (*Repo, error) Rename(r *Repo, name *string) (*Repo, error) Transfer(r *Repo, group *string) (*Repo, error) }
RepoForker represent a forker to fork any repositories
type RepoListor ¶
type RepoListor interface { Projects() []*Repo // ProjectsByGroup: List project by group name prefix match ProjectsByGroup(group *string) ([]*Repo, error) // Project: Filter target project by specific group and name Project(group, name *string) (*Repo, error) }
RepoListor represent a listor of all repositories
type SyncConfig ¶
type Syncer ¶
type Syncer struct { Api RepoListor SyncConfig *SyncConfig Cwd *string TaskRunner dd.TaskRunner Logger dd.LevelLogger }
Syncer
Click to show internal directories.
Click to hide internal directories.