MCPcopy
hub / github.com/cubefs/cubefs / SetChunkReadwrite

Method SetChunkReadwrite

blobstore/api/blobnode/client.go:94–94  ·  view source on GitHub ↗
(ctx context.Context, host string, args *ChangeChunkStatusArgs)

Source from the content-addressed store, hash-verified

92 ReleaseChunk(ctx context.Context, host string, args *ChangeChunkStatusArgs) (err error)
93 SetChunkReadonly(ctx context.Context, host string, args *ChangeChunkStatusArgs) (err error)
94 SetChunkReadwrite(ctx context.Context, host string, args *ChangeChunkStatusArgs) (err error)
95 ListChunks(ctx context.Context, host string, args *ListChunkArgs) (cis []*ChunkInfo, err error)
96
97 // shard

Callers 4

setVolumeStatusMethod · 0.65
TestTaskProcFunction · 0.65
TestNewBlobNodeClientFunction · 0.65
TestSetChunkStatusFunction · 0.65

Implementers 3

clientblobstore/api/blobnode/client.go
MockStorageAPIblobstore/testing/mocks/api_blobnode.g
MockStorageAPIMockRecorderblobstore/testing/mocks/api_blobnode.g

Calls

no outgoing calls

Tested by 3

TestTaskProcFunction · 0.52
TestNewBlobNodeClientFunction · 0.52
TestSetChunkStatusFunction · 0.52