Documentation ¶
Index ¶
Constants ¶
View Source
const DAG_MAX = 3200000
Variables ¶
View Source
var ( ErrDaemonStart = errors.New("daemon did not start correctly") ErrDaemonStop = errors.New("daemon did not stop correctly") )
View Source
var AdminCmd = &cli.Command{
Name: "admin",
Usage: "Perform admin activities with an indexer",
Subcommands: []*cli.Command{
allowCmd,
blockCmd,
freezeIndexerCmd,
importProvidersCmd,
listAssignedCmd,
listPreferredCmd,
reloadCmd,
statusCmd,
syncCmd,
unassignCmd,
},
}
View Source
var AssignerCmd = &cli.Command{ Name: "assigner", Usage: "Assigner service", Subcommands: []*cli.Command{ command.DaemonCmd, command.InitCmd, }, }
View Source
var DaemonCmd = &cli.Command{
Name: "daemon",
Usage: "Start an indexer daemon, accepting http requests",
Flags: daemonFlags,
Action: daemonAction,
}
View Source
var FindCmd = &cli.Command{
Name: "find",
Usage: "Find value by CID or multihash in indexer",
Flags: findFlags,
Action: findAction,
}
View Source
var ImportCmd = &cli.Command{
Name: "import",
Usage: "Imports data directly into indexer, bypassing ingestion process",
Subcommands: []*cli.Command{
importCidListCmd,
importCarCmd,
importManifestCmd,
},
}
View Source
var InitCmd = &cli.Command{
Name: "init",
Usage: "Initialize or upgrade indexer node config file",
Flags: initFlags,
Action: initAction,
}
View Source
var LoadtestCmd = &cli.Command{
Name: "loadtest",
Usage: "Perform load testing with an indexer",
Subcommands: []*cli.Command{
loadGenCmd,
loadGenVerifyCmd,
syntheticCmd,
},
}
View Source
var LogCmd = &cli.Command{
Name: "log",
Usage: "Show log subsystems and modify log levels",
Flags: []cli.Flag{indexerHostFlag},
Subcommands: []*cli.Command{
subsystemsCmd,
setLevelCmd,
},
}
View Source
var ProvidersCmd = &cli.Command{
Name: "providers",
Usage: "Commands to get provider information",
Subcommands: []*cli.Command{
getProvidersCmd,
listProvidersCmd,
},
}
View Source
var SPAddrCmd = &cli.Command{
Name: "spaddr",
Usage: "Get storage provider p2p ID and address from lotus gateway",
Flags: spAddrFlags,
Action: spAddrAction,
}
Functions ¶
This section is empty.
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.