luav3

package
v0.0.0-...-60bbc23 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_extensions_string_matcher_lua_v3_lua_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Lua

type Lua struct {

	// The Lua code that Envoy will execute
	SourceCode *v3.DataSource `protobuf:"bytes,1,opt,name=source_code,json=sourceCode,proto3" json:"source_code,omitempty"`
	// contains filtered or unexported fields
}

func (*Lua) Descriptor deprecated

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

Deprecated: Use Lua.ProtoReflect.Descriptor instead.

func (*Lua) GetSourceCode

func (x *Lua) GetSourceCode() *v3.DataSource

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, the first error encountered is returned, or nil if there are no violations.

func (*Lua) ValidateAll

func (m *Lua) ValidateAll() error

ValidateAll checks the field values on Lua with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LuaMultiError, or nil if none found.

type LuaMultiError

type LuaMultiError []error

LuaMultiError is an error wrapping multiple validation errors returned by Lua.ValidateAll() if the designated constraints aren't met.

func (LuaMultiError) AllErrors

func (m LuaMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LuaMultiError) Error

func (m LuaMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

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.

Jump to

Keyboard shortcuts

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