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 Event ¶
type Event struct { // Timestamp when event was observed in Hubble Timestamp *timestamppb.Timestamp // Event contains the actual event Event interface{} }
Event represents a single event observed and stored by Hubble
func (*Event) GetAgentEvent ¶
func (ev *Event) GetAgentEvent() *pb.AgentEvent
GetAgentEvent returns the decoded agent event, or nil if the event is nil or not an agent event
func (*Event) GetDebugEvent ¶
func (ev *Event) GetDebugEvent() *pb.DebugEvent
GetDebugEvent returns the decoded debug event, or nil if the event is nil or not an debug event
func (*Event) GetLostEvent ¶
GetLostEvent returns the decoded lost event, or nil if the event is nil or not a lost event
Click to show internal directories.
Click to hide internal directories.