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. |
Click to show internal directories.
Click to hide internal directories.