- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 41 for routes (0.47 sec)
-
internal/event/target/postgresql.go
valid = false return -1 } }, name) if valid { // check for simple name or quoted name // - letter/underscore followed by one or more letter/digit/underscore // - any text between quotes (text cannot contain a quote itself) if match, err := regexp.MatchString("^[a_][a0_$]*$", cleaned); err != nil { return err } else if match { return nil } } return errInvalidPsqlTablename
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Apr 24 17:51:07 GMT 2024 - 13.3K bytes - Viewed (0) -
internal/grid/debug.go
debugIsOutgoingClosed ) // TestGrid contains a grid of servers for testing purposes. type TestGrid struct { Servers []*httptest.Server Listeners []net.Listener Managers []*Manager Mux []*mux.Router Hosts []string cleanupOnce sync.Once cancel context.CancelFunc } // SetupTestGrid creates a new grid for testing purposes. // Select the number of hosts to create.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Feb 08 18:15:27 GMT 2024 - 4.2K bytes - Viewed (0) -
cmd/api-response.go
cs := oi.decryptChecksums(0) c := CompleteMultipartUploadResponse{ Location: location, Bucket: bucket, Key: key, // AWS S3 quotes the ETag in XML, make sure we are compatible here. ETag: "\"" + oi.ETag + "\"", ChecksumSHA1: cs[hash.ChecksumSHA1.String()], ChecksumSHA256: cs[hash.ChecksumSHA256.String()],
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 33.3K bytes - Viewed (2) -
cmd/common-main.go
if len(envTokens) != 2 { return envKV{}, fmt.Errorf("envEntry malformed; %s, expected to be of form 'KEY=value'", envEntry) } key := envTokens[0] val := envTokens[1] // Remove quotes from the value if found if len(val) >= 2 { quote := val[0] if (quote == '"' || quote == '\'') && val[len(val)-1] == quote { val = val[1 : len(val)-1] } } return envKV{ Key: key,
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sat May 04 00:17:57 GMT 2024 - 35.8K bytes - Viewed (2) -
cmd/peer-rest-server.go
} return np, nil } // registerPeerRESTHandlers - register peer rest router. func registerPeerRESTHandlers(router *mux.Router, gm *grid.Manager) { h := func(f http.HandlerFunc) http.HandlerFunc { return collectInternodeStats(httpTraceHdrs(f)) } server := &peerRESTServer{} subrouter := router.PathPrefix(peerRESTPrefix).Subrouter()
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 51.8K bytes - Viewed (0) -
internal/config/cache/remote.go
} var etagRegex = regexp.MustCompile("\"*?([^\"]*?)\"*?$") // canonicalizeETag returns ETag with leading and trailing double-quotes removed, // if any present func canonicalizeETag(etag string) string { return etagRegex.ReplaceAllString(etag, "$1") } // Init - populates the input values, initializes CondCheck
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Nov 22 21:46:17 GMT 2023 - 3.7K bytes - Viewed (0) -
cmd/object-api-utils.go
// but may produce false positives on non-trivial paths. func pathNeedsClean(path []byte) bool { if len(path) == 0 { return true } rooted := path[0] == '/' n := len(path) r, w := 0, 0 if rooted { r, w = 1, 1 } for r < n { switch { case path[r] > 127: // Non ascii. return true case path[r] == '/': // multiple / elements
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Mar 11 11:55:34 GMT 2024 - 35.6K bytes - Viewed (1) -
cmd/metrics-router.go
const ( prometheusJWT prometheusAuthType = "jwt" prometheusPublic prometheusAuthType = "public" ) // registerMetricsRouter - add handler functions for metrics. func registerMetricsRouter(router *mux.Router) { // metrics router metricsRouter := router.NewRoute().PathPrefix(minioReservedBucketPath).Subrouter() authType := prometheusAuthType(strings.ToLower(env.Get(EnvPrometheusAuthType, string(prometheusJWT)))) auth := AuthMiddleware
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Mar 10 09:15:15 GMT 2024 - 2.5K bytes - Viewed (0) -
cmd/admin-handlers_test.go
) // adminErasureTestBed - encapsulates subsystems that need to be setup for // admin-handler unit tests. type adminErasureTestBed struct { erasureDirs []string objLayer ObjectLayer router *mux.Router done context.CancelFunc } // prepareAdminErasureTestBed - helper function that setups a single-node // Erasure backend for admin-handler tests.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 13.8K bytes - Viewed (0) -
cmd/sts-handlers.go
type stsAPIHandlers struct{} // registerSTSRouter - registers AWS STS compatible APIs. func registerSTSRouter(router *mux.Router) { // Initialize STS. 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 {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 21:31:13 GMT 2024 - 34.7K bytes - Viewed (2)