tapv3

package
v3.10.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_extensions_common_tap_v3_common_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AdminConfig

type AdminConfig struct {

	// Opaque configuration ID. When requests are made to the admin handler, the passed opaque ID is
	// matched to the configured filter opaque ID to determine which filter to configure.
	ConfigId string `protobuf:"bytes,1,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"`
	// contains filtered or unexported fields
}

Configuration for the admin handler. See :ref:`here <config_http_filters_tap_admin_handler>` for more information.

func (*AdminConfig) Descriptor deprecated

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

Deprecated: Use AdminConfig.ProtoReflect.Descriptor instead.

func (*AdminConfig) GetConfigId

func (x *AdminConfig) GetConfigId() string

func (*AdminConfig) ProtoMessage

func (*AdminConfig) ProtoMessage()

func (*AdminConfig) ProtoReflect

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

func (*AdminConfig) Reset

func (x *AdminConfig) Reset()

func (*AdminConfig) String

func (x *AdminConfig) String() string

func (*AdminConfig) Validate

func (m *AdminConfig) Validate() error

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

func (m *AdminConfig) ValidateAll() error

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

type AdminConfigMultiError

type AdminConfigMultiError []error

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

func (AdminConfigMultiError) AllErrors

func (m AdminConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AdminConfigMultiError) Error

func (m AdminConfigMultiError) Error() string

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

type AdminConfigValidationError

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

AdminConfigValidationError is the validation error returned by AdminConfig.Validate if the designated constraints aren't met.

func (AdminConfigValidationError) Cause

Cause function returns cause value.

func (AdminConfigValidationError) Error

Error satisfies the builtin error interface

func (AdminConfigValidationError) ErrorName

func (e AdminConfigValidationError) ErrorName() string

ErrorName returns error name.

func (AdminConfigValidationError) Field

Field function returns field value.

func (AdminConfigValidationError) Key

Key function returns key value.

func (AdminConfigValidationError) Reason

Reason function returns reason value.

type CommonExtensionConfig

type CommonExtensionConfig struct {

	// Types that are assignable to ConfigType:
	//
	//	*CommonExtensionConfig_AdminConfig
	//	*CommonExtensionConfig_StaticConfig
	ConfigType isCommonExtensionConfig_ConfigType `protobuf_oneof:"config_type"`
	// contains filtered or unexported fields
}

Common configuration for all tap extensions.

func (*CommonExtensionConfig) Descriptor deprecated

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

Deprecated: Use CommonExtensionConfig.ProtoReflect.Descriptor instead.

func (*CommonExtensionConfig) GetAdminConfig

func (x *CommonExtensionConfig) GetAdminConfig() *AdminConfig

func (*CommonExtensionConfig) GetConfigType

func (m *CommonExtensionConfig) GetConfigType() isCommonExtensionConfig_ConfigType

func (*CommonExtensionConfig) GetStaticConfig

func (x *CommonExtensionConfig) GetStaticConfig() *v3.TapConfig

func (*CommonExtensionConfig) ProtoMessage

func (*CommonExtensionConfig) ProtoMessage()

func (*CommonExtensionConfig) ProtoReflect

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

func (*CommonExtensionConfig) Reset

func (x *CommonExtensionConfig) Reset()

func (*CommonExtensionConfig) String

func (x *CommonExtensionConfig) String() string

func (*CommonExtensionConfig) Validate

func (m *CommonExtensionConfig) Validate() error

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

func (m *CommonExtensionConfig) ValidateAll() error

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

type CommonExtensionConfigMultiError

type CommonExtensionConfigMultiError []error

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

func (CommonExtensionConfigMultiError) AllErrors

func (m CommonExtensionConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CommonExtensionConfigMultiError) Error

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

type CommonExtensionConfigValidationError

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

CommonExtensionConfigValidationError is the validation error returned by CommonExtensionConfig.Validate if the designated constraints aren't met.

func (CommonExtensionConfigValidationError) Cause

Cause function returns cause value.

func (CommonExtensionConfigValidationError) Error

Error satisfies the builtin error interface

func (CommonExtensionConfigValidationError) ErrorName

ErrorName returns error name.

func (CommonExtensionConfigValidationError) Field

Field function returns field value.

func (CommonExtensionConfigValidationError) Key

Key function returns key value.

func (CommonExtensionConfigValidationError) Reason

Reason function returns reason value.

type CommonExtensionConfig_AdminConfig

type CommonExtensionConfig_AdminConfig struct {
	// If specified, the tap filter will be configured via an admin handler.
	AdminConfig *AdminConfig `protobuf:"bytes,1,opt,name=admin_config,json=adminConfig,proto3,oneof"`
}

type CommonExtensionConfig_StaticConfig

type CommonExtensionConfig_StaticConfig struct {
	// If specified, the tap filter will be configured via a static configuration that cannot be
	// changed.
	StaticConfig *v3.TapConfig `protobuf:"bytes,2,opt,name=static_config,json=staticConfig,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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