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 istio.Builder // Errors caused by invalid user config will be reported using the Reporter. Translate( in input.LocalSnapshot, mesh *discoveryv1.Mesh, istioOutputs istio.Builder, localOutputs local.Builder, reporter reporting.Reporter, ) }
the VirtualService translator translates a Mesh into a VirtualService.
func NewTranslator ¶
func NewTranslator( ctx context.Context, mtlsTranslator mtls.Translator, federationTranslator federation.Translator, accessTranslator access.Translator, ) Translator
Directories ¶
Path | Synopsis |
---|---|
mocks
Package mock_access is a generated GoMock package.
|
Package mock_access is a generated GoMock package. |
mocks
Package mock_federation is a generated GoMock package.
|
Package mock_federation is a generated GoMock package. |
Package mock_mesh is a generated GoMock package.
|
Package mock_mesh is a generated GoMock package. |
mocks
Package mock_mtls is a generated GoMock package.
|
Package mock_mtls is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.