-
Notifications
You must be signed in to change notification settings - Fork 304
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Gaius <gaius.qi@gmail.com>
- Loading branch information
Showing
23 changed files
with
421 additions
and
295 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,16 @@ | ||
# CLI Reference | ||
|
||
For almost all users, commandline is the first reference you may need. Document in directory `CLI Reference` is about command detailed usage of Dragonfly CLI including `dfget`, `cdn`, `scheduler` and `manager`. You can get introductions, synopsis, examples, options about command. Last but not least, Dragonfly can guarantee commandline docs is strongly consistent with Dragonfly CLI's source code. What's more, all commandline docs are auto generated via source code. | ||
For almost all users, commandline is the first reference you may need. | ||
Document in directory `CLI Reference` is about command detailed usage of | ||
Dragonfly CLI including `dfget`, `cdn`, `scheduler` and `manager`. | ||
You can get introductions, synopsis, examples, options about command. | ||
Last but not least, Dragonfly can guarantee commandline docs is strongly | ||
consistent with Dragonfly CLI's source code. What's more, | ||
all commandline docs are auto generated via source code. | ||
|
||
Table of contents: | ||
|
||
* [dfget](dfget.md) | ||
* [cdn](cdn.md) | ||
* [scheduler](scheduler.md) | ||
* [manager](manager.md) | ||
* [manager](manager.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,37 @@ | ||
# Scheduler | ||
|
||
Scheduler is a long-running process which receives and manages download tasks from the client, notify the CDN to return to the source, generate and maintain a | ||
P2P network during the download process, and push suitable download nodes to the client | ||
Scheduler is a long-running process which receives | ||
and manages download tasks from the client, | ||
notify the CDN to return to the source, generate and maintain a | ||
P2P network during the download process, | ||
and push suitable download nodes to the client | ||
|
||
## Usage | ||
|
||
``` | ||
```text | ||
scheduler [flags] | ||
scheduler [command] | ||
``` | ||
|
||
## Available Commands: | ||
## Available Commands | ||
|
||
``` | ||
```text | ||
doc generate documents | ||
help Help about any command | ||
version show version | ||
``` | ||
|
||
## Flags | ||
|
||
``` | ||
<!-- markdownlint-disable --> | ||
```text | ||
--config string the path of configuration file with yaml extension name, default is /Users/${USER_HOME}/.dragonfly/config/scheduler.yaml, it can | ||
also be set by environment variable scheduler_config | ||
also be set by environment variable scheduler_config | ||
--console whether logger output records to the stdout | ||
-h, --help help for scheduler | ||
--jaeger string jaeger endpoint url, like: http://localhost:14250/api/traces | ||
--pprof-port int listen port for pprof, 0 represents random port (default -1) | ||
--service-name string name of the service for tracer (default "dragonfly-scheduler") | ||
--verbose whether logger use debug level | ||
``` | ||
<!-- markdownlint-restore --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.