Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for putReplicationOpts (0.16 sec)

  1. cmd/bucket-replication.go

    	for _, k := range []string{
    		key,
    		strings.ToLower(key),
    		http.CanonicalHeaderKey(key),
    	} {
    		v, ok := m[k]
    		if ok {
    			return v, ok
    		}
    	}
    	return "", false
    }
    
    func putReplicationOpts(ctx context.Context, sc string, objInfo ObjectInfo, partNum int) (putOpts minio.PutObjectOptions, err error) {
    	meta := make(map[string]string)
    	isSSEC := crypto.SSEC.IsEncrypted(objInfo.UserDefined)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  2. cmd/batch-handlers.go

    }
    
    func batchReplicationOpts(ctx context.Context, sc string, objInfo ObjectInfo) (putOpts miniogo.PutObjectOptions, err error) {
    	// TODO: support custom storage class for remote replication
    	putOpts, err = putReplicationOpts(ctx, "", objInfo, 0)
    	if err != nil {
    		return putOpts, err
    	}
    	putOpts.Internal = miniogo.AdvancedPutOptions{
    		SourceVersionID:    objInfo.VersionID,
    		SourceMTime:        objInfo.ModTime,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
Back to top