forked from TrueCloudLab/xk6-frostfs
Compare commits
2 commits
54f99dac1d
...
114f169875
Author | SHA1 | Date | |
---|---|---|---|
114f169875 | |||
622ddd840d |
2 changed files with 20 additions and 1 deletions
19
README.md
19
README.md
|
@ -186,6 +186,25 @@ Flags:
|
||||||
-v, --version version for registry-exporter
|
-v, --version version for registry-exporter
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Import pregen into registry db
|
||||||
|
|
||||||
|
You can import pregenerated json files into registry bolt db. Use `frostfs-xk6-registry import`. Usage examples are in help:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
$ ./bin/frostfs-xk6-registry import -h
|
||||||
|
Import objects into registry from pregenerated files
|
||||||
|
|
||||||
|
Usage:
|
||||||
|
xk6-registry import [flags]
|
||||||
|
|
||||||
|
Examples:
|
||||||
|
xk6-registry import registry.bolt preset.json
|
||||||
|
xk6-registry import registry.bolt preset.json another_preset.json
|
||||||
|
|
||||||
|
Flags:
|
||||||
|
-h, --help help for import
|
||||||
|
```
|
||||||
|
|
||||||
# License
|
# License
|
||||||
|
|
||||||
- [GNU General Public License v3.0](LICENSE)
|
- [GNU General Public License v3.0](LICENSE)
|
||||||
|
|
|
@ -11,7 +11,7 @@ var Cmd = &cobra.Command{
|
||||||
Short: "Import objects into registry",
|
Short: "Import objects into registry",
|
||||||
Long: "Import objects into registry from pregenerated files",
|
Long: "Import objects into registry from pregenerated files",
|
||||||
Example: `xk6-registry import registry.bolt preset.json
|
Example: `xk6-registry import registry.bolt preset.json
|
||||||
xk6-registry import --status created registry.bolt preset.json another_preset.json`,
|
xk6-registry import registry.bolt preset.json another_preset.json`,
|
||||||
RunE: runCmd,
|
RunE: runCmd,
|
||||||
Args: cobra.MinimumNArgs(2),
|
Args: cobra.MinimumNArgs(2),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue