Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MockGithubRepositories = []*github.Repository{ &github.Repository{ Owner: &github.User{ Login: &ownerName, }, Name: &repoName1, HTMLURL: &repoURL1, }, &github.Repository{ Owner: &github.User{ Login: &ownerName, }, Name: &repoName2, HTMLURL: &repoURL2, }, &github.Repository{ Owner: &github.User{ Login: &ownerName, }, Name: &repoName3, HTMLURL: &repoURL3, }, }
Functions ¶
func ConfigureMockGithubClient ¶
func ConfigureMockGithubClient() auth.GithubClient
A convenience method to return 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.