Home
last modified time | relevance | path

Searched refs:httpmock (Results 1 – 25 of 246) sorted by last modified time

12345678910

/dports/security/lego/
H A D.license-catalog.mk5 …df_GH0.tar.gz infobloxopen-infoblox-go-client-v1.1.1_GH0.tar.gz jarcoal-httpmock-v1.0.6_GH0.tar.gz…
/dports/dns/rdap/
H A D.license-catalog.mk5 …go-spew-v1.1.1_GH0.tar.gz golang-crypto-4def268fd1a4_GH0.tar.gz jarcoal-httpmock-v1.0.4_GH0.tar.gz…
/dports/devel/git-town/
H A D.license-catalog.mk5 …n-v1.2.0_GH0.tar.gz inconshreveable-mousetrap-v1.0.0_GH0.tar.gz jarcoal-httpmock-61bcb58a0752_GH0.…
/dports/www/gitea/gitea-1.16.5/
H A Dgo.sum955 github.com/jarcoal/httpmock v0.0.0-20180424175123-9c70cfe4a1da/go.mod h1:ks+b9deReOc7jgqp+e7LuFiCBH…
956 github.com/jarcoal/httpmock v1.0.5/go.mod h1:ATjnClrvW/3tijVmpL/va5Z3aAyGvqU3gCT8nX0Txik=
/dports/net/traefik/traefik-2.6.1/vendor/github.com/go-resty/resty/v2/
H A DREADME.md66 * Easily mock Resty for testing, [for e.g.](#mocking-http-requests-using-httpmock-library)
777 #### Mocking http requests using [httpmock](https://github.com/jarcoal/httpmock) library
780 could use the `httpmock` library.
789 httpmock.ActivateNonDefault(client.GetClient())
792 …p requests using ginko could be found [here](https://github.com/jarcoal/httpmock#ginkgo--resty-exa…
/dports/net/traefik/traefik-2.6.1/vendor/github.com/exoscale/egoscale/
H A Dgo.mod7 github.com/jarcoal/httpmock v1.0.6
H A Dgo.sum17 github.com/jarcoal/httpmock v1.0.6 h1:e81vOSexXU3mJuJ4l//geOmKIt+Vkxerk1feQBC8D0g=
18 github.com/jarcoal/httpmock v1.0.6/go.mod h1:ATjnClrvW/3tijVmpL/va5Z3aAyGvqU3gCT8nX0Txik=
/dports/net/traefik/traefik-2.6.1/vendor/github.com/exoscale/egoscale/v2/internal/public-api/
H A Dmock.go12 *httpmock.MockTransport
19 c.MockTransport = httpmock.NewMockTransport()
/dports/net/traefik/traefik-2.6.1/vendor/github.com/jarcoal/httpmock/
H A Ddoc.go81 package httpmock package
H A Dgo.mod1 module github.com/jarcoal/httpmock
H A Dresponse.go1 package httpmock package
H A Dtransport.go1 package httpmock package
H A D.travis.yml2 go_import_path: github.com/jarcoal/httpmock
H A Denv.go1 package httpmock package
H A DREADME.md1httpmock [![Build Status](https://travis-ci.org/jarcoal/httpmock.png?branch=v1)](https://travis-ci…
68 httpmock.Activate()
83 httpmock.GetTotalCallCount()
96 httpmock.Activate()
170 "github.com/jarcoal/httpmock"
175 httpmock.Activate()
180 httpmock.Reset()
184 httpmock.DeactivateAndReset()
192 "github.com/jarcoal/httpmock"
211 "github.com/jarcoal/httpmock"
[all …]
/dports/net/traefik/traefik-2.6.1/
H A Dgo.sum1005 github.com/jarcoal/httpmock v0.0.0-20180424175123-9c70cfe4a1da/go.mod h1:ks+b9deReOc7jgqp+e7LuFiCBH…
1006 github.com/jarcoal/httpmock v1.0.5/go.mod h1:ATjnClrvW/3tijVmpL/va5Z3aAyGvqU3gCT8nX0Txik=
1007 github.com/jarcoal/httpmock v1.0.6 h1:e81vOSexXU3mJuJ4l//geOmKIt+Vkxerk1feQBC8D0g=
1008 github.com/jarcoal/httpmock v1.0.6/go.mod h1:ATjnClrvW/3tijVmpL/va5Z3aAyGvqU3gCT8nX0Txik=
/dports/www/grafana8/grafana-8.3.6/
H A Dgo.sum1476 github.com/jarcoal/httpmock v0.0.0-20180424175123-9c70cfe4a1da/go.mod h1:ks+b9deReOc7jgqp+e7LuFiCBH…
/dports/devel/gh/cli-2.4.0/api/
H A Dqueries_repo_test.go14 httpReg := &httpmock.Registry{}
35 http := &httpmock.Registry{}
49 httpmock.StringResponse(`
60 httpmock.StringResponse(`
72 httpmock.StringResponse(`
83 httpmock.StringResponse(`
94 httpmock.StringResponse(`
104 httpmock.StringResponse(`
184 http := &httpmock.Registry{}
191 httpmock.StringResponse(`
[all …]
/dports/devel/gh/cli-2.4.0/pkg/cmd/auth/shared/
H A Doauth_scopes_test.go52 fakehttp := &httpmock.Registry{}
56 fakehttp.Register(httpmock.REST("GET", ""), func(req *http.Request) (*http.Response, error) {
/dports/devel/gh/cli-2.4.0/pkg/cmd/extension/
H A Dcommand_test.go465 reg := httpmock.Registry{}
/dports/devel/gh/cli-2.4.0/pkg/cmd/pr/close/
H A Dclose_test.go97 http := &httpmock.Registry{}
106 httpmock.GraphQLMutation(`{"id": "THE-ID"}`,
119 http := &httpmock.Registry{}
134 http := &httpmock.Registry{}
143 httpmock.GraphQLMutation(`{"id": "THE-ID"}`,
150 httpmock.StringResponse(`{}`))
168 http := &httpmock.Registry{}
177 httpmock.GraphQLMutation(`{"id": "THE-ID"}`,
200 http := &httpmock.Registry{}
209 httpmock.GraphQLMutation(`{"id": "THE-ID"}`,
[all …]
/dports/devel/gh/cli-2.4.0/pkg/cmd/pr/create/
H A Dcreate_test.go222 return &httpmock.Registry{}
253 httpmock.StringResponse(`
262 httpmock.GraphQLMutation(`
271 httpmock.GraphQLMutation(`
339 httpmock.GraphQLMutation(`
376 httpmock.GraphQLMutation(`
420 httpmock.GraphQLMutation(`
651 httpmock.StringResponse(`
667 httpmock.StringResponse(`
678 httpmock.StringResponse(`
[all …]
/dports/devel/gh/cli-2.4.0/pkg/cmd/release/delete/
H A Ddelete_test.go132 fakeHTTP := &httpmock.Registry{}
133 …fakeHTTP.Register(httpmock.REST("GET", "repos/OWNER/REPO/releases/tags/v1.2.3"), httpmock.StringRe…
138 …fakeHTTP.Register(httpmock.REST("DELETE", "repos/OWNER/REPO/releases/23456"), httpmock.StatusStrin…
/dports/devel/gh/cli-2.4.0/pkg/cmd/release/download/
H A Ddownload_test.go252 fakeHTTP := &httpmock.Registry{}
253 …fakeHTTP.Register(httpmock.REST("GET", "repos/OWNER/REPO/releases/tags/v1.2.3"), httpmock.StringRe…
265 fakeHTTP.Register(httpmock.REST("GET", "assets/1234"), httpmock.StringResponse(`1234`))
266 fakeHTTP.Register(httpmock.REST("GET", "assets/3456"), httpmock.StringResponse(`3456`))
267 fakeHTTP.Register(httpmock.REST("GET", "assets/5678"), httpmock.StringResponse(`5678`))
270 httpmock.REST(
274 httpmock.WithHeader(
275 httpmock.StringResponse("somedata"), "content-disposition", "attachment; filename=tarball.tgz",
280 httpmock.REST(
284 httpmock.WithHeader(
[all …]
/dports/devel/gh/cli-2.4.0/pkg/cmd/release/view/
H A Dview_test.go193 fakeHTTP := &httpmock.Registry{}
194 fakeHTTP.Register(httpmock.REST("GET", path), httpmock.StringResponse(fmt.Sprintf(`{

12345678910