# Functions
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
AssetSourceAdminPull.
AssetSourceAWS status.
AssetSourceMinio status.
AssetSourceStorage status.
AssetTypeCarfile type.
AssetTypeFile type.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
EventNodeOffline node offline event.
EventNodeOnline node online event.
MinioEventAdd event.
NAT1.
NatTypeNo not nat.
NAT3.
NAT2.
NAT4.
NatTypeUnknown Unknown NAT type.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ProfitTypeBase.
ProfitTypeBePull.
ProfitTypeDownload.
ProfitTypeOfflinePenalty.
ProfitTypePull.
ProfitTypeReimburse.
ProfitTypeUpload.
ProfitTypeValidatable.
ProfitTypeValidator.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ReplicaEventAdd event.
ReplicaEventRemove event.
ReplicaStatusFailed status.
ReplicaStatusPulling status.
ReplicaStatusSucceeded status.
ReplicaStatusWaiting status.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ValidationStatusCancel is the validation status when the validation is canceled.
ValidationStatusCIDToHashErr is the validation status when there is an error converting a CID to a hash.
ValidationStatusCreate is the initial validation status when the validation process starts.
ValidationStatusGetValidatorBlockErr is the validation status when there is an error getting the blocks from validator.
ValidationStatusLoadDBErr is the validation status when there is an error loading the database.
ValidationStatusNodeOffline is the validation status when the node offline.
ValidationStatusNodeTimeOut is the validation status when the node times out.
ValidationStatusSuccess is the validation status when the validation is success.
ValidationStatusValidateFail is the validation status when the validation fail.
ValidationStatusValidatorMismatch is the validation status when the validator mismatches.
ValidationStatusValidatorTimeOut is the validation status when the validator times out.
No description provided by the author
No description provided by the author
No description provided by the author
WorkloadStatusCreate is the initial workload status when the workload process starts.
WorkloadStatusFailed is the workload status when the workload is failed.
WorkloadStatusInvalid is the workload status when the workload is invalid.
WorkloadStatusSucceeded is the workload status when the workload is succeeded.
# Variables
No description provided by the author
key is function name, value is permission name.
ReplicaStatusAll contains all possible replica statuses.
RunningNodeType represents the type of the running node.
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
AssetGroup user asset group.
No description provided by the author
AssetPullProgress represents the progress of pulling an asset.
No description provided by the author
AssetRecord represents information about an asset record.
No description provided by the author
AssetStateInfo represents information about an asset state.
AssetStatistics Statistics on asset pulls and downloads.
AssetStats contains statistics about assets.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
AWSDataInfo aws data.
No description provided by the author
No description provided by the author
CandidateDownloadInfo represents download information for a candidate.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DownloadHistory represents the record of a node download.
No description provided by the author
EdgeDownloadInfo represents download information for an edge node.
EdgeDownloadInfoList represents a list of EdgeDownloadInfo structures along with scheduler URL and key.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
InProgressAsset represents an asset that is currently being fetched, including its progress details.
No description provided by the author
No description provided by the author
ListAssetGroupRsp list asset group records.
ListAssetRecordRsp list asset records.
ListAssetSummaryRsp list asset and group.
ListDownloadRecordRsp download record rsp.
ListNodeAssetRsp list node assets.
ListNodeProfitDetailsRsp list node profit.
ListNodeReplicaRsp list node assets.
ListNodesRsp list node rsp.
ListReplicaEventRsp list replica events.
ListReplicaRsp list asset replicas.
ListRetrieveEventRsp list retrieve event.
ListStorageStatsRsp list storage stats records.
ListValidationResultRsp list validated result.
ListWorkloadRecordRsp list workload result.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NodeAssetInfo node asset info of web.
NodeDynamicInfo contains the real-time status information of a node, such as the last online time, online duration, CPU usage rate, and score changes.
NodeInfo contains information about a node.
NodeIPInfo.
NodeReplicaInfo node replica info of web.
NodeReplicaRsp represents the replicas of a node asset.
NodeReplicaStatus represents the status of a node cache.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ProjectRecordReq.
No description provided by the author
No description provided by the author
ProjectStateInfo represents information about an project state.
No description provided by the author
No description provided by the author
PullAssetReq represents a request to pull an asset to Titan.
PullResult contains information about the result of a data pull.
No description provided by the author
RemoveAssetResult contains information about the result of removing an asset.
ReplicaEventInfo replica event info.
ReplicaInfo represents information about an asset replica.
No description provided by the author
No description provided by the author
RetrieveEvent retrieve event.
SchedulerCfg scheduler config.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
StorageStats storage stats of user.
No description provided by the author
Token access download asset.
TokenPayload payload of token.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
UserAssetSummary user asset and group.
No description provided by the author
ValidationInfo Validation, election related information.
ValidationResultInfo validator result info.
No description provided by the author
WorkloadReportRecord use to store workloadReport.
WorkloadRecordReq use to store workloadReport.
# Type aliases
No description provided by the author
No description provided by the author
AssetHash is an identifier for a asset.
AssetSource aws or storage.
AssetType represents the type of a asset.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
EventTopics represents topics for pub/sub events.
No description provided by the author
NatType represents the type of NAT of a node.
NodeClientType node client type.
NodeStatus node status.
NodeType node type.
No description provided by the author
No description provided by the author
No description provided by the author
ProfitType represents the type of profit.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ReplicaStatus represents the status of a replica pull.
No description provided by the author
No description provided by the author
No description provided by the author
ValidationStatus Validation Status.
No description provided by the author
WorkloadStatus Workload Status.