internal

package
v1.0.0-beta4 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2021 License: Apache-2.0 Imports: 16 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 {
	MakeDestinationTranslator(
		ctx context.Context,
		userSupplied input.RemoteSnapshot,
		clusters skv1alpha1sets.KubernetesClusterSet,
		destinations discoveryv1sets.DestinationSet,
	) destination.Translator
	MakeMeshTranslator(
		ctx context.Context,
		userSupplied input.RemoteSnapshot,
		clusters skv1alpha1sets.KubernetesClusterSet,
		secrets corev1sets.SecretSet,
		workloads discoveryv1sets.WorkloadSet,
		destinations discoveryv1sets.DestinationSet,
	) 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