Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for Fong (0.17 sec)

  1. internal/config/config_test.go

    		},
    		// Keys and input order of k=v is same.
    		{
    			input: `connection_string="host=localhost port=2832" comment="really long comment"`,
    			keys:  []string{"connection_string", "comment"},
    			expectedFields: map[string]struct{}{
    				`connection_string="host=localhost port=2832"`: {},
    				`comment="really long comment"`:                {},
    			},
    		},
    		// Keys with spaces in between
    		{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Aug 18 22:55:17 GMT 2022
    - 4.2K bytes
    - Viewed (0)
  2. internal/config/compress/legacy.go

    )
    
    // Legacy envs.
    const (
    	EnvCompress                 = "MINIO_COMPRESS"
    	EnvCompressMimeTypesLegacy1 = "MINIO_COMPRESS_MIMETYPES"
    
    	// These envs were wrong but we supported them for a long time
    	// so keep them here to support existing deployments.
    	EnvCompressAllowEncryptionLegacy = "MINIO_COMPRESS_ALLOW_ENCRYPTION"
    	EnvCompressExtensionsLegacy      = "MINIO_COMPRESS_EXTENSIONS"
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Jul 17 15:43:14 GMT 2022
    - 1.8K bytes
    - Viewed (0)
  3. internal/arn/arn.go

    	Service      string
    	Region       string
    	ResourceType string
    	ResourceID   string
    }
    
    // Allows english letters, numbers, '.', '-', '_' and '/'. Starts with a
    // letter or digit. At least 1 character long.
    var validResourceIDRegex = regexp.MustCompile(`[A-Za-z0-9_/\.-]+$`)
    
    // NewIAMRoleARN - returns an ARN for a role in MinIO.
    func NewIAMRoleARN(resourceID, serverRegion string) (ARN, error) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 08:31:34 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  4. docs/sts/README.md

    Following are advantages for using temporary credentials:
    
    - Eliminates the need to embed long-term credentials with an application.
    - Eliminates the need to provide access to buckets and objects without having to define static credentials.
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Oct 25 00:44:15 GMT 2022
    - 7.8K bytes
    - Viewed (1)
  5. cmd/xl-storage_windows_test.go

    	testCases := []struct {
    		objName string
    		pass    bool
    	}{
    		{"/abcdef", true},
    		{"/a/b/c/d/e/f/g", true},
    		{string(bytes.Repeat([]byte("界"), 85)), true},
    		// Each path component must be <= 255 bytes long.
    		{string(bytes.Repeat([]byte("界"), 280)), false},
    		{`/p/q/r/s/t`, true},
    	}
    	dir := t.TempDir()
    
    	// Instantiate posix object to manage a disk
    	fs, err := newLocalXLStorage(dir)
    	if err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Nov 29 06:35:16 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  6. internal/lock/lock_windows_test.go

    		{`C:\`, `C:\`},
    		{`C:`, `C:`},
    		// The "long" substring is replaced by a looooooong
    		// string which triggers the rewriting. Except in the
    		// cases below where it doesn't.
    		{`C:\long\foo.txt`, `\\?\C:\long\foo.txt`},
    		{`C:/long/foo.txt`, `\\?\C:\long\foo.txt`},
    		{`C:\long\foo\\bar\.\baz\\`, `\\?\C:\long\foo\bar\baz`},
    		{`\\unc\path`, `\\unc\path`},
    		{`long.txt`, `long.txt`},
    		{`C:long.txt`, `C:long.txt`},
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  7. internal/crypto/header.go

    		return key, ErrMissingCustomerKeyMD5
    	}
    
    	clientKey, err := base64.StdEncoding.DecodeString(h.Get(xhttp.AmzServerSideEncryptionCopyCustomerKey))
    	if err != nil || len(clientKey) != 32 { // The client key must be 256 bits long
    		return key, ErrInvalidCustomerKey
    	}
    	keyMD5, err := base64.StdEncoding.DecodeString(h.Get(xhttp.AmzServerSideEncryptionCopyCustomerKeyMD5))
    	if md5Sum := md5.Sum(clientKey); err != nil || !bytes.Equal(md5Sum[:], keyMD5) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  8. internal/crypto/sse-c.go

    		return key, ErrMissingCustomerKeyMD5
    	}
    
    	clientKey, err := base64.StdEncoding.DecodeString(h.Get(xhttp.AmzServerSideEncryptionCustomerKey))
    	if err != nil || len(clientKey) != 32 { // The client key must be 256 bits long
    		return key, ErrInvalidCustomerKey
    	}
    	keyMD5, err := base64.StdEncoding.DecodeString(h.Get(xhttp.AmzServerSideEncryptionCustomerKeyMD5))
    	if md5Sum := md5.Sum(clientKey); err != nil || !bytes.Equal(md5Sum[:], keyMD5) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  9. cmd/streaming-signature-v4_test.go

    			errLineTooLong,
    			nil,
    			nil,
    		},
    		// Test - 2 - unexpected end of the reader.
    		{
    			bufio.NewReader(readers[1]),
    			io.ErrUnexpectedEOF,
    			nil,
    			nil,
    		},
    		// Test - 3 - line too long bigger than 4k+1
    		{
    			bufio.NewReader(readers[2]),
    			errLineTooLong,
    			nil,
    			nil,
    		},
    		// Test - 4 - parse the chunk reader properly.
    		{
    			bufio.NewReader(readers[3]),
    			nil,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 5.7K bytes
    - Viewed (0)
  10. docs/distributed/README.md

    ### High availability
    
    A stand-alone MinIO server would go down if the server hosting the drives goes offline. In contrast, a distributed MinIO setup with _m_ servers and _n_ drives will have your data safe as long as _m/2_ servers or _m*n_/2 or more drives are online.
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 8.8K bytes
    - Viewed (0)
Back to top