Documentation
¶
Index ¶
Constants ¶
View Source
const (
// ObserverServiceName is the name of the observer service for the grpc health check
ObserverServiceName = "hubble.server.Observer"
)
Variables ¶
This section is empty.
Functions ¶
func FlowProtocol ¶
FlowProtocol returns the protocol best describing the flow. If available, this is the L7 protocol name, then the L4 protocol name.
Types ¶
type EndpointInfo ¶
type EndpointInfo interface {
GetID() uint64
GetIdentity() identity.NumericIdentity
GetK8sPodName() string
GetK8sNamespace() string
GetLabels() []string
}
EndpointInfo defines readable fields of a Cilium endpoint.
type Event ¶
type Event struct {
// Timestamp when event was observed in Hubble
Timestamp *timestamp.Timestamp
// Event contains the actual event
Event interface{}
}
Event represents a single event observed and stored by Hubble
type Flow ¶ added in v1.8.0
type Flow interface {
proto.Message
GetTime() *timestamp.Timestamp
GetVerdict() flowpb.Verdict
GetDropReason() uint32
GetEthernet() *flowpb.Ethernet
GetIP() *flowpb.IP
GetL4() *flowpb.Layer4
GetSource() *flowpb.Endpoint
GetDestination() *flowpb.Endpoint
GetType() flowpb.FlowType
GetNodeName() string
GetSourceNames() []string
GetDestinationNames() []string
GetL7() *flowpb.Layer7
GetIsReply() *wrappers.BoolValue
GetEventType() *flowpb.CiliumEventType
GetSourceService() *flowpb.Service
GetDestinationService() *flowpb.Service
GetTrafficDirection() flowpb.TrafficDirection
GetPolicyMatchType() uint32
GetSummary() string
}
Flow is an interface matching pb.Flow
Click to show internal directories.
Click to hide internal directories.