translator

package
v0.13.29 Latest Latest
Warning

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

Go to latest
Published: May 15, 2019 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Overview

Package translator is a generated protocol buffer package.

It is generated from these files:

functional_base.proto

It has these top-level messages:

FunctionalFilterRouteConfig

Index

Constants

View Source
const (
	ClusterConnectionTimeout = time.Second * 5

	SslCertificateChainKey = "tls.crt"
	SslPrivateKeyKey       = "tls.key"
	SslRootCaKey           = "tls.root"
)
View Source
const EnvoyLb = "envoy.lb"

Variables

This section is empty.

Functions

func DataSourceFromString

func DataSourceFromString(str string) *envoycore.DataSource

func NewFilterWithConfig added in v0.13.1

func NewFilterWithConfig(name string, config proto.Message) (envoylistener.Filter, error)

func NewHttpConnectionManager

func NewHttpConnectionManager(httpFilters []*envoyhttp.HttpFilter, rdsName string) *envoyhttp.HttpConnectionManager

func ParseConfig added in v0.13.1

func ParseConfig(c configObject, config proto.Message) error

func UpstreamToClusterName

func UpstreamToClusterName(upstream core.ResourceRef) string

Types

type FunctionalFilterRouteConfig

type FunctionalFilterRouteConfig struct {
	FunctionName string `protobuf:"bytes,1,opt,name=function_name,json=functionName,proto3" json:"function_name,omitempty"`
}

func (*FunctionalFilterRouteConfig) Descriptor

func (*FunctionalFilterRouteConfig) Descriptor() ([]byte, []int)

func (*FunctionalFilterRouteConfig) GetFunctionName

func (m *FunctionalFilterRouteConfig) GetFunctionName() string

func (*FunctionalFilterRouteConfig) ProtoMessage

func (*FunctionalFilterRouteConfig) ProtoMessage()

func (*FunctionalFilterRouteConfig) Reset

func (m *FunctionalFilterRouteConfig) Reset()

func (*FunctionalFilterRouteConfig) String

func (m *FunctionalFilterRouteConfig) String() string

type Translator

type Translator interface {
	Translate(params plugins.Params, proxy *v1.Proxy) (envoycache.Snapshot, reporter.ResourceErrors, error)
}

func NewTranslator

func NewTranslator(plugins []plugins.Plugin, settings *v1.Settings) Translator

Jump to

Keyboard shortcuts

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