Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 101 for getSubject (0.26 sec)

  1. cmd/object-api-interface.go

    }
    
    // GetObject - TODO(aead): This function just acts as an adapter for GetObject tests and benchmarks
    // since the GetObject method of the ObjectLayer interface has been removed. Once, the
    // tests are adjusted to use GetObjectNInfo this function can be removed.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 17K bytes
    - Viewed (0)
  2. docs/multi-user/README.md

    ```json
    cat > getonly.json << EOF
    {
      "Version": "2012-10-17",
      "Statement": [
    	{
    	  "Action": [
    		"s3:GetObject"
    	  ],
    	  "Effect": "Allow",
    	  "Resource": [
    		"arn:aws:s3:::my-bucketname/*"
    	  ],
    	  "Sid": ""
    	}
      ]
    }
    EOF
    ```
    
    Create new canned policy by name `getonly` using `getonly.json` policy file.
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 21 06:38:06 GMT 2023
    - 8K bytes
    - Viewed (0)
  3. cmd/object_api_suite_test.go

    		}
    	}
    
    	for key, value := range objects {
    		var byteBuffer bytes.Buffer
    		err = GetObject(context.Background(), obj, "bucket", key, 0, int64(len(value)), &byteBuffer, "", opts)
    		if err != nil {
    			t.Fatalf("%s: <ERROR> %s", instanceType, err)
    		}
    		if !bytes.Equal(byteBuffer.Bytes(), value) {
    			t.Errorf("%s: Mismatch of GetObject data with the expected one.", instanceType)
    		}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 32.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/util/WebApiUtil.java

            LaRequestUtil.getOptionalRequest().ifPresent(req -> req.setAttribute(name, value));
        }
    
        @SuppressWarnings("unchecked")
        public static <T> T getObject(final String name) {
            return LaRequestUtil.getOptionalRequest().map(req -> (T) req.getAttribute(name)).orElse(null);
        }
    
        public static void setError(final int statusCode, final String message) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  5. docs/extensions/s3zip/examples/minio-go/main.go

    	if err != nil {
    		log.Fatalln(err)
    	}
    
    	var opts minio.GetObjectOptions
    
    	// Add extract header to request:
    	opts.Set("x-minio-extract", "true")
    
    	// Download API.md from the archive
    	rd, err := s3Client.GetObject(context.Background(), "your-bucket", "path/to/file.zip/data.csv", opts)
    	if err != nil {
    		log.Fatalln(err)
    	}
    	_, err = io.Copy(os.Stdout, rd)
    	if err != nil {
    		log.Fatalln(err)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jun 14 18:04:14 GMT 2021
    - 694 bytes
    - Viewed (0)
  6. docs/extensions/s3zip/examples/aws-js/main.js

            } else {
                console.log("Success", data);
            }
        });
    
    
    // Download a file in the archive and store it in /tmp/data.csv
    var file = require('fs').createWriteStream('/tmp/data.csv');
    s3.getObject({Bucket: 'your-bucket', Key: 'path/to/file.zip/data.csv'}).
        on('build', function(req) { req.httpRequest.headers['X-Minio-Extract'] = 'true'; }).
        on('httpData', function(chunk) { file.write(chunk); }).
    JavaScript
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jun 10 15:17:03 GMT 2021
    - 1K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/LocalSnapshotMetadataGenerator.java

        private final Date timestamp;
    
        LocalSnapshotMetadataGenerator(RepositorySystemSession session, InstallRequest request) {
            timestamp = (Date) ConfigUtils.getObject(session, new Date(), "maven.startTime");
    
            snapshots = new LinkedHashMap<>();
        }
    
        @Override
        public Collection<? extends Metadata> prepare(Collection<? extends Artifact> artifacts) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  8. cmd/admin-handlers-users_test.go

    	policy := "mypolicy-test-user-update"
    	policyBytes := []byte(fmt.Sprintf(`{
     "Version": "2012-10-17",
     "Statement": [
      {
       "Effect": "Allow",
       "Action": [
        "s3:PutObject",
        "s3:GetObject",
        "s3:ListBucket"
       ],
       "Resource": [
        "arn:aws:s3:::%s/*"
       ]
      }
     ]
    }`, bucket))
    	err = s.adm.AddCannedPolicy(ctx, policy, policyBytes)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 12 16:36:16 GMT 2024
    - 45.7K bytes
    - Viewed (0)
  9. docs/debugging/s3-verify/main.go

    		return false
    	}
    
    	core := minio.Core{Client: sclnt}
    	sobj, _, _, err := core.GetObject(context.Background(), sourceBucket, srcCtnt.Key, opts)
    	if err != nil {
    		fmt.Printf("unreadable on source: %s (%s)\n", srcCtnt.Key, err)
    		return false
    	}
    
    	tobj, _, _, err := core.GetObject(context.Background(), targetBucket, tgtCtnt.Key, opts)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jun 22 15:12:47 GMT 2022
    - 8.4K bytes
    - Viewed (0)
  10. cmd/sts-handlers_test.go

       {
        "Sid": "ObjectActionsRW",
        "Effect": "Allow",
        "Action": [
         "s3:PutObject",
         "s3:PutObjectTagging",
         "s3:AbortMultipartUpload",
         "s3:DeleteObject",
         "s3:GetObject",
         "s3:GetObjectTagging",
         "s3:GetObjectVersion",
         "s3:ListMultipartUploadParts"
        ],
        "Resource": [
         "arn:aws:s3:::%s/*"
        ]
       },
       {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
Back to top