Documentation
¶
Index ¶
Constants ¶
View Source
const ( BranchMaster = "master" BranchProtected = "protected" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Contributor ¶
type Maintainer ¶
type RepoAdmin ¶
type RepoAdmin struct { Repo []string `json:"repo, omitempty"` Admins []Admin `json:"admins, omitempty"` Committers []Committer `json:"committers, omitempty"` Contributors []Contributor `json:"contributor, omitempty"` }
type RepoBranch ¶
type RepoMember ¶
type RepoOwners ¶
type RepoOwners struct { Maintainers []string `json:"maintainers,omitempty"` // contains filtered or unexported fields }
func (*RepoOwners) GetOwners ¶
func (r *RepoOwners) GetOwners() []string
func (*RepoOwners) Validate ¶
func (r *RepoOwners) Validate() error
type Repos ¶
type Repos struct { Version string `json:"version,omitempty"` Community string `json:"community" required:"true"` Repositories []Repository `json:"repositories,omitempty"` // contains filtered or unexported fields }
func (*Repos) GetCommunity ¶
func (*Repos) GetRepos ¶
func (r *Repos) GetRepos() map[string]*Repository
type Repository ¶
type Repository struct { Name string `json:"name" required:"true"` Type string `json:"type" required:"true"` RenameFrom string `json:"rename_from,omitempty"` Description string `json:"description,omitempty"` Commentable bool `json:"commentable,omitempty"` ProtectedBranches []string `json:"protected_branches,omitempty"` Branches []RepoBranch `json:"branches,omitempty"` RepoMember }
func (*Repository) IsPrivate ¶
func (r *Repository) IsPrivate() bool
func (*Repository) Validate ¶
func (r *Repository) Validate() error
type Sig ¶
type SigInfos ¶
type SigInfos struct { Name string `json:"name, omitempty"` Description string `json:"description, omitempty"` MailingList string `json:"mailing_list, omitempty"` MeetingUrl string `json:"meeting_url, omitempty"` MatureLevel string `json:"mature_level, omitempty"` Mentors []Mentor `json:"mentors, omitempty"` Maintainers []Maintainer `json:"maintainers, omitempty"` Repositories []RepoAdmin `json:"repositories, omitempty"` // contains filtered or unexported fields }
func (*SigInfos) GetRepoAdditionalOwners ¶
func (*SigInfos) GetRepoAdmin ¶
func (*SigInfos) GetRepoOwners ¶
Click to show internal directories.
Click to hide internal directories.