internal

package
v1.0.0-beta1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DependencyFactory

type DependencyFactory interface {
	MakeTrafficTargetTranslator(
		ctx context.Context,
		userSupplied input.RemoteSnapshot,
		clusters skv1alpha1sets.KubernetesClusterSet,
		trafficTargets discoveryv1alpha2sets.TrafficTargetSet,
		failoverServices v1alpha2sets.FailoverServiceSet,
	) traffictarget.Translator
	MakeMeshTranslator(
		ctx context.Context,
		userSupplied input.RemoteSnapshot,
		clusters skv1alpha1sets.KubernetesClusterSet,
		secrets corev1sets.SecretSet,
		workloads discoveryv1alpha2sets.WorkloadSet,
		trafficTargets discoveryv1alpha2sets.TrafficTargetSet,
		failoverServices v1alpha2sets.FailoverServiceSet,
	) mesh.Translator
}

the DependencyFactory creates dependencies for the translator from a given snapshot NOTE(ilackarms): private interface used here as it's not expected we'll need to define our DependencyFactory anywhere else

func NewDependencyFactory

func NewDependencyFactory() DependencyFactory

Directories

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

Jump to

Keyboard shortcuts

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