Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MockGithubRepositories = []*github.Repository{ { Owner: &github.User{ Login: &ownerName, }, Name: &repoName1, HTMLURL: &repoURL1, }, { Owner: &github.User{ Login: &ownerName, }, Name: &repoName2, HTMLURL: &repoURL2, }, { Owner: &github.User{ Login: &ownerName, }, Name: &repoName3, HTMLURL: &repoURL3, }, { Owner: &github.User{ Login: &ownerName, }, Name: &repoName4, HTMLURL: &repoURL4, Archived: &archivedFlag, }, }
Functions ¶
func ConfigureMockGithubClient ¶
func ConfigureMockGithubClient() auth.GithubClient
ConfigureMockGithubClient returns a valid GithubClient configured for testing purposes, complete with the mocked services
func GetMockGithubRepo ¶
func GetMockGithubRepo() *github.Repository
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.