wasmv3

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2024 License: Apache-2.0 Imports: 18 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_extensions_access_loggers_wasm_v3_wasm_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type WasmAccessLog

type WasmAccessLog struct {
	Config *v3.PluginConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

Custom configuration for an :ref:`AccessLog <envoy_v3_api_msg_config.accesslog.v3.AccessLog>` that calls into a WASM VM. Configures the built-in “envoy.access_loggers.wasm“ AccessLog.

func (*WasmAccessLog) Descriptor deprecated

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

Deprecated: Use WasmAccessLog.ProtoReflect.Descriptor instead.

func (*WasmAccessLog) GetConfig

func (x *WasmAccessLog) GetConfig() *v3.PluginConfig

func (*WasmAccessLog) ProtoMessage

func (*WasmAccessLog) ProtoMessage()

func (*WasmAccessLog) ProtoReflect

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

func (*WasmAccessLog) Reset

func (x *WasmAccessLog) Reset()

func (*WasmAccessLog) String

func (x *WasmAccessLog) String() string

func (*WasmAccessLog) Validate

func (m *WasmAccessLog) Validate() error

Validate checks the field values on WasmAccessLog 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 (*WasmAccessLog) ValidateAll added in v0.10.0

func (m *WasmAccessLog) ValidateAll() error

ValidateAll checks the field values on WasmAccessLog 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 WasmAccessLogMultiError, or nil if none found.

type WasmAccessLogMultiError added in v0.10.0

type WasmAccessLogMultiError []error

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

func (WasmAccessLogMultiError) AllErrors added in v0.10.0

func (m WasmAccessLogMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (WasmAccessLogMultiError) Error added in v0.10.0

func (m WasmAccessLogMultiError) Error() string

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

type WasmAccessLogValidationError

type WasmAccessLogValidationError struct {
	// contains filtered or unexported fields
}

WasmAccessLogValidationError is the validation error returned by WasmAccessLog.Validate if the designated constraints aren't met.

func (WasmAccessLogValidationError) Cause

Cause function returns cause value.

func (WasmAccessLogValidationError) Error

Error satisfies the builtin error interface

func (WasmAccessLogValidationError) ErrorName

func (e WasmAccessLogValidationError) ErrorName() string

ErrorName returns error name.

func (WasmAccessLogValidationError) Field

Field function returns field value.

func (WasmAccessLogValidationError) Key

Key function returns key value.

func (WasmAccessLogValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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