Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{ Use: "util", Short: "Utility operations", PersistentPreRun: func(cmd *cobra.Command, _ []string) { flags := cmd.Flags() _ = viper.BindPFlag(commonflags.GenerateKey, flags.Lookup(commonflags.GenerateKey)) _ = viper.BindPFlag(commonflags.WalletPath, flags.Lookup(commonflags.WalletPath)) _ = viper.BindPFlag(commonflags.Account, flags.Lookup(commonflags.Account)) }, }
Functions ¶
func ParseEACLRule ¶
ParseEACLRule parses eACL table from the following form: <action> <operation> [<filter1> ...] [<target1> ...]
Examples: allow get req:X-Header=123 obj:Attr=value others:0xkey1,key2 system:key3 user:key4
func ParseEACLRules ¶
ParseEACLRules parses eACL table. Uses ParseEACLRule.
func PrettyPrintTableBACL ¶
PrettyPrintTableBACL print basic ACL in table format.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.