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 MigrateIpfs(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(_ context.Context, parser *flags.Parser) error
- func UnsafeResetAll(_ context.Context, parser *flags.Parser) error
- func Version(ctx context.Context, parser *flags.Parser) error
- type InitCmd
- type LastBlockCmd
- type MigrateIpfsCmd
- type PostgresCmd
- type PostgresRunCmd
- type StartCmd
- type Subcommand
- type UnsafeResetAllCmd
- type VersionCmd
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MigrateIpfs ¶ added in v0.74.0
func Register ¶
func Register(ctx context.Context, parser *flags.Parser, cmds ...Subcommand) error
Register registers one or more subcommands.
func UnsafeResetAll ¶ added in v0.71.0
Types ¶
type InitCmd ¶
type InitCmd struct {
config.VegaHomeFlag
Force bool `description:"Erase exiting vega configuration at the specified path" long:"force" short:"f"`
RetentionProfile string `` /* 254-byte string literal not displayed */
}
type LastBlockCmd ¶ added in v0.59.0
type LastBlockCmd struct {
config.VegaHomeFlag
coreConfig.OutputFlag
*config.Config
Timeout time.Duration `default:"10s" description:"Database connection timeout" long:"timeout"`
}
func (*LastBlockCmd) Execute ¶ added in v0.59.0
func (cmd *LastBlockCmd) Execute(_ []string) error
type MigrateIpfsCmd ¶ added in v0.74.0
type MigrateIpfsCmd struct {
config.VegaHomeFlag
}
func (*MigrateIpfsCmd) Execute ¶ added in v0.74.0
func (cmd *MigrateIpfsCmd) 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 UnsafeResetAllCmd ¶ added in v0.71.0
type UnsafeResetAllCmd struct {
config.VegaHomeFlag
*config.Config
}
func (*UnsafeResetAllCmd) Execute ¶ added in v0.71.0
func (cmd *UnsafeResetAllCmd) Execute(_ []string) error
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.