network

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConfiguratorNone          = "none"
	ConfiguratorNmc           = "nmc"
	ConfiguratorNmstate       = "nmstate"
	ConfiguratorNmconnections = "nmconnections"
)

Variables

View Source
var (
	ErrEmptyConfig         = errors.New("Network config is empty")
	ErrUnknownConfigurator = errors.New("Unknown network configurator type")
)

Functions

This section is empty.

Types

type Configurator

type Configurator interface {
	GetNetworkConfigApplicator(networkConfig elementalv1.NetworkConfig) (schema.YipConfig, error)
	ResetNetworkConfig() error
}

func NewConfigurator

func NewConfigurator(fs vfs.FS) Configurator

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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