destination

package
v1.0.0-beta4 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2021 License: Apache-2.0 Imports: 7 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 OSM resources for the given Destination.
	// Output resources will be added to the smi output snapshot
	// Errors caused by invalid user config will be reported using the Reporter.
	Translate(
		ctx context.Context,
		in input.LocalSnapshot,
		destination *discoveryv1.Destination,
		outputs smi.Builder,
		reporter reporting.Reporter,
	)
}

translates a Destination into a OSM resources.

func NewTranslator

func NewTranslator(tsTranslator split.Translator, ttTranslator access.Translator) Translator

Directories

Path Synopsis
mocks
Package mock_access is a generated GoMock package.
Package mock_access is a generated GoMock package.
Package mock_destination is a generated GoMock package.
Package mock_destination is a generated GoMock package.
mocks
Package mock_split is a generated GoMock package.
Package mock_split is a generated GoMock package.

Jump to

Keyboard shortcuts

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