Documentation ¶
Overview ¶
Package v2 is a generated protocol buffer package.
It is generated from these files:
envoy/config/filter/http/lua/v2/lua.proto
It has these top-level messages:
Lua
Index ¶
- Variables
- type Lua
- func (*Lua) Descriptor() ([]byte, []int)
- func (m *Lua) GetInlineCode() string
- func (m *Lua) Marshal() (dAtA []byte, err error)
- func (m *Lua) MarshalTo(dAtA []byte) (int, error)
- func (*Lua) ProtoMessage()
- func (m *Lua) Reset()
- func (m *Lua) Size() (n int)
- func (m *Lua) String() string
- func (m *Lua) Unmarshal(dAtA []byte) error
- func (m *Lua) Validate() error
- type LuaValidationError
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthLua = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowLua = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type Lua ¶
type Lua struct { // The Lua code that Envoy will execute. This can be a very small script that // further loads code from disk if desired. Note that if JSON configuration is used, the code must // be properly escaped. YAML configuration may be easier to read since YAML supports multi-line // strings so complex scripts can be easily expressed inline in the configuration. InlineCode string `protobuf:"bytes,1,opt,name=inline_code,json=inlineCode,proto3" json:"inline_code,omitempty"` }
func (*Lua) Descriptor ¶
func (*Lua) GetInlineCode ¶
func (*Lua) ProtoMessage ¶
func (*Lua) ProtoMessage()
type LuaValidationError ¶
LuaValidationError is the validation error returned by Lua.Validate if the designated constraints aren't met.
func (LuaValidationError) Error ¶
func (e LuaValidationError) Error() string
Error satisfies the builtin error interface
Click to show internal directories.
Click to hide internal directories.