federation

package
v1.1.0-beta23 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2021 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildGatewayName added in v1.0.0

func BuildGatewayName(appliedIngressGateway *discoveryv1.MeshStatus_AppliedIngressGateway) string

Types

type Translator

type Translator interface {
	// Translate translates a Gateway for 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,
		virtualMesh *discoveryv1.MeshStatus_AppliedVirtualMesh,
		outputs istio.Builder,
		reporter reporting.Reporter,
	)
}

the Mesh Federation translator translates a Gateway CR for enabling the Mesh to receive cross cluster traffic

func NewTranslator

func NewTranslator(
	ctx context.Context,
) Translator

Directories

Path Synopsis
Package mock_federation is a generated GoMock package.
Package mock_federation is a generated GoMock package.

Jump to

Keyboard shortcuts

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