Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for putOpts (0.16 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) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 20 09:05:54 GMT 2024
    - 14.2K 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(),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Oct 28 04:08:53 GMT 2023
    - 23.2K 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)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 37.7K bytes
    - Viewed (5)
  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
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
Back to top