go-control-plane: github.com/envoyproxy/go-control-plane/envoy/config/filter/http/lua/v2 Index | Files

package envoy_config_filter_http_lua_v2

import "github.com/envoyproxy/go-control-plane/envoy/config/filter/http/lua/v2"


Package Files

lua.pb.go lua.pb.validate.go


var File_envoy_config_filter_http_lua_v2_lua_proto protoreflect.FileDescriptor

type Lua Uses

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 Uses

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

Deprecated: Use Lua.ProtoReflect.Descriptor instead.

func (*Lua) GetInlineCode Uses

func (x *Lua) GetInlineCode() string

func (*Lua) ProtoMessage Uses

func (*Lua) ProtoMessage()

func (*Lua) ProtoReflect Uses

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

func (*Lua) Reset Uses

func (x *Lua) Reset()

func (*Lua) String Uses

func (x *Lua) String() string

func (*Lua) Validate Uses

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 Uses

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 Uses

func (e LuaValidationError) Cause() error

Cause function returns cause value.

func (LuaValidationError) Error Uses

func (e LuaValidationError) Error() string

Error satisfies the builtin error interface

func (LuaValidationError) ErrorName Uses

func (e LuaValidationError) ErrorName() string

ErrorName returns error name.

func (LuaValidationError) Field Uses

func (e LuaValidationError) Field() string

Field function returns field value.

func (LuaValidationError) Key Uses

func (e LuaValidationError) Key() bool

Key function returns key value.

func (LuaValidationError) Reason Uses

func (e LuaValidationError) Reason() string

Reason function returns reason value.

Package envoy_config_filter_http_lua_v2 imports 18 packages (graph) and is imported by 6 packages. Updated 2021-01-09. Refresh now. Tools for package owners.