Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FetchOrgRepos ¶
func FetchOrgRepos(org GithubOrgConfig) (out []repos.RepoDetails, err error)
FetchOrgRepos creates a slice of RepoDetails types representing the repos owned by the specified teams in the Github org
Types ¶
type GithubOrgConfig ¶ added in v0.3.0
type GithubOrgConfig struct {
Org string `mapstructure:"org"`
Teams []string `mapstructure:"teams"`
IgnoredRepos []string `mapstructure:"ignores"`
}
GithubOrgConfig contains fields used in releasegen's config.yaml file to configure its behaviour when generating reports about Github repositories
type Repository ¶ added in v0.3.0
type Repository struct {
Details repos.RepoDetails
// contains filtered or unexported fields
}
Repository represents a single Github Repository
func (*Repository) IsArchived ¶ added in v0.3.0
func (r *Repository) IsArchived() bool
IsArchived indicates whether or not the repository is marked as archived on Github.
func (*Repository) Process ¶ added in v0.3.0
func (r *Repository) Process() error
Process populates the Repository with details of its releases, and commits
Click to show internal directories.
Click to hide internal directories.