This section is empty.


View Source
var File_envoy_config_filter_http_lua_v2_lua_proto protoreflect.FileDescriptor


This section is empty.


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"`
	// contains filtered or unexported fields

func (*Lua) Descriptor

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

    Deprecated: Use Lua.ProtoReflect.Descriptor instead.

    func (*Lua) GetInlineCode

    func (x *Lua) GetInlineCode() string

    func (*Lua) ProtoMessage

    func (*Lua) ProtoMessage()

    func (*Lua) ProtoReflect

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

    func (*Lua) Reset

    func (x *Lua) Reset()

    func (*Lua) String

    func (x *Lua) String() string

    func (*Lua) Validate

    func (m *Lua) Validate() error

      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.

      type LuaValidationError

      type LuaValidationError struct {
      	// contains filtered or unexported fields

        LuaValidationError is the validation error returned by Lua.Validate if the designated constraints aren't met.

        func (LuaValidationError) Cause

        func (e LuaValidationError) Cause() error

          Cause function returns cause value.

          func (LuaValidationError) Error

          func (e LuaValidationError) Error() string

            Error satisfies the builtin error interface

            func (LuaValidationError) ErrorName

            func (e LuaValidationError) ErrorName() string

              ErrorName returns error name.

              func (LuaValidationError) Field

              func (e LuaValidationError) Field() string

                Field function returns field value.

                func (LuaValidationError) Key

                func (e LuaValidationError) Key() bool

                  Key function returns key value.

                  func (LuaValidationError) Reason

                  func (e LuaValidationError) Reason() string

                    Reason function returns reason value.