Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterTapSinkServiceServer(s grpc.ServiceRegistrar, srv TapSinkServiceServer)
- type FilePerTapSink
- func (*FilePerTapSink) Descriptor() ([]byte, []int)deprecated
- func (x *FilePerTapSink) GetPathPrefix() string
- func (*FilePerTapSink) ProtoMessage()
- func (x *FilePerTapSink) ProtoReflect() protoreflect.Message
- func (x *FilePerTapSink) Reset()
- func (x *FilePerTapSink) String() string
- func (m *FilePerTapSink) Validate() error
- func (m *FilePerTapSink) ValidateAll() error
- type FilePerTapSinkMultiError
- type FilePerTapSinkValidationError
- func (e FilePerTapSinkValidationError) Cause() error
- func (e FilePerTapSinkValidationError) Error() string
- func (e FilePerTapSinkValidationError) ErrorName() string
- func (e FilePerTapSinkValidationError) Field() string
- func (e FilePerTapSinkValidationError) Key() bool
- func (e FilePerTapSinkValidationError) Reason() string
- type HttpHeadersMatch
- func (*HttpHeadersMatch) Descriptor() ([]byte, []int)deprecated
- func (x *HttpHeadersMatch) GetHeaders() []*route.HeaderMatcher
- func (*HttpHeadersMatch) ProtoMessage()
- func (x *HttpHeadersMatch) ProtoReflect() protoreflect.Message
- func (x *HttpHeadersMatch) Reset()
- func (x *HttpHeadersMatch) String() string
- func (m *HttpHeadersMatch) Validate() error
- func (m *HttpHeadersMatch) ValidateAll() error
- type HttpHeadersMatchMultiError
- type HttpHeadersMatchValidationError
- func (e HttpHeadersMatchValidationError) Cause() error
- func (e HttpHeadersMatchValidationError) Error() string
- func (e HttpHeadersMatchValidationError) ErrorName() string
- func (e HttpHeadersMatchValidationError) Field() string
- func (e HttpHeadersMatchValidationError) Key() bool
- func (e HttpHeadersMatchValidationError) Reason() string
- type MatchPredicate
- func (*MatchPredicate) Descriptor() ([]byte, []int)deprecated
- func (x *MatchPredicate) GetAndMatch() *MatchPredicate_MatchSet
- func (x *MatchPredicate) GetAnyMatch() bool
- func (x *MatchPredicate) GetHttpRequestHeadersMatch() *HttpHeadersMatch
- func (x *MatchPredicate) GetHttpRequestTrailersMatch() *HttpHeadersMatch
- func (x *MatchPredicate) GetHttpResponseHeadersMatch() *HttpHeadersMatch
- func (x *MatchPredicate) GetHttpResponseTrailersMatch() *HttpHeadersMatch
- func (x *MatchPredicate) GetNotMatch() *MatchPredicate
- func (x *MatchPredicate) GetOrMatch() *MatchPredicate_MatchSet
- func (m *MatchPredicate) GetRule() isMatchPredicate_Rule
- func (*MatchPredicate) ProtoMessage()
- func (x *MatchPredicate) ProtoReflect() protoreflect.Message
- func (x *MatchPredicate) Reset()
- func (x *MatchPredicate) String() string
- func (m *MatchPredicate) Validate() error
- func (m *MatchPredicate) ValidateAll() error
- type MatchPredicateMultiError
- type MatchPredicateValidationError
- func (e MatchPredicateValidationError) Cause() error
- func (e MatchPredicateValidationError) Error() string
- func (e MatchPredicateValidationError) ErrorName() string
- func (e MatchPredicateValidationError) Field() string
- func (e MatchPredicateValidationError) Key() bool
- func (e MatchPredicateValidationError) Reason() string
- 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)deprecated
- func (x *MatchPredicate_MatchSet) GetRules() []*MatchPredicate
- func (*MatchPredicate_MatchSet) ProtoMessage()
- func (x *MatchPredicate_MatchSet) ProtoReflect() protoreflect.Message
- func (x *MatchPredicate_MatchSet) Reset()
- func (x *MatchPredicate_MatchSet) String() string
- func (m *MatchPredicate_MatchSet) Validate() error
- func (m *MatchPredicate_MatchSet) ValidateAll() error
- type MatchPredicate_MatchSetMultiError
- type MatchPredicate_MatchSetValidationError
- func (e MatchPredicate_MatchSetValidationError) Cause() error
- func (e MatchPredicate_MatchSetValidationError) Error() string
- func (e MatchPredicate_MatchSetValidationError) ErrorName() string
- func (e MatchPredicate_MatchSetValidationError) Field() string
- func (e MatchPredicate_MatchSetValidationError) Key() bool
- func (e MatchPredicate_MatchSetValidationError) Reason() string
- type MatchPredicate_NotMatch
- type MatchPredicate_OrMatch
- type OutputConfig
- func (*OutputConfig) Descriptor() ([]byte, []int)deprecated
- func (x *OutputConfig) GetMaxBufferedRxBytes() *wrapperspb.UInt32Value
- func (x *OutputConfig) GetMaxBufferedTxBytes() *wrapperspb.UInt32Value
- func (x *OutputConfig) GetSinks() []*OutputSink
- func (x *OutputConfig) GetStreaming() bool
- func (*OutputConfig) ProtoMessage()
- func (x *OutputConfig) ProtoReflect() protoreflect.Message
- func (x *OutputConfig) Reset()
- func (x *OutputConfig) String() string
- func (m *OutputConfig) Validate() error
- func (m *OutputConfig) ValidateAll() error
- type OutputConfigMultiError
- type OutputConfigValidationError
- func (e OutputConfigValidationError) Cause() error
- func (e OutputConfigValidationError) Error() string
- func (e OutputConfigValidationError) ErrorName() string
- func (e OutputConfigValidationError) Field() string
- func (e OutputConfigValidationError) Key() bool
- func (e OutputConfigValidationError) Reason() string
- type OutputSink
- func (*OutputSink) Descriptor() ([]byte, []int)deprecated
- func (x *OutputSink) GetFilePerTap() *FilePerTapSink
- func (x *OutputSink) GetFormat() OutputSink_Format
- func (m *OutputSink) GetOutputSinkType() isOutputSink_OutputSinkType
- func (x *OutputSink) GetStreamingAdmin() *StreamingAdminSink
- func (x *OutputSink) GetStreamingGrpc() *StreamingGrpcSink
- func (*OutputSink) ProtoMessage()
- func (x *OutputSink) ProtoReflect() protoreflect.Message
- func (x *OutputSink) Reset()
- func (x *OutputSink) String() string
- func (m *OutputSink) Validate() error
- func (m *OutputSink) ValidateAll() error
- type OutputSinkMultiError
- type OutputSinkValidationError
- type OutputSink_FilePerTap
- type OutputSink_Format
- func (OutputSink_Format) Descriptor() protoreflect.EnumDescriptor
- func (x OutputSink_Format) Enum() *OutputSink_Format
- func (OutputSink_Format) EnumDescriptor() ([]byte, []int)deprecated
- func (x OutputSink_Format) Number() protoreflect.EnumNumber
- func (x OutputSink_Format) String() string
- func (OutputSink_Format) Type() protoreflect.EnumType
- type OutputSink_StreamingAdmin
- type OutputSink_StreamingGrpc
- type StreamTapsRequest
- func (*StreamTapsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StreamTapsRequest) GetIdentifier() *StreamTapsRequest_Identifier
- func (x *StreamTapsRequest) GetTrace() *v2alpha.TraceWrapper
- func (x *StreamTapsRequest) GetTraceId() uint64
- func (*StreamTapsRequest) ProtoMessage()
- func (x *StreamTapsRequest) ProtoReflect() protoreflect.Message
- func (x *StreamTapsRequest) Reset()
- func (x *StreamTapsRequest) String() string
- func (m *StreamTapsRequest) Validate() error
- func (m *StreamTapsRequest) ValidateAll() error
- type StreamTapsRequestMultiError
- type StreamTapsRequestValidationError
- func (e StreamTapsRequestValidationError) Cause() error
- func (e StreamTapsRequestValidationError) Error() string
- func (e StreamTapsRequestValidationError) ErrorName() string
- func (e StreamTapsRequestValidationError) Field() string
- func (e StreamTapsRequestValidationError) Key() bool
- func (e StreamTapsRequestValidationError) Reason() string
- type StreamTapsRequest_Identifier
- func (*StreamTapsRequest_Identifier) Descriptor() ([]byte, []int)deprecated
- func (x *StreamTapsRequest_Identifier) GetNode() *core.Node
- func (x *StreamTapsRequest_Identifier) GetTapId() string
- func (*StreamTapsRequest_Identifier) ProtoMessage()
- func (x *StreamTapsRequest_Identifier) ProtoReflect() protoreflect.Message
- func (x *StreamTapsRequest_Identifier) Reset()
- func (x *StreamTapsRequest_Identifier) String() string
- func (m *StreamTapsRequest_Identifier) Validate() error
- func (m *StreamTapsRequest_Identifier) ValidateAll() error
- type StreamTapsRequest_IdentifierMultiError
- type StreamTapsRequest_IdentifierValidationError
- func (e StreamTapsRequest_IdentifierValidationError) Cause() error
- func (e StreamTapsRequest_IdentifierValidationError) Error() string
- func (e StreamTapsRequest_IdentifierValidationError) ErrorName() string
- func (e StreamTapsRequest_IdentifierValidationError) Field() string
- func (e StreamTapsRequest_IdentifierValidationError) Key() bool
- func (e StreamTapsRequest_IdentifierValidationError) Reason() string
- type StreamTapsResponse
- func (*StreamTapsResponse) Descriptor() ([]byte, []int)deprecated
- func (*StreamTapsResponse) ProtoMessage()
- func (x *StreamTapsResponse) ProtoReflect() protoreflect.Message
- func (x *StreamTapsResponse) Reset()
- func (x *StreamTapsResponse) String() string
- func (m *StreamTapsResponse) Validate() error
- func (m *StreamTapsResponse) ValidateAll() error
- type StreamTapsResponseMultiError
- type StreamTapsResponseValidationError
- func (e StreamTapsResponseValidationError) Cause() error
- func (e StreamTapsResponseValidationError) Error() string
- func (e StreamTapsResponseValidationError) ErrorName() string
- func (e StreamTapsResponseValidationError) Field() string
- func (e StreamTapsResponseValidationError) Key() bool
- func (e StreamTapsResponseValidationError) Reason() string
- type StreamingAdminSink
- func (*StreamingAdminSink) Descriptor() ([]byte, []int)deprecated
- func (*StreamingAdminSink) ProtoMessage()
- func (x *StreamingAdminSink) ProtoReflect() protoreflect.Message
- func (x *StreamingAdminSink) Reset()
- func (x *StreamingAdminSink) String() string
- func (m *StreamingAdminSink) Validate() error
- func (m *StreamingAdminSink) ValidateAll() error
- type StreamingAdminSinkMultiError
- type StreamingAdminSinkValidationError
- func (e StreamingAdminSinkValidationError) Cause() error
- func (e StreamingAdminSinkValidationError) Error() string
- func (e StreamingAdminSinkValidationError) ErrorName() string
- func (e StreamingAdminSinkValidationError) Field() string
- func (e StreamingAdminSinkValidationError) Key() bool
- func (e StreamingAdminSinkValidationError) Reason() string
- type StreamingGrpcSink
- func (*StreamingGrpcSink) Descriptor() ([]byte, []int)deprecated
- func (x *StreamingGrpcSink) GetGrpcService() *core.GrpcService
- func (x *StreamingGrpcSink) GetTapId() string
- func (*StreamingGrpcSink) ProtoMessage()
- func (x *StreamingGrpcSink) ProtoReflect() protoreflect.Message
- func (x *StreamingGrpcSink) Reset()
- func (x *StreamingGrpcSink) String() string
- func (m *StreamingGrpcSink) Validate() error
- func (m *StreamingGrpcSink) ValidateAll() error
- type StreamingGrpcSinkMultiError
- type StreamingGrpcSinkValidationError
- func (e StreamingGrpcSinkValidationError) Cause() error
- func (e StreamingGrpcSinkValidationError) Error() string
- func (e StreamingGrpcSinkValidationError) ErrorName() string
- func (e StreamingGrpcSinkValidationError) Field() string
- func (e StreamingGrpcSinkValidationError) Key() bool
- func (e StreamingGrpcSinkValidationError) Reason() string
- type TapConfig
- func (*TapConfig) Descriptor() ([]byte, []int)deprecated
- func (x *TapConfig) GetMatchConfig() *MatchPredicate
- func (x *TapConfig) GetOutputConfig() *OutputConfig
- func (x *TapConfig) GetTapEnabled() *core.RuntimeFractionalPercent
- func (*TapConfig) ProtoMessage()
- func (x *TapConfig) ProtoReflect() protoreflect.Message
- func (x *TapConfig) Reset()
- func (x *TapConfig) String() string
- func (m *TapConfig) Validate() error
- func (m *TapConfig) ValidateAll() error
- type TapConfigMultiError
- type TapConfigValidationError
- type TapSinkServiceClient
- type TapSinkServiceServer
- type TapSinkService_StreamTapsClient
- type TapSinkService_StreamTapsServer
- type UnimplementedTapSinkServiceServer
- type UnsafeTapSinkServiceServer
Constants ¶
const (
TapSinkService_StreamTaps_FullMethodName = "/envoy.service.tap.v2alpha.TapSinkService/StreamTaps"
)
Variables ¶
var ( OutputSink_Format_name = map[int32]string{ 0: "JSON_BODY_AS_BYTES", 1: "JSON_BODY_AS_STRING", 2: "PROTO_BINARY", 3: "PROTO_BINARY_LENGTH_DELIMITED", 4: "PROTO_TEXT", } OutputSink_Format_value = map[string]int32{ "JSON_BODY_AS_BYTES": 0, "JSON_BODY_AS_STRING": 1, "PROTO_BINARY": 2, "PROTO_BINARY_LENGTH_DELIMITED": 3, "PROTO_TEXT": 4, } )
Enum value maps for OutputSink_Format.
var File_envoy_service_tap_v2alpha_common_proto protoreflect.FileDescriptor
var File_envoy_service_tap_v2alpha_tap_proto protoreflect.FileDescriptor
var TapSinkService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "envoy.service.tap.v2alpha.TapSinkService", HandlerType: (*TapSinkServiceServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "StreamTaps", Handler: _TapSinkService_StreamTaps_Handler, ClientStreams: true, }, }, Metadata: "envoy/service/tap/v2alpha/tap.proto", }
TapSinkService_ServiceDesc is the grpc.ServiceDesc for TapSinkService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterTapSinkServiceServer ¶ added in v0.8.2
func RegisterTapSinkServiceServer(s grpc.ServiceRegistrar, srv TapSinkServiceServer)
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"` // contains filtered or unexported fields }
The file per tap sink outputs a discrete file for every tapped stream.
func (*FilePerTapSink) Descriptor
deprecated
func (*FilePerTapSink) Descriptor() ([]byte, []int)
Deprecated: Use FilePerTapSink.ProtoReflect.Descriptor instead.
func (*FilePerTapSink) GetPathPrefix ¶
func (x *FilePerTapSink) GetPathPrefix() string
func (*FilePerTapSink) ProtoMessage ¶
func (*FilePerTapSink) ProtoMessage()
func (*FilePerTapSink) ProtoReflect ¶ added in v0.9.6
func (x *FilePerTapSink) ProtoReflect() protoreflect.Message
func (*FilePerTapSink) Reset ¶
func (x *FilePerTapSink) Reset()
func (*FilePerTapSink) String ¶
func (x *FilePerTapSink) String() string
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, the first error encountered is returned, or nil if there are no violations.
func (*FilePerTapSink) ValidateAll ¶ added in v0.10.0
func (m *FilePerTapSink) ValidateAll() error
ValidateAll checks the field values on FilePerTapSink 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 FilePerTapSinkMultiError, or nil if none found.
type FilePerTapSinkMultiError ¶ added in v0.10.0
type FilePerTapSinkMultiError []error
FilePerTapSinkMultiError is an error wrapping multiple validation errors returned by FilePerTapSink.ValidateAll() if the designated constraints aren't met.
func (FilePerTapSinkMultiError) AllErrors ¶ added in v0.10.0
func (m FilePerTapSinkMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FilePerTapSinkMultiError) Error ¶ added in v0.10.0
func (m FilePerTapSinkMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FilePerTapSinkValidationError ¶
type FilePerTapSinkValidationError struct {
// contains filtered or unexported fields
}
FilePerTapSinkValidationError is the validation error returned by FilePerTapSink.Validate if the designated constraints aren't met.
func (FilePerTapSinkValidationError) Cause ¶
func (e FilePerTapSinkValidationError) Cause() error
Cause function returns cause value.
func (FilePerTapSinkValidationError) Error ¶
func (e FilePerTapSinkValidationError) Error() string
Error satisfies the builtin error interface
func (FilePerTapSinkValidationError) ErrorName ¶ added in v0.7.0
func (e FilePerTapSinkValidationError) ErrorName() string
ErrorName returns error name.
func (FilePerTapSinkValidationError) Field ¶
func (e FilePerTapSinkValidationError) Field() string
Field function returns field value.
func (FilePerTapSinkValidationError) Key ¶
func (e FilePerTapSinkValidationError) Key() bool
Key function returns key value.
func (FilePerTapSinkValidationError) Reason ¶
func (e FilePerTapSinkValidationError) Reason() string
Reason function returns reason value.
type HttpHeadersMatch ¶
type HttpHeadersMatch struct { // HTTP headers to match. Headers []*route.HeaderMatcher `protobuf:"bytes,1,rep,name=headers,proto3" json:"headers,omitempty"` // contains filtered or unexported fields }
HTTP headers match configuration.
func (*HttpHeadersMatch) Descriptor
deprecated
func (*HttpHeadersMatch) Descriptor() ([]byte, []int)
Deprecated: Use HttpHeadersMatch.ProtoReflect.Descriptor instead.
func (*HttpHeadersMatch) GetHeaders ¶
func (x *HttpHeadersMatch) GetHeaders() []*route.HeaderMatcher
func (*HttpHeadersMatch) ProtoMessage ¶
func (*HttpHeadersMatch) ProtoMessage()
func (*HttpHeadersMatch) ProtoReflect ¶ added in v0.9.6
func (x *HttpHeadersMatch) ProtoReflect() protoreflect.Message
func (*HttpHeadersMatch) Reset ¶
func (x *HttpHeadersMatch) Reset()
func (*HttpHeadersMatch) String ¶
func (x *HttpHeadersMatch) String() string
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, the first error encountered is returned, or nil if there are no violations.
func (*HttpHeadersMatch) ValidateAll ¶ added in v0.10.0
func (m *HttpHeadersMatch) ValidateAll() error
ValidateAll checks the field values on HttpHeadersMatch 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 HttpHeadersMatchMultiError, or nil if none found.
type HttpHeadersMatchMultiError ¶ added in v0.10.0
type HttpHeadersMatchMultiError []error
HttpHeadersMatchMultiError is an error wrapping multiple validation errors returned by HttpHeadersMatch.ValidateAll() if the designated constraints aren't met.
func (HttpHeadersMatchMultiError) AllErrors ¶ added in v0.10.0
func (m HttpHeadersMatchMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HttpHeadersMatchMultiError) Error ¶ added in v0.10.0
func (m HttpHeadersMatchMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type HttpHeadersMatchValidationError ¶
type HttpHeadersMatchValidationError struct {
// contains filtered or unexported fields
}
HttpHeadersMatchValidationError is the validation error returned by HttpHeadersMatch.Validate if the designated constraints aren't met.
func (HttpHeadersMatchValidationError) Cause ¶
func (e HttpHeadersMatchValidationError) Cause() error
Cause function returns cause value.
func (HttpHeadersMatchValidationError) Error ¶
func (e HttpHeadersMatchValidationError) Error() string
Error satisfies the builtin error interface
func (HttpHeadersMatchValidationError) ErrorName ¶ added in v0.7.0
func (e HttpHeadersMatchValidationError) ErrorName() string
ErrorName returns error name.
func (HttpHeadersMatchValidationError) Field ¶
func (e HttpHeadersMatchValidationError) Field() string
Field function returns field value.
func (HttpHeadersMatchValidationError) Key ¶
func (e HttpHeadersMatchValidationError) Key() bool
Key function returns key value.
func (HttpHeadersMatchValidationError) Reason ¶
func (e HttpHeadersMatchValidationError) Reason() string
Reason function returns reason value.
type MatchPredicate ¶
type MatchPredicate struct { // Types that are assignable to Rule: // // *MatchPredicate_OrMatch // *MatchPredicate_AndMatch // *MatchPredicate_NotMatch // *MatchPredicate_AnyMatch // *MatchPredicate_HttpRequestHeadersMatch // *MatchPredicate_HttpRequestTrailersMatch // *MatchPredicate_HttpResponseHeadersMatch // *MatchPredicate_HttpResponseTrailersMatch Rule isMatchPredicate_Rule `protobuf_oneof:"rule"` // contains filtered or unexported fields }
Tap match configuration. This is a recursive structure which allows complex nested match configurations to be built using various logical operators. [#next-free-field: 9]
func (*MatchPredicate) Descriptor
deprecated
func (*MatchPredicate) Descriptor() ([]byte, []int)
Deprecated: Use MatchPredicate.ProtoReflect.Descriptor instead.
func (*MatchPredicate) GetAndMatch ¶
func (x *MatchPredicate) GetAndMatch() *MatchPredicate_MatchSet
func (*MatchPredicate) GetAnyMatch ¶
func (x *MatchPredicate) GetAnyMatch() bool
func (*MatchPredicate) GetHttpRequestHeadersMatch ¶
func (x *MatchPredicate) GetHttpRequestHeadersMatch() *HttpHeadersMatch
func (*MatchPredicate) GetHttpRequestTrailersMatch ¶
func (x *MatchPredicate) GetHttpRequestTrailersMatch() *HttpHeadersMatch
func (*MatchPredicate) GetHttpResponseHeadersMatch ¶
func (x *MatchPredicate) GetHttpResponseHeadersMatch() *HttpHeadersMatch
func (*MatchPredicate) GetHttpResponseTrailersMatch ¶
func (x *MatchPredicate) GetHttpResponseTrailersMatch() *HttpHeadersMatch
func (*MatchPredicate) GetNotMatch ¶
func (x *MatchPredicate) GetNotMatch() *MatchPredicate
func (*MatchPredicate) GetOrMatch ¶
func (x *MatchPredicate) GetOrMatch() *MatchPredicate_MatchSet
func (*MatchPredicate) GetRule ¶
func (m *MatchPredicate) GetRule() isMatchPredicate_Rule
func (*MatchPredicate) ProtoMessage ¶
func (*MatchPredicate) ProtoMessage()
func (*MatchPredicate) ProtoReflect ¶ added in v0.9.6
func (x *MatchPredicate) ProtoReflect() protoreflect.Message
func (*MatchPredicate) Reset ¶
func (x *MatchPredicate) Reset()
func (*MatchPredicate) String ¶
func (x *MatchPredicate) String() string
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, the first error encountered is returned, or nil if there are no violations.
func (*MatchPredicate) ValidateAll ¶ added in v0.10.0
func (m *MatchPredicate) ValidateAll() error
ValidateAll checks the field values on MatchPredicate 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 MatchPredicateMultiError, or nil if none found.
type MatchPredicateMultiError ¶ added in v0.10.0
type MatchPredicateMultiError []error
MatchPredicateMultiError is an error wrapping multiple validation errors returned by MatchPredicate.ValidateAll() if the designated constraints aren't met.
func (MatchPredicateMultiError) AllErrors ¶ added in v0.10.0
func (m MatchPredicateMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MatchPredicateMultiError) Error ¶ added in v0.10.0
func (m MatchPredicateMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MatchPredicateValidationError ¶
type MatchPredicateValidationError struct {
// contains filtered or unexported fields
}
MatchPredicateValidationError is the validation error returned by MatchPredicate.Validate if the designated constraints aren't met.
func (MatchPredicateValidationError) Cause ¶
func (e MatchPredicateValidationError) Cause() error
Cause function returns cause value.
func (MatchPredicateValidationError) Error ¶
func (e MatchPredicateValidationError) Error() string
Error satisfies the builtin error interface
func (MatchPredicateValidationError) ErrorName ¶ added in v0.7.0
func (e MatchPredicateValidationError) ErrorName() string
ErrorName returns error name.
func (MatchPredicateValidationError) Field ¶
func (e MatchPredicateValidationError) Field() string
Field function returns field value.
func (MatchPredicateValidationError) Key ¶
func (e MatchPredicateValidationError) Key() bool
Key function returns key value.
func (MatchPredicateValidationError) Reason ¶
func (e MatchPredicateValidationError) Reason() string
Reason function returns reason value.
type MatchPredicate_AndMatch ¶
type MatchPredicate_AndMatch struct { // A set that describes a logical AND. If all members of the set match, the match configuration // matches. AndMatch *MatchPredicate_MatchSet `protobuf:"bytes,2,opt,name=and_match,json=andMatch,proto3,oneof"` }
type MatchPredicate_AnyMatch ¶
type MatchPredicate_AnyMatch struct { // The match configuration will always match. AnyMatch bool `protobuf:"varint,4,opt,name=any_match,json=anyMatch,proto3,oneof"` }
type MatchPredicate_HttpRequestHeadersMatch ¶
type MatchPredicate_HttpRequestHeadersMatch struct { // HTTP request headers match configuration. HttpRequestHeadersMatch *HttpHeadersMatch `protobuf:"bytes,5,opt,name=http_request_headers_match,json=httpRequestHeadersMatch,proto3,oneof"` }
type MatchPredicate_HttpRequestTrailersMatch ¶
type MatchPredicate_HttpRequestTrailersMatch struct { // HTTP request trailers match configuration. HttpRequestTrailersMatch *HttpHeadersMatch `protobuf:"bytes,6,opt,name=http_request_trailers_match,json=httpRequestTrailersMatch,proto3,oneof"` }
type MatchPredicate_HttpResponseHeadersMatch ¶
type MatchPredicate_HttpResponseHeadersMatch struct { // HTTP response headers match configuration. HttpResponseHeadersMatch *HttpHeadersMatch `protobuf:"bytes,7,opt,name=http_response_headers_match,json=httpResponseHeadersMatch,proto3,oneof"` }
type MatchPredicate_HttpResponseTrailersMatch ¶
type MatchPredicate_HttpResponseTrailersMatch struct { // HTTP response trailers match configuration. HttpResponseTrailersMatch *HttpHeadersMatch `protobuf:"bytes,8,opt,name=http_response_trailers_match,json=httpResponseTrailersMatch,proto3,oneof"` }
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"` // contains filtered or unexported fields }
A set of match configurations used for logical operations.
func (*MatchPredicate_MatchSet) Descriptor
deprecated
func (*MatchPredicate_MatchSet) Descriptor() ([]byte, []int)
Deprecated: Use MatchPredicate_MatchSet.ProtoReflect.Descriptor instead.
func (*MatchPredicate_MatchSet) GetRules ¶
func (x *MatchPredicate_MatchSet) GetRules() []*MatchPredicate
func (*MatchPredicate_MatchSet) ProtoMessage ¶
func (*MatchPredicate_MatchSet) ProtoMessage()
func (*MatchPredicate_MatchSet) ProtoReflect ¶ added in v0.9.6
func (x *MatchPredicate_MatchSet) ProtoReflect() protoreflect.Message
func (*MatchPredicate_MatchSet) Reset ¶
func (x *MatchPredicate_MatchSet) Reset()
func (*MatchPredicate_MatchSet) String ¶
func (x *MatchPredicate_MatchSet) String() string
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, the first error encountered is returned, or nil if there are no violations.
func (*MatchPredicate_MatchSet) ValidateAll ¶ added in v0.10.0
func (m *MatchPredicate_MatchSet) ValidateAll() error
ValidateAll checks the field values on MatchPredicate_MatchSet 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 MatchPredicate_MatchSetMultiError, or nil if none found.
type MatchPredicate_MatchSetMultiError ¶ added in v0.10.0
type MatchPredicate_MatchSetMultiError []error
MatchPredicate_MatchSetMultiError is an error wrapping multiple validation errors returned by MatchPredicate_MatchSet.ValidateAll() if the designated constraints aren't met.
func (MatchPredicate_MatchSetMultiError) AllErrors ¶ added in v0.10.0
func (m MatchPredicate_MatchSetMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MatchPredicate_MatchSetMultiError) Error ¶ added in v0.10.0
func (m MatchPredicate_MatchSetMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MatchPredicate_MatchSetValidationError ¶
type MatchPredicate_MatchSetValidationError struct {
// contains filtered or unexported fields
}
MatchPredicate_MatchSetValidationError is the validation error returned by MatchPredicate_MatchSet.Validate if the designated constraints aren't met.
func (MatchPredicate_MatchSetValidationError) Cause ¶
func (e MatchPredicate_MatchSetValidationError) Cause() error
Cause function returns cause value.
func (MatchPredicate_MatchSetValidationError) Error ¶
func (e MatchPredicate_MatchSetValidationError) Error() string
Error satisfies the builtin error interface
func (MatchPredicate_MatchSetValidationError) ErrorName ¶ added in v0.7.0
func (e MatchPredicate_MatchSetValidationError) ErrorName() string
ErrorName returns error name.
func (MatchPredicate_MatchSetValidationError) Field ¶
func (e MatchPredicate_MatchSetValidationError) Field() string
Field function returns field value.
func (MatchPredicate_MatchSetValidationError) Key ¶
func (e MatchPredicate_MatchSetValidationError) Key() bool
Key function returns key value.
func (MatchPredicate_MatchSetValidationError) Reason ¶
func (e MatchPredicate_MatchSetValidationError) Reason() string
Reason function returns reason value.
type MatchPredicate_NotMatch ¶
type MatchPredicate_NotMatch struct { // A negation match. The match configuration will match if the negated match condition matches. NotMatch *MatchPredicate `protobuf:"bytes,3,opt,name=not_match,json=notMatch,proto3,oneof"` }
type MatchPredicate_OrMatch ¶
type MatchPredicate_OrMatch struct { // A set that describes a logical OR. If any member of the set matches, the match configuration // matches. OrMatch *MatchPredicate_MatchSet `protobuf:"bytes,1,opt,name=or_match,json=orMatch,proto3,oneof"` }
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 *wrapperspb.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 *wrapperspb.UInt32Value `protobuf:"bytes,3,opt,name=max_buffered_tx_bytes,json=maxBufferedTxBytes,proto3" json:"max_buffered_tx_bytes,omitempty"` // Indicates whether taps produce a single buffered message per tap, or multiple streamed // messages per tap in the emitted :ref:`TraceWrapper // <envoy_api_msg_data.tap.v2alpha.TraceWrapper>` messages. Note that streamed tapping does not // mean that no buffering takes place. Buffering may be required if data is processed before a // match can be determined. See the HTTP tap filter :ref:`streaming // <config_http_filters_tap_streaming>` documentation for more information. Streaming bool `protobuf:"varint,4,opt,name=streaming,proto3" json:"streaming,omitempty"` // contains filtered or unexported fields }
Tap output configuration.
func (*OutputConfig) Descriptor
deprecated
func (*OutputConfig) Descriptor() ([]byte, []int)
Deprecated: Use OutputConfig.ProtoReflect.Descriptor instead.
func (*OutputConfig) GetMaxBufferedRxBytes ¶
func (x *OutputConfig) GetMaxBufferedRxBytes() *wrapperspb.UInt32Value
func (*OutputConfig) GetMaxBufferedTxBytes ¶
func (x *OutputConfig) GetMaxBufferedTxBytes() *wrapperspb.UInt32Value
func (*OutputConfig) GetSinks ¶
func (x *OutputConfig) GetSinks() []*OutputSink
func (*OutputConfig) GetStreaming ¶ added in v0.6.9
func (x *OutputConfig) GetStreaming() bool
func (*OutputConfig) ProtoMessage ¶
func (*OutputConfig) ProtoMessage()
func (*OutputConfig) ProtoReflect ¶ added in v0.9.6
func (x *OutputConfig) ProtoReflect() protoreflect.Message
func (*OutputConfig) Reset ¶
func (x *OutputConfig) Reset()
func (*OutputConfig) String ¶
func (x *OutputConfig) String() string
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, the first error encountered is returned, or nil if there are no violations.
func (*OutputConfig) ValidateAll ¶ added in v0.10.0
func (m *OutputConfig) ValidateAll() error
ValidateAll checks the field values on OutputConfig 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 OutputConfigMultiError, or nil if none found.
type OutputConfigMultiError ¶ added in v0.10.0
type OutputConfigMultiError []error
OutputConfigMultiError is an error wrapping multiple validation errors returned by OutputConfig.ValidateAll() if the designated constraints aren't met.
func (OutputConfigMultiError) AllErrors ¶ added in v0.10.0
func (m OutputConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (OutputConfigMultiError) Error ¶ added in v0.10.0
func (m OutputConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type OutputConfigValidationError ¶
type OutputConfigValidationError struct {
// contains filtered or unexported fields
}
OutputConfigValidationError is the validation error returned by OutputConfig.Validate if the designated constraints aren't met.
func (OutputConfigValidationError) Cause ¶
func (e OutputConfigValidationError) Cause() error
Cause function returns cause value.
func (OutputConfigValidationError) Error ¶
func (e OutputConfigValidationError) Error() string
Error satisfies the builtin error interface
func (OutputConfigValidationError) ErrorName ¶ added in v0.7.0
func (e OutputConfigValidationError) ErrorName() string
ErrorName returns error name.
func (OutputConfigValidationError) Field ¶
func (e OutputConfigValidationError) Field() string
Field function returns field value.
func (OutputConfigValidationError) Key ¶
func (e OutputConfigValidationError) Key() bool
Key function returns key value.
func (OutputConfigValidationError) Reason ¶
func (e OutputConfigValidationError) Reason() string
Reason function returns reason value.
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 assignable to OutputSinkType: // // *OutputSink_StreamingAdmin // *OutputSink_FilePerTap // *OutputSink_StreamingGrpc OutputSinkType isOutputSink_OutputSinkType `protobuf_oneof:"output_sink_type"` // contains filtered or unexported fields }
Tap output sink configuration.
func (*OutputSink) Descriptor
deprecated
func (*OutputSink) Descriptor() ([]byte, []int)
Deprecated: Use OutputSink.ProtoReflect.Descriptor instead.
func (*OutputSink) GetFilePerTap ¶
func (x *OutputSink) GetFilePerTap() *FilePerTapSink
func (*OutputSink) GetFormat ¶
func (x *OutputSink) GetFormat() OutputSink_Format
func (*OutputSink) GetOutputSinkType ¶
func (m *OutputSink) GetOutputSinkType() isOutputSink_OutputSinkType
func (*OutputSink) GetStreamingAdmin ¶
func (x *OutputSink) GetStreamingAdmin() *StreamingAdminSink
func (*OutputSink) GetStreamingGrpc ¶ added in v0.8.2
func (x *OutputSink) GetStreamingGrpc() *StreamingGrpcSink
func (*OutputSink) ProtoMessage ¶
func (*OutputSink) ProtoMessage()
func (*OutputSink) ProtoReflect ¶ added in v0.9.6
func (x *OutputSink) ProtoReflect() protoreflect.Message
func (*OutputSink) Reset ¶
func (x *OutputSink) Reset()
func (*OutputSink) String ¶
func (x *OutputSink) String() string
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, the first error encountered is returned, or nil if there are no violations.
func (*OutputSink) ValidateAll ¶ added in v0.10.0
func (m *OutputSink) ValidateAll() error
ValidateAll checks the field values on OutputSink 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 OutputSinkMultiError, or nil if none found.
type OutputSinkMultiError ¶ added in v0.10.0
type OutputSinkMultiError []error
OutputSinkMultiError is an error wrapping multiple validation errors returned by OutputSink.ValidateAll() if the designated constraints aren't met.
func (OutputSinkMultiError) AllErrors ¶ added in v0.10.0
func (m OutputSinkMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (OutputSinkMultiError) Error ¶ added in v0.10.0
func (m OutputSinkMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type OutputSinkValidationError ¶
type OutputSinkValidationError struct {
// contains filtered or unexported fields
}
OutputSinkValidationError is the validation error returned by OutputSink.Validate if the designated constraints aren't met.
func (OutputSinkValidationError) Cause ¶
func (e OutputSinkValidationError) Cause() error
Cause function returns cause value.
func (OutputSinkValidationError) Error ¶
func (e OutputSinkValidationError) Error() string
Error satisfies the builtin error interface
func (OutputSinkValidationError) ErrorName ¶ added in v0.7.0
func (e OutputSinkValidationError) ErrorName() string
ErrorName returns error name.
func (OutputSinkValidationError) Field ¶
func (e OutputSinkValidationError) Field() string
Field function returns field value.
func (OutputSinkValidationError) Key ¶
func (e OutputSinkValidationError) Key() bool
Key function returns key value.
func (OutputSinkValidationError) Reason ¶
func (e OutputSinkValidationError) Reason() string
Reason function returns reason value.
type OutputSink_FilePerTap ¶
type OutputSink_FilePerTap struct { // Tap output will be written to a file per tap sink. FilePerTap *FilePerTapSink `protobuf:"bytes,3,opt,name=file_per_tap,json=filePerTap,proto3,oneof"` }
type OutputSink_Format ¶
type OutputSink_Format int32
Output format. All output is in the form of one or more :ref:`TraceWrapper <envoy_api_msg_data.tap.v2alpha.TraceWrapper>` 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 // Messages are written as a sequence tuples, where each tuple is the message length encoded // as a `protobuf 32-bit varint // <https://developers.google.com/protocol-buffers/docs/reference/cpp/google.protobuf.io.coded_stream>`_ // followed by the binary message. The messages can be read back using the language specific // protobuf coded stream implementation to obtain the message length and the message. OutputSink_PROTO_BINARY_LENGTH_DELIMITED OutputSink_Format = 3 // Text proto format. OutputSink_PROTO_TEXT OutputSink_Format = 4 )
func (OutputSink_Format) Descriptor ¶ added in v0.9.6
func (OutputSink_Format) Descriptor() protoreflect.EnumDescriptor
func (OutputSink_Format) Enum ¶ added in v0.9.6
func (x OutputSink_Format) Enum() *OutputSink_Format
func (OutputSink_Format) EnumDescriptor
deprecated
func (OutputSink_Format) EnumDescriptor() ([]byte, []int)
Deprecated: Use OutputSink_Format.Descriptor instead.
func (OutputSink_Format) Number ¶ added in v0.9.6
func (x OutputSink_Format) Number() protoreflect.EnumNumber
func (OutputSink_Format) String ¶
func (x OutputSink_Format) String() string
func (OutputSink_Format) Type ¶ added in v0.9.6
func (OutputSink_Format) Type() protoreflect.EnumType
type OutputSink_StreamingAdmin ¶
type OutputSink_StreamingAdmin struct { // Tap output will be streamed out the :http:post:`/tap` admin endpoint. // // .. attention:: // // It is only allowed to specify the streaming admin output sink if the tap is being // configured from the :http:post:`/tap` admin endpoint. Thus, if an extension has // been configured to receive tap configuration from some other source (e.g., static // file, XDS, etc.) configuring the streaming admin output type will fail. StreamingAdmin *StreamingAdminSink `protobuf:"bytes,2,opt,name=streaming_admin,json=streamingAdmin,proto3,oneof"` }
type OutputSink_StreamingGrpc ¶ added in v0.8.2
type OutputSink_StreamingGrpc struct { // [#not-implemented-hide:] // GrpcService to stream data to. The format argument must be PROTO_BINARY. StreamingGrpc *StreamingGrpcSink `protobuf:"bytes,4,opt,name=streaming_grpc,json=streamingGrpc,proto3,oneof"` }
type StreamTapsRequest ¶ added in v0.8.2
type StreamTapsRequest struct { // Identifier data effectively is a structured metadata. As a performance optimization this will // only be sent in the first message on the stream. Identifier *StreamTapsRequest_Identifier `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"` // The trace id. this can be used to merge together a streaming trace. Note that the trace_id // is not guaranteed to be spatially or temporally unique. TraceId uint64 `protobuf:"varint,2,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"` // The trace data. Trace *v2alpha.TraceWrapper `protobuf:"bytes,3,opt,name=trace,proto3" json:"trace,omitempty"` // contains filtered or unexported fields }
[#not-implemented-hide:] Stream message for the Tap API. Envoy will open a stream to the server and stream taps without ever expecting a response.
func (*StreamTapsRequest) Descriptor
deprecated
added in
v0.8.2
func (*StreamTapsRequest) Descriptor() ([]byte, []int)
Deprecated: Use StreamTapsRequest.ProtoReflect.Descriptor instead.
func (*StreamTapsRequest) GetIdentifier ¶ added in v0.8.2
func (x *StreamTapsRequest) GetIdentifier() *StreamTapsRequest_Identifier
func (*StreamTapsRequest) GetTrace ¶ added in v0.8.2
func (x *StreamTapsRequest) GetTrace() *v2alpha.TraceWrapper
func (*StreamTapsRequest) GetTraceId ¶ added in v0.8.2
func (x *StreamTapsRequest) GetTraceId() uint64
func (*StreamTapsRequest) ProtoMessage ¶ added in v0.8.2
func (*StreamTapsRequest) ProtoMessage()
func (*StreamTapsRequest) ProtoReflect ¶ added in v0.9.6
func (x *StreamTapsRequest) ProtoReflect() protoreflect.Message
func (*StreamTapsRequest) Reset ¶ added in v0.8.2
func (x *StreamTapsRequest) Reset()
func (*StreamTapsRequest) String ¶ added in v0.8.2
func (x *StreamTapsRequest) String() string
func (*StreamTapsRequest) Validate ¶ added in v0.8.2
func (m *StreamTapsRequest) Validate() error
Validate checks the field values on StreamTapsRequest 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 (*StreamTapsRequest) ValidateAll ¶ added in v0.10.0
func (m *StreamTapsRequest) ValidateAll() error
ValidateAll checks the field values on StreamTapsRequest 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 StreamTapsRequestMultiError, or nil if none found.
type StreamTapsRequestMultiError ¶ added in v0.10.0
type StreamTapsRequestMultiError []error
StreamTapsRequestMultiError is an error wrapping multiple validation errors returned by StreamTapsRequest.ValidateAll() if the designated constraints aren't met.
func (StreamTapsRequestMultiError) AllErrors ¶ added in v0.10.0
func (m StreamTapsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StreamTapsRequestMultiError) Error ¶ added in v0.10.0
func (m StreamTapsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StreamTapsRequestValidationError ¶ added in v0.8.2
type StreamTapsRequestValidationError struct {
// contains filtered or unexported fields
}
StreamTapsRequestValidationError is the validation error returned by StreamTapsRequest.Validate if the designated constraints aren't met.
func (StreamTapsRequestValidationError) Cause ¶ added in v0.8.2
func (e StreamTapsRequestValidationError) Cause() error
Cause function returns cause value.
func (StreamTapsRequestValidationError) Error ¶ added in v0.8.2
func (e StreamTapsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (StreamTapsRequestValidationError) ErrorName ¶ added in v0.8.2
func (e StreamTapsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (StreamTapsRequestValidationError) Field ¶ added in v0.8.2
func (e StreamTapsRequestValidationError) Field() string
Field function returns field value.
func (StreamTapsRequestValidationError) Key ¶ added in v0.8.2
func (e StreamTapsRequestValidationError) Key() bool
Key function returns key value.
func (StreamTapsRequestValidationError) Reason ¶ added in v0.8.2
func (e StreamTapsRequestValidationError) Reason() string
Reason function returns reason value.
type StreamTapsRequest_Identifier ¶ added in v0.8.2
type StreamTapsRequest_Identifier struct { // The node sending taps over the stream. Node *core.Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"` // The opaque identifier that was set in the :ref:`output config // <envoy_api_field_service.tap.v2alpha.StreamingGrpcSink.tap_id>`. TapId string `protobuf:"bytes,2,opt,name=tap_id,json=tapId,proto3" json:"tap_id,omitempty"` // contains filtered or unexported fields }
func (*StreamTapsRequest_Identifier) Descriptor
deprecated
added in
v0.8.2
func (*StreamTapsRequest_Identifier) Descriptor() ([]byte, []int)
Deprecated: Use StreamTapsRequest_Identifier.ProtoReflect.Descriptor instead.
func (*StreamTapsRequest_Identifier) GetNode ¶ added in v0.8.2
func (x *StreamTapsRequest_Identifier) GetNode() *core.Node
func (*StreamTapsRequest_Identifier) GetTapId ¶ added in v0.8.2
func (x *StreamTapsRequest_Identifier) GetTapId() string
func (*StreamTapsRequest_Identifier) ProtoMessage ¶ added in v0.8.2
func (*StreamTapsRequest_Identifier) ProtoMessage()
func (*StreamTapsRequest_Identifier) ProtoReflect ¶ added in v0.9.6
func (x *StreamTapsRequest_Identifier) ProtoReflect() protoreflect.Message
func (*StreamTapsRequest_Identifier) Reset ¶ added in v0.8.2
func (x *StreamTapsRequest_Identifier) Reset()
func (*StreamTapsRequest_Identifier) String ¶ added in v0.8.2
func (x *StreamTapsRequest_Identifier) String() string
func (*StreamTapsRequest_Identifier) Validate ¶ added in v0.8.2
func (m *StreamTapsRequest_Identifier) Validate() error
Validate checks the field values on StreamTapsRequest_Identifier 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 (*StreamTapsRequest_Identifier) ValidateAll ¶ added in v0.10.0
func (m *StreamTapsRequest_Identifier) ValidateAll() error
ValidateAll checks the field values on StreamTapsRequest_Identifier 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 StreamTapsRequest_IdentifierMultiError, or nil if none found.
type StreamTapsRequest_IdentifierMultiError ¶ added in v0.10.0
type StreamTapsRequest_IdentifierMultiError []error
StreamTapsRequest_IdentifierMultiError is an error wrapping multiple validation errors returned by StreamTapsRequest_Identifier.ValidateAll() if the designated constraints aren't met.
func (StreamTapsRequest_IdentifierMultiError) AllErrors ¶ added in v0.10.0
func (m StreamTapsRequest_IdentifierMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StreamTapsRequest_IdentifierMultiError) Error ¶ added in v0.10.0
func (m StreamTapsRequest_IdentifierMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StreamTapsRequest_IdentifierValidationError ¶ added in v0.8.2
type StreamTapsRequest_IdentifierValidationError struct {
// contains filtered or unexported fields
}
StreamTapsRequest_IdentifierValidationError is the validation error returned by StreamTapsRequest_Identifier.Validate if the designated constraints aren't met.
func (StreamTapsRequest_IdentifierValidationError) Cause ¶ added in v0.8.2
func (e StreamTapsRequest_IdentifierValidationError) Cause() error
Cause function returns cause value.
func (StreamTapsRequest_IdentifierValidationError) Error ¶ added in v0.8.2
func (e StreamTapsRequest_IdentifierValidationError) Error() string
Error satisfies the builtin error interface
func (StreamTapsRequest_IdentifierValidationError) ErrorName ¶ added in v0.8.2
func (e StreamTapsRequest_IdentifierValidationError) ErrorName() string
ErrorName returns error name.
func (StreamTapsRequest_IdentifierValidationError) Field ¶ added in v0.8.2
func (e StreamTapsRequest_IdentifierValidationError) Field() string
Field function returns field value.
func (StreamTapsRequest_IdentifierValidationError) Key ¶ added in v0.8.2
func (e StreamTapsRequest_IdentifierValidationError) Key() bool
Key function returns key value.
func (StreamTapsRequest_IdentifierValidationError) Reason ¶ added in v0.8.2
func (e StreamTapsRequest_IdentifierValidationError) Reason() string
Reason function returns reason value.
type StreamTapsResponse ¶ added in v0.8.2
type StreamTapsResponse struct {
// contains filtered or unexported fields
}
[#not-implemented-hide:]
func (*StreamTapsResponse) Descriptor
deprecated
added in
v0.8.2
func (*StreamTapsResponse) Descriptor() ([]byte, []int)
Deprecated: Use StreamTapsResponse.ProtoReflect.Descriptor instead.
func (*StreamTapsResponse) ProtoMessage ¶ added in v0.8.2
func (*StreamTapsResponse) ProtoMessage()
func (*StreamTapsResponse) ProtoReflect ¶ added in v0.9.6
func (x *StreamTapsResponse) ProtoReflect() protoreflect.Message
func (*StreamTapsResponse) Reset ¶ added in v0.8.2
func (x *StreamTapsResponse) Reset()
func (*StreamTapsResponse) String ¶ added in v0.8.2
func (x *StreamTapsResponse) String() string
func (*StreamTapsResponse) Validate ¶ added in v0.8.2
func (m *StreamTapsResponse) Validate() error
Validate checks the field values on StreamTapsResponse 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 (*StreamTapsResponse) ValidateAll ¶ added in v0.10.0
func (m *StreamTapsResponse) ValidateAll() error
ValidateAll checks the field values on StreamTapsResponse 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 StreamTapsResponseMultiError, or nil if none found.
type StreamTapsResponseMultiError ¶ added in v0.10.0
type StreamTapsResponseMultiError []error
StreamTapsResponseMultiError is an error wrapping multiple validation errors returned by StreamTapsResponse.ValidateAll() if the designated constraints aren't met.
func (StreamTapsResponseMultiError) AllErrors ¶ added in v0.10.0
func (m StreamTapsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StreamTapsResponseMultiError) Error ¶ added in v0.10.0
func (m StreamTapsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StreamTapsResponseValidationError ¶ added in v0.8.2
type StreamTapsResponseValidationError struct {
// contains filtered or unexported fields
}
StreamTapsResponseValidationError is the validation error returned by StreamTapsResponse.Validate if the designated constraints aren't met.
func (StreamTapsResponseValidationError) Cause ¶ added in v0.8.2
func (e StreamTapsResponseValidationError) Cause() error
Cause function returns cause value.
func (StreamTapsResponseValidationError) Error ¶ added in v0.8.2
func (e StreamTapsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (StreamTapsResponseValidationError) ErrorName ¶ added in v0.8.2
func (e StreamTapsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (StreamTapsResponseValidationError) Field ¶ added in v0.8.2
func (e StreamTapsResponseValidationError) Field() string
Field function returns field value.
func (StreamTapsResponseValidationError) Key ¶ added in v0.8.2
func (e StreamTapsResponseValidationError) Key() bool
Key function returns key value.
func (StreamTapsResponseValidationError) Reason ¶ added in v0.8.2
func (e StreamTapsResponseValidationError) Reason() string
Reason function returns reason value.
type StreamingAdminSink ¶
type StreamingAdminSink struct {
// contains filtered or unexported fields
}
Streaming admin sink configuration.
func (*StreamingAdminSink) Descriptor
deprecated
func (*StreamingAdminSink) Descriptor() ([]byte, []int)
Deprecated: Use StreamingAdminSink.ProtoReflect.Descriptor instead.
func (*StreamingAdminSink) ProtoMessage ¶
func (*StreamingAdminSink) ProtoMessage()
func (*StreamingAdminSink) ProtoReflect ¶ added in v0.9.6
func (x *StreamingAdminSink) ProtoReflect() protoreflect.Message
func (*StreamingAdminSink) Reset ¶
func (x *StreamingAdminSink) Reset()
func (*StreamingAdminSink) String ¶
func (x *StreamingAdminSink) String() string
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, the first error encountered is returned, or nil if there are no violations.
func (*StreamingAdminSink) ValidateAll ¶ added in v0.10.0
func (m *StreamingAdminSink) ValidateAll() error
ValidateAll checks the field values on StreamingAdminSink 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 StreamingAdminSinkMultiError, or nil if none found.
type StreamingAdminSinkMultiError ¶ added in v0.10.0
type StreamingAdminSinkMultiError []error
StreamingAdminSinkMultiError is an error wrapping multiple validation errors returned by StreamingAdminSink.ValidateAll() if the designated constraints aren't met.
func (StreamingAdminSinkMultiError) AllErrors ¶ added in v0.10.0
func (m StreamingAdminSinkMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StreamingAdminSinkMultiError) Error ¶ added in v0.10.0
func (m StreamingAdminSinkMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StreamingAdminSinkValidationError ¶
type StreamingAdminSinkValidationError struct {
// contains filtered or unexported fields
}
StreamingAdminSinkValidationError is the validation error returned by StreamingAdminSink.Validate if the designated constraints aren't met.
func (StreamingAdminSinkValidationError) Cause ¶
func (e StreamingAdminSinkValidationError) Cause() error
Cause function returns cause value.
func (StreamingAdminSinkValidationError) Error ¶
func (e StreamingAdminSinkValidationError) Error() string
Error satisfies the builtin error interface
func (StreamingAdminSinkValidationError) ErrorName ¶ added in v0.7.0
func (e StreamingAdminSinkValidationError) ErrorName() string
ErrorName returns error name.
func (StreamingAdminSinkValidationError) Field ¶
func (e StreamingAdminSinkValidationError) Field() string
Field function returns field value.
func (StreamingAdminSinkValidationError) Key ¶
func (e StreamingAdminSinkValidationError) Key() bool
Key function returns key value.
func (StreamingAdminSinkValidationError) Reason ¶
func (e StreamingAdminSinkValidationError) Reason() string
Reason function returns reason value.
type StreamingGrpcSink ¶ added in v0.8.2
type StreamingGrpcSink struct { // Opaque identifier, that will be sent back to the streaming grpc server. TapId string `protobuf:"bytes,1,opt,name=tap_id,json=tapId,proto3" json:"tap_id,omitempty"` // The gRPC server that hosts the Tap Sink Service. GrpcService *core.GrpcService `protobuf:"bytes,2,opt,name=grpc_service,json=grpcService,proto3" json:"grpc_service,omitempty"` // contains filtered or unexported fields }
[#not-implemented-hide:] Streaming gRPC sink configuration sends the taps to an external gRPC server.
func (*StreamingGrpcSink) Descriptor
deprecated
added in
v0.8.2
func (*StreamingGrpcSink) Descriptor() ([]byte, []int)
Deprecated: Use StreamingGrpcSink.ProtoReflect.Descriptor instead.
func (*StreamingGrpcSink) GetGrpcService ¶ added in v0.8.2
func (x *StreamingGrpcSink) GetGrpcService() *core.GrpcService
func (*StreamingGrpcSink) GetTapId ¶ added in v0.8.2
func (x *StreamingGrpcSink) GetTapId() string
func (*StreamingGrpcSink) ProtoMessage ¶ added in v0.8.2
func (*StreamingGrpcSink) ProtoMessage()
func (*StreamingGrpcSink) ProtoReflect ¶ added in v0.9.6
func (x *StreamingGrpcSink) ProtoReflect() protoreflect.Message
func (*StreamingGrpcSink) Reset ¶ added in v0.8.2
func (x *StreamingGrpcSink) Reset()
func (*StreamingGrpcSink) String ¶ added in v0.8.2
func (x *StreamingGrpcSink) String() string
func (*StreamingGrpcSink) Validate ¶ added in v0.8.2
func (m *StreamingGrpcSink) Validate() error
Validate checks the field values on StreamingGrpcSink 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 (*StreamingGrpcSink) ValidateAll ¶ added in v0.10.0
func (m *StreamingGrpcSink) ValidateAll() error
ValidateAll checks the field values on StreamingGrpcSink 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 StreamingGrpcSinkMultiError, or nil if none found.
type StreamingGrpcSinkMultiError ¶ added in v0.10.0
type StreamingGrpcSinkMultiError []error
StreamingGrpcSinkMultiError is an error wrapping multiple validation errors returned by StreamingGrpcSink.ValidateAll() if the designated constraints aren't met.
func (StreamingGrpcSinkMultiError) AllErrors ¶ added in v0.10.0
func (m StreamingGrpcSinkMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StreamingGrpcSinkMultiError) Error ¶ added in v0.10.0
func (m StreamingGrpcSinkMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StreamingGrpcSinkValidationError ¶ added in v0.8.2
type StreamingGrpcSinkValidationError struct {
// contains filtered or unexported fields
}
StreamingGrpcSinkValidationError is the validation error returned by StreamingGrpcSink.Validate if the designated constraints aren't met.
func (StreamingGrpcSinkValidationError) Cause ¶ added in v0.8.2
func (e StreamingGrpcSinkValidationError) Cause() error
Cause function returns cause value.
func (StreamingGrpcSinkValidationError) Error ¶ added in v0.8.2
func (e StreamingGrpcSinkValidationError) Error() string
Error satisfies the builtin error interface
func (StreamingGrpcSinkValidationError) ErrorName ¶ added in v0.8.2
func (e StreamingGrpcSinkValidationError) ErrorName() string
ErrorName returns error name.
func (StreamingGrpcSinkValidationError) Field ¶ added in v0.8.2
func (e StreamingGrpcSinkValidationError) Field() string
Field function returns field value.
func (StreamingGrpcSinkValidationError) Key ¶ added in v0.8.2
func (e StreamingGrpcSinkValidationError) Key() bool
Key function returns key value.
func (StreamingGrpcSinkValidationError) Reason ¶ added in v0.8.2
func (e StreamingGrpcSinkValidationError) Reason() string
Reason function returns reason value.
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"` // [#not-implemented-hide:] Specify if Tap matching is enabled. The % of requests\connections for // which the tap matching is enabled. When not enabled, the request\connection will not be // recorded. // // .. note:: // // This field defaults to 100/:ref:`HUNDRED // <envoy_api_enum_type.FractionalPercent.DenominatorType>`. TapEnabled *core.RuntimeFractionalPercent `protobuf:"bytes,3,opt,name=tap_enabled,json=tapEnabled,proto3" json:"tap_enabled,omitempty"` // contains filtered or unexported fields }
Tap configuration.
func (*TapConfig) Descriptor
deprecated
func (*TapConfig) GetMatchConfig ¶
func (x *TapConfig) GetMatchConfig() *MatchPredicate
func (*TapConfig) GetOutputConfig ¶
func (x *TapConfig) GetOutputConfig() *OutputConfig
func (*TapConfig) GetTapEnabled ¶ added in v0.8.2
func (x *TapConfig) GetTapEnabled() *core.RuntimeFractionalPercent
func (*TapConfig) ProtoMessage ¶
func (*TapConfig) ProtoMessage()
func (*TapConfig) ProtoReflect ¶ added in v0.9.6
func (x *TapConfig) ProtoReflect() protoreflect.Message
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, the first error encountered is returned, or nil if there are no violations.
func (*TapConfig) ValidateAll ¶ added in v0.10.0
ValidateAll checks the field values on TapConfig 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 TapConfigMultiError, or nil if none found.
type TapConfigMultiError ¶ added in v0.10.0
type TapConfigMultiError []error
TapConfigMultiError is an error wrapping multiple validation errors returned by TapConfig.ValidateAll() if the designated constraints aren't met.
func (TapConfigMultiError) AllErrors ¶ added in v0.10.0
func (m TapConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TapConfigMultiError) Error ¶ added in v0.10.0
func (m TapConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TapConfigValidationError ¶
type TapConfigValidationError struct {
// contains filtered or unexported fields
}
TapConfigValidationError is the validation error returned by TapConfig.Validate if the designated constraints aren't met.
func (TapConfigValidationError) Cause ¶
func (e TapConfigValidationError) Cause() error
Cause function returns cause value.
func (TapConfigValidationError) Error ¶
func (e TapConfigValidationError) Error() string
Error satisfies the builtin error interface
func (TapConfigValidationError) ErrorName ¶ added in v0.7.0
func (e TapConfigValidationError) ErrorName() string
ErrorName returns error name.
func (TapConfigValidationError) Field ¶
func (e TapConfigValidationError) Field() string
Field function returns field value.
func (TapConfigValidationError) Key ¶
func (e TapConfigValidationError) Key() bool
Key function returns key value.
func (TapConfigValidationError) Reason ¶
func (e TapConfigValidationError) Reason() string
Reason function returns reason value.
type TapSinkServiceClient ¶ added in v0.8.2
type TapSinkServiceClient interface { // Envoy will connect and send StreamTapsRequest messages forever. It does not expect any // response to be sent as nothing would be done in the case of failure. The server should // disconnect if it expects Envoy to reconnect. StreamTaps(ctx context.Context, opts ...grpc.CallOption) (TapSinkService_StreamTapsClient, error) }
TapSinkServiceClient is the client API for TapSinkService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewTapSinkServiceClient ¶ added in v0.8.2
func NewTapSinkServiceClient(cc grpc.ClientConnInterface) TapSinkServiceClient
type TapSinkServiceServer ¶ added in v0.8.2
type TapSinkServiceServer interface { // Envoy will connect and send StreamTapsRequest messages forever. It does not expect any // response to be sent as nothing would be done in the case of failure. The server should // disconnect if it expects Envoy to reconnect. StreamTaps(TapSinkService_StreamTapsServer) error }
TapSinkServiceServer is the server API for TapSinkService service. All implementations should embed UnimplementedTapSinkServiceServer for forward compatibility
type TapSinkService_StreamTapsClient ¶ added in v0.8.2
type TapSinkService_StreamTapsClient interface { Send(*StreamTapsRequest) error CloseAndRecv() (*StreamTapsResponse, error) grpc.ClientStream }
type TapSinkService_StreamTapsServer ¶ added in v0.8.2
type TapSinkService_StreamTapsServer interface { SendAndClose(*StreamTapsResponse) error Recv() (*StreamTapsRequest, error) grpc.ServerStream }
type UnimplementedTapSinkServiceServer ¶ added in v0.9.1
type UnimplementedTapSinkServiceServer struct { }
UnimplementedTapSinkServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedTapSinkServiceServer) StreamTaps ¶ added in v0.9.1
func (UnimplementedTapSinkServiceServer) StreamTaps(TapSinkService_StreamTapsServer) error
type UnsafeTapSinkServiceServer ¶ added in v0.13.0
type UnsafeTapSinkServiceServer interface {
// contains filtered or unexported methods
}
UnsafeTapSinkServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TapSinkServiceServer will result in compilation errors.