osm

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultDependencyFactory = internal.NewDependencyFactory()

Functions

This section is empty.

Types

type Translator

type Translator interface {
	// Translate translates the appropriate resources to apply input configuration resources for all OSM meshes contained in the input snapshot.
	// Output resources will be added to the smi.Builder
	// Errors caused by invalid user config will be reported using the Reporter.
	Translate(
		ctx context.Context,
		in input.Snapshot,
		outputs smi.Builder,
		reporter reporting.Reporter,
	)
}

the smi translator translates an input networking snapshot to an output snapshot of SMI resources

func NewOSMTranslator

func NewOSMTranslator() Translator

Directories

Path Synopsis
mocks
Package mock_internal is a generated GoMock package.
Package mock_internal is a generated GoMock package.
mocks
Package mock_mesh is a generated GoMock package.
Package mock_mesh is a generated GoMock package.
mocks
Package mock_traffictarget is a generated GoMock package.
Package mock_traffictarget is a generated GoMock package.

Jump to

Keyboard shortcuts

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