MCPcopy
hub / github.com/minio/minio-go / testUserMetadataCopyingV2

Function testUserMetadataCopyingV2

functional_tests.go:11918–11932  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11916}
11917
11918func testUserMetadataCopyingV2() {
11919 // initialize logging params
11920 startTime := time.Now()
11921 testName := getFuncName()
11922 function := "CopyObject(destination, source)"
11923 args := map[string]interface{}{}
11924
11925 c, err := NewClient(ClientConfig{CredsV2: true})
11926 if err != nil {
11927 logError(testName, function, args, startTime, "", "MinIO client v2 object creation failed", err)
11928 return
11929 }
11930
11931 testUserMetadataCopyingWrapper(c)
11932}
11933
11934func testStorageClassMetadataPutObject() {
11935 // initialize logging params

Callers 1

mainFunction · 0.85

Calls 4

getFuncNameFunction · 0.85
NewClientFunction · 0.85
logErrorFunction · 0.85

Tested by

no test coverage detected