var File_envoy_config_common_tap_v2alpha_common_proto protoreflect.FileDescriptor
Configuration for the admin handler. See :ref:`here <config_http_filters_tap_admin_handler>` for more information.
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 }
func (*AdminConfig) Descriptor() ([]byte, []int)
Deprecated: Use AdminConfig.ProtoReflect.Descriptor instead.
func (x *AdminConfig) GetConfigId() string
func (*AdminConfig) ProtoMessage()
func (x *AdminConfig) ProtoReflect() protoreflect.Message
func (x *AdminConfig) Reset()
func (x *AdminConfig) String() string
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 (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.
AdminConfigMultiError is an error wrapping multiple validation errors returned by AdminConfig.ValidateAll() if the designated constraints aren't met.
type AdminConfigMultiError []error
func (m AdminConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (m AdminConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
AdminConfigValidationError is the validation error returned by AdminConfig.Validate if the designated constraints aren't met.
type AdminConfigValidationError struct {
// contains filtered or unexported fields
}
func (e AdminConfigValidationError) Cause() error
Cause function returns cause value.
func (e AdminConfigValidationError) Error() string
Error satisfies the builtin error interface
func (e AdminConfigValidationError) ErrorName() string
ErrorName returns error name.
func (e AdminConfigValidationError) Field() string
Field function returns field value.
func (e AdminConfigValidationError) Key() bool
Key function returns key value.
func (e AdminConfigValidationError) Reason() string
Reason function returns reason value.
Common configuration for all tap extensions.
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 }
func (*CommonExtensionConfig) Descriptor() ([]byte, []int)
Deprecated: Use CommonExtensionConfig.ProtoReflect.Descriptor instead.
func (x *CommonExtensionConfig) GetAdminConfig() *AdminConfig
func (m *CommonExtensionConfig) GetConfigType() isCommonExtensionConfig_ConfigType
func (x *CommonExtensionConfig) GetStaticConfig() *v2alpha.TapConfig
func (*CommonExtensionConfig) ProtoMessage()
func (x *CommonExtensionConfig) ProtoReflect() protoreflect.Message
func (x *CommonExtensionConfig) Reset()
func (x *CommonExtensionConfig) String() string
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 (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.
CommonExtensionConfigMultiError is an error wrapping multiple validation errors returned by CommonExtensionConfig.ValidateAll() if the designated constraints aren't met.
type CommonExtensionConfigMultiError []error
func (m CommonExtensionConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (m CommonExtensionConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
CommonExtensionConfigValidationError is the validation error returned by CommonExtensionConfig.Validate if the designated constraints aren't met.
type CommonExtensionConfigValidationError struct {
// contains filtered or unexported fields
}
func (e CommonExtensionConfigValidationError) Cause() error
Cause function returns cause value.
func (e CommonExtensionConfigValidationError) Error() string
Error satisfies the builtin error interface
func (e CommonExtensionConfigValidationError) ErrorName() string
ErrorName returns error name.
func (e CommonExtensionConfigValidationError) Field() string
Field function returns field value.
func (e CommonExtensionConfigValidationError) Key() bool
Key function returns key value.
func (e CommonExtensionConfigValidationError) Reason() string
Reason function returns reason value.
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 struct { // If specified, the tap filter will be configured via a static configuration that cannot be // changed. StaticConfig *v2alpha.TapConfig `protobuf:"bytes,2,opt,name=static_config,json=staticConfig,proto3,oneof"` }