- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 99 for HasPrefix (0.19 sec)
-
cmd/postpolicyform.go
checkHeader := map[string][]string{} ignoreKeys := map[string]bool{} for key, value := range formValues { switch { case ignoreKeys[key], postPolicyIgnoreKeys[key], strings.HasPrefix(key, encrypt.SseGenericHeader): continue case strings.HasPrefix(key, "X-Amz-Ignore-"): ignoreKey := strings.Replace(key, "X-Amz-Ignore-", "", 1) ignoreKeys[ignoreKey] = true // if it have already delete(checkHeader, ignoreKey)
Go - Registered: Sun Mar 24 19:28:08 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 12K bytes - Viewed (0) -
istioctl/pkg/completion/completion.go
Go - Registered: Wed Mar 27 22:53:09 GMT 2024 - Last Modified: Mon Aug 07 09:05:05 GMT 2023 - 4.8K bytes - Viewed (0) -
internal/bucket/replication/destination.go
// used prior to multi-destination func (d Destination) LegacyArn() bool { return strings.HasPrefix(d.ARN, DestinationARNPrefix) } // TargetArn returns true if arn format has prefix "arn:minio:replication:::" // used for multi-destination targets func (d Destination) TargetArn() bool { return strings.HasPrefix(d.ARN, DestinationARNMinIOPrefix) } // MarshalXML - encodes to XML data.
Go - Registered: Sun Mar 24 19:28:08 GMT 2024 - Last Modified: Mon Sep 04 19:57:37 GMT 2023 - 4K bytes - Viewed (2) -
internal/bucket/replication/replication.go
// incoming prefix must be in rule prefix if !recursive && !strings.HasPrefix(prefix, rule.Filter.Prefix) { continue } // If recursive, we can skip this rule if it doesn't match the tested prefix or level below prefix // does not match if recursive && !strings.HasPrefix(rule.Prefix(), prefix) && !strings.HasPrefix(prefix, rule.Prefix()) { continue } } return true }
Go - Registered: Sun Mar 24 19:28:08 GMT 2024 - Last Modified: Fri Mar 08 19:08:18 GMT 2024 - 8.9K bytes - Viewed (0) -
cmd/admin-server-info.go
config.EnvRootUser: {}, config.EnvRootPassword: {}, config.EnvMinIOSubnetAPIKey: {}, kms.EnvKMSSecretKey: {}, } for _, v := range os.Environ() { if !strings.HasPrefix(v, "MINIO") && !strings.HasPrefix(v, "_MINIO") { continue } split := strings.SplitN(v, "=", 2) key := split[0] value := "" if len(split) > 1 { value = split[1] }
Go - Registered: Sun Mar 24 19:28:08 GMT 2024 - Last Modified: Thu Mar 07 18:24:07 GMT 2024 - 4.9K bytes - Viewed (0) -
misc/linkcheck/linkcheck.go
problems []string ) func localLinks(body string) (links []string) { seen := map[string]bool{} mv := aRx.FindAllStringSubmatch(body, -1) for _, m := range mv { ref := m[1] if strings.HasPrefix(ref, "/src/") { continue } if !seen[ref] { seen[ref] = true links = append(links, m[1]) } } return } var idRx = regexp.MustCompile(`\bid=['"]?([^\s'">]+)`)
Go - Registered: Tue Mar 26 11:13:08 GMT 2024 - Last Modified: Wed Oct 06 15:53:04 GMT 2021 - 3.9K bytes - Viewed (0) -
cmd/signature-v2.go
var cred auth.Credentials v2Auth := r.Header.Get(xhttp.Authorization) if v2Auth == "" { return cred, ErrAuthHeaderEmpty } // Verify if the header algorithm is supported or not. if !strings.HasPrefix(v2Auth, signV2Algorithm) { return cred, ErrSignatureVersionNotSupported } cred, _, apiErr := getReqAccessKeyV2(r) if apiErr != ErrNone { return cred, apiErr } return cred, ErrNone }
Go - Registered: Sun Mar 24 19:28:08 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 12.2K bytes - Viewed (0) -
cmd/handler-utils.go
switch { case strings.HasPrefix(r.URL.Path, peerRESTPrefix): writeErrorResponseString(r.Context(), w, APIError{ Code: "XMinioPeerVersionMismatch", Description: desc, HTTPStatusCode: http.StatusUpgradeRequired, }, r.URL) case strings.HasPrefix(r.URL.Path, storageRESTPrefix): writeErrorResponseString(r.Context(), w, APIError{
Go - Registered: Sun Mar 24 19:28:08 GMT 2024 - Last Modified: Tue Mar 12 11:33:30 GMT 2024 - 13.7K bytes - Viewed (3) -
cmd/metacache-walk.go
// Skip forward, if requested... sb := bytebufferpool.Get() defer func() { sb.Reset() bytebufferpool.Put(sb) }() forward := "" if len(opts.ForwardTo) > 0 && strings.HasPrefix(opts.ForwardTo, current) { forward = strings.TrimPrefix(opts.ForwardTo, current) // Trim further directories and trailing slash. if idx := strings.IndexByte(forward, '/'); idx > 0 { forward = forward[:idx]
Go - Registered: Sun Mar 24 19:28:08 GMT 2024 - Last Modified: Tue Feb 20 23:00:35 GMT 2024 - 12.3K bytes - Viewed (0) -
misc/ios/go_ios_exec.go
var env []string for _, e := range os.Environ() { // Don't override TMPDIR, HOME, GOCACHE on the device. if strings.HasPrefix(e, "TMPDIR=") || strings.HasPrefix(e, "HOME=") || strings.HasPrefix(e, "GOCACHE=") { continue } env = append(env, e) } lldb := exec.Command( "python", "-", // Read script from stdin. target, appdir, deviceapp,
Go - Registered: Tue Mar 26 11:13:08 GMT 2024 - Last Modified: Mon Apr 11 16:34:30 GMT 2022 - 23.4K bytes - Viewed (0)