Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Translator ¶
type Translator interface { // Translate translates the FailoverService into a ServiceEntry representing the new service and an accompanying EnvoyFilter. // Output resources will be added to the istio.Builder // Errors caused by invalid user config will be reported using the Reporter. Translate( in input.Snapshot, mesh *discoveryv1alpha2.Mesh, failoverService *discoveryv1alpha2.MeshStatus_AppliedFailoverService, outputs istio.Builder, reporter reporting.Reporter, ) }
The FailoverService translator translates a FailoverService for a single Mesh.
func NewTranslator ¶
func NewTranslator(ctx context.Context, clusterDomains hostutils.ClusterDomainRegistry) Translator
Click to show internal directories.
Click to hide internal directories.