/dports/security/lego/ |
H A D | .license-catalog.mk | 5 …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.mk | 5 …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.mk | 5 …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 D | go.sum | 955 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 D | README.md | 66 * 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 D | go.mod | 7 github.com/jarcoal/httpmock v1.0.6
|
H A D | go.sum | 17 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 D | mock.go | 12 *httpmock.MockTransport 19 c.MockTransport = httpmock.NewMockTransport()
|
/dports/net/traefik/traefik-2.6.1/vendor/github.com/jarcoal/httpmock/ |
H A D | doc.go | 81 package httpmock package
|
H A D | go.mod | 1 module github.com/jarcoal/httpmock
|
H A D | response.go | 1 package httpmock package
|
H A D | transport.go | 1 package httpmock package
|
H A D | .travis.yml | 2 go_import_path: github.com/jarcoal/httpmock
|
H A D | env.go | 1 package httpmock package
|
H A D | README.md | 1 …httpmock [![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 D | go.sum | 1005 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 D | go.sum | 1476 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 D | queries_repo_test.go | 14 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 D | oauth_scopes_test.go | 52 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 D | command_test.go | 465 reg := httpmock.Registry{}
|
/dports/devel/gh/cli-2.4.0/pkg/cmd/pr/close/ |
H A D | close_test.go | 97 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 D | create_test.go | 222 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 D | delete_test.go | 132 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 D | download_test.go | 252 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 D | view_test.go | 193 fakeHTTP := &httpmock.Registry{} 194 fakeHTTP.Register(httpmock.REST("GET", path), httpmock.StringResponse(fmt.Sprintf(`{
|