Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for testObject2 (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. cmd/server_test.go

    	c.Assert(true, bytes.Equal(responseBody, []byte("hello one")))
    
    	// data for new object to be uploaded.
    	buffer2 := bytes.NewReader([]byte("hello two"))
    	objectName = "testObject2"
    	request, err = newTestSignedRequest(http.MethodPut, getPutObjectURL(s.endPoint, bucketName, objectName),
    		int64(buffer2.Len()), buffer2, s.accessKey, s.secretKey, s.signer)
    	c.Assert(err, nil)
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 118.1K bytes
    - Click Count (0)
  2. docs/lambda/README.md

    Create a bucket named `functionbucket`
    ```
    mc alias set myminio/ http://localhost:9000 minioadmin minioadmin
    mc mb myminio/functionbucket
    ```
    
    Create a file `testobject` with some test data that will be transformed
    ```
    cat > testobject << EOF
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  3. cmd/object-handlers_test.go

    			t.Fatalf("Put Object case %d:  Error uploading object: <ERROR> %v", i+1, err)
    		}
    	}
    
    	testObject := "testobject"
    
    	// Initiate Multipart upload for testing CopyObjectPartHandler.
    	rec := httptest.NewRecorder()
    	req, err := newTestSignedRequestV4(http.MethodPost, getNewMultipartURL("", bucketName, testObject),
    		0, nil, credentials.AccessKey, credentials.SecretKey, nil)
    	if err != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 163.1K bytes
    - Click Count (0)
  4. cmd/object-api-options_test.go

    			rec := httptest.NewRecorder()
    			req := httptest.NewRequest("GET", "/test", nil)
    			req.Header = testCase.headers
    
    			opts, _ := getAndValidateAttributesOpts(ctx, rec, req, bucket, "testobject")
    
    			if !reflect.DeepEqual(opts.ObjectAttributes, testCase.wantObjectAttrs) {
    				t.Errorf("want opts %v, got %v", testCase.wantObjectAttrs, opts.ObjectAttributes)
    			}
    		})
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  5. cmd/metacache-entries_test.go

    				}},
    			},
    		},
    	}
    	inputSerialized := make([]metaCacheEntry, len(inputs))
    	for i, xl := range inputs {
    		xl.sortByModTime()
    		var err error
    		entry := metaCacheEntry{
    			name: "testobject",
    		}
    		entry.metadata, err = xl.AppendTo(nil)
    		if err != nil {
    			t.Fatal(err)
    		}
    		inputSerialized[i] = entry
    	}
    
    	tests := []struct {
    		name         string
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 31.6K bytes
    - Click Count (0)
  6. cmd/post-policy_test.go

    	for i, test := range testCasesV2 {
    		// initialize HTTP NewRecorder, this records any mutations to response writer inside the handler.
    		rec := httptest.NewRecorder()
    		req, perr := newPostRequestV2("", bucketName, "testobject", test.secretKey, test.formData)
    		if perr != nil {
    			t.Fatalf("Test %d: %s: Failed to create HTTP request for PostPolicyHandler: <ERROR> %v", i+1, instanceType, perr)
    		}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 30.6K bytes
    - Click Count (0)
Back to Top