Documentation ¶
Index ¶
- Variables
- type AdminConfig
- func (*AdminConfig) Descriptor() ([]byte, []int)
- func (m *AdminConfig) GetConfigId() string
- func (m *AdminConfig) Marshal() (dAtA []byte, err error)
- func (m *AdminConfig) MarshalTo(dAtA []byte) (int, error)
- func (*AdminConfig) ProtoMessage()
- func (m *AdminConfig) Reset()
- func (m *AdminConfig) Size() (n int)
- func (m *AdminConfig) String() string
- func (m *AdminConfig) Unmarshal(dAtA []byte) error
- func (m *AdminConfig) Validate() error
- func (m *AdminConfig) XXX_DiscardUnknown()
- func (m *AdminConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AdminConfig) XXX_Merge(src proto.Message)
- func (m *AdminConfig) XXX_Size() int
- func (m *AdminConfig) XXX_Unmarshal(b []byte) error
- type AdminConfigValidationError
- type CommonExtensionConfig
- func (*CommonExtensionConfig) Descriptor() ([]byte, []int)
- func (m *CommonExtensionConfig) GetAdminConfig() *AdminConfig
- func (m *CommonExtensionConfig) GetConfigType() isCommonExtensionConfig_ConfigType
- func (m *CommonExtensionConfig) GetStaticConfig() *v2alpha.TapConfig
- func (m *CommonExtensionConfig) Marshal() (dAtA []byte, err error)
- func (m *CommonExtensionConfig) MarshalTo(dAtA []byte) (int, error)
- func (*CommonExtensionConfig) ProtoMessage()
- func (m *CommonExtensionConfig) Reset()
- func (m *CommonExtensionConfig) Size() (n int)
- func (m *CommonExtensionConfig) String() string
- func (m *CommonExtensionConfig) Unmarshal(dAtA []byte) error
- func (m *CommonExtensionConfig) Validate() error
- func (m *CommonExtensionConfig) XXX_DiscardUnknown()
- func (m *CommonExtensionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CommonExtensionConfig) XXX_Merge(src proto.Message)
- func (*CommonExtensionConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *CommonExtensionConfig) XXX_Size() int
- func (m *CommonExtensionConfig) XXX_Unmarshal(b []byte) error
- type CommonExtensionConfigValidationError
- type CommonExtensionConfig_AdminConfig
- type CommonExtensionConfig_StaticConfig
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthCommon = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowCommon = fmt.Errorf("proto: integer overflow") )
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Configuration for the admin handler. See :ref:`here <config_http_filters_tap_admin_handler>` for more information.
func (*AdminConfig) Descriptor ¶
func (*AdminConfig) Descriptor() ([]byte, []int)
func (*AdminConfig) GetConfigId ¶
func (m *AdminConfig) GetConfigId() string
func (*AdminConfig) Marshal ¶
func (m *AdminConfig) Marshal() (dAtA []byte, err error)
func (*AdminConfig) ProtoMessage ¶
func (*AdminConfig) ProtoMessage()
func (*AdminConfig) Reset ¶
func (m *AdminConfig) Reset()
func (*AdminConfig) Size ¶
func (m *AdminConfig) Size() (n int)
func (*AdminConfig) String ¶
func (m *AdminConfig) String() string
func (*AdminConfig) Unmarshal ¶
func (m *AdminConfig) Unmarshal(dAtA []byte) error
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, an error is returned.
func (*AdminConfig) XXX_DiscardUnknown ¶
func (m *AdminConfig) XXX_DiscardUnknown()
func (*AdminConfig) XXX_Marshal ¶
func (m *AdminConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AdminConfig) XXX_Merge ¶
func (m *AdminConfig) XXX_Merge(src proto.Message)
func (*AdminConfig) XXX_Size ¶
func (m *AdminConfig) XXX_Size() int
func (*AdminConfig) XXX_Unmarshal ¶
func (m *AdminConfig) XXX_Unmarshal(b []byte) error
type AdminConfigValidationError ¶
AdminConfigValidationError is the validation error returned by AdminConfig.Validate if the designated constraints aren't met.
func (AdminConfigValidationError) Error ¶
func (e AdminConfigValidationError) Error() string
Error satisfies the builtin error interface
type CommonExtensionConfig ¶
type CommonExtensionConfig struct { // Types that are valid to be assigned to ConfigType: // *CommonExtensionConfig_AdminConfig // *CommonExtensionConfig_StaticConfig ConfigType isCommonExtensionConfig_ConfigType `protobuf_oneof:"config_type"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Common configuration for all tap extensions.
func (*CommonExtensionConfig) Descriptor ¶
func (*CommonExtensionConfig) Descriptor() ([]byte, []int)
func (*CommonExtensionConfig) GetAdminConfig ¶
func (m *CommonExtensionConfig) GetAdminConfig() *AdminConfig
func (*CommonExtensionConfig) GetConfigType ¶
func (m *CommonExtensionConfig) GetConfigType() isCommonExtensionConfig_ConfigType
func (*CommonExtensionConfig) GetStaticConfig ¶
func (m *CommonExtensionConfig) GetStaticConfig() *v2alpha.TapConfig
func (*CommonExtensionConfig) Marshal ¶
func (m *CommonExtensionConfig) Marshal() (dAtA []byte, err error)
func (*CommonExtensionConfig) MarshalTo ¶
func (m *CommonExtensionConfig) MarshalTo(dAtA []byte) (int, error)
func (*CommonExtensionConfig) ProtoMessage ¶
func (*CommonExtensionConfig) ProtoMessage()
func (*CommonExtensionConfig) Reset ¶
func (m *CommonExtensionConfig) Reset()
func (*CommonExtensionConfig) Size ¶
func (m *CommonExtensionConfig) Size() (n int)
func (*CommonExtensionConfig) String ¶
func (m *CommonExtensionConfig) String() string
func (*CommonExtensionConfig) Unmarshal ¶
func (m *CommonExtensionConfig) Unmarshal(dAtA []byte) error
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, an error is returned.
func (*CommonExtensionConfig) XXX_DiscardUnknown ¶
func (m *CommonExtensionConfig) XXX_DiscardUnknown()
func (*CommonExtensionConfig) XXX_Marshal ¶
func (m *CommonExtensionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CommonExtensionConfig) XXX_Merge ¶
func (m *CommonExtensionConfig) XXX_Merge(src proto.Message)
func (*CommonExtensionConfig) XXX_OneofFuncs ¶
func (*CommonExtensionConfig) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*CommonExtensionConfig) XXX_Size ¶
func (m *CommonExtensionConfig) XXX_Size() int
func (*CommonExtensionConfig) XXX_Unmarshal ¶
func (m *CommonExtensionConfig) XXX_Unmarshal(b []byte) error
type CommonExtensionConfigValidationError ¶
type CommonExtensionConfigValidationError struct { Field string Reason string Cause error Key bool }
CommonExtensionConfigValidationError is the validation error returned by CommonExtensionConfig.Validate if the designated constraints aren't met.
func (CommonExtensionConfigValidationError) Error ¶
func (e CommonExtensionConfigValidationError) Error() string
Error satisfies the builtin error interface
type CommonExtensionConfig_AdminConfig ¶
type CommonExtensionConfig_AdminConfig struct {
AdminConfig *AdminConfig `protobuf:"bytes,1,opt,name=admin_config,json=adminConfig,proto3,oneof"`
}
func (*CommonExtensionConfig_AdminConfig) MarshalTo ¶
func (m *CommonExtensionConfig_AdminConfig) MarshalTo(dAtA []byte) (int, error)
func (*CommonExtensionConfig_AdminConfig) Size ¶
func (m *CommonExtensionConfig_AdminConfig) Size() (n int)
type CommonExtensionConfig_StaticConfig ¶
type CommonExtensionConfig_StaticConfig struct {
StaticConfig *v2alpha.TapConfig `protobuf:"bytes,2,opt,name=static_config,json=staticConfig,proto3,oneof"`
}
func (*CommonExtensionConfig_StaticConfig) MarshalTo ¶
func (m *CommonExtensionConfig_StaticConfig) MarshalTo(dAtA []byte) (int, error)
func (*CommonExtensionConfig_StaticConfig) Size ¶
func (m *CommonExtensionConfig_StaticConfig) Size() (n int)