- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for matcherFunc (0.21 sec)
-
staging/src/k8s.io/apimachinery/pkg/api/meta/errors_test.go
// type. input error new func() error matcherFunc func(error) bool }{ { name: "AmbiguousResourceError", input: &AmbiguousResourceError{MatchingResources: []schema.GroupVersionResource{{}}}, new: func() error { return &AmbiguousResourceError{} }, matcherFunc: IsAmbiguousError, }, { name: "AmbiguousKindError",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Aug 11 22:50:51 UTC 2022 - 2.4K bytes - Viewed (0) -
cmd/api-router.go
// API Router apiRouter := router.PathPrefix(SlashSeparator).Subrouter() var routers []*mux.Router for _, domainName := range globalDomainNames { if IsKubernetes() { routers = append(routers, apiRouter.MatcherFunc(func(r *http.Request, match *mux.RouteMatch) bool { host, _, err := net.SplitHostPort(getHost(r)) if err != nil { host = r.Host } // Make sure to skip matching minio.<domain>` this is
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 22.8K bytes - Viewed (0) -
cmd/sts-handlers.go
sts := &stsAPIHandlers{} // STS Router stsRouter := router.NewRoute().PathPrefix(SlashSeparator).Subrouter() // Assume roles with no JWT, handles AssumeRole. stsRouter.Methods(http.MethodPost).MatcherFunc(func(r *http.Request, rm *mux.RouteMatch) bool { ctypeOk := wildcard.MatchSimple("application/x-www-form-urlencoded*", r.Header.Get(xhttp.ContentType))
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jun 11 03:13:30 UTC 2024 - 33.9K bytes - Viewed (0)