- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for handleReq (0.15 sec)
-
pkg/probe/http/http_test.go
reqHeaders: http.Header{ "Host": {"muffins.cupcakes.org"}, }, health: probe.Success, accBody: "muffins.cupcakes.org", }, { handler: handleReq(FailureCode, "fail body"), health: probe.Failure, }, { handler: handleReq(http.StatusInternalServerError, "fail body"), health: probe.Failure, }, { handler: func(w http.ResponseWriter, r *http.Request) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 18 01:40:08 UTC 2023 - 15.7K bytes - Viewed (0) -
pilot/pkg/status/distribution/state.go
} type DistroReportHandler struct { dc *Controller } func (drh *DistroReportHandler) OnAdd(obj any, _ bool) { drh.HandleNew(obj) } func (drh *DistroReportHandler) OnUpdate(oldObj, newObj any) { drh.HandleNew(newObj) } func (drh *DistroReportHandler) HandleNew(obj any) { cm, ok := obj.(*v1.ConfigMap) if !ok { scope.Warnf("expected configmap, but received %v, discarding", obj) return
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 7.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/term/terminal.go
} case r == '\x1b': inEscapeSeq = true default: length++ } } return length } // handleKey processes the given key and, optionally, returns a line of text // that the user has entered. func (t *Terminal) handleKey(key rune) (line string, ok bool) { if t.pasteActive && key != keyEnter { t.addKeyToLine(key) return } switch key { case keyBackspace:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 22 17:16:14 UTC 2022 - 22.5K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/driver/html/common.js
if (detailsText.style.display === 'block') { detailsText.style.display = 'none'; } else { detailsText.style.display = 'block'; } } } function handleKey(e) { if (e.keyCode != 13) return; setHrefParams(window.location, function (params) { params.set('f', search.value); }); e.preventDefault(); } function handleSearch() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 15:19:53 UTC 2024 - 20K bytes - Viewed (0)