traffictarget

package
v0.12.8 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 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 {
	TranslateTrafficTargets(
		ctx context.Context,
		services corev1sets.ServiceSet,
		workloads v1alpha2sets.WorkloadSet,
		meshes v1alpha2sets.MeshSet,
		endpoints corev1sets.EndpointsSet,
	) v1alpha2sets.TrafficTargetSet
}

the traffic-target translator converts deployments with injected sidecars into TrafficTarget CRs

func NewTranslator

func NewTranslator(trafficTargetDetector detector.TrafficTargetDetector) Translator

Directories

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

Jump to

Keyboard shortcuts

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