MCPcopy
hub / github.com/cubefs/cubefs / SetChunkReadonly

Method SetChunkReadonly

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

Source from the content-addressed store, hash-verified

91 StatChunk(ctx context.Context, host string, args *StatChunkArgs) (ci *ChunkInfo, err error)
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

Callers 5

setVolumeStatusMethod · 0.65
TestTaskProcFunction · 0.65
TestNewBlobNodeClientFunction · 0.65
TestSetChunkStatusFunction · 0.65
TestReleaseChunkFunction · 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 4

TestTaskProcFunction · 0.52
TestNewBlobNodeClientFunction · 0.52
TestSetChunkStatusFunction · 0.52
TestReleaseChunkFunction · 0.52