node

package
v0.32.1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2026 License: MIT Imports: 26 Imported by: 0

Documentation

Overview

Package node implements `hadron node ...`.

Index

Constants

This section is empty.

Variables

View Source
var SigningCapabilityProbe = func(ctx context.Context, baseURL string) (bool, error) {
	caps, err := api.Capabilities(ctx, baseURL)
	if err != nil {
		return false, err
	}
	return caps["node-signing"], nil
}

SigningCapabilityProbe answers whether the server advertises the `node-signing` switch. Its failure reads as "not advertised".

Package-level so command tests can inject a fake (house convention).

Functions

func NewCmdNode

func NewCmdNode(f *cmdutil.Factory) *cobra.Command

Types

This section is empty.

Jump to

Keyboard shortcuts

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