Documentation
¶
Index ¶
- func ChannelMerger(output chan<- interface{}, inputs ...<-chan interface{})
- func GetGithubItemsFromCfg(cfg Config) ([]Group, []Project, []string)
- func GetGitlabItemsFromCfg(cfg Config) ([]Group, []Project, []string)
- type Config
- type GithubOrgGroup
- type GithubTeamGroup
- type GithubUserGroup
- type GitlabGroup
- type Group
- type Manager
- type Project
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChannelMerger ¶
func ChannelMerger(output chan<- interface{}, inputs ...<-chan interface{})
ChannelMerger merges the output of n channel into one
Types ¶
type Config ¶
type Config struct {
Github []githubConfig `yaml:"github"`
Gitlab []gitlabConfig `yaml:"gitlab"`
Anon anonConfig `yaml:"anon"`
}
type GithubOrgGroup ¶
func (*GithubOrgGroup) GetGroups ¶
func (g *GithubOrgGroup) GetGroups() []Group
func (*GithubOrgGroup) GetProjects ¶
func (g *GithubOrgGroup) GetProjects() []Project
type GithubTeamGroup ¶
type GithubTeamGroup struct {
Client *github.Client
Org string
Name string
Location string
Token string
}
func (*GithubTeamGroup) GetGroups ¶
func (g *GithubTeamGroup) GetGroups() []Group
func (*GithubTeamGroup) GetProjects ¶
func (g *GithubTeamGroup) GetProjects() []Project
type GithubUserGroup ¶
func (*GithubUserGroup) GetGroups ¶
func (g *GithubUserGroup) GetGroups() []Group
func (*GithubUserGroup) GetProjects ¶
func (g *GithubUserGroup) GetProjects() []Project
type GitlabGroup ¶
type GitlabGroup struct {
Client *gitlab.Client
Token string
RootFullPath string
Location string
ID int
}
func (*GitlabGroup) GetGroups ¶
func (g *GitlabGroup) GetGroups() []Group
func (*GitlabGroup) GetProjects ¶
func (g *GitlabGroup) GetProjects() []Project
Click to show internal directories.
Click to hide internal directories.