Documentation
¶
Index ¶
- Variables
- func RegisterTracerServer(s *grpc.Server, srv TracerServer)
- type DNS
- func (*DNS) Descriptor() ([]byte, []int)
- func (m *DNS) GetQtypes() []string
- func (m *DNS) GetQuery() string
- func (m *DNS) GetRcode() uint32
- func (m *DNS) GetRrtypes() []string
- func (*DNS) ProtoMessage()
- func (m *DNS) Reset()
- func (m *DNS) String() string
- func (m *DNS) XXX_DiscardUnknown()
- func (m *DNS) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DNS) XXX_Merge(src proto.Message)
- func (m *DNS) XXX_Size() int
- func (m *DNS) XXX_Unmarshal(b []byte) error
- type Endpoint
- func (*Endpoint) Descriptor() ([]byte, []int)
- func (m *Endpoint) GetLabels() map[string]string
- func (m *Endpoint) GetName() string
- func (m *Endpoint) GetNamespace() string
- func (*Endpoint) ProtoMessage()
- func (m *Endpoint) Reset()
- func (m *Endpoint) String() string
- func (m *Endpoint) XXX_DiscardUnknown()
- func (m *Endpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Endpoint) XXX_Merge(src proto.Message)
- func (m *Endpoint) XXX_Size() int
- func (m *Endpoint) XXX_Unmarshal(b []byte) error
- type GetTracesRequest
- func (*GetTracesRequest) Descriptor() ([]byte, []int)
- func (*GetTracesRequest) ProtoMessage()
- func (m *GetTracesRequest) Reset()
- func (m *GetTracesRequest) String() string
- func (m *GetTracesRequest) XXX_DiscardUnknown()
- func (m *GetTracesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetTracesRequest) XXX_Merge(src proto.Message)
- func (m *GetTracesRequest) XXX_Size() int
- func (m *GetTracesRequest) XXX_Unmarshal(b []byte) error
- type GetTracesResponse
- func (*GetTracesResponse) Descriptor() ([]byte, []int)
- func (m *GetTracesResponse) GetTrace() *Trace
- func (*GetTracesResponse) ProtoMessage()
- func (m *GetTracesResponse) Reset()
- func (m *GetTracesResponse) String() string
- func (m *GetTracesResponse) XXX_DiscardUnknown()
- func (m *GetTracesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetTracesResponse) XXX_Merge(src proto.Message)
- func (m *GetTracesResponse) XXX_Size() int
- func (m *GetTracesResponse) XXX_Unmarshal(b []byte) error
- type HTTP
- func (*HTTP) Descriptor() ([]byte, []int)
- func (m *HTTP) GetCode() uint32
- func (m *HTTP) GetHeaders() []*HTTPHeader
- func (m *HTTP) GetMethod() string
- func (m *HTTP) GetProtocol() string
- func (m *HTTP) GetUrl() string
- func (*HTTP) ProtoMessage()
- func (m *HTTP) Reset()
- func (m *HTTP) String() string
- func (m *HTTP) XXX_DiscardUnknown()
- func (m *HTTP) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HTTP) XXX_Merge(src proto.Message)
- func (m *HTTP) XXX_Size() int
- func (m *HTTP) XXX_Unmarshal(b []byte) error
- type HTTPHeader
- func (*HTTPHeader) Descriptor() ([]byte, []int)
- func (m *HTTPHeader) GetKey() string
- func (m *HTTPHeader) GetValue() string
- func (*HTTPHeader) ProtoMessage()
- func (m *HTTPHeader) Reset()
- func (m *HTTPHeader) String() string
- func (m *HTTPHeader) XXX_DiscardUnknown()
- func (m *HTTPHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HTTPHeader) XXX_Merge(src proto.Message)
- func (m *HTTPHeader) XXX_Size() int
- func (m *HTTPHeader) XXX_Unmarshal(b []byte) error
- type ICMPv4
- func (*ICMPv4) Descriptor() ([]byte, []int)
- func (m *ICMPv4) GetCode() uint32
- func (m *ICMPv4) GetType() uint32
- func (*ICMPv4) ProtoMessage()
- func (m *ICMPv4) Reset()
- func (m *ICMPv4) String() string
- func (m *ICMPv4) XXX_DiscardUnknown()
- func (m *ICMPv4) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ICMPv4) XXX_Merge(src proto.Message)
- func (m *ICMPv4) XXX_Size() int
- func (m *ICMPv4) XXX_Unmarshal(b []byte) error
- type ICMPv6
- func (*ICMPv6) Descriptor() ([]byte, []int)
- func (m *ICMPv6) GetCode() uint32
- func (m *ICMPv6) GetType() uint32
- func (*ICMPv6) ProtoMessage()
- func (m *ICMPv6) Reset()
- func (m *ICMPv6) String() string
- func (m *ICMPv6) XXX_DiscardUnknown()
- func (m *ICMPv6) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ICMPv6) XXX_Merge(src proto.Message)
- func (m *ICMPv6) XXX_Size() int
- func (m *ICMPv6) XXX_Unmarshal(b []byte) error
- type IP
- func (*IP) Descriptor() ([]byte, []int)
- func (m *IP) GetDestination() string
- func (m *IP) GetIpVersion() IPVersion
- func (m *IP) GetSource() string
- func (*IP) ProtoMessage()
- func (m *IP) Reset()
- func (m *IP) String() string
- func (m *IP) XXX_DiscardUnknown()
- func (m *IP) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IP) XXX_Merge(src proto.Message)
- func (m *IP) XXX_Size() int
- func (m *IP) XXX_Unmarshal(b []byte) error
- type IPVersion
- type Layer4
- func (*Layer4) Descriptor() ([]byte, []int)
- func (m *Layer4) GetICMPv4() *ICMPv4
- func (m *Layer4) GetICMPv6() *ICMPv6
- func (m *Layer4) GetProtocol() isLayer4_Protocol
- func (m *Layer4) GetTCP() *TCP
- func (m *Layer4) GetUDP() *UDP
- func (*Layer4) ProtoMessage()
- func (m *Layer4) Reset()
- func (m *Layer4) String() string
- func (m *Layer4) XXX_DiscardUnknown()
- func (m *Layer4) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Layer4) XXX_Merge(src proto.Message)
- func (*Layer4) XXX_OneofWrappers() []interface{}
- func (m *Layer4) XXX_Size() int
- func (m *Layer4) XXX_Unmarshal(b []byte) error
- type Layer4_ICMPv4
- type Layer4_ICMPv6
- type Layer4_TCP
- type Layer4_UDP
- type Layer7
- func (*Layer7) Descriptor() ([]byte, []int)
- func (m *Layer7) GetDns() *DNS
- func (m *Layer7) GetHttp() *HTTP
- func (m *Layer7) GetRecord() isLayer7_Record
- func (*Layer7) ProtoMessage()
- func (m *Layer7) Reset()
- func (m *Layer7) String() string
- func (m *Layer7) XXX_DiscardUnknown()
- func (m *Layer7) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Layer7) XXX_Merge(src proto.Message)
- func (*Layer7) XXX_OneofWrappers() []interface{}
- func (m *Layer7) XXX_Size() int
- func (m *Layer7) XXX_Unmarshal(b []byte) error
- type Layer7_Dns
- type Layer7_Http
- type ServerStatusRequest
- func (*ServerStatusRequest) Descriptor() ([]byte, []int)
- func (*ServerStatusRequest) ProtoMessage()
- func (m *ServerStatusRequest) Reset()
- func (m *ServerStatusRequest) String() string
- func (m *ServerStatusRequest) XXX_DiscardUnknown()
- func (m *ServerStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServerStatusRequest) XXX_Merge(src proto.Message)
- func (m *ServerStatusRequest) XXX_Size() int
- func (m *ServerStatusRequest) XXX_Unmarshal(b []byte) error
- type ServerStatusResponse
- func (*ServerStatusResponse) Descriptor() ([]byte, []int)
- func (m *ServerStatusResponse) GetMaxFlows() uint64
- func (m *ServerStatusResponse) GetNumFlows() uint64
- func (*ServerStatusResponse) ProtoMessage()
- func (m *ServerStatusResponse) Reset()
- func (m *ServerStatusResponse) String() string
- func (m *ServerStatusResponse) XXX_DiscardUnknown()
- func (m *ServerStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServerStatusResponse) XXX_Merge(src proto.Message)
- func (m *ServerStatusResponse) XXX_Size() int
- func (m *ServerStatusResponse) XXX_Unmarshal(b []byte) error
- type TCP
- func (*TCP) Descriptor() ([]byte, []int)
- func (m *TCP) GetDestinationPort() uint32
- func (m *TCP) GetFlags() *TCPFlags
- func (m *TCP) GetSourcePort() uint32
- func (*TCP) ProtoMessage()
- func (m *TCP) Reset()
- func (m *TCP) String() string
- func (m *TCP) XXX_DiscardUnknown()
- func (m *TCP) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TCP) XXX_Merge(src proto.Message)
- func (m *TCP) XXX_Size() int
- func (m *TCP) XXX_Unmarshal(b []byte) error
- type TCPFlags
- func (*TCPFlags) Descriptor() ([]byte, []int)
- func (m *TCPFlags) GetACK() bool
- func (m *TCPFlags) GetCWR() bool
- func (m *TCPFlags) GetECE() bool
- func (m *TCPFlags) GetFIN() bool
- func (m *TCPFlags) GetNS() bool
- func (m *TCPFlags) GetPSH() bool
- func (m *TCPFlags) GetRST() bool
- func (m *TCPFlags) GetSYN() bool
- func (m *TCPFlags) GetURG() bool
- func (*TCPFlags) ProtoMessage()
- func (m *TCPFlags) Reset()
- func (m *TCPFlags) String() string
- func (m *TCPFlags) XXX_DiscardUnknown()
- func (m *TCPFlags) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TCPFlags) XXX_Merge(src proto.Message)
- func (m *TCPFlags) XXX_Size() int
- func (m *TCPFlags) XXX_Unmarshal(b []byte) error
- type Trace
- func (*Trace) Descriptor() ([]byte, []int)
- func (m *Trace) GetDestination() *Endpoint
- func (m *Trace) GetIP() *IP
- func (m *Trace) GetL4() *Layer4
- func (m *Trace) GetL7() *Layer7
- func (m *Trace) GetNodeName() string
- func (m *Trace) GetSource() *Endpoint
- func (m *Trace) GetTime() *timestamp.Timestamp
- func (*Trace) ProtoMessage()
- func (m *Trace) Reset()
- func (m *Trace) String() string
- func (m *Trace) XXX_DiscardUnknown()
- func (m *Trace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Trace) XXX_Merge(src proto.Message)
- func (m *Trace) XXX_Size() int
- func (m *Trace) XXX_Unmarshal(b []byte) error
- type TracerClient
- type TracerServer
- type Tracer_GetTracesClient
- type Tracer_GetTracesServer
- type UDP
- func (*UDP) Descriptor() ([]byte, []int)
- func (m *UDP) GetDestinationPort() uint32
- func (m *UDP) GetSourcePort() uint32
- func (*UDP) ProtoMessage()
- func (m *UDP) Reset()
- func (m *UDP) String() string
- func (m *UDP) XXX_DiscardUnknown()
- func (m *UDP) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UDP) XXX_Merge(src proto.Message)
- func (m *UDP) XXX_Size() int
- func (m *UDP) XXX_Unmarshal(b []byte) error
- type UnimplementedTracerServer
Constants ¶
This section is empty.
Variables ¶
View Source
var IPVersion_name = map[int32]string{
0: "IP_NOT_USED",
1: "IPv4",
2: "IPv6",
}
View Source
var IPVersion_value = map[string]int32{
"IP_NOT_USED": 0,
"IPv4": 1,
"IPv6": 2,
}
Functions ¶
func RegisterTracerServer ¶
func RegisterTracerServer(s *grpc.Server, srv TracerServer)
Types ¶
type DNS ¶
type DNS struct {
Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
// Return code of the DNS request defined in:
// https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-6
Rcode uint32 `protobuf:"varint,6,opt,name=rcode,proto3" json:"rcode,omitempty"`
// String representation of qtypes defined in:
// https://tools.ietf.org/html/rfc1035#section-3.2.3
Qtypes []string `protobuf:"bytes,7,rep,name=qtypes,proto3" json:"qtypes,omitempty"`
// String representation of rrtypes defined in:
// https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4
Rrtypes []string `protobuf:"bytes,8,rep,name=rrtypes,proto3" json:"rrtypes,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*DNS) Descriptor ¶
func (*DNS) GetRrtypes ¶
func (*DNS) ProtoMessage ¶
func (*DNS) ProtoMessage()
func (*DNS) XXX_DiscardUnknown ¶
func (m *DNS) XXX_DiscardUnknown()
func (*DNS) XXX_Unmarshal ¶
type Endpoint ¶
type Endpoint struct {
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Labels map[string]string `` /* 153-byte string literal not displayed */
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Endpoint) Descriptor ¶
func (*Endpoint) GetNamespace ¶
func (*Endpoint) ProtoMessage ¶
func (*Endpoint) ProtoMessage()
func (*Endpoint) XXX_DiscardUnknown ¶
func (m *Endpoint) XXX_DiscardUnknown()
func (*Endpoint) XXX_Marshal ¶
func (*Endpoint) XXX_Unmarshal ¶
type GetTracesRequest ¶
type GetTracesRequest struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetTracesRequest) Descriptor ¶
func (*GetTracesRequest) Descriptor() ([]byte, []int)
func (*GetTracesRequest) ProtoMessage ¶
func (*GetTracesRequest) ProtoMessage()
func (*GetTracesRequest) Reset ¶
func (m *GetTracesRequest) Reset()
func (*GetTracesRequest) String ¶
func (m *GetTracesRequest) String() string
func (*GetTracesRequest) XXX_DiscardUnknown ¶
func (m *GetTracesRequest) XXX_DiscardUnknown()
func (*GetTracesRequest) XXX_Marshal ¶
func (m *GetTracesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetTracesRequest) XXX_Merge ¶
func (m *GetTracesRequest) XXX_Merge(src proto.Message)
func (*GetTracesRequest) XXX_Size ¶
func (m *GetTracesRequest) XXX_Size() int
func (*GetTracesRequest) XXX_Unmarshal ¶
func (m *GetTracesRequest) XXX_Unmarshal(b []byte) error
type GetTracesResponse ¶
type GetTracesResponse struct {
Trace *Trace `protobuf:"bytes,1,opt,name=trace,proto3" json:"trace,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetTracesResponse) Descriptor ¶
func (*GetTracesResponse) Descriptor() ([]byte, []int)
func (*GetTracesResponse) GetTrace ¶
func (m *GetTracesResponse) GetTrace() *Trace
func (*GetTracesResponse) ProtoMessage ¶
func (*GetTracesResponse) ProtoMessage()
func (*GetTracesResponse) Reset ¶
func (m *GetTracesResponse) Reset()
func (*GetTracesResponse) String ¶
func (m *GetTracesResponse) String() string
func (*GetTracesResponse) XXX_DiscardUnknown ¶
func (m *GetTracesResponse) XXX_DiscardUnknown()
func (*GetTracesResponse) XXX_Marshal ¶
func (m *GetTracesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetTracesResponse) XXX_Merge ¶
func (m *GetTracesResponse) XXX_Merge(src proto.Message)
func (*GetTracesResponse) XXX_Size ¶
func (m *GetTracesResponse) XXX_Size() int
func (*GetTracesResponse) XXX_Unmarshal ¶
func (m *GetTracesResponse) XXX_Unmarshal(b []byte) error
type HTTP ¶
type HTTP struct {
Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,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"`
Protocol string `protobuf:"bytes,4,opt,name=protocol,proto3" json:"protocol,omitempty"`
Headers []*HTTPHeader `protobuf:"bytes,5,rep,name=headers,proto3" json:"headers,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*HTTP) Descriptor ¶
func (*HTTP) GetHeaders ¶
func (m *HTTP) GetHeaders() []*HTTPHeader
func (*HTTP) GetProtocol ¶
func (*HTTP) ProtoMessage ¶
func (*HTTP) ProtoMessage()
func (*HTTP) XXX_DiscardUnknown ¶
func (m *HTTP) XXX_DiscardUnknown()
func (*HTTP) XXX_Unmarshal ¶
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"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*HTTPHeader) Descriptor ¶
func (*HTTPHeader) Descriptor() ([]byte, []int)
func (*HTTPHeader) GetKey ¶
func (m *HTTPHeader) GetKey() string
func (*HTTPHeader) GetValue ¶
func (m *HTTPHeader) GetValue() string
func (*HTTPHeader) ProtoMessage ¶
func (*HTTPHeader) ProtoMessage()
func (*HTTPHeader) Reset ¶
func (m *HTTPHeader) Reset()
func (*HTTPHeader) String ¶
func (m *HTTPHeader) String() string
func (*HTTPHeader) XXX_DiscardUnknown ¶
func (m *HTTPHeader) XXX_DiscardUnknown()
func (*HTTPHeader) XXX_Marshal ¶
func (m *HTTPHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HTTPHeader) XXX_Merge ¶
func (m *HTTPHeader) XXX_Merge(src proto.Message)
func (*HTTPHeader) XXX_Size ¶
func (m *HTTPHeader) XXX_Size() int
func (*HTTPHeader) XXX_Unmarshal ¶
func (m *HTTPHeader) XXX_Unmarshal(b []byte) error
type ICMPv4 ¶
type ICMPv4 struct {
Type uint32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"`
Code uint32 `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ICMPv4) Descriptor ¶
func (*ICMPv4) ProtoMessage ¶
func (*ICMPv4) ProtoMessage()
func (*ICMPv4) XXX_DiscardUnknown ¶
func (m *ICMPv4) XXX_DiscardUnknown()
func (*ICMPv4) XXX_Marshal ¶
func (*ICMPv4) XXX_Unmarshal ¶
type ICMPv6 ¶
type ICMPv6 struct {
Type uint32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"`
Code uint32 `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ICMPv6) Descriptor ¶
func (*ICMPv6) ProtoMessage ¶
func (*ICMPv6) ProtoMessage()
func (*ICMPv6) XXX_DiscardUnknown ¶
func (m *ICMPv6) XXX_DiscardUnknown()
func (*ICMPv6) XXX_Marshal ¶
func (*ICMPv6) XXX_Unmarshal ¶
type IP ¶
type IP struct {
Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
Destination string `protobuf:"bytes,2,opt,name=destination,proto3" json:"destination,omitempty"`
IpVersion IPVersion `protobuf:"varint,3,opt,name=ipVersion,proto3,enum=tracer.IPVersion" json:"ipVersion,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*IP) Descriptor ¶
func (*IP) GetDestination ¶
func (*IP) GetIpVersion ¶
func (*IP) ProtoMessage ¶
func (*IP) ProtoMessage()
func (*IP) XXX_DiscardUnknown ¶
func (m *IP) XXX_DiscardUnknown()
func (*IP) XXX_Unmarshal ¶
type Layer4 ¶
type Layer4 struct {
// Types that are valid to be assigned to Protocol:
// *Layer4_TCP
// *Layer4_UDP
// *Layer4_ICMPv4
// *Layer4_ICMPv6
Protocol isLayer4_Protocol `protobuf_oneof:"protocol"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Layer4) Descriptor ¶
func (*Layer4) GetProtocol ¶
func (m *Layer4) GetProtocol() isLayer4_Protocol
func (*Layer4) ProtoMessage ¶
func (*Layer4) ProtoMessage()
func (*Layer4) XXX_DiscardUnknown ¶
func (m *Layer4) XXX_DiscardUnknown()
func (*Layer4) XXX_Marshal ¶
func (*Layer4) XXX_OneofWrappers ¶
func (*Layer4) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Layer4) XXX_Unmarshal ¶
type Layer4_ICMPv4 ¶
type Layer4_ICMPv4 struct {
ICMPv4 *ICMPv4 `protobuf:"bytes,3,opt,name=ICMPv4,proto3,oneof"`
}
type Layer4_ICMPv6 ¶
type Layer4_ICMPv6 struct {
ICMPv6 *ICMPv6 `protobuf:"bytes,4,opt,name=ICMPv6,proto3,oneof"`
}
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 {
// Types that are valid to be assigned to Record:
// *Layer7_Dns
// *Layer7_Http
Record isLayer7_Record `protobuf_oneof:"record"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Layer7) Descriptor ¶
func (*Layer7) ProtoMessage ¶
func (*Layer7) ProtoMessage()
func (*Layer7) XXX_DiscardUnknown ¶
func (m *Layer7) XXX_DiscardUnknown()
func (*Layer7) XXX_Marshal ¶
func (*Layer7) XXX_OneofWrappers ¶
func (*Layer7) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Layer7) XXX_Unmarshal ¶
type Layer7_Dns ¶
type Layer7_Dns struct {
Dns *DNS `protobuf:"bytes,100,opt,name=dns,proto3,oneof"`
}
type Layer7_Http ¶
type Layer7_Http struct {
Http *HTTP `protobuf:"bytes,101,opt,name=http,proto3,oneof"`
}
type ServerStatusRequest ¶
type ServerStatusRequest struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ServerStatusRequest) Descriptor ¶
func (*ServerStatusRequest) Descriptor() ([]byte, []int)
func (*ServerStatusRequest) ProtoMessage ¶
func (*ServerStatusRequest) ProtoMessage()
func (*ServerStatusRequest) Reset ¶
func (m *ServerStatusRequest) Reset()
func (*ServerStatusRequest) String ¶
func (m *ServerStatusRequest) String() string
func (*ServerStatusRequest) XXX_DiscardUnknown ¶
func (m *ServerStatusRequest) XXX_DiscardUnknown()
func (*ServerStatusRequest) XXX_Marshal ¶
func (m *ServerStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServerStatusRequest) XXX_Merge ¶
func (m *ServerStatusRequest) XXX_Merge(src proto.Message)
func (*ServerStatusRequest) XXX_Size ¶
func (m *ServerStatusRequest) XXX_Size() int
func (*ServerStatusRequest) XXX_Unmarshal ¶
func (m *ServerStatusRequest) XXX_Unmarshal(b []byte) error
type ServerStatusResponse ¶
type ServerStatusResponse struct {
NumFlows uint64 `protobuf:"varint,1,opt,name=num_flows,json=numFlows,proto3" json:"num_flows,omitempty"`
MaxFlows uint64 `protobuf:"varint,2,opt,name=max_flows,json=maxFlows,proto3" json:"max_flows,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ServerStatusResponse) Descriptor ¶
func (*ServerStatusResponse) Descriptor() ([]byte, []int)
func (*ServerStatusResponse) GetMaxFlows ¶
func (m *ServerStatusResponse) GetMaxFlows() uint64
func (*ServerStatusResponse) GetNumFlows ¶
func (m *ServerStatusResponse) GetNumFlows() uint64
func (*ServerStatusResponse) ProtoMessage ¶
func (*ServerStatusResponse) ProtoMessage()
func (*ServerStatusResponse) Reset ¶
func (m *ServerStatusResponse) Reset()
func (*ServerStatusResponse) String ¶
func (m *ServerStatusResponse) String() string
func (*ServerStatusResponse) XXX_DiscardUnknown ¶
func (m *ServerStatusResponse) XXX_DiscardUnknown()
func (*ServerStatusResponse) XXX_Marshal ¶
func (m *ServerStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServerStatusResponse) XXX_Merge ¶
func (m *ServerStatusResponse) XXX_Merge(src proto.Message)
func (*ServerStatusResponse) XXX_Size ¶
func (m *ServerStatusResponse) XXX_Size() int
func (*ServerStatusResponse) XXX_Unmarshal ¶
func (m *ServerStatusResponse) XXX_Unmarshal(b []byte) error
type TCP ¶
type TCP struct {
SourcePort uint32 `protobuf:"varint,1,opt,name=source_port,json=sourcePort,proto3" json:"source_port,omitempty"`
DestinationPort uint32 `protobuf:"varint,2,opt,name=destination_port,json=destinationPort,proto3" json:"destination_port,omitempty"`
Flags *TCPFlags `protobuf:"bytes,3,opt,name=flags,proto3" json:"flags,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*TCP) Descriptor ¶
func (*TCP) GetDestinationPort ¶
func (*TCP) GetSourcePort ¶
func (*TCP) ProtoMessage ¶
func (*TCP) ProtoMessage()
func (*TCP) XXX_DiscardUnknown ¶
func (m *TCP) XXX_DiscardUnknown()
func (*TCP) XXX_Unmarshal ¶
type TCPFlags ¶
type TCPFlags struct {
FIN bool `protobuf:"varint,1,opt,name=FIN,proto3" json:"FIN,omitempty"`
SYN bool `protobuf:"varint,2,opt,name=SYN,proto3" json:"SYN,omitempty"`
RST bool `protobuf:"varint,3,opt,name=RST,proto3" json:"RST,omitempty"`
PSH bool `protobuf:"varint,4,opt,name=PSH,proto3" json:"PSH,omitempty"`
ACK bool `protobuf:"varint,5,opt,name=ACK,proto3" json:"ACK,omitempty"`
URG bool `protobuf:"varint,6,opt,name=URG,proto3" json:"URG,omitempty"`
ECE bool `protobuf:"varint,7,opt,name=ECE,proto3" json:"ECE,omitempty"`
CWR bool `protobuf:"varint,8,opt,name=CWR,proto3" json:"CWR,omitempty"`
NS bool `protobuf:"varint,9,opt,name=NS,proto3" json:"NS,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*TCPFlags) Descriptor ¶
func (*TCPFlags) ProtoMessage ¶
func (*TCPFlags) ProtoMessage()
func (*TCPFlags) XXX_DiscardUnknown ¶
func (m *TCPFlags) XXX_DiscardUnknown()
func (*TCPFlags) XXX_Marshal ¶
func (*TCPFlags) XXX_Unmarshal ¶
type Trace ¶
type Trace struct {
Time *timestamp.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
IP *IP `protobuf:"bytes,5,opt,name=IP,proto3" json:"IP,omitempty"`
L4 *Layer4 `protobuf:"bytes,6,opt,name=l4,proto3" json:"l4,omitempty"`
L7 *Layer7 `protobuf:"bytes,15,opt,name=l7,proto3" json:"l7,omitempty"`
Source *Endpoint `protobuf:"bytes,8,opt,name=source,proto3" json:"source,omitempty"`
Destination *Endpoint `protobuf:"bytes,9,opt,name=destination,proto3" json:"destination,omitempty"`
NodeName string `protobuf:"bytes,11,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Trace) Descriptor ¶
func (*Trace) GetDestination ¶
func (*Trace) GetNodeName ¶
func (*Trace) ProtoMessage ¶
func (*Trace) ProtoMessage()
func (*Trace) XXX_DiscardUnknown ¶
func (m *Trace) XXX_DiscardUnknown()
func (*Trace) XXX_Marshal ¶
func (*Trace) XXX_Unmarshal ¶
type TracerClient ¶
type TracerClient interface {
GetTraces(ctx context.Context, in *GetTracesRequest, opts ...grpc.CallOption) (Tracer_GetTracesClient, error)
ServerStatus(ctx context.Context, in *ServerStatusRequest, opts ...grpc.CallOption) (*ServerStatusResponse, error)
}
TracerClient is the client API for Tracer service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewTracerClient ¶
func NewTracerClient(cc grpc.ClientConnInterface) TracerClient
type TracerServer ¶
type TracerServer interface {
GetTraces(*GetTracesRequest, Tracer_GetTracesServer) error
ServerStatus(context.Context, *ServerStatusRequest) (*ServerStatusResponse, error)
}
TracerServer is the server API for Tracer service.
type Tracer_GetTracesClient ¶
type Tracer_GetTracesClient interface {
Recv() (*GetTracesResponse, error)
grpc.ClientStream
}
type Tracer_GetTracesServer ¶
type Tracer_GetTracesServer interface {
Send(*GetTracesResponse) error
grpc.ServerStream
}
type UDP ¶
type UDP struct {
SourcePort uint32 `protobuf:"varint,1,opt,name=source_port,json=sourcePort,proto3" json:"source_port,omitempty"`
DestinationPort uint32 `protobuf:"varint,2,opt,name=destination_port,json=destinationPort,proto3" json:"destination_port,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*UDP) Descriptor ¶
func (*UDP) GetDestinationPort ¶
func (*UDP) GetSourcePort ¶
func (*UDP) ProtoMessage ¶
func (*UDP) ProtoMessage()
func (*UDP) XXX_DiscardUnknown ¶
func (m *UDP) XXX_DiscardUnknown()
func (*UDP) XXX_Unmarshal ¶
type UnimplementedTracerServer ¶
type UnimplementedTracerServer struct {
}
UnimplementedTracerServer can be embedded to have forward compatible implementations.
func (*UnimplementedTracerServer) GetTraces ¶
func (*UnimplementedTracerServer) GetTraces(req *GetTracesRequest, srv Tracer_GetTracesServer) error
func (*UnimplementedTracerServer) ServerStatus ¶
func (*UnimplementedTracerServer) ServerStatus(ctx context.Context, req *ServerStatusRequest) (*ServerStatusResponse, error)
Click to show internal directories.
Click to hide internal directories.