MCPcopy
hub / github.com/cubefs/cubefs / CreateChunk

Method CreateChunk

blobstore/api/blobnode/client.go:90–90  ·  view source on GitHub ↗

chunks

(ctx context.Context, host string, args *CreateChunkArgs)

Source from the content-addressed store, hash-verified

88
89 // chunks
90 CreateChunk(ctx context.Context, host string, args *CreateChunkArgs) (err error)
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)

Callers 1

TestNewBlobNodeClientFunction · 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 1

TestNewBlobNodeClientFunction · 0.52