Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #604 from pouchrobot/auto-doc-2019-06-14
Browse files Browse the repository at this point in the history
docs: auto generate Dragonfly cli/api/contributors docs via code
  • Loading branch information
starnop authored Jun 14, 2019
2 parents dd0bdd5 + f14f0db commit 5d84fd0
Showing 1 changed file with 17 additions and 19 deletions.
36 changes: 17 additions & 19 deletions docs/cli_reference/dfdaemon.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,23 @@ dfdaemon [flags]
### Options

```
--callsystem string caller name (default "com_ops_dragonfly")
--certpem string cert.pem file path
--config string the path of dfdaemon's configuration file (default "/etc/dragonfly/dfdaemon.yml")
--dfpath string dfget path (default "/go/src/github.com/dragonflyoss/Dragonfly/bin/linux_amd64/dfget")
-h, --help help for dfdaemon
--hostIp string dfdaemon host ip, default: 127.0.0.1 (default "127.0.0.1")
--keypem string key.pem file path
--localrepo string temp output dir of dfdaemon (default "/root/.small-dragonfly/dfdaemon/data")
--maxprocs int the maximum number of CPUs that the dfdaemon can use (default 4)
--node strings specify the addresses(IP:port) of supernodes that will be passed to dfget.
--notbs not try back source to download if throw exception (default true)
--port uint dfdaemon will listen the port (default 65001)
--ratelimit string net speed limit,format:xxxM/K
--registry string registry mirror url, which will override the registry mirror settings in the config file if presented (if not configured through config file or the cli, https://index.docker.io is the default)
--rule string download the url by P2P if url matches the specified pattern,format:reg1,reg2,reg3
--trust-hosts strings list of trusted hosts which dfdaemon forward their requests directly, comma separated.
--urlfilter string filter specified url fields (default "Signature&Expires&OSSAccessKeyId")
--verbose verbose
-v, --version version
--callsystem string caller name (default "com_ops_dragonfly")
--certpem string cert.pem file path
--config string the path of dfdaemon's configuration file (default "/etc/dragonfly/dfdaemon.yml")
--dfpath string dfget path (default "/go/src/github.com/dragonflyoss/Dragonfly/bin/linux_amd64/dfget")
-h, --help help for dfdaemon
--hostIp string dfdaemon host ip, default: 127.0.0.1 (default "127.0.0.1")
--keypem string key.pem file path
--localrepo string temp output dir of dfdaemon (default "/root/.small-dragonfly/dfdaemon/data")
--maxprocs int the maximum number of CPUs that the dfdaemon can use (default 4)
--node strings specify the addresses(IP:port) of supernodes that will be passed to dfget.
--notbs not try back source to download if throw exception (default true)
--port uint dfdaemon will listen the port (default 65001)
--ratelimit string net speed limit,format:xxxM/K (default "20M")
--registry string registry mirror url, which will override the registry mirror settings in the config file if presented (default "https://index.docker.io")
--urlfilter string filter specified url fields (default "Signature&Expires&OSSAccessKeyId")
--verbose verbose
-v, --version version
```

### SEE ALSO
Expand Down

0 comments on commit 5d84fd0

Please sign in to comment.