Documentation ¶
Index ¶
- type ChunkInfo
- func (ci *ChunkInfo) CancelFindChunkInfo(rootCid boson.Address)
- func (ci *ChunkInfo) ChangeDiscoverStatus(rootCid boson.Address, s chunkinfo.Pull)
- func (ci *ChunkInfo) DelDiscover(rootCid boson.Address)
- func (ci *ChunkInfo) DelFile(rootCid boson.Address, del func()) bool
- func (ci *ChunkInfo) FindChunkInfo(_ context.Context, authInfo []byte, rootCid boson.Address, ...) bool
- func (ci *ChunkInfo) GetChunkInfo(rootCid boson.Address, cid boson.Address) []aco.Route
- func (ci *ChunkInfo) GetChunkInfoDiscoverOverlays(rootCid boson.Address) []aurora.ChunkInfoOverlay
- func (ci *ChunkInfo) GetChunkInfoServerOverlays(rootCid boson.Address) []aurora.ChunkInfoOverlay
- func (ci *ChunkInfo) GetChunkInfoSource(rootCid boson.Address) aurora.ChunkInfoSourceApi
- func (ci *ChunkInfo) GetChunkPyramid(rootCid boson.Address) []*chunkinfo.PyramidCidNum
- func (ci *ChunkInfo) GetFileList(overlay boson.Address) (fileListInfo []map[string]interface{}, rootList []boson.Address)
- func (ci *ChunkInfo) Init(ctx context.Context, authInfo []byte, rootCid boson.Address) bool
- func (ci *ChunkInfo) IsDiscover(rootCid boson.Address) bool
- func (ci *ChunkInfo) OnChunkRetrieved(cid, rootCid, sourceOverlay boson.Address) error
- func (ci *ChunkInfo) OnChunkTransferred(cid boson.Address, rootCid boson.Address, overlays, target boson.Address) error
- func (ci *ChunkInfo) PutChunkPyramid(rootCid, cid boson.Address, sort int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChunkInfo ¶
type ChunkInfo struct {
// contains filtered or unexported fields
}
func New ¶
func New(route mock.MockRouteTable) *ChunkInfo
func (*ChunkInfo) CancelFindChunkInfo ¶
func (*ChunkInfo) ChangeDiscoverStatus ¶
func (*ChunkInfo) DelDiscover ¶ added in v1.0.9
func (*ChunkInfo) FindChunkInfo ¶
func (*ChunkInfo) GetChunkInfo ¶
func (*ChunkInfo) GetChunkInfoDiscoverOverlays ¶
func (ci *ChunkInfo) GetChunkInfoDiscoverOverlays(rootCid boson.Address) []aurora.ChunkInfoOverlay
func (*ChunkInfo) GetChunkInfoServerOverlays ¶
func (ci *ChunkInfo) GetChunkInfoServerOverlays(rootCid boson.Address) []aurora.ChunkInfoOverlay
func (*ChunkInfo) GetChunkInfoSource ¶ added in v1.1.6
func (ci *ChunkInfo) GetChunkInfoSource(rootCid boson.Address) aurora.ChunkInfoSourceApi
func (*ChunkInfo) GetChunkPyramid ¶
func (ci *ChunkInfo) GetChunkPyramid(rootCid boson.Address) []*chunkinfo.PyramidCidNum
func (*ChunkInfo) GetFileList ¶
func (*ChunkInfo) OnChunkRetrieved ¶ added in v1.1.7
func (*ChunkInfo) OnChunkTransferred ¶
Click to show internal directories.
Click to hide internal directories.