v2

package
v0.0.0-...-113c6ea Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2019 License: Apache-2.0 Imports: 15 Imported by: 0

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

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) Descriptor() ([]byte, []int)

func (*Lua) GetInlineCode

func (m *Lua) GetInlineCode() string

func (*Lua) Marshal

func (m *Lua) Marshal() (dAtA []byte, err error)

func (*Lua) MarshalTo

func (m *Lua) MarshalTo(dAtA []byte) (int, error)

func (*Lua) ProtoMessage

func (*Lua) ProtoMessage()

func (*Lua) Reset

func (m *Lua) Reset()

func (*Lua) Size

func (m *Lua) Size() (n int)

func (*Lua) String

func (m *Lua) String() string

func (*Lua) Unmarshal

func (m *Lua) Unmarshal(dAtA []byte) error

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 {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL