internal

package
v1.1.0-beta18 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2021 License: Apache-2.0 Imports: 12 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,
		secrets corev1sets.SecretSet,
		workloads discoveryv1sets.WorkloadSet,
	) 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