Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 88 for kind (0.22 sec)

  1. cmd/object-multipart-handlers.go

    		// Verify if the underlying error is signature mismatch.
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	etag := partInfo.ETag
    	if kind, encrypted := crypto.IsEncrypted(mi.UserDefined); encrypted {
    		switch kind {
    		case crypto.S3KMS:
    			w.Header().Set(xhttp.AmzServerSideEncryption, xhttp.AmzEncryptionKMS)
    			w.Header().Set(xhttp.AmzServerSideEncryptionKmsID, mi.KMSKeyID())
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 39K bytes
    - Viewed (0)
  2. cmd/object-handlers.go

    		} else {
    			writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		}
    		return
    	}
    
    	// Set encryption response headers
    	switch kind, _ := crypto.IsEncrypted(objInfo.UserDefined); kind {
    	case crypto.S3:
    		w.Header().Set(xhttp.AmzServerSideEncryption, xhttp.AmzEncryptionAES)
    	case crypto.S3KMS:
    		w.Header().Set(xhttp.AmzServerSideEncryption, xhttp.AmzEncryptionKMS)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  3. cmd/erasure-object.go

    		partsMetadata[i].Versioned = opts.Versioned || opts.VersionSuspended
    	}
    
    	userDefined["etag"] = r.MD5CurrentHexString()
    	kind, _ := crypto.IsEncrypted(userDefined)
    	if opts.PreserveETag != "" {
    		if !opts.ReplicationRequest {
    			userDefined["etag"] = opts.PreserveETag
    		} else if kind != crypto.S3 {
    			// if we have a replication request
    			// and SSE-S3 is specified do not preserve
    			// the incoming etag.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  4. cmd/erasure-server-pool.go

    			}
    		}
    		return false
    	}
    	if hadoop && matches() && delimiter == SlashSeparator && maxKeys == 2 && marker == "" {
    		// Optimization for Spark/Hadoop workload where spark sends a garbage
    		// request of this kind
    		//
    		// GET /testbucket/?list-type=2&delimiter=%2F&max-keys=2&prefix=parquet%2F_SUCCESS%2F&fetch-owner=false
    		//
    		// Here spark is expecting that the List() return empty instead, so from MinIO's point
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  5. cmd/storage-errors.go

    // errDiskAccessDenied - we don't have write permissions on disk.
    var errDiskAccessDenied = StorageErr("drive access denied")
    
    // errFileNotFound - cannot find the file.
    var errFileNotFound = StorageErr("file not found")
    
    // errFileNotFound - cannot find requested file version.
    var errFileVersionNotFound = StorageErr("file version not found")
    
    // errTooManyOpenFiles - too many open files.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  6. cmd/data-usage_test.go

    			isNil: true,
    		},
    		{
    			path:  "/nonexistying",
    			isNil: true,
    		},
    	}
    
    	for _, w := range want {
    		p := path.Join(bucket, w.path)
    		t.Run(p, func(t *testing.T) {
    			e := got.find(p)
    			if w.isNil {
    				if e != nil {
    					t.Error("want nil, got", e)
    				}
    				return
    			}
    			if e == nil {
    				t.Fatal("got nil result")
    			}
    			if w.flatten {
    				*e = got.flatten(*e)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Mar 27 15:10:40 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  7. cmd/api-errors.go

    	},
    	ErrParseExpectedDatePart: {
    		Code:           "ParseExpectedDatePart",
    		Description:    "Did not find the expected date part in the SQL expression.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrParseExpectedKeyword: {
    		Code:           "ParseExpectedKeyword",
    		Description:    "Did not find the expected keyword in the SQL expression.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    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/os-dirent_namelen_linux.go

    	}
    	// Avoid bugs in long file names
    	// https://github.com/golang/tools/commit/5f9a5413737ba4b4f692214aebee582b47c8be74
    	nameLen := bytes.IndexByte(nameBuf[:limit], 0)
    	if nameLen < 0 {
    		return 0, fmt.Errorf("failed to find terminating 0 byte in dirent")
    	}
    	return uint64(nameLen), nil
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 1.5K bytes
    - Viewed (0)
  9. internal/config/identity/ldap/legacy.go

    	GroupSearchBaseDistName  string   `json:"groupSearchBaseDN"`
    	GroupSearchBaseDistNames []string `json:"-"` // Generated field
    	GroupSearchFilter        string   `json:"groupSearchFilter"`
    
    	// Lookup bind LDAP service account
    	LookupBindDN       string `json:"lookupBindDN"`
    	LookupBindPassword string `json:"lookupBindPassword"`
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Oct 08 05:12:36 GMT 2022
    - 2.2K bytes
    - Viewed (0)
  10. cmd/signature-v4-utils.go

    		defaultSha256Cksum = emptySHA256
    		v, ok = r.Header[xhttp.AmzContentSha256]
    	}
    
    	// We found 'X-Amz-Content-Sha256' return the captured value.
    	if ok {
    		return v[0]
    	}
    
    	// We couldn't find 'X-Amz-Content-Sha256'.
    	return defaultSha256Cksum
    }
    
    // isValidRegion - verify if incoming region value is valid with configured Region.
    func isValidRegion(reqRegion string, confRegion string) bool {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 31 18:56:45 GMT 2024
    - 9K bytes
    - Viewed (0)
Back to top