forked from TrueCloudLab/frostfs-node
Airat Arifullin
7a7ee71a4d
* Introduce common parsing commands to use them in `frostfs-cli` and `frostfs-adm` APE-related subcommands * Introduce common flags for these parsing commands Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
19 lines
655 B
Go
19 lines
655 B
Go
package ape
|
|
|
|
const (
|
|
RuleFlag = "rule"
|
|
RuleFlagDesc = "Rule statement"
|
|
PathFlag = "path"
|
|
PathFlagDesc = "Path to encoded chain in JSON or binary format"
|
|
TargetNameFlag = "target-name"
|
|
TargetNameFlagDesc = "Resource name in APE resource name format"
|
|
TargetTypeFlag = "target-type"
|
|
TargetTypeFlagDesc = "Resource type(container/namespace)"
|
|
ChainIDFlag = "chain-id"
|
|
ChainIDFlagDesc = "Chain id"
|
|
ChainIDHexFlag = "chain-id-hex"
|
|
ChainIDHexFlagDesc = "Flag to parse chain ID as hex"
|
|
ChainNameFlag = "chain-name"
|
|
ChainNameFlagDesc = "Chain name(ingress|s3)"
|
|
AllFlag = "all"
|
|
)
|