templates

package
v0.15.2 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2026 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CumulusFrrTemplate added in v0.9.0

func CumulusFrrTemplate(customTplPath string) *template.Template

func InterfacesTemplate

func InterfacesTemplate(customTplPath string) *template.Template

func SonicFrrTemplate added in v0.9.0

func SonicFrrTemplate(customTplPath string) *template.Template

Types

type Applier

type Applier struct {
	// contains filtered or unexported fields
}

func NewApplier added in v0.15.2

func NewApplier(c *Config) *Applier

func (*Applier) Apply

func (a *Applier) Apply(ctx context.Context, c *types.Conf) error

type Config added in v0.15.2

type Config struct {
	Dest              string
	Reloader          Reloader
	Tpl               *template.Template
	ValidationService string
	Log               *slog.Logger
}

type Reloader

type Reloader func(ctx context.Context, previousConf string) error

Jump to

Keyboard shortcuts

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