Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fork ¶ added in v1.4.0
type Fork struct { Api RepoFork ForkConfigs []*ForkConfig TaskRunner dd.TaskRunner Logger dd.LevelLogger }
Fork
type ForkConfig ¶
type GitlabApi ¶ added in v1.4.3
func NewGitlabApi ¶ added in v1.4.3
type GitlabConfig ¶ added in v1.4.2
type RepoFork ¶ added in v1.4.0
type RepoFork interface { RepoList Fork(r *Repo, group *string) (*Repo, error) Rename(r *Repo, name *string) (*Repo, error) Transfer(r *Repo, group *string) (*Repo, error) DeleteForkRelationship(r *Repo) (bool, error) }
RepoFork - represent a set of fork operations to fork any repositories
func NewGitlabFork ¶ added in v1.4.2
func NewGitlabFork(config *GitlabConfig) (RepoFork, error)
NewGitlabFork Helper function to create |RepoFork| gitlab implement
type RepoList ¶ added in v1.4.0
type RepoList 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) }
RepoList - represent a set of list operations of all repositories
func NewGitlabList ¶ added in v1.4.2
func NewGitlabList(config *GitlabConfig) (RepoList, error)
NewGitlabList Helper function to create |RepoList| gitlab implement
type Sync ¶ added in v1.4.0
type Sync struct { Api RepoList SyncConfig *SyncConfig Cwd *string TaskRunner dd.TaskRunner Logger dd.LevelLogger }
Sync
type SyncConfig ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.