package envoy_extensions_stat_sinks_wasm_v3

import "github.com/envoyproxy/go-control-plane/envoy/extensions/stat_sinks/wasm/v3"

Index

Variables

var File_envoy_extensions_stat_sinks_wasm_v3_wasm_proto protoreflect.FileDescriptor

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

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, an error is returned.

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.

Source Files

wasm.pb.go wasm.pb.validate.go

Version
v0.9.8
Published
Dec 7, 2020
Platform
darwin/amd64
Imports
19 packages
Last checked
12 minutes ago

Tools for package owners.