Documentation ¶
Index ¶
- Variables
- type LuaConfig
- func (*LuaConfig) Descriptor() ([]byte, []int)deprecated
- func (x *LuaConfig) GetDefaultCluster() string
- func (x *LuaConfig) GetSourceCode() *v3.DataSource
- func (*LuaConfig) ProtoMessage()
- func (x *LuaConfig) ProtoReflect() protoreflect.Message
- func (x *LuaConfig) Reset()
- func (x *LuaConfig) String() string
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) GetDefaultCluster ¶
func (*LuaConfig) GetSourceCode ¶
func (x *LuaConfig) GetSourceCode() *v3.DataSource
func (*LuaConfig) ProtoMessage ¶
func (*LuaConfig) ProtoMessage()
func (*LuaConfig) ProtoReflect ¶
func (x *LuaConfig) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.