Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 77 for putObject (0.11 sec)

  1. cmd/object-api-putobject_test.go

    }
    
    // Wrapper for calling PutObject tests for both Erasure multiple disks and single node setup.
    func TestObjectAPIPutObjectSingle(t *testing.T) {
    	ExecExtendedObjectLayerTest(t, testObjectAPIPutObject)
    }
    
    // Tests validate correctness of PutObject.
    func testObjectAPIPutObject(obj ObjectLayer, instanceType string, t TestErrHandler) {
    	// Generating cases for which the PutObject fails.
    	bucket := "minio-bucket"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  2. cmd/erasure-object_test.go

    		t.Fatalf("Failed to putObject %v", err)
    	}
    
    	parts1, errs1 := readAllFileInfo(ctx, erasureDisks, "", bucket, object1, "", false, false)
    	parts1SC := globalStorageClass
    
    	// Object for test case 2 - No StorageClass defined, MetaData in PutObject requesting RRS Class
    	object2 := "object2"
    	metadata2 := make(map[string]string)
    	metadata2["x-amz-storage-class"] = storageclass.RRS
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  3. cmd/object_api_suite_test.go

    		}
    	}
    	// check paging with prefix at end returns less objects.
    	{
    		_, err = obj.PutObject(context.Background(), "bucket", "newPrefix", mustGetPutObjReader(t, bytes.NewBufferString(uploadContent), int64(len(uploadContent)), "", ""), opts)
    		if err != nil {
    			t.Fatalf("%s: <ERROR> %s", instanceType, err)
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 02 15:13:05 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  4. cmd/admin-handlers-users_test.go

    	c.Helper()
    	_, err := client.PutObject(ctx, bucket, "some-object", bytes.NewBuffer([]byte("stuff")), 5, minio.PutObjectOptions{})
    	if err != nil {
    		c.Fatalf("upload did not succeed got %#v", err)
    	}
    }
    
    func (c *check) mustNotUpload(ctx context.Context, client *minio.Client, bucket string) {
    	c.Helper()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 47.3K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/storage/StorageClientTest.java

            minioClient.makeBucket(MakeBucketArgs.builder().bucket(bucketName).build());
            minioClient.putObject(PutObjectArgs.builder().bucket(bucketName).object("file1.txt")
                    .stream(new ByteArrayInputStream("file1".getBytes()), 5, -1).contentType("application/octet-stream").build());
            minioClient.putObject(PutObjectArgs.builder().bucket(bucketName).object("dir1/file2.txt")
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  6. cmd/erasure-healing-common_test.go

    	}
    
    	for i, test := range testCases {
    		test := test
    		t.Run(fmt.Sprintf("case-%d", i), func(t *testing.T) {
    			_, err = obj.PutObject(ctx, bucket, object, mustGetPutObjReader(t, bytes.NewReader(data), int64(len(data)), "", ""), ObjectOptions{})
    			if err != nil {
    				t.Fatalf("Failed to putObject %v", err)
    			}
    
    			partsMetadata, errs := readAllFileInfo(ctx, erasureDisks, "", bucket, object, "", false, true)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 15:19:10 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  7. cmd/ftp-server-driver.go

    		return err
    	}
    
    	if prefix == "" {
    		return clnt.MakeBucket(context.Background(), bucket, minio.MakeBucketOptions{Region: globalSite.Region()})
    	}
    
    	dirPath := buildMinioDir(prefix)
    
    	_, err = clnt.PutObject(context.Background(), bucket, dirPath, bytes.NewReader([]byte("")), 0, minio.PutObjectOptions{
    		DisableContentSha256: true,
    	})
    	return err
    }
    
    // GetFile implements ftpDriver
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 14K bytes
    - Viewed (0)
  8. docs/bucket/replication/README.md

    can be monitored by configuring event notifications on the source and target buckets using `mc event add`.On the source side, the `s3:PutObject`, `s3:Replication:OperationCompletedReplication` and `s3:Replication:OperationFailedReplication` events show the status of replication in the `X-Amz-Replication-Status` metadata.
    
    On the target bucket, `s3:PutObject` event shows `X-Amz-Replication-Status` status of `REPLICA` in the metadata. Additional metrics to monitor backlog state for the purpose...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 24 23:46:33 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  9. cmd/object-api-interface.go

    	Transition          TransitionOptions
    	Expiration          ExpirationOptions
    	LifecycleAuditEvent lcAuditEvent
    
    	WantChecksum *hash.Checksum // x-amz-checksum-XXX checksum sent to PutObject/ CompleteMultipartUpload.
    
    	NoDecryption                        bool      // indicates if the stream must be decrypted.
    	PreserveETag                        string    // preserves this etag during a PUT call.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  10. docs/logging/README.md

    ```json
    {
      "version": "1",
      "deploymentid": "90e81272-45d9-4fe8-9c45-c9a7322bf4b5",
      "time": "2024-05-09T07:38:10.449688982Z",
      "event": "",
      "trigger": "incoming",
      "api": {
        "name": "PutObject",
        "bucket": "testbucket",
        "object": "hosts",
        "status": "OK",
        "statusCode": 200,
        "rx": 401,
        "tx": 0,
        "timeToResponse": "13309747ns",
        "timeToResponseInNS": "13309747"
      },
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 09 17:15:03 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top