cli

package
v0.0.0-...-2da98db Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CmdAddAuthorization

func CmdAddAuthorization() *cobra.Command

func CmdAuthorization

func CmdAuthorization() *cobra.Command

CmdAuthorization shows the authorization for a given message URL

func CmdAuthorizationsList

func CmdAuthorizationsList() *cobra.Command

CmdAuthorizationsList shows the list of authorizations

func CmdRemoveAuthorization

func CmdRemoveAuthorization() *cobra.Command

func CmdShowChainInfo

func CmdShowChainInfo() *cobra.Command

CmdShowChainInfo returns the command to show the chain info

func CmdShowPolicies

func CmdShowPolicies() *cobra.Command

CmdShowPolicies returns the command to show the policies

func CmdUpdateChainInfo

func CmdUpdateChainInfo() *cobra.Command

func CmdUpdatePolicies

func CmdUpdatePolicies() *cobra.Command

func GetPolicyType

func GetPolicyType(policyTypeString string) (types.PolicyType, error)

func GetQueryCmd

func GetQueryCmd(_ string) *cobra.Command

GetQueryCmd returns the cli query commands for this module

func GetTxCmd

func GetTxCmd() *cobra.Command

GetTxCmd returns the transaction commands for this module

func ReadChainInfoFromFile

func ReadChainInfoFromFile(fsys fs.FS, filePath string) (types.ChainInfo, error)

ReadChainInfoFromFile read the chain info from the file using os package and unmarshal it into the chain info variable

func ReadPoliciesFromFile

func ReadPoliciesFromFile(fsys fs.FS, filePath string) (types.Policies, error)

ReadPoliciesFromFile read the policies from the file using os package and unmarshal it into the policies variable

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL