translation

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2020 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 OutputSnapshots

type OutputSnapshots struct {
	// contains filtered or unexported fields
}

func (OutputSnapshots) Apply

func (t OutputSnapshots) Apply(
	ctx context.Context,
	clusterClient client.Client,
	multiClusterClient multicluster.Client,
	errHandler output.ErrorHandler,
)

func (OutputSnapshots) MarshalJSON

func (t OutputSnapshots) 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,
	) (OutputSnapshots, 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.
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/failoverservice/mocks
Package mock_failoverservice is a generated GoMock package.
Package mock_failoverservice 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.
traffictarget/authorizationpolicy/mocks
Package mock_authorizationpolicy is a generated GoMock package.
Package mock_authorizationpolicy is a generated GoMock package.
traffictarget/destinationrule/mocks
Package mock_destinationrule is a generated GoMock package.
Package mock_destinationrule is a generated GoMock package.
traffictarget/mocks
Package mock_traffictarget is a generated GoMock package.
Package mock_traffictarget is a generated GoMock package.
traffictarget/virtualservice/mocks
Package mock_virtualservice is a generated GoMock package.
Package mock_virtualservice is a generated GoMock package.
osm
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.
traffictarget/mocks
Package mock_traffictarget is a generated GoMock package.
Package mock_traffictarget is a generated GoMock package.
smi
traffictarget/access/mocks
Package mock_access is a generated GoMock package.
Package mock_access is a generated GoMock package.
traffictarget/mocks
Package mock_traffictarget is a generated GoMock package.
Package mock_traffictarget is a generated GoMock package.
traffictarget/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.
validation
failoverservice/mocks
Package mock_validation is a generated GoMock package.
Package mock_validation is a generated GoMock package.

Jump to

Keyboard shortcuts

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