host

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2026 License: MIT Imports: 22 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TemplateFile string

Functions

func ExecuteLoadHost

func ExecuteLoadHost(hosts []utils.HostInfo) error

ExecuteLoadHost imports only authenticated nodes by default.

func ExecuteLoadHostContext added in v0.12.0

func ExecuteLoadHostContext(ctx context.Context, hosts []utils.HostInfo) error

func ExecuteLoadHostWithOptions added in v0.13.0

func ExecuteLoadHostWithOptions(ctx context.Context, hosts []utils.HostInfo, opts ImportOptions) error

func NewCmdInventory

func NewCmdInventory() *cobra.Command

func NewCmdInventoryAdd

func NewCmdInventoryAdd() *cobra.Command

func NewCmdInventoryDelete

func NewCmdInventoryDelete() *cobra.Command

func NewCmdInventoryEdit

func NewCmdInventoryEdit() *cobra.Command

func NewCmdInventoryList

func NewCmdInventoryList() *cobra.Command

func NewCmdInventoryLoad

func NewCmdInventoryLoad() *cobra.Command

func NewCmdInventoryProbe added in v0.14.0

func NewCmdInventoryProbe() *cobra.Command

func NewCmdInventoryTag

func NewCmdInventoryTag() *cobra.Command

func NewCmdInventoryTagAdd

func NewCmdInventoryTagAdd() *cobra.Command

func NewCmdInventoryTagRemove

func NewCmdInventoryTagRemove() *cobra.Command

func NewCmdInventoryTags

func NewCmdInventoryTags() *cobra.Command

func RegisterImportVerificationFlags added in v0.13.0

func RegisterImportVerificationFlags(cmd *cobra.Command)

RegisterImportVerificationFlags also keeps legacy import aliases consistent.

func RunInventoryLoad

func RunInventoryLoad(cmd *cobra.Command, args []string) error

Types

type ImportOptions added in v0.13.0

type ImportOptions struct {
	SkipVerify          bool
	SaveOnVerifyFailure bool
	Output              io.Writer
	Tag                 string
	NoProbe             bool
	Execution           *ssh.ExecutionConfig // Applied only to newly enrolled nodes.
}

ImportOptions controls verification independently from explicit persistence.

Jump to

Keyboard shortcuts

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