destination

package
v1.0.0-beta8 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Translator

type Translator interface {
	TranslateDestinations(
		ctx context.Context,
		services corev1sets.ServiceSet,
		pods corev1sets.PodSet,
		nodes corev1sets.NodeSet,
		workloads v1.WorkloadSet,
		meshes v1.MeshSet,
		endpoints corev1sets.EndpointsSet,
	) v1.DestinationSet
}

the destination translator converts deployments with injected sidecars into Destination CRs

func NewTranslator

func NewTranslator(destinationDetector detector.DestinationDetector) Translator

Directories

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

Jump to

Keyboard shortcuts

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