Documentation
¶
Overview ¶
Package checkpoint implements the `polycli heimdall checkpoint` umbrella command (alias `cp`) and its subcommands: params, count, latest, get, buffer, last-no-ack, next, list, signatures, overview.
Per HEIMDALLCAST_REQUIREMENTS.md §3.2.1 these endpoints live under a single umbrella rather than at the top level of the heimdall tree. The umbrella also accepts a bare integer (`checkpoint 38871`) as a shorthand for `checkpoint get 38871`.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CheckpointCmd = &cobra.Command{ Use: "checkpoint [ID]", Aliases: []string{"cp"}, Short: "Query checkpoint module endpoints.", Long: usage, Args: cobra.MaximumNArgs(1), RunE: func(cmd *cobra.Command, args []string) error { if len(args) == 0 { return cmd.Help() } if _, err := strconv.ParseUint(args[0], 10, 64); err != nil { return &client.UsageError{Msg: fmt.Sprintf("unknown checkpoint subcommand or id %q", args[0])} } return runGet(cmd, args[0]) }, }
CheckpointCmd is the umbrella `checkpoint` command. Subcommands are attached by Register.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.