Documentation
¶
Overview ¶
Package deployer installs a key's public half on its target(s) and records the deployment. A key name maps to the host(s) that reference it (one per_service, many shared); each host's provider does the install (named adapter -> generic ssh -> manual) and the result is recorded in the inventory keyed by fingerprint.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeployRecord ¶
type DeployRecord struct {
Target string
Provider string
Method string
Verified bool
Detail string
Error bool
}
DeployRecord is one target's deploy outcome.
type DeployReport ¶
type DeployReport struct {
KeyName string
Fingerprint string
Records []DeployRecord
}
DeployReport summarizes a deploy run.
func (DeployReport) AnyError ¶
func (r DeployReport) AnyError() bool
AnyError reports whether any target's deploy was attempted and failed.
func (DeployReport) Format ¶
func (r DeployReport) Format() string
Format renders the deploy summary (mirrors DeployReport.format).
type Deployer ¶
type Deployer struct {
// contains filtered or unexported fields
}
Deployer deploys keys to their targets.