Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Junos JunosConfig `yaml:"junos,omitempty"` OtelEndpoint string `yaml:"otel_endpoint"` Data DataConfig `yaml:"data"` Inventory inventory.Config `yaml:"inventory"` Commit bool Diff bool CommitConfirmed int }
type DataConfig ¶
type DataConfig struct {
Directory string `yaml:"directory,omitempty"`
}
DataConfig is the configuration for data.
type Host ¶
type Host struct { HostName string NetworkHost *inventory.NetworkHost Data data.HostData Environment map[string]string }
Host is a single configurable host.
type JunosConfig ¶
type JunosConfig struct { Hosts []string `yaml:"hosts,omitempty"` Username string `yaml:"username,omitempty"` Keyfile string `yaml:"keyfile,omitempty"` }
JunosConfig is the configuration for Junos devices.
type NetConfig ¶
NetConfig is enough data to configure some network hosts.
func (*NetConfig) ConfigureNetwork ¶
ConfigureNetwork configures all discovered network devices.
func (*NetConfig) ConfigureNetworkHost ¶
ConfigureNetworkHost renders the templates using associated data for a network host. The hosts about which to load the templates, are retrieved from LDAP.
type SecretClient ¶
type SecretClient interface{}
Click to show internal directories.
Click to hide internal directories.