Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for Us (0.13 sec)

  1. cmd/signature-v4-utils.go

    func isValidRegion(reqRegion string, confRegion string) bool {
    	if confRegion == "" {
    		return true
    	}
    	if confRegion == "US" {
    		confRegion = globalMinioDefaultRegion
    	}
    	// Some older s3 clients set region as "US" instead of
    	// globalMinioDefaultRegion, handle it.
    	if reqRegion == "US" {
    		reqRegion = globalMinioDefaultRegion
    	}
    	return reqRegion == confRegion
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 31 18:56:45 GMT 2024
    - 9K bytes
    - Viewed (0)
  2. internal/logger/console.go

    	for _, line := range strings.Split(errMsg, "\n") {
    		if len(line) == 0 {
    			// No more text to print, just quit.
    			break
    		}
    
    		for {
    			// Save the attributes of the current cursor helps
    			// us save the text color of the passed error message
    			ansiSaveAttributes()
    			// Print banner with or without the log tag
    			if !tagPrinted {
    				fmt.Fprint(Output, logBanner)
    				tagPrinted = true
    			} else {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  3. buildscripts/verify-healing.sh

    	mkdir -p "$MINIO_CONFIG_DIR"
    
    	## version is purposefully set to '3' for minio to migrate configuration file
    	echo '{"version": "3", "credential": {"accessKey": "minio", "secretKey": "minio123"}, "region": "us-east-1"}' >"$MINIO_CONFIG_DIR/config.json"
    
    	if [ ! -f /tmp/mc ]; then
    		wget --quiet -O /tmp/mc https://dl.minio.io/client/mc/release/linux-amd64/mc &&
    			chmod +x /tmp/mc
    	fi
    }
    
    function upload_objects() {
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:55:41 GMT 2024
    - 4.2K bytes
    - Viewed (1)
  4. cmd/post-policy_test.go

    	// Generate the final policy document
    	policy = fmt.Sprintf(policy, dates...)
    
    	region := "us-east-1"
    	// Create a new POST request with success_action_redirect field specified
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  5. cmd/signature-v4-utils_test.go

    		expectedResult bool
    	}{
    		{"", "", true},
    		{globalMinioDefaultRegion, "", true},
    		{globalMinioDefaultRegion, "US", true},
    		{"us-west-1", "US", false},
    		{"us-west-1", "us-west-1", true},
    		// "US" was old naming convention for 'us-east-1'.
    		{"US", "US", true},
    	}
    
    	for i, testCase := range testCases {
    		actualResult := isValidRegion(testCase.inputReqRegion, testCase.inputConfRegion)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 14.3K bytes
    - Viewed (0)
  6. cmd/signature-v4_test.go

    				"X-Amz-Signature":     "badsignature",
    				"X-Amz-SignedHeaders": "host;x-amz-content-sha256;x-amz-date",
    				"X-Amz-Credential":    fmt.Sprintf(credentialTemplate, "Z7IXGOO6BZ0REAN1Q26I", now.Format(yyyymmdd), "us-west-1"),
    			},
    			region:   "us-west-1",
    			expected: ErrInvalidAccessKeyID,
    		},
    		// (2) Should NOT fail with an invalid region if it doesn't verify it.
    		{
    			queryParams: map[string]string{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 10.4K bytes
    - Viewed (1)
  7. cmd/api-errors.go

    		HTTPStatusCode: http.StatusForbidden,
    	},
    	ErrAuthorizationHeaderMalformed: {
    		Code:           "AuthorizationHeaderMalformed",
    		Description:    "The authorization header is malformed; the region is wrong; expecting 'us-east-1'.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrMalformedPOSTRequest: {
    		Code:           "MalformedPOSTRequest",
    		Description:    "The body of your POST request is not well-formed multipart/form-data.",
    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)
  8. cmd/bucket-lifecycle.go

    func genTransitionObjName(bucket string) (string, error) {
    	u, err := uuid.NewRandom()
    	if err != nil {
    		return "", err
    	}
    	us := u.String()
    	hash := xxh3.HashString(pathJoin(globalDeploymentID(), bucket))
    	obj := fmt.Sprintf("%s/%s/%s/%s", strconv.FormatUint(hash, 16), us[0:2], us[2:4], us)
    	return obj, nil
    }
    
    // transition object to target specified by the transition ARN. When an object is transitioned to another
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  9. cmd/server_test.go

    	bucketNotificationBuf := `<NotificationConfiguration><QueueConfiguration><Event>s3:ObjectCreated:Put</Event><Filter><S3Key><FilterRule><Name>prefix</Name><Value>images/</Value></FilterRule></S3Key></Filter><Id>1</Id><Queue>arn:minio:sqs:us-east-1:444455556666:webhook</Queue></QueueConfiguration></NotificationConfiguration>`
    	// generate a random bucket Name.
    	bucketName := getRandomBucketName()
    	// HTTP request to create the bucket.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  10. cmd/warm-backend-minio.go

    const (
    	maxMultipartPutObjectSize = 1024 * 1024 * 1024 * 1024 * 5
    	maxPartsCount             = 10000
    	maxPartSize               = 1024 * 1024 * 1024 * 5
    	minPartSize               = 1024 * 1024 * 128 // chosen by us to be optimal for HDDs
    )
    
    // optimalPartInfo - calculate the optimal part info for a given
    // object size.
    //
    // NOTE: Assumption here is that for any object to be uploaded to any S3 compatible
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 3.8K bytes
    - Viewed (0)
Back to top