Documentation ¶
Index ¶
- Variables
- type Tap
- func (*Tap) Descriptor() ([]byte, []int)
- func (m *Tap) GetCommonConfig() *v2alpha.CommonExtensionConfig
- func (m *Tap) GetTransportSocket() *core.TransportSocket
- func (m *Tap) Marshal() (dAtA []byte, err error)
- func (m *Tap) MarshalTo(dAtA []byte) (int, error)
- func (m *Tap) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Tap) ProtoMessage()
- func (m *Tap) Reset()
- func (m *Tap) Size() (n int)
- func (m *Tap) String() string
- func (m *Tap) Unmarshal(dAtA []byte) error
- func (m *Tap) Validate() error
- func (m *Tap) XXX_DiscardUnknown()
- func (m *Tap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Tap) XXX_Merge(src proto.Message)
- func (m *Tap) XXX_Size() int
- func (m *Tap) XXX_Unmarshal(b []byte) error
- type TapValidationError
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthTap = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTap = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type Tap ¶
type Tap struct { // Common configuration for the tap transport socket. CommonConfig *v2alpha.CommonExtensionConfig `protobuf:"bytes,1,opt,name=common_config,json=commonConfig,proto3" json:"common_config,omitempty"` // The underlying transport socket being wrapped. TransportSocket *core.TransportSocket `protobuf:"bytes,2,opt,name=transport_socket,json=transportSocket,proto3" json:"transport_socket,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Configuration for tap transport socket. This wraps another transport socket, providing the ability to interpose and record in plain text any traffic that is surfaced to Envoy.
func (*Tap) Descriptor ¶
func (*Tap) GetCommonConfig ¶
func (m *Tap) GetCommonConfig() *v2alpha.CommonExtensionConfig
func (*Tap) GetTransportSocket ¶
func (m *Tap) GetTransportSocket() *core.TransportSocket
func (*Tap) ProtoMessage ¶
func (*Tap) ProtoMessage()
func (*Tap) Validate ¶
Validate checks the field values on Tap with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Tap) XXX_DiscardUnknown ¶
func (m *Tap) XXX_DiscardUnknown()
func (*Tap) XXX_Unmarshal ¶
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 ¶
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.