Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 67 for matches (0.26 sec)

  1. cmd/signature-v2_test.go

    			},
    			expected: ErrSignatureDoesNotMatch,
    		},
    		// (6) Should not error signature matches with extra query params.
    		{
    			queryParams: map[string]string{
    				"response-content-disposition": "attachment; filename=\"4K%2d4M.txt\"",
    			},
    			expected: ErrNone,
    		},
    		// (7) Should not error signature matches with no special query params.
    		{
    			queryParams: map[string]string{},
    			expected:    ErrNone,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Oct 14 10:08:40 GMT 2022
    - 8K bytes
    - Viewed (0)
  2. internal/hash/checksum.go

    	}
    	if len(c.Encoded) == 0 || c.Type.Trailing() {
    		return c.Type.Is(ChecksumNone) || c.Type.Trailing()
    	}
    	raw := c.Raw
    	return c.Type.RawByteLen() == len(raw)
    }
    
    // Matches returns whether given content matches c.
    func (c Checksum) Matches(content []byte) error {
    	if len(c.Encoded) == 0 {
    		return nil
    	}
    	hasher := c.Type.Hasher()
    	_, err := hasher.Write(content)
    	if err != nil {
    		return err
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  3. internal/hash/errors.go

    }
    
    // ChecksumMismatch - when content checksum does not match with what was sent from client.
    type ChecksumMismatch struct {
    	Want string
    	Got  string
    }
    
    func (e ChecksumMismatch) Error() string {
    	return "Bad checksum: Want " + e.Want + " does not match calculated " + e.Got
    }
    
    // IsChecksumMismatch matches if 'err' is hash.ChecksumMismatch
    func IsChecksumMismatch(err error) bool {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon May 15 21:08:54 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  4. buildscripts/minio-upgrade.sh

    	local expected
    	expected=$(mc cat "$1" | sha256sum)
    	local got
    	got=$(mc cat "$2" | sha256sum)
    
    	if [ "${expected}" != "${got}" ]; then
    		echo "mismatch - expected ${expected}, got ${got}"
    		exit 1
    	fi
    	echo "matches - ${expected}, got ${got}"
    }
    
    add_alias() {
    	for i in $(seq 1 4); do
    		echo "... attempting to add alias $i"
    		until (mc alias set minio http://127.0.0.1:9000 minioadmin minioadmin); do
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 11:39:55 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  5. internal/mountinfo/mountinfo_linux.go

    		if strings.HasPrefix(mpath, ppath) {
    			// At this point if the mount point has a common prefix two conditions can happen.
    			// - mount.Path matches exact with `path` means we can proceed no error here.
    			// - mount.Path doesn't match (means cross-device mount), should error out.
    			if mount.Path != path {
    				crossMounts = append(crossMounts, mount)
    			}
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 4.7K bytes
    - Viewed (0)
  6. internal/config/identity/openid/openid.go

    	Scopes             = "scopes"
    	RedirectURI        = "redirect_uri"
    	RedirectURIDynamic = "redirect_uri_dynamic"
    	Vendor             = "vendor"
    
    	// Vendor specific ENV only enabled if the Vendor matches == "vendor"
    	KeyCloakRealm    = "keycloak_realm"
    	KeyCloakAdminURL = "keycloak_admin_url"
    
    	// Removed params
    	JwksURL     = "jwks_url"
    	ClaimPrefix = "claim_prefix"
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 16.5K bytes
    - Viewed (0)
  7. cmd/metacache-entries.go

    func (e metaCacheEntry) hasPrefix(s string) bool {
    	return strings.HasPrefix(e.name, s)
    }
    
    // matches returns if the entries have the same versions.
    // If strict is false we allow signatures to mismatch.
    func (e *metaCacheEntry) matches(other *metaCacheEntry, strict bool) (prefer *metaCacheEntry, matches bool) {
    	if e == nil && other == nil {
    		return nil, true
    	}
    	if e == nil {
    		return other, false
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  8. docs/config/README.md

    By default, MinIO supports path-style requests that are of the format <http://mydomain.com/bucket/object>. `MINIO_DOMAIN` environment variable is used to enable virtual-host-style requests. If the request `Host` header matches with `(.+).mydomain.com` then the matched pattern `$1` is used as bucket and the path is used as object. Read more about path-style and virtual-host-style [here](http://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAPI.html).
    
    Example:
    
    ```sh
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 11 21:48:54 GMT 2023
    - 17.7K bytes
    - Viewed (0)
  9. cmd/handler-utils.go

    func extractAPIVersion(r *http.Request) string {
    	if matches := regexVersion.FindStringSubmatch(r.URL.Path); len(matches) > 1 {
    		return matches[1]
    	}
    	return "unknown"
    }
    
    func methodNotAllowedHandler(api string) func(w http.ResponseWriter, r *http.Request) {
    	return errorResponseHandler
    }
    
    // If none of the http routes match respond with appropriate errors
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.5K bytes
    - Viewed (3)
  10. cmd/batch-expire.go

    			// standard metadata headers
    			// specified in the filter
    			var match bool
    			for k, v := range obj.UserDefined {
    				if !stringsHasPrefixFold(k, "x-amz-meta-") && !isStandardHeader(k) {
    					continue
    				}
    				// We only need to match x-amz-meta or standardHeaders
    				if kv.Match(BatchJobKV{Key: k, Value: v}) {
    					match = true
    				}
    			}
    			if !match {
    				return false
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
Back to top