Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 310 for helpers (0.04 seconds)

  1. cmd/kms-handlers_test.go

    	}
    
    	req, err := newTestSignedRequestV4(method, path, 0, nil, accessKey, secretKey, nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    	return req
    }
    
    // setupKMSUser is a test helper that creates a new user with the provided access key and secret key
    // and applies the given policy to the user.
    func setupKMSUser(t *testing.T, accessKey, secretKey, p string) {
    	ctx := t.Context()
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  2. cmd/api-errors.go

    		Code:           "KeyTooLongError",
    		Description:    "Your key is too long",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrUnsignedHeaders: {
    		Code:           "AccessDenied",
    		Description:    "There were headers present in the request which were not signed",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidQueryParams: {
    		Code:           "AuthorizationQueryParametersError",
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 16 07:34:24 GMT 2025
    - 93K bytes
    - Click Count (3)
  3. .github/ISSUE_TEMPLATE/30_contributor_regression.yml

      - type: textarea
        id: context
        attributes:
          label: Context (optional)
          description: |
            How has this issue affected you? What are you trying to accomplish?
            Providing context helps us come up with a solution that is most useful in the real world
        validations:
          required: false
      - type: textarea
        id: steps-to-reproduce
        attributes:
          label: Self-contained Reproducer Project
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Sep 09 14:48:49 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  4. internal/config/identity/plugin/config.go

    		config.KV{
    			Key:   RoleID,
    			Value: "",
    		},
    	}
    
    	defaultHelpPostfix = func(key string) string {
    		return config.DefaultHelpPostfix(DefaultKVS, key)
    	}
    
    	// Help for Identity Plugin
    	Help = config.HelpKVS{
    		config.HelpKV{
    			Key:         URL,
    			Description: `plugin hook endpoint (HTTP(S)) e.g. "http://localhost:8181/path/to/endpoint"` + defaultHelpPostfix(URL),
    			Type:        "url",
    		},
    		config.HelpKV{
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  5. internal/s3select/unused-errors.go

    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errMissingHeaders(err error) *s3Error {
    	return &s3Error{
    		code:       "MissingHeaders",
    		message:    "Some headers in the query are missing from the file. Check the file and try again.",
    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errUnrecognizedFormatException(err error) *s3Error {
    	return &s3Error{
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 20 08:16:35 GMT 2024
    - 17.5K bytes
    - Click Count (0)
  6. cmd/object-api-utils_test.go

    		if result != test.expectedResult {
    			t.Fatalf("test %d failed: expected: result=%v, got=%v", i+1, test.expectedResult, result)
    		}
    	}
    }
    
    // TestIsMinioBucketName - Tests isMinioBucketName helper function.
    func TestIsMinioMetaBucketName(t *testing.T) {
    	testCases := []struct {
    		bucket string
    		result bool
    	}{
    		// MinIO meta bucket.
    		{
    			bucket: minioMetaBucket,
    			result: true,
    		},
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 24.1K bytes
    - Click Count (0)
  7. docs/distributed/DESIGN.md

    by setting `x-amz-storage-class=STANDARD/REDUCED_REDUNDANCY` for each object uploads so effectively utilizing the capacity of the cluster. Additionally these can also be enforced using IAM policies to make sure the client uploads with correct HTTP headers.
    
    - MinIO also supports expansion of existing clusters in server pools. Each pool is a self contained entity with same SLA's (read/write quorum) for each object as original cluster. By using the existing namespace for lookup validation MinIO...
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Feb 26 09:25:50 GMT 2025
    - 8K bytes
    - Click Count (2)
  8. internal/logger/console.go

    	// and freely move in the screen.
    	for line := range strings.SplitSeq(errMsg, "\n") {
    		if len(line) == 0 {
    			// No more text to print, just quit.
    			break
    		}
    
    		// 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 {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  9. cmd/utils.go

    	}
    	return object
    }
    
    func isDirObject(object string) bool {
    	if obj := encodeDirObject(object); obj != object {
    		object = obj
    	}
    	return HasSuffix(object, globalDirSuffix)
    }
    
    // Helper method to return total number of nodes in cluster
    func totalNodeCount() int {
    	totalNodesCount := len(globalEndpoints.Hostnames())
    	if totalNodesCount == 0 {
    		totalNodesCount = 1 // For standalone erasure coding
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 33K bytes
    - Click Count (0)
  10. cmd/object-api-utils.go

    	}
    
    	return &HTTPRangeSpec{Start: start, End: end}
    }
    
    // Returns the compressed offset which should be skipped.
    // If encrypted offsets are adjusted for encrypted block headers/trailers.
    // Since de-compression is after decryption encryption overhead is only added to compressedOffset.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Jun 25 15:08:54 GMT 2025
    - 37.3K bytes
    - Click Count (0)
Back to Top