Documentation ¶
Index ¶
- type DependencyFactory
- type DependencyFactoryImpl
- func (d DependencyFactoryImpl) MakeDestinationTranslator(ctx context.Context) destination.Translator
- func (d DependencyFactoryImpl) MakeMeshTranslator(ctx context.Context) mesh.Translator
- func (d DependencyFactoryImpl) MakeWorkloadTranslator(ctx context.Context, in input.DiscoveryInputSnapshot) workload.Translator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DependencyFactory ¶
type DependencyFactory interface { MakeMeshTranslator( ctx context.Context, ) mesh.Translator MakeWorkloadTranslator( ctx context.Context, in input.DiscoveryInputSnapshot, ) workload.Translator MakeDestinationTranslator(ctx context.Context) destination.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
type DependencyFactoryImpl ¶
type DependencyFactoryImpl struct{}
func (DependencyFactoryImpl) MakeDestinationTranslator ¶ added in v1.0.0
func (d DependencyFactoryImpl) MakeDestinationTranslator(ctx context.Context) destination.Translator
func (DependencyFactoryImpl) MakeMeshTranslator ¶
func (d DependencyFactoryImpl) MakeMeshTranslator( ctx context.Context, ) mesh.Translator
func (DependencyFactoryImpl) MakeWorkloadTranslator ¶
func (d DependencyFactoryImpl) MakeWorkloadTranslator( ctx context.Context, in input.DiscoveryInputSnapshot, ) workload.Translator
Click to show internal directories.
Click to hide internal directories.