mesh

package
v1.0.0-beta2 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Translator

type Translator interface {
	// Translate translates the appropriate resources to apply the VirtualMesh to the given Mesh.
	// 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.LocalSnapshot,
		mesh *discoveryv1alpha2.Mesh,
		outputs smi.Builder,
		reporter reporting.Reporter,
	)
}

the VirtualService translator translates a Mesh into a VirtualService.

func NewTranslator

func NewTranslator() Translator

Directories

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

Jump to

Keyboard shortcuts

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