translation

package
v1.0.0-beta6 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Outputs added in v0.12.1

type Outputs struct {
	Istio   istiooutput.Builder
	Appmesh appmeshoutput.Builder
	Smi     smioutput.Builder
	Local   localoutput.Builder
}

func (*Outputs) ApplyMultiCluster added in v0.12.1

func (t *Outputs) ApplyMultiCluster(
	ctx context.Context,
	clusterClient client.Client,
	multiClusterClient multicluster.Client,
	errHandler output.ErrorHandler,
) error

func (*Outputs) MarshalJSON added in v0.12.1

func (t *Outputs) MarshalJSON() ([]byte, error)

type Translator

type Translator interface {
	// errors reflect an internal translation error and should never happen
	Translate(
		ctx context.Context,
		in input.LocalSnapshot,
		userSupplied input.RemoteSnapshot,
		reporter reporting.Reporter,
	) (*Outputs, error)
}

the networking translator translates an istio input networking snapshot to an istiooutput snapshot of mesh config resources

func NewTranslator

func NewTranslator(
	istioTranslator istio.Translator,
	appmeshTranslator appmesh.Translator,
	osmTranslator osm.Translator,
) Translator

Directories

Path Synopsis
decorators/mocks
Package mock_decorators is a generated GoMock package.
Package mock_decorators is a generated GoMock package.
destination/authorizationpolicy/mocks
Package mock_authorizationpolicy is a generated GoMock package.
Package mock_authorizationpolicy is a generated GoMock package.
destination/destinationrule/mocks
Package mock_destinationrule is a generated GoMock package.
Package mock_destinationrule is a generated GoMock package.
destination/mocks
Package mock_destination is a generated GoMock package.
Package mock_destination is a generated GoMock package.
destination/virtualservice/mocks
Package mock_virtualservice is a generated GoMock package.
Package mock_virtualservice is a generated GoMock package.
extensions/mocks
Package mock_extensions is a generated GoMock package.
Package mock_extensions is a generated GoMock package.
internal/mocks
Package mock_internal is a generated GoMock package.
Package mock_internal is a generated GoMock package.
mesh/access/mocks
Package mock_access is a generated GoMock package.
Package mock_access is a generated GoMock package.
mesh/federation/mocks
Package mock_federation is a generated GoMock package.
Package mock_federation is a generated GoMock package.
mesh/mocks
Package mock_mesh is a generated GoMock package.
Package mock_mesh is a generated GoMock package.
mesh/mtls/mocks
Package mock_mtls is a generated GoMock package.
Package mock_mtls is a generated GoMock package.
osm
destination/mocks
Package mock_destination is a generated GoMock package.
Package mock_destination is a generated GoMock package.
internal/mocks
Package mock_internal is a generated GoMock package.
Package mock_internal is a generated GoMock package.
mesh/mocks
Package mock_mesh is a generated GoMock package.
Package mock_mesh is a generated GoMock package.
smi
destination/access/mocks
Package mock_access is a generated GoMock package.
Package mock_access is a generated GoMock package.
destination/mocks
Package mock_destination is a generated GoMock package.
Package mock_destination is a generated GoMock package.
destination/split/mocks
Package mock_split is a generated GoMock package.
Package mock_split is a generated GoMock package.
utils
hostutils/mocks
Package mock_hostutils is a generated GoMock package.
Package mock_hostutils is a generated GoMock package.

Jump to

Keyboard shortcuts

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