- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for withFts (0.13 sec)
-
pilot/pkg/networking/core/route/retry/retry_test.go
testCases := []struct { name string route *networking.HTTPRoute assertFunc func(g *WithT, policy *envoyroute.RetryPolicy) }{ { name: "TestNilRetryShouldReturnDefault", // Create a route where no retry policy has been explicitly set. route: &networking.HTTPRoute{}, assertFunc: func(g *WithT, policy *envoyroute.RetryPolicy) { g.Expect(policy).To(Not(BeNil()))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 14:12:39 UTC 2024 - 7.7K bytes - Viewed (0) -
manifests/addons/dashboards/lib/dashboard.libsonnet
{ new(name): g.dashboard.new(name) + g.dashboard.graphTooltip.withSharedCrosshair() + g.dashboard.withRefresh('15s') + g.dashboard.time.withFrom('now-30m') + g.dashboard.time.withTo('now') + g.dashboard.withVariables([variables.datasource]),
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 20:46:28 UTC 2024 - 354 bytes - Viewed (0) -
pilot/pkg/simulation/traffic.go
} // withT swaps out the testing struct. This allows executing sub tests. func (sim *Simulation) withT(t *testing.T) *Simulation { cpy := *sim cpy.t = t return &cpy } func (sim *Simulation) RunExpectations(es []Expect) { for _, e := range es { sim.t.Run(e.Name, func(t *testing.T) { sim.withT(t).Run(e.Call).Matches(t, e.Result) }) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 19.4K bytes - Viewed (0) -
src/net/http/transport_internal_test.go
c, err := ln.Accept() if err != nil { t.Error(err) return } connc <- c }() tr := new(Transport) req, _ := NewRequest("GET", "http://"+ln.Addr().String(), nil) req = req.WithT(t) ctx, cancel := context.WithCancelCause(context.Background()) treq := &transportRequest{Request: req, ctx: ctx, cancel: cancel} cm := connectMethod{targetScheme: "http", targetAddr: ln.Addr().String()}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 15:57:17 UTC 2024 - 6.2K bytes - Viewed (0) -
src/net/http/export_test.go
states := map[ConnState]int{} s.mu.Lock() defer s.mu.Unlock() for c := range s.activeConn { st, _ := c.getState() states[st] += 1 } return states } func (r *Request) WithT(t *testing.T) *Request { return r.WithContext(context.WithValue(r.Context(), tLogKey{}, t.Logf)) } func ExportSetH2GoawayTimeout(d time.Duration) (restore func()) { old := http2goAwayTimeout
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 17 21:11:57 UTC 2024 - 8.7K bytes - Viewed (0) -
operator/cmd/mesh/manifest-generate_test.go
testResourceFile := "duplicate_mwc" testCases := []struct { name string force bool assertFunc func(g *WithT, objs *ObjectSet, err error) }{ { name: "Duplicate MutatingWebhookConfiguration should be allowed when --force is enabled", force: true, assertFunc: func(g *WithT, objs *ObjectSet, err error) { g.Expect(err).Should(BeNil())
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 04 18:05:06 UTC 2024 - 43.5K bytes - Viewed (0) -
docs/en/data/external_links.yml
flying Software Circus: Intro to FastAPI' - author: Sebastián RamÃrez (tiangolo) author_link: https://twitter.com/tiangolo link: https://www.youtube.com/watch?v=z9K5pwb0rt8 title: 'PyConBY 2020: Serve ML models easily with FastAPI' - author: Chris Withers author_link: https://twitter.com/chriswithers13 link: https://www.youtube.com/watch?v=3DLwPcrE5mA title: 'PyCon UK 2019: FastAPI from the ground up'...
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Wed Jun 12 00:47:57 UTC 2024 - 22K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/config.go
handler = genericfilters.WithProbabilisticGoaway(handler, c.GoawayChance) } handler = genericapifilters.WithCacheControl(handler) handler = genericfilters.WithHSTS(handler, c.HSTSDirectives) if c.ShutdownSendRetryAfter { handler = genericfilters.WithRetryAfter(handler, c.lifecycleSignals.NotAcceptingNewRequest.Signaled()) } handler = genericfilters.WithHTTPLogging(handler)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:22 UTC 2024 - 47.7K bytes - Viewed (0) -
src/net/http/client_test.go
body := issue18239Body{&readCallsAtomic, &closeCallsAtomic, someErr} req, err := NewRequest("POST", ts.URL, body) if err != nil { t.Fatal(err) } req = req.WithT(t) _, err = tr.RoundTrip(req) if err != someErr { t.Errorf("Got error: %v; want Request.Body read error: %v", err, someErr) } // And verify that our Body wasn't used multiple times, which
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:30:50 UTC 2024 - 63.8K bytes - Viewed (0) -
src/net/http/transport.go
default: } pc.cancelRequest(context.Cause(req.ctx)) } } } // tLogKey is a context WithValue key for test debugging contexts containing // a t.Logf func. See export_test.go's Request.WithT method. type tLogKey struct{} func (tr *transportRequest) logf(format string, args ...any) { if logf, ok := tr.Request.Context().Value(tLogKey{}).(func(string, ...any)); ok {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 21:59:21 UTC 2024 - 91K bytes - Viewed (0)