Documentation
¶
Index ¶
- func MatchAny(*http.Request) bool
- func RepoNetworkStubForkResponse(forkFullName, parentFullName string) string
- func RepoNetworkStubResponse(owner, repo, defaultBranch, permission string) string
- type Matcher
- type Registry
- func (r *Registry) Register(m Matcher, resp Responder)
- func (r *Registry) RoundTrip(req *http.Request) (*http.Response, error)
- func (r *Registry) StubForkedRepoResponse(ownRepo, parentRepo string)
- func (r *Registry) StubRepoResponse(owner, repo string)
- func (r *Registry) StubRepoResponseWithDefaultBranch(owner, repo, defaultBranch string)
- func (r *Registry) StubRepoResponseWithPermission(owner, repo, permission string)
- func (r *Registry) StubResponse(status int, body io.Reader)
- func (r *Registry) StubWithFixture(status int, fixtureFileName string) func()
- func (r *Registry) Verify(t Testing)
- type Responder
- type Stub
- type Testing
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RepoNetworkStubResponse ¶
Types ¶
type Registry ¶
func (*Registry) StubForkedRepoResponse ¶
func (*Registry) StubRepoResponse ¶
func (*Registry) StubRepoResponseWithDefaultBranch ¶
func (*Registry) StubRepoResponseWithPermission ¶
func (*Registry) StubWithFixture ¶
type Responder ¶
func GraphQLMutation ¶
func GraphQLQuery ¶ added in v0.9.0
func JSONResponse ¶
func JSONResponse(body interface{}) Responder
func StringResponse ¶
Click to show internal directories.
Click to hide internal directories.