extensions

package
v1.0.0-beta4 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

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 []*v1beta1.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) []*v1beta1.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 Destination
	PatchOutputs(ctx context.Context, inputs input.LocalSnapshot, 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.

Directories

Path Synopsis
Package mock_extensions is a generated GoMock package.
Package mock_extensions is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL