Documentation ¶
Index ¶
- Variables
- type Endpoint
- func (*Endpoint) Descriptor() ([]byte, []int)deprecated
- func (x *Endpoint) GetLabels() []string
- func (x *Endpoint) GetName() string
- func (x *Endpoint) GetNamespace() string
- func (x *Endpoint) GetNodeName() string
- func (*Endpoint) ProtoMessage()
- func (x *Endpoint) ProtoReflect() protoreflect.Message
- func (x *Endpoint) Reset()
- func (x *Endpoint) String() string
- type HTTPHeader
- type HTTPRequest
- func (*HTTPRequest) Descriptor() ([]byte, []int)deprecated
- func (x *HTTPRequest) GetHeaders() []*HTTPHeader
- func (x *HTTPRequest) GetMethod() string
- func (x *HTTPRequest) GetProtocol() string
- func (x *HTTPRequest) GetUrl() string
- func (*HTTPRequest) ProtoMessage()
- func (x *HTTPRequest) ProtoReflect() protoreflect.Message
- func (x *HTTPRequest) Reset()
- func (x *HTTPRequest) String() string
- type HTTPResponse
- func (*HTTPResponse) Descriptor() ([]byte, []int)deprecated
- func (x *HTTPResponse) GetCode() uint32
- func (x *HTTPResponse) GetHeaders() []*HTTPHeader
- func (x *HTTPResponse) GetProtocol() string
- func (*HTTPResponse) ProtoMessage()
- func (x *HTTPResponse) ProtoReflect() protoreflect.Message
- func (x *HTTPResponse) Reset()
- func (x *HTTPResponse) String() string
- type IP
- type IPVersion
- type K8SProtoMessage
- func (*K8SProtoMessage) Descriptor() ([]byte, []int)deprecated
- func (x *K8SProtoMessage) GetClient() *Endpoint
- func (x *K8SProtoMessage) GetClientService() *Service
- func (x *K8SProtoMessage) GetProtoMessage_() *ProtoMessage
- func (x *K8SProtoMessage) GetServer() *Endpoint
- func (x *K8SProtoMessage) GetServerService() *Service
- func (*K8SProtoMessage) ProtoMessage()
- func (x *K8SProtoMessage) ProtoReflect() protoreflect.Message
- func (x *K8SProtoMessage) Reset()
- func (x *K8SProtoMessage) String() string
- type Layer4
- func (*Layer4) Descriptor() ([]byte, []int)deprecated
- func (m *Layer4) GetProtocol() isLayer4_Protocol
- func (x *Layer4) GetTCP() *TCP
- func (x *Layer4) GetUDP() *UDP
- func (*Layer4) ProtoMessage()
- func (x *Layer4) ProtoReflect() protoreflect.Message
- func (x *Layer4) Reset()
- func (x *Layer4) String() string
- type Layer4_TCP
- type Layer4_UDP
- type Layer7
- func (*Layer7) Descriptor() ([]byte, []int)deprecated
- func (x *Layer7) GetLatencyNs() uint64
- func (x *Layer7) GetRequest() *Request
- func (x *Layer7) GetResponse() *Response
- func (*Layer7) ProtoMessage()
- func (x *Layer7) ProtoReflect() protoreflect.Message
- func (x *Layer7) Reset()
- func (x *Layer7) String() string
- type MySQLCommand
- func (MySQLCommand) Descriptor() protoreflect.EnumDescriptor
- func (x MySQLCommand) Enum() *MySQLCommand
- func (MySQLCommand) EnumDescriptor() ([]byte, []int)deprecated
- func (x MySQLCommand) Number() protoreflect.EnumNumber
- func (x MySQLCommand) String() string
- func (MySQLCommand) Type() protoreflect.EnumType
- type MySQLRequest
- func (*MySQLRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MySQLRequest) GetCommand() MySQLCommand
- func (x *MySQLRequest) GetPayloadLength() uint32
- func (*MySQLRequest) ProtoMessage()
- func (x *MySQLRequest) ProtoReflect() protoreflect.Message
- func (x *MySQLRequest) Reset()
- func (x *MySQLRequest) String() string
- type MySQLResponse
- func (*MySQLResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MySQLResponse) GetAffectedRows() uint64
- func (x *MySQLResponse) GetErrorCode() uint32
- func (x *MySQLResponse) GetType() MySQLResponseType
- func (*MySQLResponse) ProtoMessage()
- func (x *MySQLResponse) ProtoReflect() protoreflect.Message
- func (x *MySQLResponse) Reset()
- func (x *MySQLResponse) String() string
- type MySQLResponseType
- func (MySQLResponseType) Descriptor() protoreflect.EnumDescriptor
- func (x MySQLResponseType) Enum() *MySQLResponseType
- func (MySQLResponseType) EnumDescriptor() ([]byte, []int)deprecated
- func (x MySQLResponseType) Number() protoreflect.EnumNumber
- func (x MySQLResponseType) String() string
- func (MySQLResponseType) Type() protoreflect.EnumType
- type ProtoMessage
- func (*ProtoMessage) Descriptor() ([]byte, []int)deprecated
- func (x *ProtoMessage) GetIp() *IP
- func (x *ProtoMessage) GetL4() *Layer4
- func (x *ProtoMessage) GetL7() *Layer7
- func (x *ProtoMessage) GetPid() uint32
- func (x *ProtoMessage) GetTs() *timestamp.Timestamp
- func (*ProtoMessage) ProtoMessage()
- func (x *ProtoMessage) ProtoReflect() protoreflect.Message
- func (x *ProtoMessage) Reset()
- func (x *ProtoMessage) String() string
- type Request
- func (*Request) Descriptor() ([]byte, []int)deprecated
- func (x *Request) GetHttp() *HTTPRequest
- func (x *Request) GetMysql() *MySQLRequest
- func (m *Request) GetRecord() isRequest_Record
- func (*Request) ProtoMessage()
- func (x *Request) ProtoReflect() protoreflect.Message
- func (x *Request) Reset()
- func (x *Request) String() string
- type Request_Http
- type Request_Mysql
- type Response
- func (*Response) Descriptor() ([]byte, []int)deprecated
- func (x *Response) GetHttp() *HTTPResponse
- func (x *Response) GetMysql() *MySQLResponse
- func (m *Response) GetRecord() isResponse_Record
- func (*Response) ProtoMessage()
- func (x *Response) ProtoReflect() protoreflect.Message
- func (x *Response) Reset()
- func (x *Response) String() string
- type Response_Http
- type Response_Mysql
- type Service
- func (*Service) Descriptor() ([]byte, []int)deprecated
- func (x *Service) GetLabels() []string
- func (x *Service) GetName() string
- func (x *Service) GetNamespace() string
- func (*Service) ProtoMessage()
- func (x *Service) ProtoReflect() protoreflect.Message
- func (x *Service) Reset()
- func (x *Service) String() string
- type TCP
- type UDP
Constants ¶
This section is empty.
Variables ¶
View Source
var ( IPVersion_name = map[int32]string{ 0: "IP_UNKNOWN", 1: "IPv4", 2: "IPv6", } IPVersion_value = map[string]int32{ "IP_UNKNOWN": 0, "IPv4": 1, "IPv6": 2, } )
Enum value maps for IPVersion.
View Source
var ( MySQLCommand_name = map[int32]string{ 0: "COM_UNKNOWN", 1: "COM_QUERY", 2: "COM_QUIT", 3: "COM_INIT_DB", 4: "COM_FIELD_LIST", 5: "COM_REFRESH", 6: "COM_STATISTICS", 7: "COM_PROCESS_INFO", 8: "COM_PROCESS_KILL", 9: "COM_DEBUG", 10: "COM_PING", 11: "COM_CHANGE_USER", 12: "COM_RESET_CONNECTION", 13: "COM_SET_OPTION", 14: "COM_STMT_PREPARE", 15: "COM_STMT_EXECUTE", 16: "COM_STMT_FETCH", 17: "COM_STMT_CLOSE", 18: "COM_STMT_RESET", 19: "COM_STMT_SEND_LONG_DATA", } MySQLCommand_value = map[string]int32{ "COM_UNKNOWN": 0, "COM_QUERY": 1, "COM_QUIT": 2, "COM_INIT_DB": 3, "COM_FIELD_LIST": 4, "COM_REFRESH": 5, "COM_STATISTICS": 6, "COM_PROCESS_INFO": 7, "COM_PROCESS_KILL": 8, "COM_DEBUG": 9, "COM_PING": 10, "COM_CHANGE_USER": 11, "COM_RESET_CONNECTION": 12, "COM_SET_OPTION": 13, "COM_STMT_PREPARE": 14, "COM_STMT_EXECUTE": 15, "COM_STMT_FETCH": 16, "COM_STMT_CLOSE": 17, "COM_STMT_RESET": 18, "COM_STMT_SEND_LONG_DATA": 19, } )
Enum value maps for MySQLCommand.
View Source
var ( MySQLResponseType_name = map[int32]string{ 0: "UNKNOWN", 1: "OK", 2: "ERR", 3: "EOF", } MySQLResponseType_value = map[string]int32{ "UNKNOWN": 0, "OK": 1, "ERR": 2, "EOF": 3, } )
Enum value maps for MySQLResponseType.
View Source
var File_perisco_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Endpoint ¶
type Endpoint struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` Labels []string `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty"` NodeName string `protobuf:"bytes,4,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"` // contains filtered or unexported fields }
func (*Endpoint) Descriptor
deprecated
func (*Endpoint) GetNamespace ¶
func (*Endpoint) GetNodeName ¶
func (*Endpoint) ProtoMessage ¶
func (*Endpoint) ProtoMessage()
func (*Endpoint) ProtoReflect ¶
func (x *Endpoint) ProtoReflect() protoreflect.Message
type HTTPHeader ¶
type HTTPHeader struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*HTTPHeader) Descriptor
deprecated
func (*HTTPHeader) Descriptor() ([]byte, []int)
Deprecated: Use HTTPHeader.ProtoReflect.Descriptor instead.
func (*HTTPHeader) GetKey ¶
func (x *HTTPHeader) GetKey() string
func (*HTTPHeader) GetValue ¶
func (x *HTTPHeader) GetValue() string
func (*HTTPHeader) ProtoMessage ¶
func (*HTTPHeader) ProtoMessage()
func (*HTTPHeader) ProtoReflect ¶
func (x *HTTPHeader) ProtoReflect() protoreflect.Message
func (*HTTPHeader) Reset ¶
func (x *HTTPHeader) Reset()
func (*HTTPHeader) String ¶
func (x *HTTPHeader) String() string
type HTTPRequest ¶
type HTTPRequest struct { Protocol string `protobuf:"bytes,1,opt,name=protocol,proto3" json:"protocol,omitempty"` Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"` Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"` Headers []*HTTPHeader `protobuf:"bytes,4,rep,name=headers,proto3" json:"headers,omitempty"` // contains filtered or unexported fields }
func (*HTTPRequest) Descriptor
deprecated
func (*HTTPRequest) Descriptor() ([]byte, []int)
Deprecated: Use HTTPRequest.ProtoReflect.Descriptor instead.
func (*HTTPRequest) GetHeaders ¶
func (x *HTTPRequest) GetHeaders() []*HTTPHeader
func (*HTTPRequest) GetMethod ¶
func (x *HTTPRequest) GetMethod() string
func (*HTTPRequest) GetProtocol ¶
func (x *HTTPRequest) GetProtocol() string
func (*HTTPRequest) GetUrl ¶
func (x *HTTPRequest) GetUrl() string
func (*HTTPRequest) ProtoMessage ¶
func (*HTTPRequest) ProtoMessage()
func (*HTTPRequest) ProtoReflect ¶
func (x *HTTPRequest) ProtoReflect() protoreflect.Message
func (*HTTPRequest) Reset ¶
func (x *HTTPRequest) Reset()
func (*HTTPRequest) String ¶
func (x *HTTPRequest) String() string
type HTTPResponse ¶
type HTTPResponse struct { Protocol string `protobuf:"bytes,1,opt,name=protocol,proto3" json:"protocol,omitempty"` Code uint32 `protobuf:"varint,5,opt,name=code,proto3" json:"code,omitempty"` Headers []*HTTPHeader `protobuf:"bytes,7,rep,name=headers,proto3" json:"headers,omitempty"` // contains filtered or unexported fields }
func (*HTTPResponse) Descriptor
deprecated
func (*HTTPResponse) Descriptor() ([]byte, []int)
Deprecated: Use HTTPResponse.ProtoReflect.Descriptor instead.
func (*HTTPResponse) GetCode ¶
func (x *HTTPResponse) GetCode() uint32
func (*HTTPResponse) GetHeaders ¶
func (x *HTTPResponse) GetHeaders() []*HTTPHeader
func (*HTTPResponse) GetProtocol ¶
func (x *HTTPResponse) GetProtocol() string
func (*HTTPResponse) ProtoMessage ¶
func (*HTTPResponse) ProtoMessage()
func (*HTTPResponse) ProtoReflect ¶
func (x *HTTPResponse) ProtoReflect() protoreflect.Message
func (*HTTPResponse) Reset ¶
func (x *HTTPResponse) Reset()
func (*HTTPResponse) String ¶
func (x *HTTPResponse) String() string
type IP ¶
type IP struct { Client string `protobuf:"bytes,1,opt,name=client,proto3" json:"client,omitempty"` Server string `protobuf:"bytes,2,opt,name=server,proto3" json:"server,omitempty"` IpVersion IPVersion `protobuf:"varint,3,opt,name=ipVersion,proto3,enum=perisco.IPVersion" json:"ipVersion,omitempty"` // contains filtered or unexported fields }
func (*IP) Descriptor
deprecated
func (*IP) GetIpVersion ¶
func (*IP) ProtoMessage ¶
func (*IP) ProtoMessage()
func (*IP) ProtoReflect ¶
func (x *IP) ProtoReflect() protoreflect.Message
type IPVersion ¶
type IPVersion int32
func (IPVersion) Descriptor ¶
func (IPVersion) Descriptor() protoreflect.EnumDescriptor
func (IPVersion) EnumDescriptor
deprecated
func (IPVersion) Number ¶
func (x IPVersion) Number() protoreflect.EnumNumber
func (IPVersion) Type ¶
func (IPVersion) Type() protoreflect.EnumType
type K8SProtoMessage ¶
type K8SProtoMessage struct { ProtoMessage_ *ProtoMessage `protobuf:"bytes,1,opt,name=proto_message,json=protoMessage,proto3" json:"proto_message,omitempty"` Client *Endpoint `protobuf:"bytes,2,opt,name=client,proto3" json:"client,omitempty"` Server *Endpoint `protobuf:"bytes,3,opt,name=server,proto3" json:"server,omitempty"` ClientService *Service `protobuf:"bytes,4,opt,name=client_service,json=clientService,proto3" json:"client_service,omitempty"` ServerService *Service `protobuf:"bytes,5,opt,name=server_service,json=serverService,proto3" json:"server_service,omitempty"` // contains filtered or unexported fields }
func (*K8SProtoMessage) Descriptor
deprecated
func (*K8SProtoMessage) Descriptor() ([]byte, []int)
Deprecated: Use K8SProtoMessage.ProtoReflect.Descriptor instead.
func (*K8SProtoMessage) GetClient ¶
func (x *K8SProtoMessage) GetClient() *Endpoint
func (*K8SProtoMessage) GetClientService ¶
func (x *K8SProtoMessage) GetClientService() *Service
func (*K8SProtoMessage) GetProtoMessage_ ¶
func (x *K8SProtoMessage) GetProtoMessage_() *ProtoMessage
func (*K8SProtoMessage) GetServer ¶
func (x *K8SProtoMessage) GetServer() *Endpoint
func (*K8SProtoMessage) GetServerService ¶
func (x *K8SProtoMessage) GetServerService() *Service
func (*K8SProtoMessage) ProtoMessage ¶
func (*K8SProtoMessage) ProtoMessage()
func (*K8SProtoMessage) ProtoReflect ¶
func (x *K8SProtoMessage) ProtoReflect() protoreflect.Message
func (*K8SProtoMessage) Reset ¶
func (x *K8SProtoMessage) Reset()
func (*K8SProtoMessage) String ¶
func (x *K8SProtoMessage) String() string
type Layer4 ¶
type Layer4 struct { // Types that are assignable to Protocol: // *Layer4_TCP // *Layer4_UDP Protocol isLayer4_Protocol `protobuf_oneof:"protocol"` // contains filtered or unexported fields }
func (*Layer4) Descriptor
deprecated
func (*Layer4) GetProtocol ¶
func (m *Layer4) GetProtocol() isLayer4_Protocol
func (*Layer4) ProtoMessage ¶
func (*Layer4) ProtoMessage()
func (*Layer4) ProtoReflect ¶
func (x *Layer4) ProtoReflect() protoreflect.Message
type Layer4_TCP ¶
type Layer4_TCP struct {
TCP *TCP `protobuf:"bytes,1,opt,name=TCP,proto3,oneof"`
}
type Layer4_UDP ¶
type Layer4_UDP struct {
UDP *UDP `protobuf:"bytes,2,opt,name=UDP,proto3,oneof"`
}
type Layer7 ¶
type Layer7 struct { LatencyNs uint64 `protobuf:"varint,1,opt,name=latency_ns,json=latencyNs,proto3" json:"latency_ns,omitempty"` Request *Request `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"` Response *Response `protobuf:"bytes,3,opt,name=response,proto3" json:"response,omitempty"` // contains filtered or unexported fields }
func (*Layer7) Descriptor
deprecated
func (*Layer7) GetLatencyNs ¶
func (*Layer7) GetRequest ¶
func (*Layer7) GetResponse ¶
func (*Layer7) ProtoMessage ¶
func (*Layer7) ProtoMessage()
func (*Layer7) ProtoReflect ¶
func (x *Layer7) ProtoReflect() protoreflect.Message
type MySQLCommand ¶
type MySQLCommand int32
const ( MySQLCommand_COM_UNKNOWN MySQLCommand = 0 MySQLCommand_COM_QUERY MySQLCommand = 1 MySQLCommand_COM_QUIT MySQLCommand = 2 MySQLCommand_COM_INIT_DB MySQLCommand = 3 MySQLCommand_COM_FIELD_LIST MySQLCommand = 4 MySQLCommand_COM_REFRESH MySQLCommand = 5 MySQLCommand_COM_STATISTICS MySQLCommand = 6 MySQLCommand_COM_PROCESS_INFO MySQLCommand = 7 MySQLCommand_COM_PROCESS_KILL MySQLCommand = 8 MySQLCommand_COM_DEBUG MySQLCommand = 9 MySQLCommand_COM_PING MySQLCommand = 10 MySQLCommand_COM_CHANGE_USER MySQLCommand = 11 MySQLCommand_COM_RESET_CONNECTION MySQLCommand = 12 MySQLCommand_COM_SET_OPTION MySQLCommand = 13 MySQLCommand_COM_STMT_PREPARE MySQLCommand = 14 MySQLCommand_COM_STMT_EXECUTE MySQLCommand = 15 MySQLCommand_COM_STMT_FETCH MySQLCommand = 16 MySQLCommand_COM_STMT_CLOSE MySQLCommand = 17 MySQLCommand_COM_STMT_RESET MySQLCommand = 18 MySQLCommand_COM_STMT_SEND_LONG_DATA MySQLCommand = 19 )
func (MySQLCommand) Descriptor ¶
func (MySQLCommand) Descriptor() protoreflect.EnumDescriptor
func (MySQLCommand) Enum ¶
func (x MySQLCommand) Enum() *MySQLCommand
func (MySQLCommand) EnumDescriptor
deprecated
func (MySQLCommand) EnumDescriptor() ([]byte, []int)
Deprecated: Use MySQLCommand.Descriptor instead.
func (MySQLCommand) Number ¶
func (x MySQLCommand) Number() protoreflect.EnumNumber
func (MySQLCommand) String ¶
func (x MySQLCommand) String() string
func (MySQLCommand) Type ¶
func (MySQLCommand) Type() protoreflect.EnumType
type MySQLRequest ¶
type MySQLRequest struct { PayloadLength uint32 `protobuf:"varint,1,opt,name=payload_length,json=payloadLength,proto3" json:"payload_length,omitempty"` Command MySQLCommand `protobuf:"varint,2,opt,name=command,proto3,enum=perisco.MySQLCommand" json:"command,omitempty"` // contains filtered or unexported fields }
func (*MySQLRequest) Descriptor
deprecated
func (*MySQLRequest) Descriptor() ([]byte, []int)
Deprecated: Use MySQLRequest.ProtoReflect.Descriptor instead.
func (*MySQLRequest) GetCommand ¶
func (x *MySQLRequest) GetCommand() MySQLCommand
func (*MySQLRequest) GetPayloadLength ¶
func (x *MySQLRequest) GetPayloadLength() uint32
func (*MySQLRequest) ProtoMessage ¶
func (*MySQLRequest) ProtoMessage()
func (*MySQLRequest) ProtoReflect ¶
func (x *MySQLRequest) ProtoReflect() protoreflect.Message
func (*MySQLRequest) Reset ¶
func (x *MySQLRequest) Reset()
func (*MySQLRequest) String ¶
func (x *MySQLRequest) String() string
type MySQLResponse ¶
type MySQLResponse struct { Type MySQLResponseType `protobuf:"varint,1,opt,name=type,proto3,enum=perisco.MySQLResponseType" json:"type,omitempty"` AffectedRows uint64 `protobuf:"varint,2,opt,name=affected_rows,json=affectedRows,proto3" json:"affected_rows,omitempty"` ErrorCode uint32 `protobuf:"varint,3,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"` // contains filtered or unexported fields }
func (*MySQLResponse) Descriptor
deprecated
func (*MySQLResponse) Descriptor() ([]byte, []int)
Deprecated: Use MySQLResponse.ProtoReflect.Descriptor instead.
func (*MySQLResponse) GetAffectedRows ¶
func (x *MySQLResponse) GetAffectedRows() uint64
func (*MySQLResponse) GetErrorCode ¶
func (x *MySQLResponse) GetErrorCode() uint32
func (*MySQLResponse) GetType ¶
func (x *MySQLResponse) GetType() MySQLResponseType
func (*MySQLResponse) ProtoMessage ¶
func (*MySQLResponse) ProtoMessage()
func (*MySQLResponse) ProtoReflect ¶
func (x *MySQLResponse) ProtoReflect() protoreflect.Message
func (*MySQLResponse) Reset ¶
func (x *MySQLResponse) Reset()
func (*MySQLResponse) String ¶
func (x *MySQLResponse) String() string
type MySQLResponseType ¶
type MySQLResponseType int32
const ( MySQLResponseType_UNKNOWN MySQLResponseType = 0 MySQLResponseType_OK MySQLResponseType = 1 MySQLResponseType_ERR MySQLResponseType = 2 MySQLResponseType_EOF MySQLResponseType = 3 )
func (MySQLResponseType) Descriptor ¶
func (MySQLResponseType) Descriptor() protoreflect.EnumDescriptor
func (MySQLResponseType) Enum ¶
func (x MySQLResponseType) Enum() *MySQLResponseType
func (MySQLResponseType) EnumDescriptor
deprecated
func (MySQLResponseType) EnumDescriptor() ([]byte, []int)
Deprecated: Use MySQLResponseType.Descriptor instead.
func (MySQLResponseType) Number ¶
func (x MySQLResponseType) Number() protoreflect.EnumNumber
func (MySQLResponseType) String ¶
func (x MySQLResponseType) String() string
func (MySQLResponseType) Type ¶
func (MySQLResponseType) Type() protoreflect.EnumType
type ProtoMessage ¶
type ProtoMessage struct { Ts *timestamp.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` Pid uint32 `protobuf:"varint,2,opt,name=pid,proto3" json:"pid,omitempty"` Ip *IP `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"` L4 *Layer4 `protobuf:"bytes,4,opt,name=l4,proto3" json:"l4,omitempty"` L7 *Layer7 `protobuf:"bytes,5,opt,name=l7,proto3" json:"l7,omitempty"` // contains filtered or unexported fields }
func (*ProtoMessage) Descriptor
deprecated
func (*ProtoMessage) Descriptor() ([]byte, []int)
Deprecated: Use ProtoMessage.ProtoReflect.Descriptor instead.
func (*ProtoMessage) GetIp ¶
func (x *ProtoMessage) GetIp() *IP
func (*ProtoMessage) GetL4 ¶
func (x *ProtoMessage) GetL4() *Layer4
func (*ProtoMessage) GetL7 ¶
func (x *ProtoMessage) GetL7() *Layer7
func (*ProtoMessage) GetPid ¶
func (x *ProtoMessage) GetPid() uint32
func (*ProtoMessage) GetTs ¶
func (x *ProtoMessage) GetTs() *timestamp.Timestamp
func (*ProtoMessage) ProtoMessage ¶
func (*ProtoMessage) ProtoMessage()
func (*ProtoMessage) ProtoReflect ¶
func (x *ProtoMessage) ProtoReflect() protoreflect.Message
func (*ProtoMessage) Reset ¶
func (x *ProtoMessage) Reset()
func (*ProtoMessage) String ¶
func (x *ProtoMessage) String() string
type Request ¶
type Request struct { // Types that are assignable to Record: // *Request_Http // *Request_Mysql Record isRequest_Record `protobuf_oneof:"record"` // contains filtered or unexported fields }
func (*Request) Descriptor
deprecated
func (*Request) GetHttp ¶
func (x *Request) GetHttp() *HTTPRequest
func (*Request) GetMysql ¶
func (x *Request) GetMysql() *MySQLRequest
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) ProtoReflect ¶
func (x *Request) ProtoReflect() protoreflect.Message
type Request_Http ¶
type Request_Http struct {
Http *HTTPRequest `protobuf:"bytes,1,opt,name=http,proto3,oneof"`
}
type Request_Mysql ¶
type Request_Mysql struct {
Mysql *MySQLRequest `protobuf:"bytes,2,opt,name=mysql,proto3,oneof"`
}
type Response ¶
type Response struct { // Types that are assignable to Record: // *Response_Http // *Response_Mysql Record isResponse_Record `protobuf_oneof:"record"` // contains filtered or unexported fields }
func (*Response) Descriptor
deprecated
func (*Response) GetHttp ¶
func (x *Response) GetHttp() *HTTPResponse
func (*Response) GetMysql ¶
func (x *Response) GetMysql() *MySQLResponse
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶
func (x *Response) ProtoReflect() protoreflect.Message
type Response_Http ¶
type Response_Http struct {
Http *HTTPResponse `protobuf:"bytes,1,opt,name=http,proto3,oneof"`
}
type Response_Mysql ¶
type Response_Mysql struct {
Mysql *MySQLResponse `protobuf:"bytes,2,opt,name=mysql,proto3,oneof"`
}
type Service ¶
type Service struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` Labels []string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty"` // contains filtered or unexported fields }
func (*Service) Descriptor
deprecated
func (*Service) GetNamespace ¶
func (*Service) ProtoMessage ¶
func (*Service) ProtoMessage()
func (*Service) ProtoReflect ¶
func (x *Service) ProtoReflect() protoreflect.Message
type TCP ¶
type TCP struct { ClientPort uint32 `protobuf:"varint,1,opt,name=client_port,json=clientPort,proto3" json:"client_port,omitempty"` ServerPort uint32 `protobuf:"varint,2,opt,name=server_port,json=serverPort,proto3" json:"server_port,omitempty"` // contains filtered or unexported fields }
func (*TCP) Descriptor
deprecated
func (*TCP) GetClientPort ¶
func (*TCP) GetServerPort ¶
func (*TCP) ProtoMessage ¶
func (*TCP) ProtoMessage()
func (*TCP) ProtoReflect ¶
func (x *TCP) ProtoReflect() protoreflect.Message
type UDP ¶
type UDP struct { ClientPort uint32 `protobuf:"varint,1,opt,name=client_port,json=clientPort,proto3" json:"client_port,omitempty"` ServerPort uint32 `protobuf:"varint,2,opt,name=server_port,json=serverPort,proto3" json:"server_port,omitempty"` // contains filtered or unexported fields }
func (*UDP) Descriptor
deprecated
func (*UDP) GetClientPort ¶
func (*UDP) GetServerPort ¶
func (*UDP) ProtoMessage ¶
func (*UDP) ProtoMessage()
func (*UDP) ProtoReflect ¶
func (x *UDP) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.