wasmv3

package
v0.0.0-...-8550f2a Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: Apache-2.0 Imports: 19 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_extensions_stat_sinks_wasm_v3_wasm_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Wasm

type Wasm struct {

	// General Plugin configuration.
	Config *v3.PluginConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*Wasm) Descriptor deprecated

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

Deprecated: Use Wasm.ProtoReflect.Descriptor instead.

func (*Wasm) GetConfig

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

func (*Wasm) ProtoMessage

func (*Wasm) ProtoMessage()

func (*Wasm) ProtoReflect

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

func (*Wasm) Reset

func (x *Wasm) Reset()

func (*Wasm) String

func (x *Wasm) String() string

func (*Wasm) Validate

func (m *Wasm) Validate() error

Validate checks the field values on Wasm 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 (*Wasm) ValidateAll

func (m *Wasm) ValidateAll() error

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

type WasmMultiError

type WasmMultiError []error

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

func (WasmMultiError) AllErrors

func (m WasmMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (WasmMultiError) Error

func (m WasmMultiError) Error() string

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

type WasmValidationError

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

WasmValidationError is the validation error returned by Wasm.Validate if the designated constraints aren't met.

func (WasmValidationError) Cause

func (e WasmValidationError) Cause() error

Cause function returns cause value.

func (WasmValidationError) Error

func (e WasmValidationError) Error() string

Error satisfies the builtin error interface

func (WasmValidationError) ErrorName

func (e WasmValidationError) ErrorName() string

ErrorName returns error name.

func (WasmValidationError) Field

func (e WasmValidationError) Field() string

Field function returns field value.

func (WasmValidationError) Key

func (e WasmValidationError) Key() bool

Key function returns key value.

func (WasmValidationError) Reason

func (e WasmValidationError) 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