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
Click to show internal directories.
Click to hide internal directories.