Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for userDefined (0.1 sec)

  1. cmd/object-handlers.go

    				if err != nil || (err == nil && ondiskTimestamp.Before(srcTimestamp)) {
    					srcInfo.UserDefined[ReservedMetadataPrefixLower+TaggingTimestamp] = srcTimestamp.UTC().Format(time.RFC3339Nano)
    					srcInfo.UserDefined[xhttp.AmzObjectTagging] = objTags
    				}
    			}
    		} else {
    			srcInfo.UserDefined[xhttp.AmzObjectTagging] = objTags
    			srcInfo.UserDefined[ReservedMetadataPrefixLower+TaggingTimestamp] = UTCNow().Format(time.RFC3339Nano)
    		}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 124.2K bytes
    - Viewed (0)
  2. cmd/bucket-replication.go

    			ReplicationStatus:         replication.StatusType(objInfo.ReplicationStatus),
    		}
    		oi.UserDefined = make(map[string]string, len(objInfo.Metadata))
    		for k, v := range objInfo.Metadata {
    			oi.UserDefined[k] = v[0]
    		}
    		ce, ok := oi.UserDefined[xhttp.ContentEncoding]
    		if !ok {
    			ce, ok = oi.UserDefined[strings.ToLower(xhttp.ContentEncoding)]
    		}
    		if ok {
    			oi.ContentEncoding = ce
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 114.4K bytes
    - Viewed (0)
  3. cmd/object-handlers_test.go

    		// uploading the object.
    		_, err := obj.PutObject(context.Background(), input.bucketName, input.objectName, mustGetPutObjReader(t, bytes.NewReader(input.textData), input.contentLength, input.metaData[""], ""), ObjectOptions{UserDefined: input.metaData})
    		// if object upload fails stop the test.
    		if err != nil {
    			t.Fatalf("Put Object case %d:  Error uploading object: <ERROR> %v", i+1, err)
    		}
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 161.9K bytes
    - Viewed (0)
Back to top