Documentation ¶
Index ¶
- Variables
- func RegisterTapDiscoveryServiceServer(s *grpc.Server, srv TapDiscoveryServiceServer)
- func RegisterTapSinkServiceServer(s *grpc.Server, srv TapSinkServiceServer)
- 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 (m *FilePerTapSink) MarshalToSizedBuffer(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
- 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)
- func (m *HttpHeadersMatch) GetHeaders() []*route.HeaderMatcher
- func (m *HttpHeadersMatch) Marshal() (dAtA []byte, err error)
- func (m *HttpHeadersMatch) MarshalTo(dAtA []byte) (int, error)
- func (m *HttpHeadersMatch) MarshalToSizedBuffer(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
- 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)
- 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 (m *MatchPredicate) MarshalToSizedBuffer(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_OneofWrappers() []interface{}
- func (m *MatchPredicate) XXX_Size() int
- func (m *MatchPredicate) XXX_Unmarshal(b []byte) error
- 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)
- 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 (m *MatchPredicate_MatchSet) MarshalToSizedBuffer(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
- 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)
- func (m *OutputConfig) GetMaxBufferedRxBytes() *types.UInt32Value
- func (m *OutputConfig) GetMaxBufferedTxBytes() *types.UInt32Value
- func (m *OutputConfig) GetSinks() []*OutputSink
- func (m *OutputConfig) GetStreaming() bool
- func (m *OutputConfig) Marshal() (dAtA []byte, err error)
- func (m *OutputConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *OutputConfig) MarshalToSizedBuffer(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
- 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)
- 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) GetStreamingGrpc() *StreamingGrpcSink
- func (m *OutputSink) Marshal() (dAtA []byte, err error)
- func (m *OutputSink) MarshalTo(dAtA []byte) (int, error)
- func (m *OutputSink) MarshalToSizedBuffer(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_OneofWrappers() []interface{}
- 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 OutputSink_StreamingGrpc
- type StreamTapsRequest
- func (*StreamTapsRequest) Descriptor() ([]byte, []int)
- func (m *StreamTapsRequest) GetIdentifier() *StreamTapsRequest_Identifier
- func (m *StreamTapsRequest) GetTrace() *v2alpha.TraceWrapper
- func (m *StreamTapsRequest) GetTraceId() uint64
- func (m *StreamTapsRequest) Marshal() (dAtA []byte, err error)
- func (m *StreamTapsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *StreamTapsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StreamTapsRequest) ProtoMessage()
- func (m *StreamTapsRequest) Reset()
- func (m *StreamTapsRequest) Size() (n int)
- func (m *StreamTapsRequest) String() string
- func (m *StreamTapsRequest) Unmarshal(dAtA []byte) error
- func (m *StreamTapsRequest) Validate() error
- func (m *StreamTapsRequest) XXX_DiscardUnknown()
- func (m *StreamTapsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StreamTapsRequest) XXX_Merge(src proto.Message)
- func (m *StreamTapsRequest) XXX_Size() int
- func (m *StreamTapsRequest) XXX_Unmarshal(b []byte) error
- 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)
- func (m *StreamTapsRequest_Identifier) GetNode() *core.Node
- func (m *StreamTapsRequest_Identifier) GetTapId() string
- func (m *StreamTapsRequest_Identifier) Marshal() (dAtA []byte, err error)
- func (m *StreamTapsRequest_Identifier) MarshalTo(dAtA []byte) (int, error)
- func (m *StreamTapsRequest_Identifier) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StreamTapsRequest_Identifier) ProtoMessage()
- func (m *StreamTapsRequest_Identifier) Reset()
- func (m *StreamTapsRequest_Identifier) Size() (n int)
- func (m *StreamTapsRequest_Identifier) String() string
- func (m *StreamTapsRequest_Identifier) Unmarshal(dAtA []byte) error
- func (m *StreamTapsRequest_Identifier) Validate() error
- func (m *StreamTapsRequest_Identifier) XXX_DiscardUnknown()
- func (m *StreamTapsRequest_Identifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StreamTapsRequest_Identifier) XXX_Merge(src proto.Message)
- func (m *StreamTapsRequest_Identifier) XXX_Size() int
- func (m *StreamTapsRequest_Identifier) XXX_Unmarshal(b []byte) error
- 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)
- func (m *StreamTapsResponse) Marshal() (dAtA []byte, err error)
- func (m *StreamTapsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *StreamTapsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StreamTapsResponse) ProtoMessage()
- func (m *StreamTapsResponse) Reset()
- func (m *StreamTapsResponse) Size() (n int)
- func (m *StreamTapsResponse) String() string
- func (m *StreamTapsResponse) Unmarshal(dAtA []byte) error
- func (m *StreamTapsResponse) Validate() error
- func (m *StreamTapsResponse) XXX_DiscardUnknown()
- func (m *StreamTapsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StreamTapsResponse) XXX_Merge(src proto.Message)
- func (m *StreamTapsResponse) XXX_Size() int
- func (m *StreamTapsResponse) XXX_Unmarshal(b []byte) error
- 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)
- func (m *StreamingAdminSink) Marshal() (dAtA []byte, err error)
- func (m *StreamingAdminSink) MarshalTo(dAtA []byte) (int, error)
- func (m *StreamingAdminSink) MarshalToSizedBuffer(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
- 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)
- func (m *StreamingGrpcSink) GetGrpcService() *core.GrpcService
- func (m *StreamingGrpcSink) GetTapId() string
- func (m *StreamingGrpcSink) Marshal() (dAtA []byte, err error)
- func (m *StreamingGrpcSink) MarshalTo(dAtA []byte) (int, error)
- func (m *StreamingGrpcSink) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StreamingGrpcSink) ProtoMessage()
- func (m *StreamingGrpcSink) Reset()
- func (m *StreamingGrpcSink) Size() (n int)
- func (m *StreamingGrpcSink) String() string
- func (m *StreamingGrpcSink) Unmarshal(dAtA []byte) error
- func (m *StreamingGrpcSink) Validate() error
- func (m *StreamingGrpcSink) XXX_DiscardUnknown()
- func (m *StreamingGrpcSink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StreamingGrpcSink) XXX_Merge(src proto.Message)
- func (m *StreamingGrpcSink) XXX_Size() int
- func (m *StreamingGrpcSink) XXX_Unmarshal(b []byte) error
- 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)
- func (m *TapConfig) GetMatchConfig() *MatchPredicate
- func (m *TapConfig) GetOutputConfig() *OutputConfig
- func (m *TapConfig) GetTapEnabled() *core.RuntimeFractionalPercent
- func (m *TapConfig) Marshal() (dAtA []byte, err error)
- func (m *TapConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *TapConfig) MarshalToSizedBuffer(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
- type TapDiscoveryServiceClient
- type TapDiscoveryServiceServer
- type TapDiscoveryService_DeltaTapConfigsClient
- type TapDiscoveryService_DeltaTapConfigsServer
- type TapDiscoveryService_StreamTapConfigsClient
- type TapDiscoveryService_StreamTapConfigsServer
- type TapResource
- func (*TapResource) Descriptor() ([]byte, []int)
- func (m *TapResource) GetConfig() *TapConfig
- func (m *TapResource) GetName() string
- func (m *TapResource) Marshal() (dAtA []byte, err error)
- func (m *TapResource) MarshalTo(dAtA []byte) (int, error)
- func (m *TapResource) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TapResource) ProtoMessage()
- func (m *TapResource) Reset()
- func (m *TapResource) Size() (n int)
- func (m *TapResource) String() string
- func (m *TapResource) Unmarshal(dAtA []byte) error
- func (m *TapResource) Validate() error
- func (m *TapResource) XXX_DiscardUnknown()
- func (m *TapResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TapResource) XXX_Merge(src proto.Message)
- func (m *TapResource) XXX_Size() int
- func (m *TapResource) XXX_Unmarshal(b []byte) error
- type TapResourceValidationError
- func (e TapResourceValidationError) Cause() error
- func (e TapResourceValidationError) Error() string
- func (e TapResourceValidationError) ErrorName() string
- func (e TapResourceValidationError) Field() string
- func (e TapResourceValidationError) Key() bool
- func (e TapResourceValidationError) Reason() string
- type TapSinkServiceClient
- type TapSinkServiceServer
- type TapSinkService_StreamTapsClient
- type TapSinkService_StreamTapsServer
- type UnimplementedTapDiscoveryServiceServer
- func (*UnimplementedTapDiscoveryServiceServer) DeltaTapConfigs(srv TapDiscoveryService_DeltaTapConfigsServer) error
- func (*UnimplementedTapDiscoveryServiceServer) FetchTapConfigs(ctx context.Context, req *v2.DiscoveryRequest) (*v2.DiscoveryResponse, error)
- func (*UnimplementedTapDiscoveryServiceServer) StreamTapConfigs(srv TapDiscoveryService_StreamTapConfigsServer) error
- type UnimplementedTapSinkServiceServer
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthCommon = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowCommon = fmt.Errorf("proto: integer overflow") )
var ( ErrInvalidLengthTap = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTap = fmt.Errorf("proto: integer overflow") )
var ( ErrInvalidLengthTapds = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTapds = 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_BINARY_LENGTH_DELIMITED",
4: "PROTO_TEXT",
}
var 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,
}
Functions ¶
func RegisterTapDiscoveryServiceServer ¶
func RegisterTapDiscoveryServiceServer(s *grpc.Server, srv TapDiscoveryServiceServer)
func RegisterTapSinkServiceServer ¶
func RegisterTapSinkServiceServer(s *grpc.Server, 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"` 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) MarshalToSizedBuffer ¶
func (m *FilePerTapSink) MarshalToSizedBuffer(dAtA []byte) (int, 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 ¶
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 ¶
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"` 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) MarshalToSizedBuffer ¶
func (m *HttpHeadersMatch) MarshalToSizedBuffer(dAtA []byte) (int, 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 ¶
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 ¶
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 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) MarshalToSizedBuffer ¶
func (m *MatchPredicate) MarshalToSizedBuffer(dAtA []byte) (int, 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_OneofWrappers ¶
func (*MatchPredicate) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers 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 ¶
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 ¶
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 {
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) MarshalToSizedBuffer ¶
func (m *MatchPredicate_AndMatch) MarshalToSizedBuffer(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) MarshalToSizedBuffer ¶
func (m *MatchPredicate_AnyMatch) MarshalToSizedBuffer(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) MarshalToSizedBuffer ¶
func (m *MatchPredicate_HttpRequestHeadersMatch) MarshalToSizedBuffer(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) MarshalToSizedBuffer ¶
func (m *MatchPredicate_HttpRequestTrailersMatch) MarshalToSizedBuffer(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) MarshalToSizedBuffer ¶
func (m *MatchPredicate_HttpResponseHeadersMatch) MarshalToSizedBuffer(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) MarshalToSizedBuffer ¶
func (m *MatchPredicate_HttpResponseTrailersMatch) MarshalToSizedBuffer(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) MarshalToSizedBuffer ¶
func (m *MatchPredicate_MatchSet) MarshalToSizedBuffer(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 {
// 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 ¶
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 {
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) MarshalToSizedBuffer ¶
func (m *MatchPredicate_NotMatch) MarshalToSizedBuffer(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) MarshalToSizedBuffer ¶
func (m *MatchPredicate_OrMatch) MarshalToSizedBuffer(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"` // 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"` 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) GetStreaming ¶
func (m *OutputConfig) GetStreaming() bool
func (*OutputConfig) Marshal ¶
func (m *OutputConfig) Marshal() (dAtA []byte, err error)
func (*OutputConfig) MarshalToSizedBuffer ¶
func (m *OutputConfig) MarshalToSizedBuffer(dAtA []byte) (int, 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 ¶
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 ¶
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 valid to be assigned to OutputSinkType: // *OutputSink_StreamingAdmin // *OutputSink_FilePerTap // *OutputSink_StreamingGrpc 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) GetStreamingGrpc ¶
func (m *OutputSink) GetStreamingGrpc() *StreamingGrpcSink
func (*OutputSink) Marshal ¶
func (m *OutputSink) Marshal() (dAtA []byte, err error)
func (*OutputSink) MarshalToSizedBuffer ¶
func (m *OutputSink) MarshalToSizedBuffer(dAtA []byte) (int, 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_OneofWrappers ¶
func (*OutputSink) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers 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 ¶
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 ¶
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 {
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) MarshalToSizedBuffer ¶
func (m *OutputSink_FilePerTap) MarshalToSizedBuffer(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:`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) 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) MarshalToSizedBuffer ¶
func (m *OutputSink_StreamingAdmin) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OutputSink_StreamingAdmin) Size ¶
func (m *OutputSink_StreamingAdmin) Size() (n int)
type OutputSink_StreamingGrpc ¶
type OutputSink_StreamingGrpc struct {
StreamingGrpc *StreamingGrpcSink `protobuf:"bytes,4,opt,name=streaming_grpc,json=streamingGrpc,proto3,oneof"`
}
func (*OutputSink_StreamingGrpc) MarshalTo ¶
func (m *OutputSink_StreamingGrpc) MarshalTo(dAtA []byte) (int, error)
func (*OutputSink_StreamingGrpc) MarshalToSizedBuffer ¶
func (m *OutputSink_StreamingGrpc) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OutputSink_StreamingGrpc) Size ¶
func (m *OutputSink_StreamingGrpc) Size() (n int)
type StreamTapsRequest ¶
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
[#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 ¶
func (*StreamTapsRequest) Descriptor() ([]byte, []int)
func (*StreamTapsRequest) GetIdentifier ¶
func (m *StreamTapsRequest) GetIdentifier() *StreamTapsRequest_Identifier
func (*StreamTapsRequest) GetTrace ¶
func (m *StreamTapsRequest) GetTrace() *v2alpha.TraceWrapper
func (*StreamTapsRequest) GetTraceId ¶
func (m *StreamTapsRequest) GetTraceId() uint64
func (*StreamTapsRequest) Marshal ¶
func (m *StreamTapsRequest) Marshal() (dAtA []byte, err error)
func (*StreamTapsRequest) MarshalTo ¶
func (m *StreamTapsRequest) MarshalTo(dAtA []byte) (int, error)
func (*StreamTapsRequest) MarshalToSizedBuffer ¶
func (m *StreamTapsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StreamTapsRequest) ProtoMessage ¶
func (*StreamTapsRequest) ProtoMessage()
func (*StreamTapsRequest) Reset ¶
func (m *StreamTapsRequest) Reset()
func (*StreamTapsRequest) Size ¶
func (m *StreamTapsRequest) Size() (n int)
func (*StreamTapsRequest) String ¶
func (m *StreamTapsRequest) String() string
func (*StreamTapsRequest) Unmarshal ¶
func (m *StreamTapsRequest) Unmarshal(dAtA []byte) error
func (*StreamTapsRequest) Validate ¶
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, an error is returned.
func (*StreamTapsRequest) XXX_DiscardUnknown ¶
func (m *StreamTapsRequest) XXX_DiscardUnknown()
func (*StreamTapsRequest) XXX_Marshal ¶
func (m *StreamTapsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StreamTapsRequest) XXX_Merge ¶
func (m *StreamTapsRequest) XXX_Merge(src proto.Message)
func (*StreamTapsRequest) XXX_Size ¶
func (m *StreamTapsRequest) XXX_Size() int
func (*StreamTapsRequest) XXX_Unmarshal ¶
func (m *StreamTapsRequest) XXX_Unmarshal(b []byte) error
type StreamTapsRequestValidationError ¶
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 ¶
func (e StreamTapsRequestValidationError) Cause() error
Cause function returns cause value.
func (StreamTapsRequestValidationError) Error ¶
func (e StreamTapsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (StreamTapsRequestValidationError) ErrorName ¶
func (e StreamTapsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (StreamTapsRequestValidationError) Field ¶
func (e StreamTapsRequestValidationError) Field() string
Field function returns field value.
func (StreamTapsRequestValidationError) Key ¶
func (e StreamTapsRequestValidationError) Key() bool
Key function returns key value.
func (StreamTapsRequestValidationError) Reason ¶
func (e StreamTapsRequestValidationError) Reason() string
Reason function returns reason value.
type StreamTapsRequest_Identifier ¶
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StreamTapsRequest_Identifier) Descriptor ¶
func (*StreamTapsRequest_Identifier) Descriptor() ([]byte, []int)
func (*StreamTapsRequest_Identifier) GetNode ¶
func (m *StreamTapsRequest_Identifier) GetNode() *core.Node
func (*StreamTapsRequest_Identifier) GetTapId ¶
func (m *StreamTapsRequest_Identifier) GetTapId() string
func (*StreamTapsRequest_Identifier) Marshal ¶
func (m *StreamTapsRequest_Identifier) Marshal() (dAtA []byte, err error)
func (*StreamTapsRequest_Identifier) MarshalTo ¶
func (m *StreamTapsRequest_Identifier) MarshalTo(dAtA []byte) (int, error)
func (*StreamTapsRequest_Identifier) MarshalToSizedBuffer ¶
func (m *StreamTapsRequest_Identifier) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StreamTapsRequest_Identifier) ProtoMessage ¶
func (*StreamTapsRequest_Identifier) ProtoMessage()
func (*StreamTapsRequest_Identifier) Reset ¶
func (m *StreamTapsRequest_Identifier) Reset()
func (*StreamTapsRequest_Identifier) Size ¶
func (m *StreamTapsRequest_Identifier) Size() (n int)
func (*StreamTapsRequest_Identifier) String ¶
func (m *StreamTapsRequest_Identifier) String() string
func (*StreamTapsRequest_Identifier) Unmarshal ¶
func (m *StreamTapsRequest_Identifier) Unmarshal(dAtA []byte) error
func (*StreamTapsRequest_Identifier) Validate ¶
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, an error is returned.
func (*StreamTapsRequest_Identifier) XXX_DiscardUnknown ¶
func (m *StreamTapsRequest_Identifier) XXX_DiscardUnknown()
func (*StreamTapsRequest_Identifier) XXX_Marshal ¶
func (m *StreamTapsRequest_Identifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StreamTapsRequest_Identifier) XXX_Merge ¶
func (m *StreamTapsRequest_Identifier) XXX_Merge(src proto.Message)
func (*StreamTapsRequest_Identifier) XXX_Size ¶
func (m *StreamTapsRequest_Identifier) XXX_Size() int
func (*StreamTapsRequest_Identifier) XXX_Unmarshal ¶
func (m *StreamTapsRequest_Identifier) XXX_Unmarshal(b []byte) error
type StreamTapsRequest_IdentifierValidationError ¶
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 ¶
func (e StreamTapsRequest_IdentifierValidationError) Cause() error
Cause function returns cause value.
func (StreamTapsRequest_IdentifierValidationError) Error ¶
func (e StreamTapsRequest_IdentifierValidationError) Error() string
Error satisfies the builtin error interface
func (StreamTapsRequest_IdentifierValidationError) ErrorName ¶
func (e StreamTapsRequest_IdentifierValidationError) ErrorName() string
ErrorName returns error name.
func (StreamTapsRequest_IdentifierValidationError) Field ¶
func (e StreamTapsRequest_IdentifierValidationError) Field() string
Field function returns field value.
func (StreamTapsRequest_IdentifierValidationError) Key ¶
func (e StreamTapsRequest_IdentifierValidationError) Key() bool
Key function returns key value.
func (StreamTapsRequest_IdentifierValidationError) Reason ¶
func (e StreamTapsRequest_IdentifierValidationError) Reason() string
Reason function returns reason value.
type StreamTapsResponse ¶
type StreamTapsResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
[#not-implemented-hide:]
func (*StreamTapsResponse) Descriptor ¶
func (*StreamTapsResponse) Descriptor() ([]byte, []int)
func (*StreamTapsResponse) Marshal ¶
func (m *StreamTapsResponse) Marshal() (dAtA []byte, err error)
func (*StreamTapsResponse) MarshalTo ¶
func (m *StreamTapsResponse) MarshalTo(dAtA []byte) (int, error)
func (*StreamTapsResponse) MarshalToSizedBuffer ¶
func (m *StreamTapsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StreamTapsResponse) ProtoMessage ¶
func (*StreamTapsResponse) ProtoMessage()
func (*StreamTapsResponse) Reset ¶
func (m *StreamTapsResponse) Reset()
func (*StreamTapsResponse) Size ¶
func (m *StreamTapsResponse) Size() (n int)
func (*StreamTapsResponse) String ¶
func (m *StreamTapsResponse) String() string
func (*StreamTapsResponse) Unmarshal ¶
func (m *StreamTapsResponse) Unmarshal(dAtA []byte) error
func (*StreamTapsResponse) Validate ¶
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, an error is returned.
func (*StreamTapsResponse) XXX_DiscardUnknown ¶
func (m *StreamTapsResponse) XXX_DiscardUnknown()
func (*StreamTapsResponse) XXX_Marshal ¶
func (m *StreamTapsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StreamTapsResponse) XXX_Merge ¶
func (m *StreamTapsResponse) XXX_Merge(src proto.Message)
func (*StreamTapsResponse) XXX_Size ¶
func (m *StreamTapsResponse) XXX_Size() int
func (*StreamTapsResponse) XXX_Unmarshal ¶
func (m *StreamTapsResponse) XXX_Unmarshal(b []byte) error
type StreamTapsResponseValidationError ¶
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 ¶
func (e StreamTapsResponseValidationError) Cause() error
Cause function returns cause value.
func (StreamTapsResponseValidationError) Error ¶
func (e StreamTapsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (StreamTapsResponseValidationError) ErrorName ¶
func (e StreamTapsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (StreamTapsResponseValidationError) Field ¶
func (e StreamTapsResponseValidationError) Field() string
Field function returns field value.
func (StreamTapsResponseValidationError) Key ¶
func (e StreamTapsResponseValidationError) Key() bool
Key function returns key value.
func (StreamTapsResponseValidationError) Reason ¶
func (e StreamTapsResponseValidationError) Reason() string
Reason function returns reason value.
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) MarshalToSizedBuffer ¶
func (m *StreamingAdminSink) MarshalToSizedBuffer(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 ¶
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 ¶
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 ¶
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
[#not-implemented-hide:] Streaming gRPC sink configuration sends the taps to an external gRPC server.
func (*StreamingGrpcSink) Descriptor ¶
func (*StreamingGrpcSink) Descriptor() ([]byte, []int)
func (*StreamingGrpcSink) GetGrpcService ¶
func (m *StreamingGrpcSink) GetGrpcService() *core.GrpcService
func (*StreamingGrpcSink) GetTapId ¶
func (m *StreamingGrpcSink) GetTapId() string
func (*StreamingGrpcSink) Marshal ¶
func (m *StreamingGrpcSink) Marshal() (dAtA []byte, err error)
func (*StreamingGrpcSink) MarshalTo ¶
func (m *StreamingGrpcSink) MarshalTo(dAtA []byte) (int, error)
func (*StreamingGrpcSink) MarshalToSizedBuffer ¶
func (m *StreamingGrpcSink) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StreamingGrpcSink) ProtoMessage ¶
func (*StreamingGrpcSink) ProtoMessage()
func (*StreamingGrpcSink) Reset ¶
func (m *StreamingGrpcSink) Reset()
func (*StreamingGrpcSink) Size ¶
func (m *StreamingGrpcSink) Size() (n int)
func (*StreamingGrpcSink) String ¶
func (m *StreamingGrpcSink) String() string
func (*StreamingGrpcSink) Unmarshal ¶
func (m *StreamingGrpcSink) Unmarshal(dAtA []byte) error
func (*StreamingGrpcSink) Validate ¶
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, an error is returned.
func (*StreamingGrpcSink) XXX_DiscardUnknown ¶
func (m *StreamingGrpcSink) XXX_DiscardUnknown()
func (*StreamingGrpcSink) XXX_Marshal ¶
func (m *StreamingGrpcSink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StreamingGrpcSink) XXX_Merge ¶
func (m *StreamingGrpcSink) XXX_Merge(src proto.Message)
func (*StreamingGrpcSink) XXX_Size ¶
func (m *StreamingGrpcSink) XXX_Size() int
func (*StreamingGrpcSink) XXX_Unmarshal ¶
func (m *StreamingGrpcSink) XXX_Unmarshal(b []byte) error
type StreamingGrpcSinkValidationError ¶
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 ¶
func (e StreamingGrpcSinkValidationError) Cause() error
Cause function returns cause value.
func (StreamingGrpcSinkValidationError) Error ¶
func (e StreamingGrpcSinkValidationError) Error() string
Error satisfies the builtin error interface
func (StreamingGrpcSinkValidationError) ErrorName ¶
func (e StreamingGrpcSinkValidationError) ErrorName() string
ErrorName returns error name.
func (StreamingGrpcSinkValidationError) Field ¶
func (e StreamingGrpcSinkValidationError) Field() string
Field function returns field value.
func (StreamingGrpcSinkValidationError) Key ¶
func (e StreamingGrpcSinkValidationError) Key() bool
Key function returns key value.
func (StreamingGrpcSinkValidationError) Reason ¶
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"` 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) GetTapEnabled ¶
func (m *TapConfig) GetTapEnabled() *core.RuntimeFractionalPercent
func (*TapConfig) MarshalToSizedBuffer ¶
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 ¶
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 ¶
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 TapDiscoveryServiceClient ¶
type TapDiscoveryServiceClient interface { StreamTapConfigs(ctx context.Context, opts ...grpc.CallOption) (TapDiscoveryService_StreamTapConfigsClient, error) DeltaTapConfigs(ctx context.Context, opts ...grpc.CallOption) (TapDiscoveryService_DeltaTapConfigsClient, error) FetchTapConfigs(ctx context.Context, in *v2.DiscoveryRequest, opts ...grpc.CallOption) (*v2.DiscoveryResponse, error) }
TapDiscoveryServiceClient is the client API for TapDiscoveryService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewTapDiscoveryServiceClient ¶
func NewTapDiscoveryServiceClient(cc *grpc.ClientConn) TapDiscoveryServiceClient
type TapDiscoveryServiceServer ¶
type TapDiscoveryServiceServer interface { StreamTapConfigs(TapDiscoveryService_StreamTapConfigsServer) error DeltaTapConfigs(TapDiscoveryService_DeltaTapConfigsServer) error FetchTapConfigs(context.Context, *v2.DiscoveryRequest) (*v2.DiscoveryResponse, error) }
TapDiscoveryServiceServer is the server API for TapDiscoveryService service.
type TapDiscoveryService_DeltaTapConfigsClient ¶
type TapDiscoveryService_DeltaTapConfigsClient interface { Send(*v2.DeltaDiscoveryRequest) error Recv() (*v2.DeltaDiscoveryResponse, error) grpc.ClientStream }
type TapDiscoveryService_DeltaTapConfigsServer ¶
type TapDiscoveryService_DeltaTapConfigsServer interface { Send(*v2.DeltaDiscoveryResponse) error Recv() (*v2.DeltaDiscoveryRequest, error) grpc.ServerStream }
type TapDiscoveryService_StreamTapConfigsClient ¶
type TapDiscoveryService_StreamTapConfigsClient interface { Send(*v2.DiscoveryRequest) error Recv() (*v2.DiscoveryResponse, error) grpc.ClientStream }
type TapDiscoveryService_StreamTapConfigsServer ¶
type TapDiscoveryService_StreamTapConfigsServer interface { Send(*v2.DiscoveryResponse) error Recv() (*v2.DiscoveryRequest, error) grpc.ServerStream }
type TapResource ¶
type TapResource struct { // The name of the tap configuration. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Tap config to apply Config *TapConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
[#not-implemented-hide:] A tap resource is essentially a tap configuration with a name The filter TapDS config references this name.
func (*TapResource) Descriptor ¶
func (*TapResource) Descriptor() ([]byte, []int)
func (*TapResource) GetConfig ¶
func (m *TapResource) GetConfig() *TapConfig
func (*TapResource) GetName ¶
func (m *TapResource) GetName() string
func (*TapResource) Marshal ¶
func (m *TapResource) Marshal() (dAtA []byte, err error)
func (*TapResource) MarshalToSizedBuffer ¶
func (m *TapResource) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TapResource) ProtoMessage ¶
func (*TapResource) ProtoMessage()
func (*TapResource) Reset ¶
func (m *TapResource) Reset()
func (*TapResource) Size ¶
func (m *TapResource) Size() (n int)
func (*TapResource) String ¶
func (m *TapResource) String() string
func (*TapResource) Unmarshal ¶
func (m *TapResource) Unmarshal(dAtA []byte) error
func (*TapResource) Validate ¶
func (m *TapResource) Validate() error
Validate checks the field values on TapResource with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*TapResource) XXX_DiscardUnknown ¶
func (m *TapResource) XXX_DiscardUnknown()
func (*TapResource) XXX_Marshal ¶
func (m *TapResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TapResource) XXX_Merge ¶
func (m *TapResource) XXX_Merge(src proto.Message)
func (*TapResource) XXX_Size ¶
func (m *TapResource) XXX_Size() int
func (*TapResource) XXX_Unmarshal ¶
func (m *TapResource) XXX_Unmarshal(b []byte) error
type TapResourceValidationError ¶
type TapResourceValidationError struct {
// contains filtered or unexported fields
}
TapResourceValidationError is the validation error returned by TapResource.Validate if the designated constraints aren't met.
func (TapResourceValidationError) Cause ¶
func (e TapResourceValidationError) Cause() error
Cause function returns cause value.
func (TapResourceValidationError) Error ¶
func (e TapResourceValidationError) Error() string
Error satisfies the builtin error interface
func (TapResourceValidationError) ErrorName ¶
func (e TapResourceValidationError) ErrorName() string
ErrorName returns error name.
func (TapResourceValidationError) Field ¶
func (e TapResourceValidationError) Field() string
Field function returns field value.
func (TapResourceValidationError) Key ¶
func (e TapResourceValidationError) Key() bool
Key function returns key value.
func (TapResourceValidationError) Reason ¶
func (e TapResourceValidationError) Reason() string
Reason function returns reason value.
type TapSinkServiceClient ¶
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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewTapSinkServiceClient ¶
func NewTapSinkServiceClient(cc *grpc.ClientConn) TapSinkServiceClient
type TapSinkServiceServer ¶
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.
type TapSinkService_StreamTapsClient ¶
type TapSinkService_StreamTapsClient interface { Send(*StreamTapsRequest) error CloseAndRecv() (*StreamTapsResponse, error) grpc.ClientStream }
type TapSinkService_StreamTapsServer ¶
type TapSinkService_StreamTapsServer interface { SendAndClose(*StreamTapsResponse) error Recv() (*StreamTapsRequest, error) grpc.ServerStream }
type UnimplementedTapDiscoveryServiceServer ¶
type UnimplementedTapDiscoveryServiceServer struct { }
UnimplementedTapDiscoveryServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedTapDiscoveryServiceServer) DeltaTapConfigs ¶
func (*UnimplementedTapDiscoveryServiceServer) DeltaTapConfigs(srv TapDiscoveryService_DeltaTapConfigsServer) error
func (*UnimplementedTapDiscoveryServiceServer) FetchTapConfigs ¶
func (*UnimplementedTapDiscoveryServiceServer) FetchTapConfigs(ctx context.Context, req *v2.DiscoveryRequest) (*v2.DiscoveryResponse, error)
func (*UnimplementedTapDiscoveryServiceServer) StreamTapConfigs ¶
func (*UnimplementedTapDiscoveryServiceServer) StreamTapConfigs(srv TapDiscoveryService_StreamTapConfigsServer) error
type UnimplementedTapSinkServiceServer ¶
type UnimplementedTapSinkServiceServer struct { }
UnimplementedTapSinkServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedTapSinkServiceServer) StreamTaps ¶
func (*UnimplementedTapSinkServiceServer) StreamTaps(srv TapSinkService_StreamTapsServer) error