Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 277 for match (0.2 sec)

  1. cmd/signature-v2_test.go

    		},
    		// (4) Should error when the signature does not match.
    		{
    			queryParams: map[string]string{
    				"Expires":        fmt.Sprintf("%d", now.Unix()+60),
    				"Signature":      "badsignature",
    				"AWSAccessKeyId": accessKey,
    			},
    			expected: ErrSignatureDoesNotMatch,
    		},
    		// (5) Should error when the signature does not match.
    		{
    			queryParams: map[string]string{
    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. cmd/batch-rotate.go

    // flags:
    //   filter:
    //     newerThan: "7d" # match objects newer than this value (e.g. 7d10h31s)
    //     olderThan: "7d" # match objects older than this value (e.g. 7d10h31s)
    //     createdAfter: "date" # match objects created after "date"
    //     createdBefore: "date" # match objects created before "date"
    //     tags:
    //       - key: "name"
    //         value: "pick*" # match objects with tag 'name', with all values starting with 'pick'
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  3. cmd/api-errors.go

    		Code:           "InvalidArgument",
    		Description:    "The calculated MD5 hash of the key did not match the hash that was provided.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidSSECustomerParameters: {
    		Code:           "InvalidArgument",
    		Description:    "The provided encryption parameters did not match the ones used originally.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrKMSNotConfigured: {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  4. internal/kms/single-key_test.go

    	}
    	plaintext, err := KMS.DecryptKey(key.KeyID, key.Ciphertext, Context{})
    	if err != nil {
    		t.Fatalf("Failed to decrypt key: %v", err)
    	}
    	if !bytes.Equal(key.Plaintext, plaintext) {
    		t.Fatalf("Decrypted key does not match generated one: got %x - want %x", key.Plaintext, plaintext)
    	}
    }
    
    func TestDecryptKey(t *testing.T) {
    	KMS, err := Parse("my-key:eEm+JI9/q4JhH8QwKvf3LKo4DEBl6QbfvAl1CAbMIv8=")
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jul 19 01:54:27 GMT 2022
    - 3K bytes
    - Viewed (0)
  5. internal/s3select/sql/value.go

    }
    
    // ToString returns the value if string.
    func (v Value) ToString() (val string, ok bool) {
    	val, ok = v.value.(string)
    	return
    }
    
    // Equals returns whether the values strictly match.
    // Both type and value must match.
    func (v Value) Equals(b Value) (ok bool) {
    	if !v.SameTypeAs(b) {
    		return false
    	}
    	return reflect.DeepEqual(v.value, b.value)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 25 20:31:19 GMT 2022
    - 20.2K bytes
    - Viewed (0)
  6. docs/tls/kubernetes/README.md

    `spec.containers[].volumeMounts[]`
    
    ```yaml
        volumeMounts:
            - name: secret-volume
              mountPath: /<user-running-minio>/.minio/certs
    ```
    
    Here the name of `volumeMount` should match the name of `volume` created previously. Also `mountPath` must be set to the path of
    the MinIO server's config sub-directory that is used to store certificates. By default, the location is
    `/<user-running-minio>/.minio/certs`.
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 3K bytes
    - Viewed (0)
  7. internal/grid/trace.go

    				OutputBytes:     len(resp),
    				TimeToFirstByte: end.Sub(start),
    			},
    		},
    	}
    	// If the context contains a TraceParamsKey, add it to the trace path.
    	v := ctx.Value(TraceParamsKey{})
    	// Should match SingleHandler.Call checks.
    	switch typed := v.(type) {
    	case *MSS:
    		trace.Path += typed.ToQuery()
    	case map[string]string:
    		m := MSS(typed)
    		trace.Path += m.ToQuery()
    	case *URLValues:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 02 22:54:54 GMT 2024
    - 4K bytes
    - Viewed (0)
  8. cmd/kms-router.go

    		kmsRouter.Methods(http.MethodGet).Path(version+"/identity/list").HandlerFunc(gz(httpTraceAll(kmsAPI.KMSListIdentitiesHandler))).Queries("pattern", "{pattern:.*}")
    	}
    
    	// If none of the routes match add default error handler routes
    	kmsRouter.NotFoundHandler = httpTraceAll(errorResponseHandler)
    	kmsRouter.MethodNotAllowedHandler = httpTraceAll(methodNotAllowedHandler("KMS"))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Aug 19 14:37:53 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  9. docs/batch-jobs/README.md

    ## Batch Jobs via Commandline
    [mc](http://github.com/minio/mc) provides 'mc batch' command to create, start and manage submitted jobs.
    
    ```
    NAME:
      mc batch - manage batch jobs
    
    USAGE:
      mc batch COMMAND [COMMAND FLAGS | -h] [ARGUMENTS...]
    
    COMMANDS:
      generate  generate a new batch job definition
      start     start a new batch job
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Oct 06 06:00:43 GMT 2022
    - 4.8K bytes
    - Viewed (0)
  10. internal/handlers/proxy.go

    		// with the approach we took for returning first ip from multiple
    		// params.
    		if match := forRegex.FindStringSubmatch(proto); len(match) > 1 {
    			if match = protoRegex.FindStringSubmatch(match[2]); len(match) > 1 {
    				scheme = strings.ToLower(match[2])
    			}
    		}
    	}
    
    	return scheme
    }
    
    // GetSourceIPFromHeaders retrieves the IP from the X-Forwarded-For, X-Real-IP
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 22 00:56:55 GMT 2023
    - 5.1K bytes
    - Viewed (0)
Back to top