github

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL