cli

package
v0.0.0-...-cc3bc86 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: MIT Imports: 12 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 CmdRemoveChainInfo

func CmdRemoveChainInfo() *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 ReadChainFromFile

func ReadChainFromFile(fsys fs.FS, filePath string) (chains.Chain, error)

ReadChainFromFile reads a chain from a file and returns the chain object.

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