Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewIstioExtender ¶
func NewIstioExtender(clientset extensions.Clientset) *istioExtender
func OutputsFromProto ¶
func OutputsFromProto(ctx context.Context, name string, generated []*v1alpha1.GeneratedObject) istio.Builder
OutputsFromProto convert [generated objects] to istio.Builder exposed here for use in Server implementations. NOTE: If we add more supported types of v1alpha1.GeneratedObjects, we need to update this function to convert them.
func OutputsToProto ¶
func OutputsToProto(outputs istio.Builder) []*v1alpha1.GeneratedObject
OutputsToProto converts istio.Builder to [generated objects] exposed as it is imported in extensions servers NOTE: If we add more supported types of v1alpha1.GeneratedObjects, we need to update this function to convert them.
Types ¶
type IstioExtender ¶
type IstioExtender interface { // PatchOutputs retrieves from the NetworkingExtensionsServers and applies patches to the outputs for a given TrafficTarget PatchOutputs(ctx context.Context, inputs input.Snapshot, outputs istio.Builder) error }
IstioExtender provides a caller-friendly mechanism for the Istio Networking Translator to apply patches supplied by a set of preconfigured v1alpha1.NetworkingExtensionsServer.
Click to show internal directories.
Click to hide internal directories.