envoy_config_filter_http_tap_v2alpha

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2021 License: Apache-2.0 Imports: 20 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_config_filter_http_tap_v2alpha_tap_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Tap

type Tap struct {

	// Common configuration for the HTTP tap filter.
	CommonConfig *v2alpha.CommonExtensionConfig `protobuf:"bytes,1,opt,name=common_config,json=commonConfig,proto3" json:"common_config,omitempty"`
	// contains filtered or unexported fields
}

Top level configuration for the tap filter.

func (*Tap) Descriptor deprecated

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

Deprecated: Use Tap.ProtoReflect.Descriptor instead.

func (*Tap) GetCommonConfig

func (x *Tap) GetCommonConfig() *v2alpha.CommonExtensionConfig

func (*Tap) ProtoMessage

func (*Tap) ProtoMessage()

func (*Tap) ProtoReflect added in v0.9.6

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

func (*Tap) Reset

func (x *Tap) Reset()

func (*Tap) String

func (x *Tap) String() string

func (*Tap) Validate

func (m *Tap) Validate() error

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

func (m *Tap) ValidateAll() error

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

type TapMultiError added in v0.10.0

type TapMultiError []error

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

func (TapMultiError) AllErrors added in v0.10.0

func (m TapMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TapMultiError) Error added in v0.10.0

func (m TapMultiError) Error() string

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

type TapValidationError

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

TapValidationError is the validation error returned by Tap.Validate if the designated constraints aren't met.

func (TapValidationError) Cause

func (e TapValidationError) Cause() error

Cause function returns cause value.

func (TapValidationError) Error

func (e TapValidationError) Error() string

Error satisfies the builtin error interface

func (TapValidationError) ErrorName added in v0.7.0

func (e TapValidationError) ErrorName() string

ErrorName returns error name.

func (TapValidationError) Field

func (e TapValidationError) Field() string

Field function returns field value.

func (TapValidationError) Key

func (e TapValidationError) Key() bool

Key function returns key value.

func (TapValidationError) Reason

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