Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for putObject (0.19 sec)

  1. docs/iam/opa.md

    ```sh
    cat > example.rego <<EOF
    package httpapi.authz
    
    import input
    
    default allow = false
    
    # Allow the root user to perform any action.
    allow {
     input.owner == true
    }
    
    # All other users may do anything other than call PutObject
    allow {
     input.action != "s3:PutObject"
     input.owner == false
    }
    EOF
    ```
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jul 17 15:43:14 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  2. cmd/benchmark-utils_test.go

    	md5hex := getMD5Hash(textData)
    	sha256hex := ""
    
    	// benchmark utility which helps obtain number of allocations and bytes allocated per ops.
    	b.ReportAllocs()
    	// the actual benchmark for PutObject starts here. Reset the benchmark timer.
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		// insert the object.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Dec 23 15:46:00 UTC 2022
    - 8.2K bytes
    - Viewed (0)
  3. docs/iam/policies/pbac-tests.sh

    mc cp /etc/issue myminio1/test-bucket
    ret=$?
    if [ $ret -ne 0 ]; then
    	echo "BUG: PutObject to bucket: test-bucket should succeed. Failed"
    	exit 1
    fi
    
    mc cp /etc/issue myminio1/multi-key-poc | grep -q "Insufficient permissions to access this path"
    ret=$?
    if [ $ret -eq 0 ]; then
    	echo "BUG: PutObject to bucket: multi-key-poc without sse-kms should fail. Succedded"
    	exit 1
    fi
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 25 01:15:27 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. cmd/url_test.go

    	if err != nil {
    		b.Fatal(err)
    	}
    
    	// benchmark utility which helps obtain number of allocations and bytes allocated per ops.
    	b.ReportAllocs()
    	// the actual benchmark for PutObject starts here. Reset the benchmark timer.
    	b.ResetTimer()
    
    	if err := req.ParseForm(); err != nil {
    		b.Fatal(err)
    	}
    
    	b.RunParallel(func(pb *testing.PB) {
    		for pb.Next() {
    			req.Form.Get("uploadId")
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 16 17:28:29 UTC 2021
    - 2K bytes
    - Viewed (0)
  5. cmd/untar.go

    	}
    	return 0, errors.New("reader closed")
    }
    
    func (d *disconnectReader) Close() error {
    	d.mu.Lock()
    	d.r = nil
    	d.mu.Unlock()
    	return nil
    }
    
    func untar(ctx context.Context, r io.Reader, putObject func(reader io.Reader, info os.FileInfo, name string) error, o untarOptions) error {
    	bf := bufio.NewReader(r)
    	switch f := detect(bf); f {
    	case formatGzip:
    		gz, err := gzip.NewReader(bf)
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 6K bytes
    - Viewed (2)
  6. guava/src/com/google/common/hash/AbstractCompositeHashFunction.java

            }
            return this;
          }
    
          @Override
          public <T extends @Nullable Object> Hasher putObject(
              @ParametricNullness T instance, Funnel<? super T> funnel) {
            for (Hasher hasher : hashers) {
              hasher.putObject(instance, funnel);
            }
            return this;
          }
    
          @Override
          public HashCode hash() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 5.4K bytes
    - Viewed (0)
  7. docs/iam/policies/deny-non-sse-kms-objects.json

    {
       "Version":"2012-10-17",
       "Id":"PutObjectPolicy",
       "Statement":[{
             "Sid":"DenyObjectsThatAreNotSSEKMS",
             "Effect":"Deny",
             "Principal":"*",
             "Action":"s3:PutObject",
             "Resource":"arn:aws:s3:::multi-key-poc/*",
             "Condition":{
                "Null":{
                   "s3:x-amz-server-side-encryption-aws-kms-key-id":"true"
                }
             }
          }
       ]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 14 15:43:07 UTC 2024
    - 413 bytes
    - Viewed (0)
  8. cmd/object-api-getobjectinfo_test.go

    	}
    	opts := ObjectOptions{}
    	_, err = obj.PutObject(context.Background(), "test-getobjectinfo", "Asia/asiapics.jpg", mustGetPutObjReader(t, bytes.NewBufferString("asiapics"), int64(len("asiapics")), "", ""), opts)
    	if err != nil {
    		t.Fatalf("%s : %s", instanceType, err.Error())
    	}
    
    	// Put an empty directory
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Dec 23 15:46:00 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  9. docs/erasure/storage-class/README.md

    apply `STANDARD` storage class to the object. This means the data and parity drives will be used as set in `STANDARD` storage class.
    
    - If storage class is not defined before starting MinIO server, and subsequent PutObject metadata field has `x-amz-storage-class` present
    with values `REDUCED_REDUNDANCY` or `STANDARD`, MinIO server uses default parity values.
    
    ### Set metadata
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 15 23:04:20 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  10. docs/distributed/SIZING.md

    |      16 |                 2 |          16 |                       4 |                             4 |                              4 |
    
    If one or more drives are offline at the start of a PutObject or NewMultipartUpload operation the object will have additional data
    protection bits added automatically to provide the regular safety for these objects up to 50% of the number of drives.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 15 23:04:20 UTC 2023
    - 3.9K bytes
    - Viewed (0)
Back to top