This repository has been archived by the owner on Feb 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 773
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1255 from pouchrobot/auto-doc-2020-03-20
docs: auto generate Dragonfly cli/api/contributors docs via code
- Loading branch information
Showing
2 changed files
with
28 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
## dfdaemon gen-ca | ||
|
||
generate CA files, including ca.key and ca.crt | ||
|
||
### Synopsis | ||
|
||
generate CA files, including ca.key and ca.crt | ||
|
||
``` | ||
dfdaemon gen-ca [flags] | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
--cert-output string destination path of generated ca.crt file (default "/tmp/ca.crt") | ||
--common-name string subject common name of the certificate, if not specified, the hostname will be used | ||
--expire-duration duration expire duration of the certificate (default 87600h0m0s) | ||
-h, --help help for gen-ca | ||
--key-output string destination path of generated ca.key file (default "/tmp/ca.key") | ||
--overwrite whether to overwrite the existing CA files | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [dfdaemon](dfdaemon.md) - The dfdaemon is a proxy that intercepts image download requests. | ||
|