Documentation ¶
Index ¶
- func CmdAddAuthorization() *cobra.Command
- func CmdAuthorization() *cobra.Command
- func CmdAuthorizationsList() *cobra.Command
- func CmdRemoveAuthorization() *cobra.Command
- func CmdShowChainInfo() *cobra.Command
- func CmdShowPolicies() *cobra.Command
- func CmdUpdateChainInfo() *cobra.Command
- func CmdUpdatePolicies() *cobra.Command
- func GetPolicyType(policyTypeString string) (types.PolicyType, error)
- func GetQueryCmd(_ string) *cobra.Command
- func GetTxCmd() *cobra.Command
- func ReadChainInfoFromFile(fsys fs.FS, filePath string) (types.ChainInfo, error)
- func ReadPoliciesFromFile(fsys fs.FS, filePath string) (types.Policies, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CmdAddAuthorization ¶
func CmdAuthorization ¶
CmdAuthorization shows the authorization for a given message URL
func CmdAuthorizationsList ¶
CmdAuthorizationsList shows the list of authorizations
func CmdRemoveAuthorization ¶
func CmdShowChainInfo ¶
CmdShowChainInfo returns the command to show the chain info
func CmdShowPolicies ¶
CmdShowPolicies returns the command to show the policies
func CmdUpdateChainInfo ¶
func CmdUpdatePolicies ¶
func GetPolicyType ¶
func GetPolicyType(policyTypeString string) (types.PolicyType, error)
func GetQueryCmd ¶
GetQueryCmd returns the cli query commands for this module
func ReadChainInfoFromFile ¶
ReadChainInfoFromFile read the chain info from the file using os package and unmarshal it into the chain info variable
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.