Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for putOpts (0.04 sec)

  1. cmd/object-api-options.go

    func putOptsFromReq(ctx context.Context, r *http.Request, bucket, object string, metadata map[string]string) (opts ObjectOptions, err error) {
    	return putOpts(ctx, bucket, object, r.Form.Get(xhttp.VersionID), r.Header, metadata)
    }
    
    func putOpts(ctx context.Context, bucket, object, vid string, hdrs http.Header, metadata map[string]string) (opts ObjectOptions, err error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 21 21:13:59 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  2. cmd/bucket-replication-handlers.go

    			return
    		}
    
    		reader := bytes.NewReader(buf)
    		// fake a PutObject and RemoveObject call to validate permissions
    		c := &minio.Core{Client: clnt.Client}
    		putOpts := minio.PutObjectOptions{
    			Internal: minio.AdvancedPutOptions{
    				SourceVersionID:          mustGetUUID(),
    				ReplicationStatus:        minio.ReplicationStatusReplica,
    				SourceMTime:              time.Now(),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  3. cmd/erasure-sets.go

    		}
    	}
    
    	putOpts := ObjectOptions{
    		ServerSideEncryption: dstOpts.ServerSideEncryption,
    		UserDefined:          srcInfo.UserDefined,
    		Versioned:            dstOpts.Versioned,
    		VersionID:            dstOpts.VersionID,
    		MTime:                dstOpts.MTime,
    	}
    
    	return dstSet.putObject(ctx, dstBucket, dstObject, srcInfo.PutObjReader, putOpts)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 27 10:41:37 UTC 2024
    - 37K bytes
    - Viewed (1)
  4. cmd/bucket-lifecycle.go

    		VersionID:        vid,
    	}, nil
    }
    
    // set ObjectOptions for PUT call to restore temporary copy of transitioned data
    func putRestoreOpts(bucket, object string, rreq *RestoreObjectRequest, objInfo ObjectInfo) (putOpts ObjectOptions) {
    	meta := make(map[string]string)
    	sc := rreq.OutputLocation.S3.StorageClass
    	if sc == "" {
    		sc = objInfo.StorageClass
    	}
    	meta[strings.ToLower(xhttp.AmzStorageClass)] = sc
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 23 15:35:37 UTC 2024
    - 33.7K bytes
    - Viewed (0)
Back to top