Documentation ¶
Overview ¶
Package hostcmd implements the 'inertia [host]' subcommands
Index ¶
Constants ¶
View Source
const (
// EnvSSHPassphrase is the key used to fetch PEM key passphrases
EnvSSHPassphrase = "PEM_PASSPHRASE"
)
Variables ¶
This section is empty.
Functions ¶
func AttachEnvCmd ¶
func AttachEnvCmd(host *HostCmd)
AttachEnvCmd attaches the 'env' subcommands to the given host
func AttachHostCmds ¶
func AttachHostCmds(inertia *inertiacmd.Cmd)
AttachHostCmds reads configuration to attach a child command for each configured remote in the configuration
func AttachTotpCmd ¶
func AttachTotpCmd(root *UserCmd)
AttachTotpCmd attaches the 'totp' subcommands to given parent
func AttachUserCmd ¶
func AttachUserCmd(host *HostCmd)
AttachUserCmd attaches the 'user' subcommands to the given parent
Types ¶
type UserTotpCmd ¶
UserTotpCmd is the parent class for the 'user totp' subcommands
Click to show internal directories.
Click to hide internal directories.