Documentation ¶
Index ¶
- func Execute(ctx context.Context) error
- func Gateway(ctx context.Context, parser *flags.Parser) error
- func Init(ctx context.Context, parser *flags.Parser) error
- func LastBlock(ctx context.Context, parser *flags.Parser) error
- func Node(ctx context.Context, parser *flags.Parser) error
- func Postgres(ctx context.Context, parser *flags.Parser) error
- func Register(ctx context.Context, parser *flags.Parser, cmds ...Subcommand) error
- func Start(ctx context.Context, parser *flags.Parser) error
- func Version(ctx context.Context, parser *flags.Parser) error
- type InitCmd
- type LastBlockCmd
- type PostgresCmd
- type PostgresRunCmd
- type StartCmd
- type Subcommand
- type VersionCmd
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type InitCmd ¶
type InitCmd struct { config.VegaHomeFlag Force bool `short:"f" long:"force" description:"Erase exiting vega configuration at the specified path"` }
type LastBlockCmd ¶ added in v0.59.0
type LastBlockCmd struct { config.VegaHomeFlag coreConfig.OutputFlag *config.Config Timeout time.Duration `long:"timeout" description:"Database connection timeout" default:"10s"` }
func (*LastBlockCmd) Execute ¶ added in v0.59.0
func (cmd *LastBlockCmd) Execute(_ []string) error
type PostgresCmd ¶
type PostgresCmd struct {
Run PostgresRunCmd `command:"run"`
}
type PostgresRunCmd ¶
type PostgresRunCmd struct { config.VegaHomeFlag config.Config }
func (*PostgresRunCmd) Execute ¶
func (cmd *PostgresRunCmd) Execute(_ []string) error
type Subcommand ¶
Subcommand is the signature of a sub command that can be registered.
type VersionCmd ¶
type VersionCmd struct { config.OutputFlag // contains filtered or unexported fields }
func (*VersionCmd) Execute ¶
func (cmd *VersionCmd) Execute(_ []string) error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.