Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitHubRepository ¶
type GitHubRepository struct {
// contains filtered or unexported fields
}
GitHubRepository is a wrapper around various services to abstract the list and save to repository from the caller
func NewRepository ¶
func NewRepository() *GitHubRepository
NewRepository returns the service wrapper
func (*GitHubRepository) GetLicenses ¶
func (ghr *GitHubRepository) GetLicenses(owner, repo string) (license.LicenseCheckResults, error)
GetLicenses returns the graphql license result or an error
func (*GitHubRepository) GetRepos ¶
func (ghr *GitHubRepository) GetRepos(org string) (gitrepos.Repos, error)
GetRepos return the Repos struct the dependant GetRepos in github has an issue with getting the foll data
func (*GitHubRepository) SaveLicenses ¶
func (ghr *GitHubRepository) SaveLicenses(res license.LicenseCheckResults) error
SaveLicenses abstracts licenses
Click to show internal directories.
Click to hide internal directories.