MCPcopy Create free account
hub / github.com/AbelChe/evil_minio / PutObject

Method PutObject

cmd/data-usage-cache.go:877–877  ·  view source on GitHub ↗
(ctx context.Context, bucket, object string, data *PutObjReader, opts ObjectOptions)

Source from the content-addressed store, hash-verified

875type objectIO interface {
876 GetObjectNInfo(ctx context.Context, bucket, object string, rs *HTTPRangeSpec, h http.Header, lockType LockType, opts ObjectOptions) (reader *GetObjectReader, err error)
877 PutObject(ctx context.Context, bucket, object string, data *PutObjReader, opts ObjectOptions) (objInfo ObjectInfo, err error)
878}
879
880// load the cache content with name from minioMetaBackgroundOpsBucket.

Callers 15

PutObjectMethod · 0.65
CopyObjectMethod · 0.65
PutObjectMethod · 0.65
saveConfigWithOptsFunction · 0.65
PutMethod · 0.65
testAPIHeadObjectHandlerFunction · 0.65
testAPIGetObjectHandlerFunction · 0.65
testAPICopyObjectHandlerFunction · 0.65
CopyObjectHandlerMethod · 0.65

Implementers 4

erasureServerPoolscmd/erasure-server-pool.go
erasureSetscmd/erasure-sets.go
cacheObjectscmd/disk-cache.go
erasureObjectscmd/erasure.go

Calls

no outgoing calls

Tested by 15

testAPIHeadObjectHandlerFunction · 0.52
testAPIGetObjectHandlerFunction · 0.52
testAPICopyObjectHandlerFunction · 0.52
_testListObjectsFunction · 0.52
testDeleteObjectVersionFunction · 0.52
testListObjectVersionsFunction · 0.52
BenchmarkListObjectsFunction · 0.52