MCPcopy
hub / github.com/cubefs/cubefs / GetChunkStorage

Method GetChunkStorage

blobstore/blobnode/core/proto.go:157–157  ·  view source on GitHub ↗
(vuid proto.Vuid)

Source from the content-addressed store, hash-verified

155 DiskInfo() (info bnapi.DiskInfo)
156 Stats() (stat DiskStats)
157 GetChunkStorage(vuid proto.Vuid) (cs ChunkAPI, found bool)
158 GetConfig() (config *Config)
159 GetIoQos() (ioQos qos.Qos)
160 GetDataPath() (path string)

Callers 15

TestSetChunkStatusFunction · 0.65
ChunkInspectMethod · 0.65
ChunkReleaseMethod · 0.65
ChunkReadonlyMethod · 0.65
ChunkReadwriteMethod · 0.65
ChunkStatMethod · 0.65
TestCheckChunkFileFunction · 0.65
ShardGetMethod · 0.65
ShardListMethod · 0.65
ShardStatMethod · 0.65
ShardMarkdeleteMethod · 0.65
ShardDeleteMethod · 0.65

Implementers 3

MockDiskAPIblobstore/blobnode/disk_mock_test.go
MockDiskAPIMockRecorderblobstore/blobnode/disk_mock_test.go
diskMockblobstore/blobnode/core/chunk/compact_

Calls

no outgoing calls

Tested by 6

TestSetChunkStatusFunction · 0.52
TestCheckChunkFileFunction · 0.52
TestDataInspectFunction · 0.52
TestShardPutAndGetFunction · 0.52
TestChunkReportFunction · 0.52
TestChunkReport2Function · 0.52