- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 114 for getObject (0.27 sec)
-
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 Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 32.3K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/VersionsMetadataGenerator.java
versions = new LinkedHashMap<>(); processedVersions = new LinkedHashMap<>(); timestamp = (Date) ConfigUtils.getObject(session, new Date(), "maven.startTime"); /* * NOTE: This should be considered a quirk to support interop with Maven's legacy ArtifactDeployer which
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 3.9K bytes - Viewed (0) -
cmd/metrics-v2_test.go
import ( "testing" "time" "github.com/prometheus/client_golang/prometheus" ) func TestGetHistogramMetrics(t *testing.T) { histBuckets := []float64{0.05, 0.1, 0.25, 0.5, 0.75} labels := []string{"GetObject", "PutObject", "CopyObject", "CompleteMultipartUpload"} ttfbHist := prometheus.NewHistogramVec( prometheus.HistogramOpts{ Name: "s3_ttfb_seconds",
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Mon Mar 04 18:05:56 GMT 2024 - 2.3K bytes - Viewed (0) -
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 Apr 28 19:28:10 GMT 2024 - Last Modified: Wed Jun 22 15:12:47 GMT 2022 - 8.4K bytes - Viewed (0) -
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 Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 2.7K bytes - Viewed (0) -
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 Apr 28 19:28:10 GMT 2024 - Last Modified: Mon Jun 14 18:04:14 GMT 2021 - 694 bytes - Viewed (0) -
cmd/bucket-policy-handlers_test.go
bucketPolicyTemplateWithoutVersion := `{"Version":"","Statement":[{"Sid":"","Effect":"Allow","Principal":{"AWS":["*"]},"Action":["s3:GetBucketLocation","s3:ListBucket"],"Resource":["arn:aws:s3:::%s"]},{"Sid":"","Effect":"Allow","Principal":{"AWS":["*"]},"Action":["s3:GetObject"],"Resource":["arn:aws:s3:::%s/this*"]}]}`
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 32.7K bytes - Viewed (0) -
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 Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Jun 10 15:17:03 GMT 2021 - 1K bytes - Viewed (0) -
cmd/sts-handlers_test.go
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Apr 25 15:50:16 GMT 2024 - 85.7K bytes - Viewed (0) -
cmd/admin-handlers-users-race_test.go
// Create a policy policy policy := "mypolicy" 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 Apr 28 19:28:10 GMT 2024 - Last Modified: Mon Sep 04 19:57:37 GMT 2023 - 3.9K bytes - Viewed (0)