Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
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) GetConfig ¶
func (x *Wasm) GetConfig() *v3.PluginConfig
func (*Wasm) ProtoMessage ¶
func (*Wasm) ProtoMessage()
func (*Wasm) ProtoReflect ¶
func (x *Wasm) ProtoReflect() protoreflect.Message
func (*Wasm) Validate ¶
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 ¶
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.