Documentation ¶
Index ¶
- Variables
- func Execute()
- type RootArgs
- func (ra *RootArgs) ConnectToVegaNetwork(network string) (*veganetwork.VegaNetwork, error)
- func (ra *RootArgs) GetEthereumClientManager() (*ethutils.EthereumClientManager, error)
- func (ra *RootArgs) GetNodeSecretStore() (secrets.NodeSecretStore, error)
- func (ra *RootArgs) GetServiceSecretStore() (secrets.ServiceSecretStore, error)
- func (ra *RootArgs) GetSmartContractsManager() (*smartcontracts.SmartContractsManager, error)
- func (ra *RootArgs) GetWalletManager() (*wallet.WalletManager, error)
- func (ra *RootArgs) GetWalletSecretStore() (secrets.WalletSecretStore, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "devopstools", Short: "Scripts to drive Vega Networks", Long: `Manage internal Vega Networks`, PersistentPreRun: func(cmd *cobra.Command, args []string) { var err error cfg := zap.NewProductionConfig() if Args.Debug { cfg.Level.SetLevel(zap.DebugLevel) } cfg.OutputPaths = []string{"stdout"} cfg.Encoding = "console" cfg.EncoderConfig.EncodeTime = zapcore.ISO8601TimeEncoder Args.Logger, err = cfg.Build() if err != nil { fmt.Fprintf(os.Stderr, "Failed to setup logger: %s\n", err) os.Exit(1) } }, }
Functions ¶
Types ¶
type RootArgs ¶
type RootArgs struct { Debug bool Logger *zap.Logger GitHubToken string FileWithGitHubToken string HCVaultURL string // contains filtered or unexported fields }
var Args RootArgs
func (*RootArgs) ConnectToVegaNetwork ¶
func (ra *RootArgs) ConnectToVegaNetwork(network string) (*veganetwork.VegaNetwork, error)
func (*RootArgs) GetEthereumClientManager ¶
func (ra *RootArgs) GetEthereumClientManager() (*ethutils.EthereumClientManager, error)
func (*RootArgs) GetNodeSecretStore ¶
func (ra *RootArgs) GetNodeSecretStore() (secrets.NodeSecretStore, error)
func (*RootArgs) GetServiceSecretStore ¶
func (ra *RootArgs) GetServiceSecretStore() (secrets.ServiceSecretStore, error)
func (*RootArgs) GetSmartContractsManager ¶
func (ra *RootArgs) GetSmartContractsManager() (*smartcontracts.SmartContractsManager, error)
func (*RootArgs) GetWalletManager ¶
func (ra *RootArgs) GetWalletManager() (*wallet.WalletManager, error)
func (*RootArgs) GetWalletSecretStore ¶
func (ra *RootArgs) GetWalletSecretStore() (secrets.WalletSecretStore, error)
Click to show internal directories.
Click to hide internal directories.