Documentation ¶
Index ¶
- Variables
- type FilePerTapSink
- func (*FilePerTapSink) Descriptor() ([]byte, []int)
- func (m *FilePerTapSink) GetPathPrefix() string
- func (m *FilePerTapSink) Marshal() (dAtA []byte, err error)
- func (m *FilePerTapSink) MarshalTo(dAtA []byte) (int, error)
- func (*FilePerTapSink) ProtoMessage()
- func (m *FilePerTapSink) Reset()
- func (m *FilePerTapSink) Size() (n int)
- func (m *FilePerTapSink) String() string
- func (m *FilePerTapSink) Unmarshal(dAtA []byte) error
- func (m *FilePerTapSink) Validate() error
- func (m *FilePerTapSink) XXX_DiscardUnknown()
- func (m *FilePerTapSink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FilePerTapSink) XXX_Merge(src proto.Message)
- func (m *FilePerTapSink) XXX_Size() int
- func (m *FilePerTapSink) XXX_Unmarshal(b []byte) error
- type FilePerTapSinkValidationError
- type HttpHeadersMatch
- func (*HttpHeadersMatch) Descriptor() ([]byte, []int)
- func (m *HttpHeadersMatch) GetHeaders() []*route.HeaderMatcher
- func (m *HttpHeadersMatch) Marshal() (dAtA []byte, err error)
- func (m *HttpHeadersMatch) MarshalTo(dAtA []byte) (int, error)
- func (*HttpHeadersMatch) ProtoMessage()
- func (m *HttpHeadersMatch) Reset()
- func (m *HttpHeadersMatch) Size() (n int)
- func (m *HttpHeadersMatch) String() string
- func (m *HttpHeadersMatch) Unmarshal(dAtA []byte) error
- func (m *HttpHeadersMatch) Validate() error
- func (m *HttpHeadersMatch) XXX_DiscardUnknown()
- func (m *HttpHeadersMatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HttpHeadersMatch) XXX_Merge(src proto.Message)
- func (m *HttpHeadersMatch) XXX_Size() int
- func (m *HttpHeadersMatch) XXX_Unmarshal(b []byte) error
- type HttpHeadersMatchValidationError
- type MatchPredicate
- func (*MatchPredicate) Descriptor() ([]byte, []int)
- func (m *MatchPredicate) GetAndMatch() *MatchPredicate_MatchSet
- func (m *MatchPredicate) GetAnyMatch() bool
- func (m *MatchPredicate) GetHttpRequestHeadersMatch() *HttpHeadersMatch
- func (m *MatchPredicate) GetHttpRequestTrailersMatch() *HttpHeadersMatch
- func (m *MatchPredicate) GetHttpResponseHeadersMatch() *HttpHeadersMatch
- func (m *MatchPredicate) GetHttpResponseTrailersMatch() *HttpHeadersMatch
- func (m *MatchPredicate) GetNotMatch() *MatchPredicate
- func (m *MatchPredicate) GetOrMatch() *MatchPredicate_MatchSet
- func (m *MatchPredicate) GetRule() isMatchPredicate_Rule
- func (m *MatchPredicate) Marshal() (dAtA []byte, err error)
- func (m *MatchPredicate) MarshalTo(dAtA []byte) (int, error)
- func (*MatchPredicate) ProtoMessage()
- func (m *MatchPredicate) Reset()
- func (m *MatchPredicate) Size() (n int)
- func (m *MatchPredicate) String() string
- func (m *MatchPredicate) Unmarshal(dAtA []byte) error
- func (m *MatchPredicate) Validate() error
- func (m *MatchPredicate) XXX_DiscardUnknown()
- func (m *MatchPredicate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MatchPredicate) XXX_Merge(src proto.Message)
- func (*MatchPredicate) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *MatchPredicate) XXX_Size() int
- func (m *MatchPredicate) XXX_Unmarshal(b []byte) error
- type MatchPredicateValidationError
- type MatchPredicate_AndMatch
- type MatchPredicate_AnyMatch
- type MatchPredicate_HttpRequestHeadersMatch
- type MatchPredicate_HttpRequestTrailersMatch
- type MatchPredicate_HttpResponseHeadersMatch
- type MatchPredicate_HttpResponseTrailersMatch
- type MatchPredicate_MatchSet
- func (*MatchPredicate_MatchSet) Descriptor() ([]byte, []int)
- func (m *MatchPredicate_MatchSet) GetRules() []*MatchPredicate
- func (m *MatchPredicate_MatchSet) Marshal() (dAtA []byte, err error)
- func (m *MatchPredicate_MatchSet) MarshalTo(dAtA []byte) (int, error)
- func (*MatchPredicate_MatchSet) ProtoMessage()
- func (m *MatchPredicate_MatchSet) Reset()
- func (m *MatchPredicate_MatchSet) Size() (n int)
- func (m *MatchPredicate_MatchSet) String() string
- func (m *MatchPredicate_MatchSet) Unmarshal(dAtA []byte) error
- func (m *MatchPredicate_MatchSet) Validate() error
- func (m *MatchPredicate_MatchSet) XXX_DiscardUnknown()
- func (m *MatchPredicate_MatchSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MatchPredicate_MatchSet) XXX_Merge(src proto.Message)
- func (m *MatchPredicate_MatchSet) XXX_Size() int
- func (m *MatchPredicate_MatchSet) XXX_Unmarshal(b []byte) error
- type MatchPredicate_MatchSetValidationError
- type MatchPredicate_NotMatch
- type MatchPredicate_OrMatch
- type OutputConfig
- func (*OutputConfig) Descriptor() ([]byte, []int)
- func (m *OutputConfig) GetMaxBufferedRxBytes() *types.UInt32Value
- func (m *OutputConfig) GetMaxBufferedTxBytes() *types.UInt32Value
- func (m *OutputConfig) GetSinks() []*OutputSink
- func (m *OutputConfig) Marshal() (dAtA []byte, err error)
- func (m *OutputConfig) MarshalTo(dAtA []byte) (int, error)
- func (*OutputConfig) ProtoMessage()
- func (m *OutputConfig) Reset()
- func (m *OutputConfig) Size() (n int)
- func (m *OutputConfig) String() string
- func (m *OutputConfig) Unmarshal(dAtA []byte) error
- func (m *OutputConfig) Validate() error
- func (m *OutputConfig) XXX_DiscardUnknown()
- func (m *OutputConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OutputConfig) XXX_Merge(src proto.Message)
- func (m *OutputConfig) XXX_Size() int
- func (m *OutputConfig) XXX_Unmarshal(b []byte) error
- type OutputConfigValidationError
- type OutputSink
- func (*OutputSink) Descriptor() ([]byte, []int)
- func (m *OutputSink) GetFilePerTap() *FilePerTapSink
- func (m *OutputSink) GetFormat() OutputSink_Format
- func (m *OutputSink) GetOutputSinkType() isOutputSink_OutputSinkType
- func (m *OutputSink) GetStreamingAdmin() *StreamingAdminSink
- func (m *OutputSink) Marshal() (dAtA []byte, err error)
- func (m *OutputSink) MarshalTo(dAtA []byte) (int, error)
- func (*OutputSink) ProtoMessage()
- func (m *OutputSink) Reset()
- func (m *OutputSink) Size() (n int)
- func (m *OutputSink) String() string
- func (m *OutputSink) Unmarshal(dAtA []byte) error
- func (m *OutputSink) Validate() error
- func (m *OutputSink) XXX_DiscardUnknown()
- func (m *OutputSink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OutputSink) XXX_Merge(src proto.Message)
- func (*OutputSink) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *OutputSink) XXX_Size() int
- func (m *OutputSink) XXX_Unmarshal(b []byte) error
- type OutputSinkValidationError
- type OutputSink_FilePerTap
- type OutputSink_Format
- type OutputSink_StreamingAdmin
- type StreamingAdminSink
- func (*StreamingAdminSink) Descriptor() ([]byte, []int)
- func (m *StreamingAdminSink) Marshal() (dAtA []byte, err error)
- func (m *StreamingAdminSink) MarshalTo(dAtA []byte) (int, error)
- func (*StreamingAdminSink) ProtoMessage()
- func (m *StreamingAdminSink) Reset()
- func (m *StreamingAdminSink) Size() (n int)
- func (m *StreamingAdminSink) String() string
- func (m *StreamingAdminSink) Unmarshal(dAtA []byte) error
- func (m *StreamingAdminSink) Validate() error
- func (m *StreamingAdminSink) XXX_DiscardUnknown()
- func (m *StreamingAdminSink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StreamingAdminSink) XXX_Merge(src proto.Message)
- func (m *StreamingAdminSink) XXX_Size() int
- func (m *StreamingAdminSink) XXX_Unmarshal(b []byte) error
- type StreamingAdminSinkValidationError
- type TapConfig
- func (*TapConfig) Descriptor() ([]byte, []int)
- func (m *TapConfig) GetMatchConfig() *MatchPredicate
- func (m *TapConfig) GetOutputConfig() *OutputConfig
- func (m *TapConfig) Marshal() (dAtA []byte, err error)
- func (m *TapConfig) MarshalTo(dAtA []byte) (int, error)
- func (*TapConfig) ProtoMessage()
- func (m *TapConfig) Reset()
- func (m *TapConfig) Size() (n int)
- func (m *TapConfig) String() string
- func (m *TapConfig) Unmarshal(dAtA []byte) error
- func (m *TapConfig) Validate() error
- func (m *TapConfig) XXX_DiscardUnknown()
- func (m *TapConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TapConfig) XXX_Merge(src proto.Message)
- func (m *TapConfig) XXX_Size() int
- func (m *TapConfig) XXX_Unmarshal(b []byte) error
- type TapConfigValidationError
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthCommon = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowCommon = fmt.Errorf("proto: integer overflow") )
var OutputSink_Format_name = map[int32]string{
0: "JSON_BODY_AS_BYTES",
1: "JSON_BODY_AS_STRING",
2: "PROTO_BINARY",
3: "PROTO_TEXT",
}
var OutputSink_Format_value = map[string]int32{
"JSON_BODY_AS_BYTES": 0,
"JSON_BODY_AS_STRING": 1,
"PROTO_BINARY": 2,
"PROTO_TEXT": 3,
}
Functions ¶
This section is empty.
Types ¶
type FilePerTapSink ¶
type FilePerTapSink struct { // Path prefix. The output file will be of the form <path_prefix>_<id>.pb, where <id> is an // identifier distinguishing the recorded trace for stream instances (the Envoy // connection ID, HTTP stream ID, etc.). PathPrefix string `protobuf:"bytes,1,opt,name=path_prefix,json=pathPrefix,proto3" json:"path_prefix,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The file per tap sink outputs a discrete file for every tapped stream.
func (*FilePerTapSink) Descriptor ¶
func (*FilePerTapSink) Descriptor() ([]byte, []int)
func (*FilePerTapSink) GetPathPrefix ¶
func (m *FilePerTapSink) GetPathPrefix() string
func (*FilePerTapSink) Marshal ¶
func (m *FilePerTapSink) Marshal() (dAtA []byte, err error)
func (*FilePerTapSink) ProtoMessage ¶
func (*FilePerTapSink) ProtoMessage()
func (*FilePerTapSink) Reset ¶
func (m *FilePerTapSink) Reset()
func (*FilePerTapSink) Size ¶
func (m *FilePerTapSink) Size() (n int)
func (*FilePerTapSink) String ¶
func (m *FilePerTapSink) String() string
func (*FilePerTapSink) Unmarshal ¶
func (m *FilePerTapSink) Unmarshal(dAtA []byte) error
func (*FilePerTapSink) Validate ¶
func (m *FilePerTapSink) Validate() error
Validate checks the field values on FilePerTapSink with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*FilePerTapSink) XXX_DiscardUnknown ¶
func (m *FilePerTapSink) XXX_DiscardUnknown()
func (*FilePerTapSink) XXX_Marshal ¶
func (m *FilePerTapSink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FilePerTapSink) XXX_Merge ¶
func (m *FilePerTapSink) XXX_Merge(src proto.Message)
func (*FilePerTapSink) XXX_Size ¶
func (m *FilePerTapSink) XXX_Size() int
func (*FilePerTapSink) XXX_Unmarshal ¶
func (m *FilePerTapSink) XXX_Unmarshal(b []byte) error
type FilePerTapSinkValidationError ¶
FilePerTapSinkValidationError is the validation error returned by FilePerTapSink.Validate if the designated constraints aren't met.
func (FilePerTapSinkValidationError) Error ¶
func (e FilePerTapSinkValidationError) Error() string
Error satisfies the builtin error interface
type HttpHeadersMatch ¶
type HttpHeadersMatch struct { // HTTP headers to match. Headers []*route.HeaderMatcher `protobuf:"bytes,1,rep,name=headers,proto3" json:"headers,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
HTTP headers match configuration.
func (*HttpHeadersMatch) Descriptor ¶
func (*HttpHeadersMatch) Descriptor() ([]byte, []int)
func (*HttpHeadersMatch) GetHeaders ¶
func (m *HttpHeadersMatch) GetHeaders() []*route.HeaderMatcher
func (*HttpHeadersMatch) Marshal ¶
func (m *HttpHeadersMatch) Marshal() (dAtA []byte, err error)
func (*HttpHeadersMatch) ProtoMessage ¶
func (*HttpHeadersMatch) ProtoMessage()
func (*HttpHeadersMatch) Reset ¶
func (m *HttpHeadersMatch) Reset()
func (*HttpHeadersMatch) Size ¶
func (m *HttpHeadersMatch) Size() (n int)
func (*HttpHeadersMatch) String ¶
func (m *HttpHeadersMatch) String() string
func (*HttpHeadersMatch) Unmarshal ¶
func (m *HttpHeadersMatch) Unmarshal(dAtA []byte) error
func (*HttpHeadersMatch) Validate ¶
func (m *HttpHeadersMatch) Validate() error
Validate checks the field values on HttpHeadersMatch with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*HttpHeadersMatch) XXX_DiscardUnknown ¶
func (m *HttpHeadersMatch) XXX_DiscardUnknown()
func (*HttpHeadersMatch) XXX_Marshal ¶
func (m *HttpHeadersMatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HttpHeadersMatch) XXX_Merge ¶
func (m *HttpHeadersMatch) XXX_Merge(src proto.Message)
func (*HttpHeadersMatch) XXX_Size ¶
func (m *HttpHeadersMatch) XXX_Size() int
func (*HttpHeadersMatch) XXX_Unmarshal ¶
func (m *HttpHeadersMatch) XXX_Unmarshal(b []byte) error
type HttpHeadersMatchValidationError ¶
HttpHeadersMatchValidationError is the validation error returned by HttpHeadersMatch.Validate if the designated constraints aren't met.
func (HttpHeadersMatchValidationError) Error ¶
func (e HttpHeadersMatchValidationError) Error() string
Error satisfies the builtin error interface
type MatchPredicate ¶
type MatchPredicate struct { // Types that are valid to be assigned to Rule: // *MatchPredicate_OrMatch // *MatchPredicate_AndMatch // *MatchPredicate_NotMatch // *MatchPredicate_AnyMatch // *MatchPredicate_HttpRequestHeadersMatch // *MatchPredicate_HttpRequestTrailersMatch // *MatchPredicate_HttpResponseHeadersMatch // *MatchPredicate_HttpResponseTrailersMatch Rule isMatchPredicate_Rule `protobuf_oneof:"rule"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Tap match configuration. This is a recursive structure which allows complex nested match configurations to be built using various logical operators.
func (*MatchPredicate) Descriptor ¶
func (*MatchPredicate) Descriptor() ([]byte, []int)
func (*MatchPredicate) GetAndMatch ¶
func (m *MatchPredicate) GetAndMatch() *MatchPredicate_MatchSet
func (*MatchPredicate) GetAnyMatch ¶
func (m *MatchPredicate) GetAnyMatch() bool
func (*MatchPredicate) GetHttpRequestHeadersMatch ¶
func (m *MatchPredicate) GetHttpRequestHeadersMatch() *HttpHeadersMatch
func (*MatchPredicate) GetHttpRequestTrailersMatch ¶
func (m *MatchPredicate) GetHttpRequestTrailersMatch() *HttpHeadersMatch
func (*MatchPredicate) GetHttpResponseHeadersMatch ¶
func (m *MatchPredicate) GetHttpResponseHeadersMatch() *HttpHeadersMatch
func (*MatchPredicate) GetHttpResponseTrailersMatch ¶
func (m *MatchPredicate) GetHttpResponseTrailersMatch() *HttpHeadersMatch
func (*MatchPredicate) GetNotMatch ¶
func (m *MatchPredicate) GetNotMatch() *MatchPredicate
func (*MatchPredicate) GetOrMatch ¶
func (m *MatchPredicate) GetOrMatch() *MatchPredicate_MatchSet
func (*MatchPredicate) GetRule ¶
func (m *MatchPredicate) GetRule() isMatchPredicate_Rule
func (*MatchPredicate) Marshal ¶
func (m *MatchPredicate) Marshal() (dAtA []byte, err error)
func (*MatchPredicate) ProtoMessage ¶
func (*MatchPredicate) ProtoMessage()
func (*MatchPredicate) Reset ¶
func (m *MatchPredicate) Reset()
func (*MatchPredicate) Size ¶
func (m *MatchPredicate) Size() (n int)
func (*MatchPredicate) String ¶
func (m *MatchPredicate) String() string
func (*MatchPredicate) Unmarshal ¶
func (m *MatchPredicate) Unmarshal(dAtA []byte) error
func (*MatchPredicate) Validate ¶
func (m *MatchPredicate) Validate() error
Validate checks the field values on MatchPredicate with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*MatchPredicate) XXX_DiscardUnknown ¶
func (m *MatchPredicate) XXX_DiscardUnknown()
func (*MatchPredicate) XXX_Marshal ¶
func (m *MatchPredicate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MatchPredicate) XXX_Merge ¶
func (m *MatchPredicate) XXX_Merge(src proto.Message)
func (*MatchPredicate) XXX_OneofFuncs ¶
func (*MatchPredicate) 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 (*MatchPredicate) XXX_Size ¶
func (m *MatchPredicate) XXX_Size() int
func (*MatchPredicate) XXX_Unmarshal ¶
func (m *MatchPredicate) XXX_Unmarshal(b []byte) error
type MatchPredicateValidationError ¶
MatchPredicateValidationError is the validation error returned by MatchPredicate.Validate if the designated constraints aren't met.
func (MatchPredicateValidationError) Error ¶
func (e MatchPredicateValidationError) Error() string
Error satisfies the builtin error interface
type MatchPredicate_AndMatch ¶
type MatchPredicate_AndMatch struct {
AndMatch *MatchPredicate_MatchSet `protobuf:"bytes,2,opt,name=and_match,json=andMatch,proto3,oneof"`
}
func (*MatchPredicate_AndMatch) MarshalTo ¶
func (m *MatchPredicate_AndMatch) MarshalTo(dAtA []byte) (int, error)
func (*MatchPredicate_AndMatch) Size ¶
func (m *MatchPredicate_AndMatch) Size() (n int)
type MatchPredicate_AnyMatch ¶
type MatchPredicate_AnyMatch struct {
AnyMatch bool `protobuf:"varint,4,opt,name=any_match,json=anyMatch,proto3,oneof"`
}
func (*MatchPredicate_AnyMatch) MarshalTo ¶
func (m *MatchPredicate_AnyMatch) MarshalTo(dAtA []byte) (int, error)
func (*MatchPredicate_AnyMatch) Size ¶
func (m *MatchPredicate_AnyMatch) Size() (n int)
type MatchPredicate_HttpRequestHeadersMatch ¶
type MatchPredicate_HttpRequestHeadersMatch struct {
HttpRequestHeadersMatch *HttpHeadersMatch `protobuf:"bytes,5,opt,name=http_request_headers_match,json=httpRequestHeadersMatch,proto3,oneof"`
}
func (*MatchPredicate_HttpRequestHeadersMatch) MarshalTo ¶
func (m *MatchPredicate_HttpRequestHeadersMatch) MarshalTo(dAtA []byte) (int, error)
func (*MatchPredicate_HttpRequestHeadersMatch) Size ¶
func (m *MatchPredicate_HttpRequestHeadersMatch) Size() (n int)
type MatchPredicate_HttpRequestTrailersMatch ¶
type MatchPredicate_HttpRequestTrailersMatch struct {
HttpRequestTrailersMatch *HttpHeadersMatch `protobuf:"bytes,6,opt,name=http_request_trailers_match,json=httpRequestTrailersMatch,proto3,oneof"`
}
func (*MatchPredicate_HttpRequestTrailersMatch) MarshalTo ¶
func (m *MatchPredicate_HttpRequestTrailersMatch) MarshalTo(dAtA []byte) (int, error)
func (*MatchPredicate_HttpRequestTrailersMatch) Size ¶
func (m *MatchPredicate_HttpRequestTrailersMatch) Size() (n int)
type MatchPredicate_HttpResponseHeadersMatch ¶
type MatchPredicate_HttpResponseHeadersMatch struct {
HttpResponseHeadersMatch *HttpHeadersMatch `protobuf:"bytes,7,opt,name=http_response_headers_match,json=httpResponseHeadersMatch,proto3,oneof"`
}
func (*MatchPredicate_HttpResponseHeadersMatch) MarshalTo ¶
func (m *MatchPredicate_HttpResponseHeadersMatch) MarshalTo(dAtA []byte) (int, error)
func (*MatchPredicate_HttpResponseHeadersMatch) Size ¶
func (m *MatchPredicate_HttpResponseHeadersMatch) Size() (n int)
type MatchPredicate_HttpResponseTrailersMatch ¶
type MatchPredicate_HttpResponseTrailersMatch struct {
HttpResponseTrailersMatch *HttpHeadersMatch `protobuf:"bytes,8,opt,name=http_response_trailers_match,json=httpResponseTrailersMatch,proto3,oneof"`
}
func (*MatchPredicate_HttpResponseTrailersMatch) MarshalTo ¶
func (m *MatchPredicate_HttpResponseTrailersMatch) MarshalTo(dAtA []byte) (int, error)
func (*MatchPredicate_HttpResponseTrailersMatch) Size ¶
func (m *MatchPredicate_HttpResponseTrailersMatch) Size() (n int)
type MatchPredicate_MatchSet ¶
type MatchPredicate_MatchSet struct { // The list of rules that make up the set. Rules []*MatchPredicate `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A set of match configurations used for logical operations.
func (*MatchPredicate_MatchSet) Descriptor ¶
func (*MatchPredicate_MatchSet) Descriptor() ([]byte, []int)
func (*MatchPredicate_MatchSet) GetRules ¶
func (m *MatchPredicate_MatchSet) GetRules() []*MatchPredicate
func (*MatchPredicate_MatchSet) Marshal ¶
func (m *MatchPredicate_MatchSet) Marshal() (dAtA []byte, err error)
func (*MatchPredicate_MatchSet) MarshalTo ¶
func (m *MatchPredicate_MatchSet) MarshalTo(dAtA []byte) (int, error)
func (*MatchPredicate_MatchSet) ProtoMessage ¶
func (*MatchPredicate_MatchSet) ProtoMessage()
func (*MatchPredicate_MatchSet) Reset ¶
func (m *MatchPredicate_MatchSet) Reset()
func (*MatchPredicate_MatchSet) Size ¶
func (m *MatchPredicate_MatchSet) Size() (n int)
func (*MatchPredicate_MatchSet) String ¶
func (m *MatchPredicate_MatchSet) String() string
func (*MatchPredicate_MatchSet) Unmarshal ¶
func (m *MatchPredicate_MatchSet) Unmarshal(dAtA []byte) error
func (*MatchPredicate_MatchSet) Validate ¶
func (m *MatchPredicate_MatchSet) Validate() error
Validate checks the field values on MatchPredicate_MatchSet with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*MatchPredicate_MatchSet) XXX_DiscardUnknown ¶
func (m *MatchPredicate_MatchSet) XXX_DiscardUnknown()
func (*MatchPredicate_MatchSet) XXX_Marshal ¶
func (m *MatchPredicate_MatchSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MatchPredicate_MatchSet) XXX_Merge ¶
func (m *MatchPredicate_MatchSet) XXX_Merge(src proto.Message)
func (*MatchPredicate_MatchSet) XXX_Size ¶
func (m *MatchPredicate_MatchSet) XXX_Size() int
func (*MatchPredicate_MatchSet) XXX_Unmarshal ¶
func (m *MatchPredicate_MatchSet) XXX_Unmarshal(b []byte) error
type MatchPredicate_MatchSetValidationError ¶
type MatchPredicate_MatchSetValidationError struct { Field string Reason string Cause error Key bool }
MatchPredicate_MatchSetValidationError is the validation error returned by MatchPredicate_MatchSet.Validate if the designated constraints aren't met.
func (MatchPredicate_MatchSetValidationError) Error ¶
func (e MatchPredicate_MatchSetValidationError) Error() string
Error satisfies the builtin error interface
type MatchPredicate_NotMatch ¶
type MatchPredicate_NotMatch struct {
NotMatch *MatchPredicate `protobuf:"bytes,3,opt,name=not_match,json=notMatch,proto3,oneof"`
}
func (*MatchPredicate_NotMatch) MarshalTo ¶
func (m *MatchPredicate_NotMatch) MarshalTo(dAtA []byte) (int, error)
func (*MatchPredicate_NotMatch) Size ¶
func (m *MatchPredicate_NotMatch) Size() (n int)
type MatchPredicate_OrMatch ¶
type MatchPredicate_OrMatch struct {
OrMatch *MatchPredicate_MatchSet `protobuf:"bytes,1,opt,name=or_match,json=orMatch,proto3,oneof"`
}
func (*MatchPredicate_OrMatch) MarshalTo ¶
func (m *MatchPredicate_OrMatch) MarshalTo(dAtA []byte) (int, error)
func (*MatchPredicate_OrMatch) Size ¶
func (m *MatchPredicate_OrMatch) Size() (n int)
type OutputConfig ¶
type OutputConfig struct { // Output sinks for tap data. Currently a single sink is allowed in the list. Once multiple // sink types are supported this constraint will be relaxed. Sinks []*OutputSink `protobuf:"bytes,1,rep,name=sinks,proto3" json:"sinks,omitempty"` // For buffered tapping, the maximum amount of received body that will be buffered prior to // truncation. If truncation occurs, the :ref:`truncated // <envoy_api_field_data.tap.v2alpha.Body.truncated>` field will be set. If not specified, the // default is 1KiB. MaxBufferedRxBytes *types.UInt32Value `protobuf:"bytes,2,opt,name=max_buffered_rx_bytes,json=maxBufferedRxBytes,proto3" json:"max_buffered_rx_bytes,omitempty"` // For buffered tapping, the maximum amount of transmitted body that will be buffered prior to // truncation. If truncation occurs, the :ref:`truncated // <envoy_api_field_data.tap.v2alpha.Body.truncated>` field will be set. If not specified, the // default is 1KiB. MaxBufferedTxBytes *types.UInt32Value `protobuf:"bytes,3,opt,name=max_buffered_tx_bytes,json=maxBufferedTxBytes,proto3" json:"max_buffered_tx_bytes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Tap output configuration.
func (*OutputConfig) Descriptor ¶
func (*OutputConfig) Descriptor() ([]byte, []int)
func (*OutputConfig) GetMaxBufferedRxBytes ¶
func (m *OutputConfig) GetMaxBufferedRxBytes() *types.UInt32Value
func (*OutputConfig) GetMaxBufferedTxBytes ¶
func (m *OutputConfig) GetMaxBufferedTxBytes() *types.UInt32Value
func (*OutputConfig) GetSinks ¶
func (m *OutputConfig) GetSinks() []*OutputSink
func (*OutputConfig) Marshal ¶
func (m *OutputConfig) Marshal() (dAtA []byte, err error)
func (*OutputConfig) ProtoMessage ¶
func (*OutputConfig) ProtoMessage()
func (*OutputConfig) Reset ¶
func (m *OutputConfig) Reset()
func (*OutputConfig) Size ¶
func (m *OutputConfig) Size() (n int)
func (*OutputConfig) String ¶
func (m *OutputConfig) String() string
func (*OutputConfig) Unmarshal ¶
func (m *OutputConfig) Unmarshal(dAtA []byte) error
func (*OutputConfig) Validate ¶
func (m *OutputConfig) Validate() error
Validate checks the field values on OutputConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*OutputConfig) XXX_DiscardUnknown ¶
func (m *OutputConfig) XXX_DiscardUnknown()
func (*OutputConfig) XXX_Marshal ¶
func (m *OutputConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OutputConfig) XXX_Merge ¶
func (m *OutputConfig) XXX_Merge(src proto.Message)
func (*OutputConfig) XXX_Size ¶
func (m *OutputConfig) XXX_Size() int
func (*OutputConfig) XXX_Unmarshal ¶
func (m *OutputConfig) XXX_Unmarshal(b []byte) error
type OutputConfigValidationError ¶
OutputConfigValidationError is the validation error returned by OutputConfig.Validate if the designated constraints aren't met.
func (OutputConfigValidationError) Error ¶
func (e OutputConfigValidationError) Error() string
Error satisfies the builtin error interface
type OutputSink ¶
type OutputSink struct { // Sink output format. Format OutputSink_Format `protobuf:"varint,1,opt,name=format,proto3,enum=envoy.service.tap.v2alpha.OutputSink_Format" json:"format,omitempty"` // Types that are valid to be assigned to OutputSinkType: // *OutputSink_StreamingAdmin // *OutputSink_FilePerTap OutputSinkType isOutputSink_OutputSinkType `protobuf_oneof:"output_sink_type"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Tap output sink configuration.
func (*OutputSink) Descriptor ¶
func (*OutputSink) Descriptor() ([]byte, []int)
func (*OutputSink) GetFilePerTap ¶
func (m *OutputSink) GetFilePerTap() *FilePerTapSink
func (*OutputSink) GetFormat ¶
func (m *OutputSink) GetFormat() OutputSink_Format
func (*OutputSink) GetOutputSinkType ¶
func (m *OutputSink) GetOutputSinkType() isOutputSink_OutputSinkType
func (*OutputSink) GetStreamingAdmin ¶
func (m *OutputSink) GetStreamingAdmin() *StreamingAdminSink
func (*OutputSink) Marshal ¶
func (m *OutputSink) Marshal() (dAtA []byte, err error)
func (*OutputSink) ProtoMessage ¶
func (*OutputSink) ProtoMessage()
func (*OutputSink) Reset ¶
func (m *OutputSink) Reset()
func (*OutputSink) Size ¶
func (m *OutputSink) Size() (n int)
func (*OutputSink) String ¶
func (m *OutputSink) String() string
func (*OutputSink) Unmarshal ¶
func (m *OutputSink) Unmarshal(dAtA []byte) error
func (*OutputSink) Validate ¶
func (m *OutputSink) Validate() error
Validate checks the field values on OutputSink with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*OutputSink) XXX_DiscardUnknown ¶
func (m *OutputSink) XXX_DiscardUnknown()
func (*OutputSink) XXX_Marshal ¶
func (m *OutputSink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OutputSink) XXX_Merge ¶
func (m *OutputSink) XXX_Merge(src proto.Message)
func (*OutputSink) XXX_OneofFuncs ¶
func (*OutputSink) 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 (*OutputSink) XXX_Size ¶
func (m *OutputSink) XXX_Size() int
func (*OutputSink) XXX_Unmarshal ¶
func (m *OutputSink) XXX_Unmarshal(b []byte) error
type OutputSinkValidationError ¶
OutputSinkValidationError is the validation error returned by OutputSink.Validate if the designated constraints aren't met.
func (OutputSinkValidationError) Error ¶
func (e OutputSinkValidationError) Error() string
Error satisfies the builtin error interface
type OutputSink_FilePerTap ¶
type OutputSink_FilePerTap struct {
FilePerTap *FilePerTapSink `protobuf:"bytes,3,opt,name=file_per_tap,json=filePerTap,proto3,oneof"`
}
func (*OutputSink_FilePerTap) MarshalTo ¶
func (m *OutputSink_FilePerTap) MarshalTo(dAtA []byte) (int, error)
func (*OutputSink_FilePerTap) Size ¶
func (m *OutputSink_FilePerTap) Size() (n int)
type OutputSink_Format ¶
type OutputSink_Format int32
Output format. All output is in the form of one or more :ref:`BufferedTraceWrapper <envoy_api_msg_data.tap.v2alpha.BufferedTraceWrapper>` messages. This enumeration indicates how those messages are written. Note that not all sinks support all output formats. See individual sink documentation for more information.
const ( // Each message will be written as JSON. Any :ref:`body <envoy_api_msg_data.tap.v2alpha.Body>` // data will be present in the :ref:`as_bytes // <envoy_api_field_data.tap.v2alpha.Body.as_bytes>` field. This means that body data will be // base64 encoded as per the `proto3 JSON mappings // <https://developers.google.com/protocol-buffers/docs/proto3#json>`_. OutputSink_JSON_BODY_AS_BYTES OutputSink_Format = 0 // Each message will be written as JSON. Any :ref:`body <envoy_api_msg_data.tap.v2alpha.Body>` // data will be present in the :ref:`as_string // <envoy_api_field_data.tap.v2alpha.Body.as_string>` field. This means that body data will be // string encoded as per the `proto3 JSON mappings // <https://developers.google.com/protocol-buffers/docs/proto3#json>`_. This format type is // useful when it is known that that body is human readable (e.g., JSON over HTTP) and the // user wishes to view it directly without being forced to base64 decode the body. OutputSink_JSON_BODY_AS_STRING OutputSink_Format = 1 // Binary proto format. Note that binary proto is not self-delimiting. If a sink writes // multiple binary messages without any length information the data stream will not be // useful. However, for certain sinks that are self-delimiting (e.g., one message per file) // this output format makes consumption simpler. OutputSink_PROTO_BINARY OutputSink_Format = 2 // Text proto format. OutputSink_PROTO_TEXT OutputSink_Format = 3 )
func (OutputSink_Format) EnumDescriptor ¶
func (OutputSink_Format) EnumDescriptor() ([]byte, []int)
func (OutputSink_Format) String ¶
func (x OutputSink_Format) String() string
type OutputSink_StreamingAdmin ¶
type OutputSink_StreamingAdmin struct {
StreamingAdmin *StreamingAdminSink `protobuf:"bytes,2,opt,name=streaming_admin,json=streamingAdmin,proto3,oneof"`
}
func (*OutputSink_StreamingAdmin) MarshalTo ¶
func (m *OutputSink_StreamingAdmin) MarshalTo(dAtA []byte) (int, error)
func (*OutputSink_StreamingAdmin) Size ¶
func (m *OutputSink_StreamingAdmin) Size() (n int)
type StreamingAdminSink ¶
type StreamingAdminSink struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Streaming admin sink configuration.
func (*StreamingAdminSink) Descriptor ¶
func (*StreamingAdminSink) Descriptor() ([]byte, []int)
func (*StreamingAdminSink) Marshal ¶
func (m *StreamingAdminSink) Marshal() (dAtA []byte, err error)
func (*StreamingAdminSink) MarshalTo ¶
func (m *StreamingAdminSink) MarshalTo(dAtA []byte) (int, error)
func (*StreamingAdminSink) ProtoMessage ¶
func (*StreamingAdminSink) ProtoMessage()
func (*StreamingAdminSink) Reset ¶
func (m *StreamingAdminSink) Reset()
func (*StreamingAdminSink) Size ¶
func (m *StreamingAdminSink) Size() (n int)
func (*StreamingAdminSink) String ¶
func (m *StreamingAdminSink) String() string
func (*StreamingAdminSink) Unmarshal ¶
func (m *StreamingAdminSink) Unmarshal(dAtA []byte) error
func (*StreamingAdminSink) Validate ¶
func (m *StreamingAdminSink) Validate() error
Validate checks the field values on StreamingAdminSink with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*StreamingAdminSink) XXX_DiscardUnknown ¶
func (m *StreamingAdminSink) XXX_DiscardUnknown()
func (*StreamingAdminSink) XXX_Marshal ¶
func (m *StreamingAdminSink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StreamingAdminSink) XXX_Merge ¶
func (m *StreamingAdminSink) XXX_Merge(src proto.Message)
func (*StreamingAdminSink) XXX_Size ¶
func (m *StreamingAdminSink) XXX_Size() int
func (*StreamingAdminSink) XXX_Unmarshal ¶
func (m *StreamingAdminSink) XXX_Unmarshal(b []byte) error
type StreamingAdminSinkValidationError ¶
StreamingAdminSinkValidationError is the validation error returned by StreamingAdminSink.Validate if the designated constraints aren't met.
func (StreamingAdminSinkValidationError) Error ¶
func (e StreamingAdminSinkValidationError) Error() string
Error satisfies the builtin error interface
type TapConfig ¶
type TapConfig struct { // The match configuration. If the configuration matches the data source being tapped, a tap will // occur, with the result written to the configured output. MatchConfig *MatchPredicate `protobuf:"bytes,1,opt,name=match_config,json=matchConfig,proto3" json:"match_config,omitempty"` // The tap output configuration. If a match configuration matches a data source being tapped, // a tap will occur and the data will be written to the configured output. OutputConfig *OutputConfig `protobuf:"bytes,2,opt,name=output_config,json=outputConfig,proto3" json:"output_config,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Tap configuration.
func (*TapConfig) Descriptor ¶
func (*TapConfig) GetMatchConfig ¶
func (m *TapConfig) GetMatchConfig() *MatchPredicate
func (*TapConfig) GetOutputConfig ¶
func (m *TapConfig) GetOutputConfig() *OutputConfig
func (*TapConfig) ProtoMessage ¶
func (*TapConfig) ProtoMessage()
func (*TapConfig) Validate ¶
Validate checks the field values on TapConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*TapConfig) XXX_DiscardUnknown ¶
func (m *TapConfig) XXX_DiscardUnknown()
func (*TapConfig) XXX_Marshal ¶
func (*TapConfig) XXX_Unmarshal ¶
type TapConfigValidationError ¶
TapConfigValidationError is the validation error returned by TapConfig.Validate if the designated constraints aren't met.
func (TapConfigValidationError) Error ¶
func (e TapConfigValidationError) Error() string
Error satisfies the builtin error interface