{"modulePath":"github.com/unmango/thecluster-operator","version":"v0.1.4","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package githubtest\n\nPackage githubtest is an in-memory stand-in for the parts of GitHub's API that package github calls.\n\n## Functions\n\n```go\nfunc Repo(owner, name string) *github.Repository\n```\nRepo is a repository owned by owner.\n\n## Types\n\n```go\ntype Server struct {\n\t*httptest.Server\n\n\tMu sync.Mutex\n\t// Token is the personal access token /user/repos accepts.\n\tToken string\n\t// AppKey verifies the JWTs an App signs, and Installation is the one\n\t// installation it may get a token for.\n\tAppKey       *rsa.PublicKey\n\tInstallation string\n\t// Repositories are what both listings return, in pages.\n\tRepositories []*github.Repository\n}\n```\nServer is a fake GitHub. Its fields may be read and changed between requests while holding Mu.\n\n```go\nfunc New(token string) *Server\n```\nNew starts a fake GitHub that accepts token.\n\n","path":"github.com/unmango/thecluster-operator/internal/github/githubtest","name":"githubtest","synopsis":"Package githubtest is an in-memory stand-in for the parts of GitHub's API that package github calls.","isRedistributable":true}
