command

package
v0.8.28 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 7, 2024 License: Apache-2.0, MIT Imports: 56 Imported by: 0

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,
		markAdProcessedCmd,
		reloadCmd,
		statusCmd,
		syncCmd,
		unassignCmd,
		telemetryCmd,
	},
}
View Source
var AssignerCmd = &cli.Command{
	Name:        "assigner",
	Usage:       "Start a network indexer assigner service daemon",
	Description: "The assigner service is responsible for assigning content advertisement publishers to indexers.",
	Subcommands: []*cli.Command{
		command.DaemonCmd,
		command.InitCmd,
	},
}
View Source
var DaemonCmd = &cli.Command{
	Name:   "daemon",
	Usage:  "Start a network indexer daemon",
	Flags:  daemonFlags,
	Action: daemonAction,
}
View Source
var GCCmd = &cli.Command{
	Name:        "gc",
	Usage:       "IPNI indexer garbage collector",
	Description: "Remove deleted indexes from value store.",
	Subcommands: []*cli.Command{
		gc.DaemonCmd,
		gc.ProviderCmd,
	},
}
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 UpdateMirrorCmd = &cli.Command{
	Name:   "update-mirror",
	Usage:  "Update CAR files from read mirror to write mirror",
	Flags:  updateMirrorFlags,
	Action: updateMirrorAction,
}

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL