luav3

package
v1.34.0-20240426201503... Latest Latest
Warning

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

Go to latest
Published: unknown License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_extensions_router_cluster_specifiers_lua_v3_lua_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type LuaConfig

type LuaConfig struct {

	// The lua code that Envoy will execute to select cluster.
	SourceCode *v3.DataSource `protobuf:"bytes,1,opt,name=source_code,json=sourceCode,proto3" json:"source_code,omitempty"`
	// Default cluster. It will be used when the lua code execute failure.
	DefaultCluster string `protobuf:"bytes,2,opt,name=default_cluster,json=defaultCluster,proto3" json:"default_cluster,omitempty"`
	// contains filtered or unexported fields
}

func (*LuaConfig) Descriptor deprecated

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

Deprecated: Use LuaConfig.ProtoReflect.Descriptor instead.

func (*LuaConfig) GetDefaultCluster

func (x *LuaConfig) GetDefaultCluster() string

func (*LuaConfig) GetSourceCode

func (x *LuaConfig) GetSourceCode() *v3.DataSource

func (*LuaConfig) ProtoMessage

func (*LuaConfig) ProtoMessage()

func (*LuaConfig) ProtoReflect

func (x *LuaConfig) ProtoReflect() protoreflect.Message

func (*LuaConfig) Reset

func (x *LuaConfig) Reset()

func (*LuaConfig) String

func (x *LuaConfig) String() string

Jump to

Keyboard shortcuts

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