configurator

package
v0.0.0-...-8178683 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NETCONF = "netconf"
	GNMI    = "gnmi"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Configurator

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

func (*Configurator) Configure

func (c *Configurator) Configure(deviceNameToIfMap map[string]string, deviceNameToConfigMap map[string][]byte, oldDeviceNameToConfigMap map[string][]byte) error

type ConfiguratorInterface

type ConfiguratorInterface interface {
	Configure(map[string]string, map[string][]byte, map[string][]byte) error
}

func NewConfiguratorInterface

func NewConfiguratorInterface(sb api.SbApiInterface) ConfiguratorInterface

type ConfigureLogicMap

type ConfigureLogicMap map[string]func(string, []byte, []byte, api.SbApiInterface) (func() error, error)

Jump to

Keyboard shortcuts

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