federation

package
v1.1.0-beta11 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultGatewayPortName = "tls"
)

Variables

This section is empty.

Functions

func BuildGatewayName added in v1.0.0

func BuildGatewayName(virtualMesh *discoveryv1.MeshStatus_AppliedVirtualMesh) string

Types

type Translator

type Translator interface {
	// Translate translates the appropriate VirtualService and DestinationRule for the given Mesh.
	// returns nil if no VirtualService or DestinationRule is required for the Mesh (i.e. if no VirtualService/DestinationRule features are required, such as subsets).
	// 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 VirtualService translator translates a Mesh into a VirtualService.

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