Home
last modified time | relevance | path

Searched refs:mockAPI (Results 1 – 11 of 11) sorted by relevance

/dports/www/mattermost-server/mattermost-server-6.0.2/app/
H A Dplugin_hooks_test.go302 var mockAPI plugintest.API
304 mockAPI.On("LogDebug", "message").Return(nil)
388 var mockAPI plugintest.API
436 var mockAPI plugintest.API
483 var mockAPI plugintest.API
536 var mockAPI plugintest.API
595 var mockAPI plugintest.API
917 var mockAPI plugintest.API
1137 var mockAPI plugintest.API
1179 var mockAPI plugintest.API
[all …]
/dports/sysutils/consul/consul-1.10.3/api/
H A Dmock_api_test.go15 type mockAPI struct { struct
21 func setupMockAPI(t *testing.T) (*mockAPI, *Client) {
22 mapi := mockAPI{t: t}
38 func (m *mockAPI) ServeHTTP(w http.ResponseWriter, r *http.Request) { argument
61 func (m *mockAPI) static(method string, path string, body interface{}) *mock.Call { argument
65 func (m *mockAPI) withReply(method, path string, body interface{}, status int, reply interface{}) *… argument
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/hashicorp/consul/api/
H A Dmock_api_test.go15 type mockAPI struct { struct
21 func setupMockAPI(t *testing.T) (*mockAPI, *Client) {
22 mapi := mockAPI{t: t}
38 func (m *mockAPI) ServeHTTP(w http.ResponseWriter, r *http.Request) { argument
61 func (m *mockAPI) static(method string, path string, body interface{}) *mock.Call { argument
65 func (m *mockAPI) withReply(method, path string, body interface{}, status int, reply interface{}) *… argument
/dports/net-mgmt/prometheus2/prometheus-2.30.3/vendor/github.com/hashicorp/consul/api/
H A Dmock_api_test.go15 type mockAPI struct { struct
21 func setupMockAPI(t *testing.T) (*mockAPI, *Client) {
22 mapi := mockAPI{t: t}
38 func (m *mockAPI) ServeHTTP(w http.ResponseWriter, r *http.Request) { argument
61 func (m *mockAPI) static(method string, path string, body interface{}) *mock.Call { argument
65 func (m *mockAPI) withReply(method, path string, body interface{}, status int, reply interface{}) *… argument
/dports/audio/visp-go/visp-2585747/commands/
H A Dtest.go45 mockAPI := &api.MockAPI{}
49 Api: mockAPI,
50 MockAPI: mockAPI,
51 Cmd: New(verb, mockAPI),
/dports/devel/gh/cli-2.4.0/pkg/cmd/run/download/
H A Ddownload_test.go125 mockAPI func(*mockPlatform)
136 mockAPI: func(p *mockPlatform) {
165 mockAPI: func(p *mockPlatform) {
188 mockAPI: func(p *mockPlatform) {
212 mockAPI: func(p *mockPlatform) {
252 opts.Platform = newMockPlatform(t, tt.mockAPI)
/dports/security/keybase/client-v5.7.1/go/uidmap/
H A Dservicemap_test.go130 type mockAPI struct { struct
136 func (m *mockAPI) PostDecodeCtx(ctx context.Context, arg libkb.APIArg, resp libkb.APIResponseWrappe… argument
162 apiMock := &mockAPI{nil, t, results}
/dports/net-mgmt/promscale/promscale-0.6.2/vendor/github.com/prometheus/prometheus/cmd/promtool/
H A Drules_test.go37 func (mockAPI mockQueryRangeAPI) QueryRange(ctx context.Context, query string, r v1.Range) (model.V…
38 return mockAPI.samples, v1.Warnings{}, nil
/dports/net-mgmt/prometheus2/prometheus-2.30.3/cmd/promtool/
H A Drules_test.go37 func (mockAPI mockQueryRangeAPI) QueryRange(ctx context.Context, query string, r v1.Range) (model.V…
38 return mockAPI.samples, v1.Warnings{}, nil
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/prometheus/prometheus/cmd/promtool/
H A Drules_test.go37 func (mockAPI mockQueryRangeAPI) QueryRange(ctx context.Context, query string, r v1.Range) (model.V…
38 return mockAPI.samples, v1.Warnings{}, nil
/dports/net/cloudquery/cloudquery-0.16.0/vendor/github.com/aws/aws-sdk-go/aws/signer/v4/
H A Dv4_test.go751 `host:mockAPI.mock-region.amazonaws.com`,