Documentation ¶
Index ¶
- Constants
- func AddKeyIndexFlag(c *cobra.Command)
- func AddMnemonicFlag(c *cobra.Command)
- func AddPersistentBoolFlag(c *cobra.Command, flag string, value bool, description string, isRequired bool)
- func AddPersistentIntFlag(c *cobra.Command, flag string, value uint64, description string, ...)
- func AddPersistentStringArrayFlag(c *cobra.Command, flag string, value []string, description string, ...)
- func AddPersistentStringFlag(c *cobra.Command, flag, value, description string, isRequired bool)
- func AddPersistentStringSliceFlag(c *cobra.Command, flag string, value []string, description string, ...)
- func ConfigPathFlag(c *cobra.Command)
- func DBGCIntervalFlag(c *cobra.Command)
- func DBPathFlag(c *cobra.Command)
- func DBReportingFlag(c *cobra.Command)
- func GenerateInitiatorKeyFlag(c *cobra.Command)
- func GetConfigPathFlagValue(c *cobra.Command) (string, error)
- func GetDBGCIntervalFlagValue(c *cobra.Command) (string, error)
- func GetDBPathFlagValue(c *cobra.Command) (string, error)
- func GetDBReportingFlagValue(c *cobra.Command) (bool, error)
- func GetGenerateInitiatorKeyFlagValue(c *cobra.Command) (bool, error)
- func GetKeyIndexFlagValue(c *cobra.Command) (uint64, error)
- func GetLogFilePathValue(c *cobra.Command) (string, error)
- func GetLogLevelFormatFlagValue(c *cobra.Command) (string, error)
- func GetMnemonicFlagValue(c *cobra.Command) (string, error)
- func GetNewOperatorIDsFlagValue(c *cobra.Command) ([]string, error)
- func GetNonceFlagValue(c *cobra.Command) (uint64, error)
- func GetOldIDFlagValue(c *cobra.Command) (string, error)
- func GetOperatorPortFlagValue(c *cobra.Command) (uint64, error)
- func GetOperatorsInfoFlagValue(c *cobra.Command) (string, error)
- func GetOperatorsInfoPathFlagValue(c *cobra.Command) (string, error)
- func GetOwnerAddressFlagValue(c *cobra.Command) (string, error)
- func GetResultPathFlag(c *cobra.Command) (string, error)
- func GetStoreShareFlag(c *cobra.Command) (bool, error)
- func GetThresholdFlagValue(c *cobra.Command) (uint64, error)
- func GetWithdrawAddressFlagValue(c *cobra.Command) (string, error)
- func GetoperatorIDsFlagValue(c *cobra.Command) ([]string, error)
- func LogFilePathFlag(c *cobra.Command)
- func LogFormatFlag(c *cobra.Command)
- func LogLevelFlag(c *cobra.Command)
- func LogLevelFormatFlag(c *cobra.Command)
- func NetworkFlag(c *cobra.Command)
- func NewOperatorIDsFlag(c *cobra.Command)
- func NonceFlag(c *cobra.Command)
- func OldIDFlag(c *cobra.Command)
- func OperatorIDsFlag(c *cobra.Command)
- func OperatorPortFlag(c *cobra.Command)
- func OperatorsInfoFlag(c *cobra.Command)
- func OperatorsInfoPathFlag(c *cobra.Command)
- func OwnerAddressFlag(c *cobra.Command)
- func PrivateKeyFlag(c *cobra.Command)
- func PrivateKeyPassFlag(c *cobra.Command)
- func ResultPathFlag(c *cobra.Command)
- func StoreShareFlag(c *cobra.Command)
- func ThresholdFlag(c *cobra.Command)
- func WithdrawAddressFlag(c *cobra.Command)
Constants ¶
const ( DBPath = "DBPath" DBReporting = "DBReporting" DBGCInterval = "DBGCInterval" )
Flag names.
Variables ¶
This section is empty.
Functions ¶
func AddKeyIndexFlag ¶
AddKeyIndexFlag adds the key index flag to the command
func AddMnemonicFlag ¶
AddMnemonicFlag adds the mnemonic key flag to the command
func AddPersistentBoolFlag ¶
func AddPersistentBoolFlag(c *cobra.Command, flag string, value bool, description string, isRequired bool)
AddPersistentIntFlag adds a int flag to the command
func AddPersistentIntFlag ¶
func AddPersistentIntFlag(c *cobra.Command, flag string, value uint64, description string, isRequired bool)
AddPersistentIntFlag adds a int flag to the command
func AddPersistentStringArrayFlag ¶
func AddPersistentStringArrayFlag(c *cobra.Command, flag string, value []string, description string, isRequired bool)
AddPersistentStringArrayFlag adds a string array flag to the command
func AddPersistentStringFlag ¶
AddPersistentStringFlag adds a string flag to the command
func AddPersistentStringSliceFlag ¶
func AddPersistentStringSliceFlag(c *cobra.Command, flag string, value []string, description string, isRequired bool)
AddPersistentStringArrayFlag adds a string slice flag to the command
func ConfigPathFlag ¶
OperatorConfigPathFlag config path flag to the command
func DBGCIntervalFlag ¶ added in v1.0.0
DBGCIntervalFlag adds path for storage flag to the command
func DBPathFlag ¶ added in v1.0.0
DBPathFlag adds path for storage flag to the command
func DBReportingFlag ¶ added in v1.0.0
DBReportingFlag adds flag to run on-off db size reporting to the command
func GenerateInitiatorKeyFlag ¶
GenerateInitiatorKeyFlag adds flag to generate a random secure password and initiator RSA key pair encrypted with this password
func GetConfigPathFlagValue ¶
GetConfigPathFlagValue gets config path flag from the command
func GetDBGCIntervalFlagValue ¶ added in v1.0.0
GetDBGCIntervalFlagValue gets path for storage flag from the command
func GetDBPathFlagValue ¶ added in v1.0.0
GetDBPathFlagValue gets path for storage flag from the command
func GetDBReportingFlagValue ¶ added in v1.0.0
GetDBReportingFlagValue gets flag flag to run on-off db size reporting
func GetGenerateInitiatorKeyFlagValue ¶
GetGenerateInitiatorKeyFlagValue gets flag to generate a random secure password and initiator RSA key pair encrypted with this password
func GetKeyIndexFlagValue ¶
GetKeyIndexFlagValue gets the key index flag to the command
func GetLogFilePathValue ¶ added in v1.0.0
GetLogFilePathValue gets logs file path flag from the command
func GetLogLevelFormatFlagValue ¶ added in v1.0.0
GetLogLevelFormatFlagValue gets logger's level format flag from the command
func GetMnemonicFlagValue ¶
GetMnemonicFlagValue gets the mnemonic key flag from the command
func GetNewOperatorIDsFlagValue ¶ added in v1.0.0
GetThresholdFlagValue gets new operators IDs flag from the command
func GetNonceFlagValue ¶
GetNonceFlagValue gets owner nonce flag from the command
func GetOldIDFlagValue ¶ added in v1.0.0
GetWithdrawAddressFlagValue gets previous DKG ceremony ID flag from the command
func GetOperatorPortFlagValue ¶
GetOperatorPortFlagValue gets operator listening port flag from the command
func GetOperatorsInfoFlagValue ¶
GetOperatorsInfoFlagValue gets path to operators' ifo file flag from the command
func GetOperatorsInfoPathFlagValue ¶
GetOperatorsInfoPathFlagValue gets path to where to look for operator info file flag from the command
func GetOwnerAddressFlagValue ¶
GetOwnerAddressFlagValue gets owner address flag from the command
func GetThresholdFlagValue ¶
GetThresholdFlagValue gets threshold flag from the command
func GetWithdrawAddressFlagValue ¶
GetWithdrawAddressFlagValue gets withdraw address flag from the command
func GetoperatorIDsFlagValue ¶
GetThresholdFlagValue gets operators IDs flag from the command
func LogFilePathFlag ¶
LogFilePathFlag file path to write logs into
func LogFormatFlag ¶
LogFormatFlag logger's logger's encoding flag to the command
func LogLevelFlag ¶
LogLevelFlag logger's log level flag to the command
func LogLevelFormatFlag ¶
LogLevelFormatFlag logger's level format flag to the command
func NetworkFlag ¶
NetworkFlag adds the fork version of the network flag to the command
func NewOperatorIDsFlag ¶ added in v1.0.0
operatorIDsFlag adds new operators IDs flag to the command
func OperatorIDsFlag ¶
operatorIDsFlag adds operators IDs flag to the command
func OperatorPortFlag ¶
OperatorPortFlag adds operator listening port flag to the command
func OperatorsInfoFlag ¶
OperatorsInfoFlag adds path to operators' ifo file flag to the command
func OperatorsInfoPathFlag ¶
OperatorsInfoFlag adds path to where to look for operator info file flag to the command
func OwnerAddressFlag ¶
OwnerAddressFlag adds owner address flag to the command
func PrivateKeyFlag ¶ added in v1.0.0
OperatorPrivateKeyFlag adds private key flag to the command
func PrivateKeyPassFlag ¶ added in v1.0.0
OperatorPrivateKeyPassFlag adds private key flag to the command
func ResultPathFlag ¶
func StoreShareFlag ¶
func ThresholdFlag ¶
ThresholdFlag adds threshold flag to the command
func WithdrawAddressFlag ¶
WithdrawAddressFlag adds withdraw address flag to the command
Types ¶
This section is empty.