Documentation ¶
Index ¶
- Variables
- type AdminConfig
- func (*AdminConfig) Descriptor() ([]byte, []int)deprecated
- 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
- func (m *AdminConfig) ValidateAll() error
- type AdminConfigMultiError
- type AdminConfigValidationError
- func (e AdminConfigValidationError) Cause() error
- func (e AdminConfigValidationError) Error() string
- func (e AdminConfigValidationError) ErrorName() string
- func (e AdminConfigValidationError) Field() string
- func (e AdminConfigValidationError) Key() bool
- func (e AdminConfigValidationError) Reason() string
- type CommonExtensionConfig
- func (*CommonExtensionConfig) Descriptor() ([]byte, []int)deprecated
- 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
- func (m *CommonExtensionConfig) ValidateAll() error
- type CommonExtensionConfigMultiError
- type CommonExtensionConfigValidationError
- func (e CommonExtensionConfigValidationError) Cause() error
- func (e CommonExtensionConfigValidationError) Error() string
- func (e CommonExtensionConfigValidationError) ErrorName() string
- func (e CommonExtensionConfigValidationError) Field() string
- func (e CommonExtensionConfigValidationError) Key() bool
- func (e CommonExtensionConfigValidationError) Reason() string
- type CommonExtensionConfig_AdminConfig
- type CommonExtensionConfig_StaticConfig
Constants ¶
This section is empty.
Variables ¶
var File_envoy_config_common_tap_v2alpha_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 ¶ added in v0.9.6
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 ¶ added in v0.10.0
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 ¶ added in v0.10.0
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 ¶ added in v0.10.0
func (m AdminConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AdminConfigMultiError) Error ¶ added in v0.10.0
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 ¶
func (e AdminConfigValidationError) Cause() error
Cause function returns cause value.
func (AdminConfigValidationError) Error ¶
func (e AdminConfigValidationError) Error() string
Error satisfies the builtin error interface
func (AdminConfigValidationError) ErrorName ¶ added in v0.7.0
func (e AdminConfigValidationError) ErrorName() string
ErrorName returns error name.
func (AdminConfigValidationError) Field ¶
func (e AdminConfigValidationError) Field() string
Field function returns field value.
func (AdminConfigValidationError) Key ¶
func (e AdminConfigValidationError) Key() bool
Key function returns key value.
func (AdminConfigValidationError) Reason ¶
func (e AdminConfigValidationError) Reason() string
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() *v2alpha.TapConfig
func (*CommonExtensionConfig) ProtoMessage ¶
func (*CommonExtensionConfig) ProtoMessage()
func (*CommonExtensionConfig) ProtoReflect ¶ added in v0.9.6
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 ¶ added in v0.10.0
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 ¶ added in v0.10.0
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 ¶ added in v0.10.0
func (m CommonExtensionConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CommonExtensionConfigMultiError) Error ¶ added in v0.10.0
func (m CommonExtensionConfigMultiError) Error() string
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 ¶
func (e CommonExtensionConfigValidationError) Cause() error
Cause function returns cause value.
func (CommonExtensionConfigValidationError) Error ¶
func (e CommonExtensionConfigValidationError) Error() string
Error satisfies the builtin error interface
func (CommonExtensionConfigValidationError) ErrorName ¶ added in v0.7.0
func (e CommonExtensionConfigValidationError) ErrorName() string
ErrorName returns error name.
func (CommonExtensionConfigValidationError) Field ¶
func (e CommonExtensionConfigValidationError) Field() string
Field function returns field value.
func (CommonExtensionConfigValidationError) Key ¶
func (e CommonExtensionConfigValidationError) Key() bool
Key function returns key value.
func (CommonExtensionConfigValidationError) Reason ¶
func (e CommonExtensionConfigValidationError) Reason() string
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"` }