ops

package
v0.1.114 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2026 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Overview

Package ops implements the `polycli heimdall ops` umbrella command and its CometBFT JSON-RPC-facing subcommands: status, health, peers, consensus, tx-pool, abci-info, commit, and validators-cometbft.

All calls target the CometBFT RPC endpoint (`:26657`). The Heimdall REST gateway is unused here. The umbrella keeps node-ops commands grouped so operators can find them without scrolling through the flat cast-like tree.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(parent *cobra.Command, f *config.Flags)

Register attaches the ops umbrella and its subcommands to parent, wiring in the shared flag struct used for config resolution.

Every ops subcommand is read-only, so we apply render.EnableWatchTree once so each descendant picks up `--watch DURATION`.

Types

This section is empty.

Jump to

Keyboard shortcuts

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