Documentation
¶
Overview ¶
Package net contains code to apply changes to network interfaces and FRR (Free Range Routing).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDBusReloader ¶
func NewDBusReloader(service string) dbusReloader
NewDBusReloader is a reloader for systemd units with dbus.
Types ¶
type Applier ¶
type Applier interface {
Apply(tpl template.Template, tmpFile, destFile string, reload bool) (bool, error)
Render(writer io.Writer, tpl template.Template) error
Reload() error
Validate() error
Compare(tmpFile, destFile string) bool
}
Applier is an interface to render changes and reload services to apply them.
Click to show internal directories.
Click to hide internal directories.