cmd

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2023 License: GPL-3.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AdjustBridgeDBValue added in v0.3.2

func AdjustBridgeDBValue(cmd *cobra.Command, v *viper.Viper)

function is called to set appropriate bridge db path

func BridgeCommands added in v0.3.2

func BridgeCommands(v *viper.Viper, loggerInstance tendermintLogger.Logger, caller string) *cobra.Command

BridgeCommands returns command for bridge service

func DecorateWithBridgeRootFlags added in v0.3.2

func DecorateWithBridgeRootFlags(cmd *cobra.Command, v *viper.Viper, loggerInstance tendermintLogger.Logger, caller string)

DecorateWithBridgeRootFlags is called when bridge flags needs to be added to command

func GetStartCmd

func GetStartCmd() *cobra.Command

GetStartCmd returns the start command to start bridge

func StartBridge added in v0.3.2

func StartBridge(isStandAlone bool)

StartBridge starts bridge service, isStandAlone prevents os.Exit if the bridge started as side service

func StartBridgeWithCtx added in v0.3.2

func StartBridgeWithCtx(shutdownCtx context.Context) error

StartBridgeWithCtx starts bridge service and is able to shutdow gracefully returns service errors, if any

Types

This section is empty.

Jump to

Keyboard shortcuts

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