Versions in this module Expand all Collapse all v0 v0.0.2 Jan 27, 2022 Changes in this version + func LoadConfig(path string) (map[string]Repo, error) + type Collaborator struct + Login *string + Name *string + Permissions map[string]bool + type GithubOrg struct + func GetClient(accessToken string, organization string) GithubOrg + func (org GithubOrg) GetOutOfSyncRepos() ([]Repo, error) + func (org GithubOrg) GetRepo(reponame string) (*Repo, error) + func (org GithubOrg) GetRepos() ([]*Repo, error) + func (org GithubOrg) GetRepositories() ([]*github.Repository, error) + func (org GithubOrg) GetRepository(reponame string) (*github.Repository, error) + func (org GithubOrg) ListCollaborators(repo string) ([]*Collaborator, error) + func (org GithubOrg) ListTeams(repo string) ([]*Team, error) + func (org GithubOrg) Sync(repo *github.Repository) error + func (org GithubOrg) SyncTopics(repo *github.Repository) error + type JsonRepo struct + Name string + type Repo struct + AllowAutoMerge *bool + AllowMergeCommit *bool + AllowRebaseMerge *bool + AllowSquashMerge *bool + Archived *bool + AutoInit *bool + Collaborators []*Collaborator + DefaultBranch *string + DeleteBranchOnMerge *bool + Description *string + Disabled *bool + GitignoreTemplate *string + HasIssues *bool + HasProjects *bool + HasWiki *bool + Homepage *string + IsTemplate *bool + LicenseTemplate *string + Name *string + Private *bool + TeamID *int64 + Teams []*Team + Topics []string + Visibility *string + func RepositoryToRepo(repo *github.Repository) *Repo + func (r Repo) InSync(org GithubOrg) (bool, *github.Repository, error) + func (r Repo) Reconcile(org GithubOrg) error + func (r Repo) String() string + type Team struct + ID *int64 + Name *string + Permission *string + Slug *string