- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for png (0.13 sec)
-
internal/event/rulesmap_test.go
{rulesMapCase2, ObjectCreatedPut, "2010/photo.jpg", NewTargetIDSet(TargetID{"1", "webhook"})}, {rulesMapCase3, ObjectCreatedPut, "2000/photo.png", NewTargetIDSet()}, {rulesMapCase4, ObjectCreatedPut, "2000/photo.png", NewTargetIDSet(TargetID{"2", "amqp"})}, } for i, testCase := range testCases { result := testCase.rulesMap.Match(testCase.eventName, testCase.objectName)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Jan 05 18:43:06 GMT 2024 - 6.8K bytes - Viewed (0) -
cmd/object-api-listobjects_test.go
var err error testObjects := []struct { parentBucket string name string content string meta map[string]string }{ {testBuckets[0], "Asia-maps.png", "asis-maps", map[string]string{"content-type": "image/png"}}, {testBuckets[0], "Asia/India/India-summer-photos-1", "contentstring", nil}, {testBuckets[0], "Asia/India/Karnataka/Bangalore/Koramangala/pics", "contentstring", nil},
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 11:07:40 GMT 2024 - 73.1K bytes - Viewed (0) -
cmd/handler-utils_test.go
metadata map[string]string shouldFail bool }{ // Validate if there a known 'content-type'. { header: http.Header{ "Content-Type": []string{"image/png"}, }, metadata: map[string]string{ "content-type": "image/png", }, shouldFail: false, }, // Validate if there are no keys to extract. { header: http.Header{ "Test-1": []string{"123"}, },
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 6.1K bytes - Viewed (0) -
cmd/signature-v4-utils_test.go
func TestCheckMetaHeaders(t *testing.T) { signedHeadersMap := map[string][]string{ "X-Amz-Meta-Test": {"test"}, "X-Amz-Meta-Extension": {"png"}, "X-Amz-Meta-Name": {"imagepng"}, } expectedMetaTest := "test" expectedMetaExtension := "png" expectedMetaName := "imagepng" r, err := http.NewRequest(http.MethodPut, "http://play.min.io:9000", nil) if err != nil {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 05 21:26:41 GMT 2024 - 14.3K bytes - Viewed (0) -
cmd/object_api_suite_test.go
// Test empty. _, err = obj.PutObject(context.Background(), "bucket", "minio.png", mustGetPutObjReader(t, bytes.NewBufferString(uploadContent), int64(len(uploadContent)), "", ""), opts) if err != nil { t.Fatalf("%s: <ERROR> %s", instanceType, err) } objInfo, err := obj.GetObjectInfo(context.Background(), "bucket", "minio.png", opts) if err != nil { t.Fatalf("%s: <ERROR> %s", instanceType, err) }
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) -
cmd/globals.go
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Apr 24 04:08:47 GMT 2024 - 16.5K bytes - Viewed (0) -
cmd/server_test.go
c.Assert(err, nil) c.Assert(response.StatusCode, http.StatusOK) // Uploading a new object with Content-Type "image/png". // content for the object to be uploaded. buffer1 := bytes.NewReader([]byte("hello world")) objectName := "test-object.png" // constructing HTTP request for object upload. request, err = newTestSignedRequest(http.MethodPut, getPutObjectURL(s.endPoint, bucketName, objectName),
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 108K bytes - Viewed (0) -
cmd/object-api-multipart_test.go
bucketNames := []string{"minio-bucket", "minio-2-bucket", "minio-3-bucket"} objectNames := []string{"minio-object-1.txt", "minio-object.txt", "neymar-1.jpeg", "neymar.jpeg", "parrot-1.png", "parrot.png"} uploadIDs := []string{} opts := ObjectOptions{} // bucketnames[0]. // objectNames[0]. // uploadIds [0]. // Create bucket before initiating NewMultipartUpload.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 77.1K bytes - Viewed (0) -
cmd/generic-handlers.go
return } } h.ServeHTTP(w, r) }) } var redirectPrefixes = map[string]struct{}{ "favicon-16x16.png": {}, "favicon-32x32.png": {}, "favicon-96x96.png": {}, "index.html": {}, minioReservedBucket: {}, } // Fetch redirect location if urlPath satisfies certain // criteria. Some special names are considered to be
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 11 01:08:52 GMT 2024 - 20.7K bytes - Viewed (0) -
cmd/s3-zip-handlers.go
xMinIOExtract = "x-minio-extract" ) // splitZipExtensionPath splits the S3 path to the zip file and the path inside the zip: // // e.g /path/to/archive.zip/backup-2021/myimage.png => /path/to/archive.zip, backup/myimage.png func splitZipExtensionPath(input string) (zipPath, object string, err error) { idx := strings.Index(input, archivePattern) if idx < 0 { // Should never happen
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Apr 09 10:41:25 GMT 2024 - 15.8K bytes - Viewed (0)