Documentation ¶
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
- func (m *Lua) XXX_DiscardUnknown()
- func (m *Lua) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Lua) XXX_Merge(src proto.Message)
- func (m *Lua) XXX_Size() int
- func (m *Lua) XXX_Unmarshal(b []byte) 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Lua) Descriptor ¶
func (*Lua) GetInlineCode ¶
func (*Lua) ProtoMessage ¶
func (*Lua) ProtoMessage()
func (*Lua) Validate ¶
Validate checks the field values on Lua with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Lua) XXX_DiscardUnknown ¶
func (m *Lua) XXX_DiscardUnknown()
func (*Lua) XXX_Unmarshal ¶
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.