Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterObserverServer(s grpc.ServiceRegistrar, srv ObserverServer)
- type AgentEvent
- type AgentEventType
- type AgentEventUnknown
- type AgentEvent_AgentStart
- type AgentEvent_EndpointRegenerate
- type AgentEvent_EndpointUpdate
- type AgentEvent_IpcacheUpdate
- type AgentEvent_PolicyUpdate
- type AgentEvent_ServiceDelete
- type AgentEvent_ServiceUpsert
- type AgentEvent_Unknown
- type AuthType
- type CiliumEventType
- type DNS
- type DebugCapturePoint
- type DebugEvent
- type DebugEventType
- type DropReason
- type Endpoint
- type EndpointRegenNotification
- type EndpointUpdateNotification
- type Ethernet
- type EventType
- type EventTypeFilter
- type ExportEvent
- func (*ExportEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ExportEvent) GetAgentEvent() *flow.AgentEvent
- func (x *ExportEvent) GetDebugEvent() *flow.DebugEvent
- func (x *ExportEvent) GetFlow() *flow.Flow
- func (x *ExportEvent) GetLostEvents() *flow.LostEvent
- func (x *ExportEvent) GetNodeName() string
- func (x *ExportEvent) GetNodeStatus() *relay.NodeStatusEvent
- func (m *ExportEvent) GetResponseTypes() isExportEvent_ResponseTypes
- func (x *ExportEvent) GetTime() *timestamppb.Timestamp
- func (msg *ExportEvent) MarshalJSON() ([]byte, error)
- func (*ExportEvent) ProtoMessage()
- func (x *ExportEvent) ProtoReflect() protoreflect.Message
- func (x *ExportEvent) Reset()
- func (x *ExportEvent) String() string
- func (msg *ExportEvent) UnmarshalJSON(b []byte) error
- type ExportEvent_AgentEvent
- type ExportEvent_DebugEvent
- type ExportEvent_Flow
- type ExportEvent_LostEvents
- type ExportEvent_NodeStatus
- type Flow
- type FlowFilter
- type FlowFilter_Experimental
- type FlowType
- type GetAgentEventsRequest
- func (*GetAgentEventsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAgentEventsRequest) GetFirst() bool
- func (x *GetAgentEventsRequest) GetFollow() bool
- func (x *GetAgentEventsRequest) GetNumber() uint64
- func (x *GetAgentEventsRequest) GetSince() *timestamppb.Timestamp
- func (x *GetAgentEventsRequest) GetUntil() *timestamppb.Timestamp
- func (msg *GetAgentEventsRequest) MarshalJSON() ([]byte, error)
- func (*GetAgentEventsRequest) ProtoMessage()
- func (x *GetAgentEventsRequest) ProtoReflect() protoreflect.Message
- func (x *GetAgentEventsRequest) Reset()
- func (x *GetAgentEventsRequest) String() string
- func (msg *GetAgentEventsRequest) UnmarshalJSON(b []byte) error
- type GetAgentEventsResponse
- func (*GetAgentEventsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAgentEventsResponse) GetAgentEvent() *flow.AgentEvent
- func (x *GetAgentEventsResponse) GetNodeName() string
- func (x *GetAgentEventsResponse) GetTime() *timestamppb.Timestamp
- func (msg *GetAgentEventsResponse) MarshalJSON() ([]byte, error)
- func (*GetAgentEventsResponse) ProtoMessage()
- func (x *GetAgentEventsResponse) ProtoReflect() protoreflect.Message
- func (x *GetAgentEventsResponse) Reset()
- func (x *GetAgentEventsResponse) String() string
- func (msg *GetAgentEventsResponse) UnmarshalJSON(b []byte) error
- type GetDebugEventsRequest
- func (*GetDebugEventsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDebugEventsRequest) GetFirst() bool
- func (x *GetDebugEventsRequest) GetFollow() bool
- func (x *GetDebugEventsRequest) GetNumber() uint64
- func (x *GetDebugEventsRequest) GetSince() *timestamppb.Timestamp
- func (x *GetDebugEventsRequest) GetUntil() *timestamppb.Timestamp
- func (msg *GetDebugEventsRequest) MarshalJSON() ([]byte, error)
- func (*GetDebugEventsRequest) ProtoMessage()
- func (x *GetDebugEventsRequest) ProtoReflect() protoreflect.Message
- func (x *GetDebugEventsRequest) Reset()
- func (x *GetDebugEventsRequest) String() string
- func (msg *GetDebugEventsRequest) UnmarshalJSON(b []byte) error
- type GetDebugEventsResponse
- func (*GetDebugEventsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetDebugEventsResponse) GetDebugEvent() *flow.DebugEvent
- func (x *GetDebugEventsResponse) GetNodeName() string
- func (x *GetDebugEventsResponse) GetTime() *timestamppb.Timestamp
- func (msg *GetDebugEventsResponse) MarshalJSON() ([]byte, error)
- func (*GetDebugEventsResponse) ProtoMessage()
- func (x *GetDebugEventsResponse) ProtoReflect() protoreflect.Message
- func (x *GetDebugEventsResponse) Reset()
- func (x *GetDebugEventsResponse) String() string
- func (msg *GetDebugEventsResponse) UnmarshalJSON(b []byte) error
- type GetFlowsRequest
- func (*GetFlowsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetFlowsRequest) GetBlacklist() []*flow.FlowFilter
- func (x *GetFlowsRequest) GetExperimental() *GetFlowsRequest_Experimental
- func (x *GetFlowsRequest) GetExtensions() *anypb.Any
- func (x *GetFlowsRequest) GetFieldMask() *fieldmaskpb.FieldMask
- func (x *GetFlowsRequest) GetFirst() bool
- func (x *GetFlowsRequest) GetFollow() bool
- func (x *GetFlowsRequest) GetNumber() uint64
- func (x *GetFlowsRequest) GetSince() *timestamppb.Timestamp
- func (x *GetFlowsRequest) GetUntil() *timestamppb.Timestamp
- func (x *GetFlowsRequest) GetWhitelist() []*flow.FlowFilter
- func (msg *GetFlowsRequest) MarshalJSON() ([]byte, error)
- func (*GetFlowsRequest) ProtoMessage()
- func (x *GetFlowsRequest) ProtoReflect() protoreflect.Message
- func (x *GetFlowsRequest) Reset()
- func (x *GetFlowsRequest) String() string
- func (msg *GetFlowsRequest) UnmarshalJSON(b []byte) error
- type GetFlowsRequest_Experimental
- func (*GetFlowsRequest_Experimental) Descriptor() ([]byte, []int)deprecated
- func (x *GetFlowsRequest_Experimental) GetFieldMask() *fieldmaskpb.FieldMaskdeprecated
- func (msg *GetFlowsRequest_Experimental) MarshalJSON() ([]byte, error)
- func (*GetFlowsRequest_Experimental) ProtoMessage()
- func (x *GetFlowsRequest_Experimental) ProtoReflect() protoreflect.Message
- func (x *GetFlowsRequest_Experimental) Reset()
- func (x *GetFlowsRequest_Experimental) String() string
- func (msg *GetFlowsRequest_Experimental) UnmarshalJSON(b []byte) error
- type GetFlowsResponse
- func (*GetFlowsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetFlowsResponse) GetFlow() *flow.Flow
- func (x *GetFlowsResponse) GetLostEvents() *flow.LostEvent
- func (x *GetFlowsResponse) GetNodeName() string
- func (x *GetFlowsResponse) GetNodeStatus() *relay.NodeStatusEvent
- func (m *GetFlowsResponse) GetResponseTypes() isGetFlowsResponse_ResponseTypes
- func (x *GetFlowsResponse) GetTime() *timestamppb.Timestamp
- func (msg *GetFlowsResponse) MarshalJSON() ([]byte, error)
- func (*GetFlowsResponse) ProtoMessage()
- func (x *GetFlowsResponse) ProtoReflect() protoreflect.Message
- func (x *GetFlowsResponse) Reset()
- func (x *GetFlowsResponse) String() string
- func (msg *GetFlowsResponse) UnmarshalJSON(b []byte) error
- type GetFlowsResponse_Flow
- type GetFlowsResponse_LostEvents
- type GetFlowsResponse_NodeStatus
- type GetNamespacesRequest
- func (*GetNamespacesRequest) Descriptor() ([]byte, []int)deprecated
- func (msg *GetNamespacesRequest) MarshalJSON() ([]byte, error)
- func (*GetNamespacesRequest) ProtoMessage()
- func (x *GetNamespacesRequest) ProtoReflect() protoreflect.Message
- func (x *GetNamespacesRequest) Reset()
- func (x *GetNamespacesRequest) String() string
- func (msg *GetNamespacesRequest) UnmarshalJSON(b []byte) error
- type GetNamespacesResponse
- func (*GetNamespacesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetNamespacesResponse) GetNamespaces() []*Namespace
- func (msg *GetNamespacesResponse) MarshalJSON() ([]byte, error)
- func (*GetNamespacesResponse) ProtoMessage()
- func (x *GetNamespacesResponse) ProtoReflect() protoreflect.Message
- func (x *GetNamespacesResponse) Reset()
- func (x *GetNamespacesResponse) String() string
- func (msg *GetNamespacesResponse) UnmarshalJSON(b []byte) error
- type GetNodesRequest
- func (*GetNodesRequest) Descriptor() ([]byte, []int)deprecated
- func (msg *GetNodesRequest) MarshalJSON() ([]byte, error)
- func (*GetNodesRequest) ProtoMessage()
- func (x *GetNodesRequest) ProtoReflect() protoreflect.Message
- func (x *GetNodesRequest) Reset()
- func (x *GetNodesRequest) String() string
- func (msg *GetNodesRequest) UnmarshalJSON(b []byte) error
- type GetNodesResponse
- func (*GetNodesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetNodesResponse) GetNodes() []*Node
- func (msg *GetNodesResponse) MarshalJSON() ([]byte, error)
- func (*GetNodesResponse) ProtoMessage()
- func (x *GetNodesResponse) ProtoReflect() protoreflect.Message
- func (x *GetNodesResponse) Reset()
- func (x *GetNodesResponse) String() string
- func (msg *GetNodesResponse) UnmarshalJSON(b []byte) error
- type HTTP
- type HTTPHeader
- type ICMPv4
- type ICMPv6
- type IP
- type IPCacheNotification
- type IPVersion
- type Kafka
- type L7FlowType
- type Layer4
- type Layer4_ICMPv4
- type Layer4_ICMPv6
- type Layer4_SCTP
- type Layer4_TCP
- type Layer4_UDP
- type Layer7
- type Layer7_Dns
- type Layer7_Http
- type Layer7_Kafka
- type LostEvent
- type LostEventSource
- type Namespace
- func (*Namespace) Descriptor() ([]byte, []int)deprecated
- func (x *Namespace) GetCluster() string
- func (x *Namespace) GetNamespace() string
- func (msg *Namespace) MarshalJSON() ([]byte, error)
- func (*Namespace) ProtoMessage()
- func (x *Namespace) ProtoReflect() protoreflect.Message
- func (x *Namespace) Reset()
- func (x *Namespace) String() string
- func (msg *Namespace) UnmarshalJSON(b []byte) error
- type NetworkInterface
- type Node
- func (*Node) Descriptor() ([]byte, []int)deprecated
- func (x *Node) GetAddress() string
- func (x *Node) GetMaxFlows() uint64
- func (x *Node) GetName() string
- func (x *Node) GetNumFlows() uint64
- func (x *Node) GetSeenFlows() uint64
- func (x *Node) GetState() relay.NodeState
- func (x *Node) GetTls() *TLS
- func (x *Node) GetUptimeNs() uint64
- func (x *Node) GetVersion() string
- func (msg *Node) MarshalJSON() ([]byte, error)
- func (*Node) ProtoMessage()
- func (x *Node) ProtoReflect() protoreflect.Message
- func (x *Node) Reset()
- func (x *Node) String() string
- func (msg *Node) UnmarshalJSON(b []byte) error
- type ObserverClient
- type ObserverServer
- type Observer_GetAgentEventsClient
- type Observer_GetAgentEventsServer
- type Observer_GetDebugEventsClient
- type Observer_GetDebugEventsServer
- type Observer_GetFlowsClient
- type Observer_GetFlowsServer
- type Policy
- type PolicyUpdateNotification
- type SCTP
- type ServerStatusRequest
- func (*ServerStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (msg *ServerStatusRequest) MarshalJSON() ([]byte, error)
- func (*ServerStatusRequest) ProtoMessage()
- func (x *ServerStatusRequest) ProtoReflect() protoreflect.Message
- func (x *ServerStatusRequest) Reset()
- func (x *ServerStatusRequest) String() string
- func (msg *ServerStatusRequest) UnmarshalJSON(b []byte) error
- type ServerStatusResponse
- func (*ServerStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ServerStatusResponse) GetFlowsRate() float64
- func (x *ServerStatusResponse) GetMaxFlows() uint64
- func (x *ServerStatusResponse) GetNumConnectedNodes() *wrapperspb.UInt32Value
- func (x *ServerStatusResponse) GetNumFlows() uint64
- func (x *ServerStatusResponse) GetNumUnavailableNodes() *wrapperspb.UInt32Value
- func (x *ServerStatusResponse) GetSeenFlows() uint64
- func (x *ServerStatusResponse) GetUnavailableNodes() []string
- func (x *ServerStatusResponse) GetUptimeNs() uint64
- func (x *ServerStatusResponse) GetVersion() string
- func (msg *ServerStatusResponse) MarshalJSON() ([]byte, error)
- func (*ServerStatusResponse) ProtoMessage()
- func (x *ServerStatusResponse) ProtoReflect() protoreflect.Message
- func (x *ServerStatusResponse) Reset()
- func (x *ServerStatusResponse) String() string
- func (msg *ServerStatusResponse) UnmarshalJSON(b []byte) error
- type Service
- type ServiceDeleteNotification
- type ServiceUpsertNotification
- type ServiceUpsertNotificationAddr
- type SocketTranslationPoint
- type TCP
- type TCPFlags
- type TLS
- func (*TLS) Descriptor() ([]byte, []int)deprecated
- func (x *TLS) GetEnabled() bool
- func (x *TLS) GetServerName() string
- func (msg *TLS) MarshalJSON() ([]byte, error)
- func (*TLS) ProtoMessage()
- func (x *TLS) ProtoReflect() protoreflect.Message
- func (x *TLS) Reset()
- func (x *TLS) String() string
- func (msg *TLS) UnmarshalJSON(b []byte) error
- type TimeNotification
- type TraceContext
- type TraceObservationPoint
- type TraceParent
- type TraceReason
- type TrafficDirection
- type UDP
- type UnimplementedObserverServer
- func (UnimplementedObserverServer) GetAgentEvents(*GetAgentEventsRequest, Observer_GetAgentEventsServer) error
- func (UnimplementedObserverServer) GetDebugEvents(*GetDebugEventsRequest, Observer_GetDebugEventsServer) error
- func (UnimplementedObserverServer) GetFlows(*GetFlowsRequest, Observer_GetFlowsServer) error
- func (UnimplementedObserverServer) GetNamespaces(context.Context, *GetNamespacesRequest) (*GetNamespacesResponse, error)
- func (UnimplementedObserverServer) GetNodes(context.Context, *GetNodesRequest) (*GetNodesResponse, error)
- func (UnimplementedObserverServer) ServerStatus(context.Context, *ServerStatusRequest) (*ServerStatusResponse, error)
- type UnsafeObserverServer
- type Verdict
- type Workload
Constants ¶
const ( Observer_GetFlows_FullMethodName = "/observer.Observer/GetFlows" Observer_GetAgentEvents_FullMethodName = "/observer.Observer/GetAgentEvents" Observer_GetDebugEvents_FullMethodName = "/observer.Observer/GetDebugEvents" Observer_GetNodes_FullMethodName = "/observer.Observer/GetNodes" Observer_GetNamespaces_FullMethodName = "/observer.Observer/GetNamespaces" Observer_ServerStatus_FullMethodName = "/observer.Observer/ServerStatus" )
const AgentEventType_AGENT_EVENT_UNKNOWN = flow.AgentEventType_AGENT_EVENT_UNKNOWN
const AgentEventType_AGENT_STARTED = flow.AgentEventType_AGENT_STARTED
const AgentEventType_ENDPOINT_CREATED = flow.AgentEventType_ENDPOINT_CREATED
const AgentEventType_ENDPOINT_DELETED = flow.AgentEventType_ENDPOINT_DELETED
const AgentEventType_ENDPOINT_REGENERATE_FAILURE = flow.AgentEventType_ENDPOINT_REGENERATE_FAILURE
const AgentEventType_ENDPOINT_REGENERATE_SUCCESS = flow.AgentEventType_ENDPOINT_REGENERATE_SUCCESS
const AgentEventType_IPCACHE_DELETED = flow.AgentEventType_IPCACHE_DELETED
const AgentEventType_IPCACHE_UPSERTED = flow.AgentEventType_IPCACHE_UPSERTED
const AgentEventType_POLICY_DELETED = flow.AgentEventType_POLICY_DELETED
const AgentEventType_POLICY_UPDATED = flow.AgentEventType_POLICY_UPDATED
const AgentEventType_SERVICE_DELETED = flow.AgentEventType_SERVICE_DELETED
const AgentEventType_SERVICE_UPSERTED = flow.AgentEventType_SERVICE_UPSERTED
const AuthType_DISABLED = flow.AuthType_DISABLED
const AuthType_SPIRE = flow.AuthType_SPIRE
const AuthType_TEST_ALWAYS_FAIL = flow.AuthType_TEST_ALWAYS_FAIL
const DebugCapturePoint_DBG_CAPTURE_AFTER_V46 = flow.DebugCapturePoint_DBG_CAPTURE_AFTER_V46
const DebugCapturePoint_DBG_CAPTURE_AFTER_V64 = flow.DebugCapturePoint_DBG_CAPTURE_AFTER_V64
const DebugCapturePoint_DBG_CAPTURE_DELIVERY = flow.DebugCapturePoint_DBG_CAPTURE_DELIVERY
const DebugCapturePoint_DBG_CAPTURE_FROM_LB = flow.DebugCapturePoint_DBG_CAPTURE_FROM_LB
const DebugCapturePoint_DBG_CAPTURE_POINT_UNKNOWN = flow.DebugCapturePoint_DBG_CAPTURE_POINT_UNKNOWN
const DebugCapturePoint_DBG_CAPTURE_PROXY_POST = flow.DebugCapturePoint_DBG_CAPTURE_PROXY_POST
const DebugCapturePoint_DBG_CAPTURE_PROXY_PRE = flow.DebugCapturePoint_DBG_CAPTURE_PROXY_PRE
const DebugCapturePoint_DBG_CAPTURE_SNAT_POST = flow.DebugCapturePoint_DBG_CAPTURE_SNAT_POST
const DebugCapturePoint_DBG_CAPTURE_SNAT_PRE = flow.DebugCapturePoint_DBG_CAPTURE_SNAT_PRE
const DebugEventType_DBG_CT_CREATED = flow.DebugEventType_DBG_CT_CREATED
const DebugEventType_DBG_CT_CREATED2 = flow.DebugEventType_DBG_CT_CREATED2
const DebugEventType_DBG_CT_CREATED4 = flow.DebugEventType_DBG_CT_CREATED4
const DebugEventType_DBG_CT_CREATED6 = flow.DebugEventType_DBG_CT_CREATED6
const DebugEventType_DBG_CT_LOOKUP = flow.DebugEventType_DBG_CT_LOOKUP
const DebugEventType_DBG_CT_LOOKUP4 = flow.DebugEventType_DBG_CT_LOOKUP4
const DebugEventType_DBG_CT_LOOKUP4_1 = flow.DebugEventType_DBG_CT_LOOKUP4_1
const DebugEventType_DBG_CT_LOOKUP4_2 = flow.DebugEventType_DBG_CT_LOOKUP4_2
const DebugEventType_DBG_CT_LOOKUP6_1 = flow.DebugEventType_DBG_CT_LOOKUP6_1
const DebugEventType_DBG_CT_LOOKUP6_2 = flow.DebugEventType_DBG_CT_LOOKUP6_2
const DebugEventType_DBG_CT_LOOKUP_REV = flow.DebugEventType_DBG_CT_LOOKUP_REV
const DebugEventType_DBG_CT_MATCH = flow.DebugEventType_DBG_CT_MATCH
const DebugEventType_DBG_CT_VERDICT = flow.DebugEventType_DBG_CT_VERDICT
const DebugEventType_DBG_DECAP = flow.DebugEventType_DBG_DECAP
const DebugEventType_DBG_ENCAP = flow.DebugEventType_DBG_ENCAP
const DebugEventType_DBG_ERROR_RET = flow.DebugEventType_DBG_ERROR_RET
const DebugEventType_DBG_EVENT_UNKNOWN = flow.DebugEventType_DBG_EVENT_UNKNOWN
const DebugEventType_DBG_GENERIC = flow.DebugEventType_DBG_GENERIC
const DebugEventType_DBG_ICMP6_HANDLE = flow.DebugEventType_DBG_ICMP6_HANDLE
const DebugEventType_DBG_ICMP6_NS = flow.DebugEventType_DBG_ICMP6_NS
const DebugEventType_DBG_ICMP6_REQUEST = flow.DebugEventType_DBG_ICMP6_REQUEST
const DebugEventType_DBG_ICMP6_TIME_EXCEEDED = flow.DebugEventType_DBG_ICMP6_TIME_EXCEEDED
const DebugEventType_DBG_INHERIT_IDENTITY = flow.DebugEventType_DBG_INHERIT_IDENTITY
const DebugEventType_DBG_IP_ID_MAP_FAILED4 = flow.DebugEventType_DBG_IP_ID_MAP_FAILED4
const DebugEventType_DBG_IP_ID_MAP_FAILED6 = flow.DebugEventType_DBG_IP_ID_MAP_FAILED6
const DebugEventType_DBG_IP_ID_MAP_SUCCEED4 = flow.DebugEventType_DBG_IP_ID_MAP_SUCCEED4
const DebugEventType_DBG_IP_ID_MAP_SUCCEED6 = flow.DebugEventType_DBG_IP_ID_MAP_SUCCEED6
const DebugEventType_DBG_L4_CREATE = flow.DebugEventType_DBG_L4_CREATE
const DebugEventType_DBG_L4_POLICY = flow.DebugEventType_DBG_L4_POLICY
const DebugEventType_DBG_L7_LB = flow.DebugEventType_DBG_L7_LB
const DebugEventType_DBG_LB4_LOOKUP_BACKEND_FAIL = flow.DebugEventType_DBG_LB4_LOOKUP_BACKEND_FAIL
const DebugEventType_DBG_LB4_LOOKUP_BACKEND_SLOT = flow.DebugEventType_DBG_LB4_LOOKUP_BACKEND_SLOT
const DebugEventType_DBG_LB4_LOOKUP_BACKEND_SLOT_SUCCESS = flow.DebugEventType_DBG_LB4_LOOKUP_BACKEND_SLOT_SUCCESS
const DebugEventType_DBG_LB4_LOOKUP_BACKEND_SLOT_V2_FAIL = flow.DebugEventType_DBG_LB4_LOOKUP_BACKEND_SLOT_V2_FAIL
const DebugEventType_DBG_LB4_LOOKUP_FRONTEND = flow.DebugEventType_DBG_LB4_LOOKUP_FRONTEND
const DebugEventType_DBG_LB4_LOOKUP_FRONTEND_FAIL = flow.DebugEventType_DBG_LB4_LOOKUP_FRONTEND_FAIL
const DebugEventType_DBG_LB4_LOOPBACK_SNAT = flow.DebugEventType_DBG_LB4_LOOPBACK_SNAT
const DebugEventType_DBG_LB4_LOOPBACK_SNAT_REV = flow.DebugEventType_DBG_LB4_LOOPBACK_SNAT_REV
const DebugEventType_DBG_LB4_REVERSE_NAT = flow.DebugEventType_DBG_LB4_REVERSE_NAT
const DebugEventType_DBG_LB4_REVERSE_NAT_LOOKUP = flow.DebugEventType_DBG_LB4_REVERSE_NAT_LOOKUP
const DebugEventType_DBG_LB6_LOOKUP_BACKEND_FAIL = flow.DebugEventType_DBG_LB6_LOOKUP_BACKEND_FAIL
const DebugEventType_DBG_LB6_LOOKUP_BACKEND_SLOT = flow.DebugEventType_DBG_LB6_LOOKUP_BACKEND_SLOT
const DebugEventType_DBG_LB6_LOOKUP_BACKEND_SLOT_SUCCESS = flow.DebugEventType_DBG_LB6_LOOKUP_BACKEND_SLOT_SUCCESS
const DebugEventType_DBG_LB6_LOOKUP_BACKEND_SLOT_V2_FAIL = flow.DebugEventType_DBG_LB6_LOOKUP_BACKEND_SLOT_V2_FAIL
const DebugEventType_DBG_LB6_LOOKUP_FRONTEND = flow.DebugEventType_DBG_LB6_LOOKUP_FRONTEND
const DebugEventType_DBG_LB6_LOOKUP_FRONTEND_FAIL = flow.DebugEventType_DBG_LB6_LOOKUP_FRONTEND_FAIL
const DebugEventType_DBG_LB6_REVERSE_NAT = flow.DebugEventType_DBG_LB6_REVERSE_NAT
const DebugEventType_DBG_LB6_REVERSE_NAT_LOOKUP = flow.DebugEventType_DBG_LB6_REVERSE_NAT_LOOKUP
const DebugEventType_DBG_LB_STALE_CT = flow.DebugEventType_DBG_LB_STALE_CT
const DebugEventType_DBG_LOCAL_DELIVERY = flow.DebugEventType_DBG_LOCAL_DELIVERY
const DebugEventType_DBG_LXC_FOUND = flow.DebugEventType_DBG_LXC_FOUND
const DebugEventType_DBG_NETDEV_ENCAP4 = flow.DebugEventType_DBG_NETDEV_ENCAP4
const DebugEventType_DBG_NETDEV_IN_CLUSTER = flow.DebugEventType_DBG_NETDEV_IN_CLUSTER
const DebugEventType_DBG_PKT_HASH = flow.DebugEventType_DBG_PKT_HASH
const DebugEventType_DBG_POLICY_DENIED = flow.DebugEventType_DBG_POLICY_DENIED
const DebugEventType_DBG_PORT_MAP = flow.DebugEventType_DBG_PORT_MAP
const DebugEventType_DBG_REV_PROXY_FOUND = flow.DebugEventType_DBG_REV_PROXY_FOUND
const DebugEventType_DBG_REV_PROXY_LOOKUP = flow.DebugEventType_DBG_REV_PROXY_LOOKUP
const DebugEventType_DBG_REV_PROXY_UPDATE = flow.DebugEventType_DBG_REV_PROXY_UPDATE
const DebugEventType_DBG_RR_BACKEND_SLOT_SEL = flow.DebugEventType_DBG_RR_BACKEND_SLOT_SEL
const DebugEventType_DBG_SKIP_POLICY = flow.DebugEventType_DBG_SKIP_POLICY
const DebugEventType_DBG_SKIP_PROXY = flow.DebugEventType_DBG_SKIP_PROXY
const DebugEventType_DBG_SK_ASSIGN = flow.DebugEventType_DBG_SK_ASSIGN
const DebugEventType_DBG_SK_LOOKUP4 = flow.DebugEventType_DBG_SK_LOOKUP4
const DebugEventType_DBG_SK_LOOKUP6 = flow.DebugEventType_DBG_SK_LOOKUP6
const DebugEventType_DBG_TO_HOST = flow.DebugEventType_DBG_TO_HOST
const DebugEventType_DBG_TO_STACK = flow.DebugEventType_DBG_TO_STACK
const DropReason_AUTH_REQUIRED = flow.DropReason_AUTH_REQUIRED
const DropReason_CT_CANNOT_CREATE_ENTRY_FROM_PACKET = flow.DropReason_CT_CANNOT_CREATE_ENTRY_FROM_PACKET
const DropReason_CT_MAP_INSERTION_FAILED = flow.DropReason_CT_MAP_INSERTION_FAILED
const DropReason_CT_MISSING_TCP_ACK_FLAG = flow.DropReason_CT_MISSING_TCP_ACK_FLAG
const DropReason_CT_NO_MAP_FOUND = flow.DropReason_CT_NO_MAP_FOUND
const DropReason_CT_TRUNCATED_OR_INVALID_HEADER = flow.DropReason_CT_TRUNCATED_OR_INVALID_HEADER
const DropReason_CT_UNKNOWN_L4_PROTOCOL = flow.DropReason_CT_UNKNOWN_L4_PROTOCOL
const DropReason_DENIED_BY_LB_SRC_RANGE_CHECK = flow.DropReason_DENIED_BY_LB_SRC_RANGE_CHECK
const DropReason_DROP_EP_NOT_READY = flow.DropReason_DROP_EP_NOT_READY
const DropReason_DROP_HOST_NOT_READY = flow.DropReason_DROP_HOST_NOT_READY
const DropReason_DROP_RATE_LIMITED = flow.DropReason_DROP_RATE_LIMITED
const DropReason_DROP_REASON_UNKNOWN = flow.DropReason_DROP_REASON_UNKNOWN
const DropReason_ENCAPSULATION_TRAFFIC_IS_PROHIBITED = flow.DropReason_ENCAPSULATION_TRAFFIC_IS_PROHIBITED
const DropReason_ERROR_RETRIEVING_TUNNEL_KEY = flow.DropReason_ERROR_RETRIEVING_TUNNEL_KEY
const DropReason_ERROR_RETRIEVING_TUNNEL_OPTIONS = flow.DropReason_ERROR_RETRIEVING_TUNNEL_OPTIONS
const DropReason_ERROR_WHILE_CORRECTING_L3_CHECKSUM = flow.DropReason_ERROR_WHILE_CORRECTING_L3_CHECKSUM
const DropReason_ERROR_WHILE_CORRECTING_L4_CHECKSUM = flow.DropReason_ERROR_WHILE_CORRECTING_L4_CHECKSUM
const DropReason_ERROR_WRITING_TO_PACKET = flow.DropReason_ERROR_WRITING_TO_PACKET
const DropReason_FAILED_TO_INSERT_INTO_PROXYMAP = flow.DropReason_FAILED_TO_INSERT_INTO_PROXYMAP
const DropReason_FIB_LOOKUP_FAILED = flow.DropReason_FIB_LOOKUP_FAILED
const DropReason_FIRST_LOGICAL_DATAGRAM_FRAGMENT_NOT_FOUND = flow.DropReason_FIRST_LOGICAL_DATAGRAM_FRAGMENT_NOT_FOUND
const DropReason_FORBIDDEN_ICMPV6_MESSAGE = flow.DropReason_FORBIDDEN_ICMPV6_MESSAGE
const DropReason_IGMP_HANDLED = flow.DropReason_IGMP_HANDLED
const DropReason_IGMP_SUBSCRIBED = flow.DropReason_IGMP_SUBSCRIBED
const DropReason_INVALID_CLUSTER_ID = flow.DropReason_INVALID_CLUSTER_ID
const DropReason_INVALID_DESTINATION_MAC = flow.DropReason_INVALID_DESTINATION_MAC
const DropReason_INVALID_GENEVE_OPTION = flow.DropReason_INVALID_GENEVE_OPTION
const DropReason_INVALID_IDENTITY = flow.DropReason_INVALID_IDENTITY
const DropReason_INVALID_IPV6_EXTENSION_HEADER = flow.DropReason_INVALID_IPV6_EXTENSION_HEADER
const DropReason_INVALID_PACKET_DROPPED = flow.DropReason_INVALID_PACKET_DROPPED
const DropReason_INVALID_SOURCE_IP = flow.DropReason_INVALID_SOURCE_IP
const DropReason_INVALID_SOURCE_MAC = flow.DropReason_INVALID_SOURCE_MAC
const DropReason_INVALID_TC_BUFFER = flow.DropReason_INVALID_TC_BUFFER
const DropReason_INVALID_VNI = flow.DropReason_INVALID_VNI
const DropReason_IP_FRAGMENTATION_NOT_SUPPORTED = flow.DropReason_IP_FRAGMENTATION_NOT_SUPPORTED
const DropReason_IS_A_CLUSTERIP = flow.DropReason_IS_A_CLUSTERIP
const DropReason_LOCAL_HOST_IS_UNREACHABLE = flow.DropReason_LOCAL_HOST_IS_UNREACHABLE
const DropReason_MISSED_TAIL_CALL = flow.DropReason_MISSED_TAIL_CALL
const DropReason_MISSING_SRV6_STATE = flow.DropReason_MISSING_SRV6_STATE
const DropReason_MULTICAST_HANDLED = flow.DropReason_MULTICAST_HANDLED
const DropReason_NAT46 = flow.DropReason_NAT46
const DropReason_NAT64 = flow.DropReason_NAT64
const DropReason_NAT_NOT_NEEDED = flow.DropReason_NAT_NOT_NEEDED
const DropReason_NO_CONFIGURATION_AVAILABLE_TO_PERFORM_POLICY_DECISION = flow.DropReason_NO_CONFIGURATION_AVAILABLE_TO_PERFORM_POLICY_DECISION
const DropReason_NO_EGRESS_GATEWAY = flow.DropReason_NO_EGRESS_GATEWAY
const DropReason_NO_MAPPING_FOR_NAT_MASQUERADE = flow.DropReason_NO_MAPPING_FOR_NAT_MASQUERADE
const DropReason_NO_MATCHING_LOCAL_CONTAINER_FOUND = flow.DropReason_NO_MATCHING_LOCAL_CONTAINER_FOUND
const DropReason_NO_NODE_ID = flow.DropReason_NO_NODE_ID
const DropReason_NO_SID = flow.DropReason_NO_SID
const DropReason_NO_TUNNEL_OR_ENCAPSULATION_ENDPOINT = flow.DropReason_NO_TUNNEL_OR_ENCAPSULATION_ENDPOINT
const DropReason_POLICY_DENIED = flow.DropReason_POLICY_DENIED
const DropReason_POLICY_DENY = flow.DropReason_POLICY_DENY
const DropReason_PROXY_REDIRECTION_NOT_SUPPORTED_FOR_PROTOCOL = flow.DropReason_PROXY_REDIRECTION_NOT_SUPPORTED_FOR_PROTOCOL
const DropReason_REACHED_EDT_RATE_LIMITING_DROP_HORIZON = flow.DropReason_REACHED_EDT_RATE_LIMITING_DROP_HORIZON
const DropReason_SERVICE_BACKEND_NOT_FOUND = flow.DropReason_SERVICE_BACKEND_NOT_FOUND
const DropReason_SNAT_NO_MAP_FOUND = flow.DropReason_SNAT_NO_MAP_FOUND
const DropReason_SOCKET_ASSIGN_FAILED = flow.DropReason_SOCKET_ASSIGN_FAILED
const DropReason_SOCKET_LOOKUP_FAILED = flow.DropReason_SOCKET_LOOKUP_FAILED
const DropReason_STALE_OR_UNROUTABLE_IP = flow.DropReason_STALE_OR_UNROUTABLE_IP
const DropReason_TTL_EXCEEDED = flow.DropReason_TTL_EXCEEDED
const DropReason_UNENCRYPTED_TRAFFIC = flow.DropReason_UNENCRYPTED_TRAFFIC
const DropReason_UNKNOWN_CONNECTION_TRACKING_STATE = flow.DropReason_UNKNOWN_CONNECTION_TRACKING_STATE
const DropReason_UNKNOWN_ICMPV4_CODE = flow.DropReason_UNKNOWN_ICMPV4_CODE
const DropReason_UNKNOWN_ICMPV4_TYPE = flow.DropReason_UNKNOWN_ICMPV4_TYPE
const DropReason_UNKNOWN_ICMPV6_CODE = flow.DropReason_UNKNOWN_ICMPV6_CODE
const DropReason_UNKNOWN_ICMPV6_TYPE = flow.DropReason_UNKNOWN_ICMPV6_TYPE
const DropReason_UNKNOWN_L3_TARGET_ADDRESS = flow.DropReason_UNKNOWN_L3_TARGET_ADDRESS
const DropReason_UNKNOWN_L4_PROTOCOL = flow.DropReason_UNKNOWN_L4_PROTOCOL
const DropReason_UNKNOWN_SENDER = flow.DropReason_UNKNOWN_SENDER
const DropReason_UNSUPPORTED_L2_PROTOCOL = flow.DropReason_UNSUPPORTED_L2_PROTOCOL
const DropReason_UNSUPPORTED_L3_PROTOCOL = flow.DropReason_UNSUPPORTED_L3_PROTOCOL
const DropReason_UNSUPPORTED_PROTOCOL_FOR_DSR_ENCAP = flow.DropReason_UNSUPPORTED_PROTOCOL_FOR_DSR_ENCAP
const DropReason_UNSUPPORTED_PROTOCOL_FOR_NAT_MASQUERADE = flow.DropReason_UNSUPPORTED_PROTOCOL_FOR_NAT_MASQUERADE
const DropReason_VLAN_FILTERED = flow.DropReason_VLAN_FILTERED
const EventType_EventSample = flow.EventType_EventSample
const EventType_RecordLost = flow.EventType_RecordLost
const EventType_UNKNOWN = flow.EventType_UNKNOWN
const FlowType_L3_L4 = flow.FlowType_L3_L4
const FlowType_L7 = flow.FlowType_L7
const FlowType_SOCK = flow.FlowType_SOCK
const FlowType_UNKNOWN_TYPE = flow.FlowType_UNKNOWN_TYPE
const IPVersion_IP_NOT_USED = flow.IPVersion_IP_NOT_USED
const IPVersion_IPv4 = flow.IPVersion_IPv4
const IPVersion_IPv6 = flow.IPVersion_IPv6
const L7FlowType_REQUEST = flow.L7FlowType_REQUEST
const L7FlowType_RESPONSE = flow.L7FlowType_RESPONSE
const L7FlowType_SAMPLE = flow.L7FlowType_SAMPLE
const L7FlowType_UNKNOWN_L7_TYPE = flow.L7FlowType_UNKNOWN_L7_TYPE
const LostEventSource_HUBBLE_RING_BUFFER = flow.LostEventSource_HUBBLE_RING_BUFFER
const LostEventSource_OBSERVER_EVENTS_QUEUE = flow.LostEventSource_OBSERVER_EVENTS_QUEUE
const LostEventSource_PERF_EVENT_RING_BUFFER = flow.LostEventSource_PERF_EVENT_RING_BUFFER
const LostEventSource_UNKNOWN_LOST_EVENT_SOURCE = flow.LostEventSource_UNKNOWN_LOST_EVENT_SOURCE
const SocketTranslationPoint_SOCK_XLATE_POINT_POST_DIRECTION_FWD = flow.SocketTranslationPoint_SOCK_XLATE_POINT_POST_DIRECTION_FWD
const SocketTranslationPoint_SOCK_XLATE_POINT_POST_DIRECTION_REV = flow.SocketTranslationPoint_SOCK_XLATE_POINT_POST_DIRECTION_REV
const SocketTranslationPoint_SOCK_XLATE_POINT_PRE_DIRECTION_FWD = flow.SocketTranslationPoint_SOCK_XLATE_POINT_PRE_DIRECTION_FWD
const SocketTranslationPoint_SOCK_XLATE_POINT_PRE_DIRECTION_REV = flow.SocketTranslationPoint_SOCK_XLATE_POINT_PRE_DIRECTION_REV
const SocketTranslationPoint_SOCK_XLATE_POINT_UNKNOWN = flow.SocketTranslationPoint_SOCK_XLATE_POINT_UNKNOWN
const TraceObservationPoint_FROM_ENDPOINT = flow.TraceObservationPoint_FROM_ENDPOINT
const TraceObservationPoint_FROM_HOST = flow.TraceObservationPoint_FROM_HOST
const TraceObservationPoint_FROM_NETWORK = flow.TraceObservationPoint_FROM_NETWORK
const TraceObservationPoint_FROM_OVERLAY = flow.TraceObservationPoint_FROM_OVERLAY
const TraceObservationPoint_FROM_PROXY = flow.TraceObservationPoint_FROM_PROXY
const TraceObservationPoint_FROM_STACK = flow.TraceObservationPoint_FROM_STACK
const TraceObservationPoint_TO_ENDPOINT = flow.TraceObservationPoint_TO_ENDPOINT
const TraceObservationPoint_TO_HOST = flow.TraceObservationPoint_TO_HOST
const TraceObservationPoint_TO_NETWORK = flow.TraceObservationPoint_TO_NETWORK
const TraceObservationPoint_TO_OVERLAY = flow.TraceObservationPoint_TO_OVERLAY
const TraceObservationPoint_TO_PROXY = flow.TraceObservationPoint_TO_PROXY
const TraceObservationPoint_TO_STACK = flow.TraceObservationPoint_TO_STACK
const TraceObservationPoint_UNKNOWN_POINT = flow.TraceObservationPoint_UNKNOWN_POINT
const TraceReason_ENCRYPT_OVERLAY = flow.TraceReason_ENCRYPT_OVERLAY
const TraceReason_ESTABLISHED = flow.TraceReason_ESTABLISHED
const TraceReason_NEW = flow.TraceReason_NEW
const TraceReason_RELATED = flow.TraceReason_RELATED
const TraceReason_REOPENED = flow.TraceReason_REOPENED
const TraceReason_REPLY = flow.TraceReason_REPLY
const TraceReason_SRV6_DECAP = flow.TraceReason_SRV6_DECAP
const TraceReason_SRV6_ENCAP = flow.TraceReason_SRV6_ENCAP
const TraceReason_TRACE_REASON_UNKNOWN = flow.TraceReason_TRACE_REASON_UNKNOWN
const TrafficDirection_EGRESS = flow.TrafficDirection_EGRESS
const TrafficDirection_INGRESS = flow.TrafficDirection_INGRESS
const TrafficDirection_TRAFFIC_DIRECTION_UNKNOWN = flow.TrafficDirection_TRAFFIC_DIRECTION_UNKNOWN
const Verdict_AUDIT = flow.Verdict_AUDIT
const Verdict_DROPPED = flow.Verdict_DROPPED
const Verdict_ERROR = flow.Verdict_ERROR
const Verdict_FORWARDED = flow.Verdict_FORWARDED
const Verdict_REDIRECTED = flow.Verdict_REDIRECTED
const Verdict_TRACED = flow.Verdict_TRACED
const Verdict_TRANSLATED = flow.Verdict_TRANSLATED
const Verdict_VERDICT_UNKNOWN = flow.Verdict_VERDICT_UNKNOWN
Variables ¶
var AgentEventType_name = flow.AgentEventType_name
var AgentEventType_value = flow.AgentEventType_value
var AuthType_name = flow.AuthType_name
var AuthType_value = flow.AuthType_value
var DebugCapturePoint_name = flow.DebugCapturePoint_name
var DebugCapturePoint_value = flow.DebugCapturePoint_value
var DebugEventType_name = flow.DebugEventType_name
var DebugEventType_value = flow.DebugEventType_value
var DropReason_name = flow.DropReason_name
var DropReason_value = flow.DropReason_value
var EventType_name = flow.EventType_name
var EventType_value = flow.EventType_value
var File_observer_observer_proto protoreflect.FileDescriptor
var FlowType_name = flow.FlowType_name
var FlowType_value = flow.FlowType_value
var IPVersion_name = flow.IPVersion_name
var IPVersion_value = flow.IPVersion_value
var L7FlowType_name = flow.L7FlowType_name
var L7FlowType_value = flow.L7FlowType_value
var LostEventSource_name = flow.LostEventSource_name
var LostEventSource_value = flow.LostEventSource_value
var Observer_ServiceDesc = grpc.ServiceDesc{ ServiceName: "observer.Observer", HandlerType: (*ObserverServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetNodes", Handler: _Observer_GetNodes_Handler, }, { MethodName: "GetNamespaces", Handler: _Observer_GetNamespaces_Handler, }, { MethodName: "ServerStatus", Handler: _Observer_ServerStatus_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "GetFlows", Handler: _Observer_GetFlows_Handler, ServerStreams: true, }, { StreamName: "GetAgentEvents", Handler: _Observer_GetAgentEvents_Handler, ServerStreams: true, }, { StreamName: "GetDebugEvents", Handler: _Observer_GetDebugEvents_Handler, ServerStreams: true, }, }, Metadata: "observer/observer.proto", }
Observer_ServiceDesc is the grpc.ServiceDesc for Observer service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var SocketTranslationPoint_name = flow.SocketTranslationPoint_name
var SocketTranslationPoint_value = flow.SocketTranslationPoint_value
var TraceObservationPoint_name = flow.TraceObservationPoint_name
var TraceObservationPoint_value = flow.TraceObservationPoint_value
var TraceReason_name = flow.TraceReason_name
var TraceReason_value = flow.TraceReason_value
var TrafficDirection_name = flow.TrafficDirection_name
var TrafficDirection_value = flow.TrafficDirection_value
var Verdict_name = flow.Verdict_name
var Verdict_value = flow.Verdict_value
Functions ¶
func RegisterObserverServer ¶
func RegisterObserverServer(s grpc.ServiceRegistrar, srv ObserverServer)
Types ¶
type AgentEvent ¶
type AgentEvent = flow.AgentEvent
type AgentEventType ¶
type AgentEventType = flow.AgentEventType
type AgentEventUnknown ¶
type AgentEventUnknown = flow.AgentEventUnknown
type AgentEvent_AgentStart ¶
type AgentEvent_AgentStart = flow.AgentEvent_AgentStart
type AgentEvent_EndpointRegenerate ¶
type AgentEvent_EndpointRegenerate = flow.AgentEvent_EndpointRegenerate
type AgentEvent_EndpointUpdate ¶
type AgentEvent_EndpointUpdate = flow.AgentEvent_EndpointUpdate
type AgentEvent_IpcacheUpdate ¶
type AgentEvent_IpcacheUpdate = flow.AgentEvent_IpcacheUpdate
type AgentEvent_PolicyUpdate ¶
type AgentEvent_PolicyUpdate = flow.AgentEvent_PolicyUpdate
type AgentEvent_ServiceDelete ¶
type AgentEvent_ServiceDelete = flow.AgentEvent_ServiceDelete
type AgentEvent_ServiceUpsert ¶
type AgentEvent_ServiceUpsert = flow.AgentEvent_ServiceUpsert
type AgentEvent_Unknown ¶
type AgentEvent_Unknown = flow.AgentEvent_Unknown
type CiliumEventType ¶
type CiliumEventType = flow.CiliumEventType
type DebugCapturePoint ¶
type DebugCapturePoint = flow.DebugCapturePoint
type DebugEvent ¶
type DebugEvent = flow.DebugEvent
type DebugEventType ¶
type DebugEventType = flow.DebugEventType
type DropReason ¶
type DropReason = flow.DropReason
type EndpointRegenNotification ¶
type EndpointRegenNotification = flow.EndpointRegenNotification
type EndpointUpdateNotification ¶
type EndpointUpdateNotification = flow.EndpointUpdateNotification
type EventTypeFilter ¶
type EventTypeFilter = flow.EventTypeFilter
type ExportEvent ¶
type ExportEvent struct { // Types that are assignable to ResponseTypes: // // *ExportEvent_Flow // *ExportEvent_NodeStatus // *ExportEvent_LostEvents // *ExportEvent_AgentEvent // *ExportEvent_DebugEvent ResponseTypes isExportEvent_ResponseTypes `protobuf_oneof:"response_types"` // Name of the node where this event was observed. NodeName string `protobuf:"bytes,1000,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"` // Timestamp at which this event was observed. Time *timestamppb.Timestamp `protobuf:"bytes,1001,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
ExportEvent contains an event to be exported. Not to be used outside of the exporter feature.
func (*ExportEvent) Descriptor
deprecated
func (*ExportEvent) Descriptor() ([]byte, []int)
Deprecated: Use ExportEvent.ProtoReflect.Descriptor instead.
func (*ExportEvent) GetAgentEvent ¶
func (x *ExportEvent) GetAgentEvent() *flow.AgentEvent
func (*ExportEvent) GetDebugEvent ¶
func (x *ExportEvent) GetDebugEvent() *flow.DebugEvent
func (*ExportEvent) GetFlow ¶
func (x *ExportEvent) GetFlow() *flow.Flow
func (*ExportEvent) GetLostEvents ¶
func (x *ExportEvent) GetLostEvents() *flow.LostEvent
func (*ExportEvent) GetNodeName ¶
func (x *ExportEvent) GetNodeName() string
func (*ExportEvent) GetNodeStatus ¶
func (x *ExportEvent) GetNodeStatus() *relay.NodeStatusEvent
func (*ExportEvent) GetResponseTypes ¶
func (m *ExportEvent) GetResponseTypes() isExportEvent_ResponseTypes
func (*ExportEvent) GetTime ¶
func (x *ExportEvent) GetTime() *timestamppb.Timestamp
func (*ExportEvent) MarshalJSON ¶
func (msg *ExportEvent) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*ExportEvent) ProtoMessage ¶
func (*ExportEvent) ProtoMessage()
func (*ExportEvent) ProtoReflect ¶
func (x *ExportEvent) ProtoReflect() protoreflect.Message
func (*ExportEvent) Reset ¶
func (x *ExportEvent) Reset()
func (*ExportEvent) String ¶
func (x *ExportEvent) String() string
func (*ExportEvent) UnmarshalJSON ¶
func (msg *ExportEvent) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type ExportEvent_AgentEvent ¶
type ExportEvent_AgentEvent struct { // agent_event informs clients about an event received from the Cilium // agent. AgentEvent *flow.AgentEvent `protobuf:"bytes,4,opt,name=agent_event,json=agentEvent,proto3,oneof"` }
type ExportEvent_DebugEvent ¶
type ExportEvent_DebugEvent struct { // debug_event contains Cilium datapath debug events DebugEvent *flow.DebugEvent `protobuf:"bytes,5,opt,name=debug_event,json=debugEvent,proto3,oneof"` }
type ExportEvent_Flow ¶
type ExportEvent_LostEvents ¶
type ExportEvent_NodeStatus ¶
type ExportEvent_NodeStatus struct { // node_status informs clients about the state of the nodes // participating in this particular GetFlows request. NodeStatus *relay.NodeStatusEvent `protobuf:"bytes,2,opt,name=node_status,json=nodeStatus,proto3,oneof"` }
type FlowFilter ¶
type FlowFilter = flow.FlowFilter
type FlowFilter_Experimental ¶ added in v1.16.0
type FlowFilter_Experimental = flow.FlowFilter_Experimental
type GetAgentEventsRequest ¶
type GetAgentEventsRequest struct { // Number of flows that should be returned. Incompatible with `since/until`. // Defaults to the most recent (last) `number` events, unless `first` is // true, then it will return the earliest `number` events. Number uint64 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"` // first specifies if we should look at the first `number` events or the // last `number` of events. Incompatible with `follow`. First bool `protobuf:"varint,9,opt,name=first,proto3" json:"first,omitempty"` // follow sets when the server should continue to stream agent events after // printing the last N agent events. Follow bool `protobuf:"varint,2,opt,name=follow,proto3" json:"follow,omitempty"` // Since this time for returned agent events. Incompatible with `number`. Since *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=since,proto3" json:"since,omitempty"` // Until this time for returned agent events. Incompatible with `number`. Until *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=until,proto3" json:"until,omitempty"` // contains filtered or unexported fields }
func (*GetAgentEventsRequest) Descriptor
deprecated
func (*GetAgentEventsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAgentEventsRequest.ProtoReflect.Descriptor instead.
func (*GetAgentEventsRequest) GetFirst ¶
func (x *GetAgentEventsRequest) GetFirst() bool
func (*GetAgentEventsRequest) GetFollow ¶
func (x *GetAgentEventsRequest) GetFollow() bool
func (*GetAgentEventsRequest) GetNumber ¶
func (x *GetAgentEventsRequest) GetNumber() uint64
func (*GetAgentEventsRequest) GetSince ¶
func (x *GetAgentEventsRequest) GetSince() *timestamppb.Timestamp
func (*GetAgentEventsRequest) GetUntil ¶
func (x *GetAgentEventsRequest) GetUntil() *timestamppb.Timestamp
func (*GetAgentEventsRequest) MarshalJSON ¶
func (msg *GetAgentEventsRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*GetAgentEventsRequest) ProtoMessage ¶
func (*GetAgentEventsRequest) ProtoMessage()
func (*GetAgentEventsRequest) ProtoReflect ¶
func (x *GetAgentEventsRequest) ProtoReflect() protoreflect.Message
func (*GetAgentEventsRequest) Reset ¶
func (x *GetAgentEventsRequest) Reset()
func (*GetAgentEventsRequest) String ¶
func (x *GetAgentEventsRequest) String() string
func (*GetAgentEventsRequest) UnmarshalJSON ¶
func (msg *GetAgentEventsRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type GetAgentEventsResponse ¶
type GetAgentEventsResponse struct { AgentEvent *flow.AgentEvent `protobuf:"bytes,1,opt,name=agent_event,json=agentEvent,proto3" json:"agent_event,omitempty"` // Name of the node where this event was observed. NodeName string `protobuf:"bytes,1000,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"` // Timestamp at which this event was observed. Time *timestamppb.Timestamp `protobuf:"bytes,1001,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
GetAgentEventsResponse contains an event received from the Cilium agent.
func (*GetAgentEventsResponse) Descriptor
deprecated
func (*GetAgentEventsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAgentEventsResponse.ProtoReflect.Descriptor instead.
func (*GetAgentEventsResponse) GetAgentEvent ¶
func (x *GetAgentEventsResponse) GetAgentEvent() *flow.AgentEvent
func (*GetAgentEventsResponse) GetNodeName ¶
func (x *GetAgentEventsResponse) GetNodeName() string
func (*GetAgentEventsResponse) GetTime ¶
func (x *GetAgentEventsResponse) GetTime() *timestamppb.Timestamp
func (*GetAgentEventsResponse) MarshalJSON ¶
func (msg *GetAgentEventsResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*GetAgentEventsResponse) ProtoMessage ¶
func (*GetAgentEventsResponse) ProtoMessage()
func (*GetAgentEventsResponse) ProtoReflect ¶
func (x *GetAgentEventsResponse) ProtoReflect() protoreflect.Message
func (*GetAgentEventsResponse) Reset ¶
func (x *GetAgentEventsResponse) Reset()
func (*GetAgentEventsResponse) String ¶
func (x *GetAgentEventsResponse) String() string
func (*GetAgentEventsResponse) UnmarshalJSON ¶
func (msg *GetAgentEventsResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type GetDebugEventsRequest ¶
type GetDebugEventsRequest struct { // Number of events that should be returned. Incompatible with `since/until`. // Defaults to the most recent (last) `number` events, unless `first` is // true, then it will return the earliest `number` events. Number uint64 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"` // first specifies if we should look at the first `number` events or the // last `number` of events. Incompatible with `follow`. First bool `protobuf:"varint,9,opt,name=first,proto3" json:"first,omitempty"` // follow sets when the server should continue to stream debug events after // printing the last N debug events. Follow bool `protobuf:"varint,2,opt,name=follow,proto3" json:"follow,omitempty"` // Since this time for returned debug events. Incompatible with `number`. Since *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=since,proto3" json:"since,omitempty"` // Until this time for returned debug events. Incompatible with `number`. Until *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=until,proto3" json:"until,omitempty"` // contains filtered or unexported fields }
func (*GetDebugEventsRequest) Descriptor
deprecated
func (*GetDebugEventsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDebugEventsRequest.ProtoReflect.Descriptor instead.
func (*GetDebugEventsRequest) GetFirst ¶
func (x *GetDebugEventsRequest) GetFirst() bool
func (*GetDebugEventsRequest) GetFollow ¶
func (x *GetDebugEventsRequest) GetFollow() bool
func (*GetDebugEventsRequest) GetNumber ¶
func (x *GetDebugEventsRequest) GetNumber() uint64
func (*GetDebugEventsRequest) GetSince ¶
func (x *GetDebugEventsRequest) GetSince() *timestamppb.Timestamp
func (*GetDebugEventsRequest) GetUntil ¶
func (x *GetDebugEventsRequest) GetUntil() *timestamppb.Timestamp
func (*GetDebugEventsRequest) MarshalJSON ¶
func (msg *GetDebugEventsRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*GetDebugEventsRequest) ProtoMessage ¶
func (*GetDebugEventsRequest) ProtoMessage()
func (*GetDebugEventsRequest) ProtoReflect ¶
func (x *GetDebugEventsRequest) ProtoReflect() protoreflect.Message
func (*GetDebugEventsRequest) Reset ¶
func (x *GetDebugEventsRequest) Reset()
func (*GetDebugEventsRequest) String ¶
func (x *GetDebugEventsRequest) String() string
func (*GetDebugEventsRequest) UnmarshalJSON ¶
func (msg *GetDebugEventsRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type GetDebugEventsResponse ¶
type GetDebugEventsResponse struct { DebugEvent *flow.DebugEvent `protobuf:"bytes,1,opt,name=debug_event,json=debugEvent,proto3" json:"debug_event,omitempty"` // Name of the node where this event was observed. NodeName string `protobuf:"bytes,1000,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"` // Timestamp at which this event was observed. Time *timestamppb.Timestamp `protobuf:"bytes,1001,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
GetDebugEventsResponse contains a Cilium datapath debug events.
func (*GetDebugEventsResponse) Descriptor
deprecated
func (*GetDebugEventsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetDebugEventsResponse.ProtoReflect.Descriptor instead.
func (*GetDebugEventsResponse) GetDebugEvent ¶
func (x *GetDebugEventsResponse) GetDebugEvent() *flow.DebugEvent
func (*GetDebugEventsResponse) GetNodeName ¶
func (x *GetDebugEventsResponse) GetNodeName() string
func (*GetDebugEventsResponse) GetTime ¶
func (x *GetDebugEventsResponse) GetTime() *timestamppb.Timestamp
func (*GetDebugEventsResponse) MarshalJSON ¶
func (msg *GetDebugEventsResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*GetDebugEventsResponse) ProtoMessage ¶
func (*GetDebugEventsResponse) ProtoMessage()
func (*GetDebugEventsResponse) ProtoReflect ¶
func (x *GetDebugEventsResponse) ProtoReflect() protoreflect.Message
func (*GetDebugEventsResponse) Reset ¶
func (x *GetDebugEventsResponse) Reset()
func (*GetDebugEventsResponse) String ¶
func (x *GetDebugEventsResponse) String() string
func (*GetDebugEventsResponse) UnmarshalJSON ¶
func (msg *GetDebugEventsResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type GetFlowsRequest ¶
type GetFlowsRequest struct { // Number of flows that should be returned. Incompatible with `since/until`. // Defaults to the most recent (last) `number` flows, unless `first` is // true, then it will return the earliest `number` flows. Number uint64 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"` // first specifies if we should look at the first `number` flows or the // last `number` of flows. Incompatible with `follow`. First bool `protobuf:"varint,9,opt,name=first,proto3" json:"first,omitempty"` // follow sets when the server should continue to stream flows after // printing the last N flows. Follow bool `protobuf:"varint,3,opt,name=follow,proto3" json:"follow,omitempty"` // blacklist defines a list of filters which have to match for a flow to be // excluded from the result. // If multiple blacklist filters are specified, only one of them has to // match for a flow to be excluded. Blacklist []*flow.FlowFilter `protobuf:"bytes,5,rep,name=blacklist,proto3" json:"blacklist,omitempty"` // whitelist defines a list of filters which have to match for a flow to be // included in the result. // If multiple whitelist filters are specified, only one of them has to // match for a flow to be included. // The whitelist and blacklist can both be specified. In such cases, the // set of the returned flows is the set difference `whitelist - blacklist`. // In other words, the result will contain all flows matched by the // whitelist that are not also simultaneously matched by the blacklist. Whitelist []*flow.FlowFilter `protobuf:"bytes,6,rep,name=whitelist,proto3" json:"whitelist,omitempty"` // Since this time for returned flows. Incompatible with `number`. Since *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=since,proto3" json:"since,omitempty"` // Until this time for returned flows. Incompatible with `number`. Until *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=until,proto3" json:"until,omitempty"` // FieldMask allows clients to limit flow's fields that will be returned. // For example, {paths: ["source.id", "destination.id"]} will return flows // with only these two fields set. FieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,10,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` Experimental *GetFlowsRequest_Experimental `protobuf:"bytes,999,opt,name=experimental,proto3" json:"experimental,omitempty"` // extensions can be used to add arbitrary additional metadata to GetFlowsRequest. // This can be used to extend functionality for other Hubble compatible // APIs, or experiment with new functionality without needing to change the public API. Extensions *anypb.Any `protobuf:"bytes,150000,opt,name=extensions,proto3" json:"extensions,omitempty"` // contains filtered or unexported fields }
func (*GetFlowsRequest) Descriptor
deprecated
func (*GetFlowsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetFlowsRequest.ProtoReflect.Descriptor instead.
func (*GetFlowsRequest) GetBlacklist ¶
func (x *GetFlowsRequest) GetBlacklist() []*flow.FlowFilter
func (*GetFlowsRequest) GetExperimental ¶
func (x *GetFlowsRequest) GetExperimental() *GetFlowsRequest_Experimental
func (*GetFlowsRequest) GetExtensions ¶
func (x *GetFlowsRequest) GetExtensions() *anypb.Any
func (*GetFlowsRequest) GetFieldMask ¶ added in v1.16.0
func (x *GetFlowsRequest) GetFieldMask() *fieldmaskpb.FieldMask
func (*GetFlowsRequest) GetFirst ¶
func (x *GetFlowsRequest) GetFirst() bool
func (*GetFlowsRequest) GetFollow ¶
func (x *GetFlowsRequest) GetFollow() bool
func (*GetFlowsRequest) GetNumber ¶
func (x *GetFlowsRequest) GetNumber() uint64
func (*GetFlowsRequest) GetSince ¶
func (x *GetFlowsRequest) GetSince() *timestamppb.Timestamp
func (*GetFlowsRequest) GetUntil ¶
func (x *GetFlowsRequest) GetUntil() *timestamppb.Timestamp
func (*GetFlowsRequest) GetWhitelist ¶
func (x *GetFlowsRequest) GetWhitelist() []*flow.FlowFilter
func (*GetFlowsRequest) MarshalJSON ¶
func (msg *GetFlowsRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*GetFlowsRequest) ProtoMessage ¶
func (*GetFlowsRequest) ProtoMessage()
func (*GetFlowsRequest) ProtoReflect ¶
func (x *GetFlowsRequest) ProtoReflect() protoreflect.Message
func (*GetFlowsRequest) Reset ¶
func (x *GetFlowsRequest) Reset()
func (*GetFlowsRequest) String ¶
func (x *GetFlowsRequest) String() string
func (*GetFlowsRequest) UnmarshalJSON ¶
func (msg *GetFlowsRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type GetFlowsRequest_Experimental ¶
type GetFlowsRequest_Experimental struct { // FieldMask allows clients to limit flow's fields that will be returned. // For example, {paths: ["source.id", "destination.id"]} will return flows // with only these two fields set. // Deprecated in favor of top-level field_mask. This field will be // removed in v1.17. // // Deprecated: Marked as deprecated in observer/observer.proto. FieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` // contains filtered or unexported fields }
Experimental contains fields that are not stable yet. Support for experimental features is always optional and subject to change.
func (*GetFlowsRequest_Experimental) Descriptor
deprecated
func (*GetFlowsRequest_Experimental) Descriptor() ([]byte, []int)
Deprecated: Use GetFlowsRequest_Experimental.ProtoReflect.Descriptor instead.
func (*GetFlowsRequest_Experimental) GetFieldMask
deprecated
func (x *GetFlowsRequest_Experimental) GetFieldMask() *fieldmaskpb.FieldMask
Deprecated: Marked as deprecated in observer/observer.proto.
func (*GetFlowsRequest_Experimental) MarshalJSON ¶
func (msg *GetFlowsRequest_Experimental) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*GetFlowsRequest_Experimental) ProtoMessage ¶
func (*GetFlowsRequest_Experimental) ProtoMessage()
func (*GetFlowsRequest_Experimental) ProtoReflect ¶
func (x *GetFlowsRequest_Experimental) ProtoReflect() protoreflect.Message
func (*GetFlowsRequest_Experimental) Reset ¶
func (x *GetFlowsRequest_Experimental) Reset()
func (*GetFlowsRequest_Experimental) String ¶
func (x *GetFlowsRequest_Experimental) String() string
func (*GetFlowsRequest_Experimental) UnmarshalJSON ¶
func (msg *GetFlowsRequest_Experimental) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type GetFlowsResponse ¶
type GetFlowsResponse struct { // Types that are assignable to ResponseTypes: // // *GetFlowsResponse_Flow // *GetFlowsResponse_NodeStatus // *GetFlowsResponse_LostEvents ResponseTypes isGetFlowsResponse_ResponseTypes `protobuf_oneof:"response_types"` // Name of the node where this event was observed. NodeName string `protobuf:"bytes,1000,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"` // Timestamp at which this event was observed. Time *timestamppb.Timestamp `protobuf:"bytes,1001,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
GetFlowsResponse contains either a flow or a protocol message.
func (*GetFlowsResponse) Descriptor
deprecated
func (*GetFlowsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetFlowsResponse.ProtoReflect.Descriptor instead.
func (*GetFlowsResponse) GetFlow ¶
func (x *GetFlowsResponse) GetFlow() *flow.Flow
func (*GetFlowsResponse) GetLostEvents ¶
func (x *GetFlowsResponse) GetLostEvents() *flow.LostEvent
func (*GetFlowsResponse) GetNodeName ¶
func (x *GetFlowsResponse) GetNodeName() string
func (*GetFlowsResponse) GetNodeStatus ¶
func (x *GetFlowsResponse) GetNodeStatus() *relay.NodeStatusEvent
func (*GetFlowsResponse) GetResponseTypes ¶
func (m *GetFlowsResponse) GetResponseTypes() isGetFlowsResponse_ResponseTypes
func (*GetFlowsResponse) GetTime ¶
func (x *GetFlowsResponse) GetTime() *timestamppb.Timestamp
func (*GetFlowsResponse) MarshalJSON ¶
func (msg *GetFlowsResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*GetFlowsResponse) ProtoMessage ¶
func (*GetFlowsResponse) ProtoMessage()
func (*GetFlowsResponse) ProtoReflect ¶
func (x *GetFlowsResponse) ProtoReflect() protoreflect.Message
func (*GetFlowsResponse) Reset ¶
func (x *GetFlowsResponse) Reset()
func (*GetFlowsResponse) String ¶
func (x *GetFlowsResponse) String() string
func (*GetFlowsResponse) UnmarshalJSON ¶
func (msg *GetFlowsResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type GetFlowsResponse_Flow ¶
type GetFlowsResponse_NodeStatus ¶
type GetFlowsResponse_NodeStatus struct { // node_status informs clients about the state of the nodes // participating in this particular GetFlows request. NodeStatus *relay.NodeStatusEvent `protobuf:"bytes,2,opt,name=node_status,json=nodeStatus,proto3,oneof"` }
type GetNamespacesRequest ¶
type GetNamespacesRequest struct {
// contains filtered or unexported fields
}
func (*GetNamespacesRequest) Descriptor
deprecated
func (*GetNamespacesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNamespacesRequest.ProtoReflect.Descriptor instead.
func (*GetNamespacesRequest) MarshalJSON ¶
func (msg *GetNamespacesRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*GetNamespacesRequest) ProtoMessage ¶
func (*GetNamespacesRequest) ProtoMessage()
func (*GetNamespacesRequest) ProtoReflect ¶
func (x *GetNamespacesRequest) ProtoReflect() protoreflect.Message
func (*GetNamespacesRequest) Reset ¶
func (x *GetNamespacesRequest) Reset()
func (*GetNamespacesRequest) String ¶
func (x *GetNamespacesRequest) String() string
func (*GetNamespacesRequest) UnmarshalJSON ¶
func (msg *GetNamespacesRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type GetNamespacesResponse ¶
type GetNamespacesResponse struct { // Namespaces is a list of namespaces with flows Namespaces []*Namespace `protobuf:"bytes,1,rep,name=namespaces,proto3" json:"namespaces,omitempty"` // contains filtered or unexported fields }
GetNamespacesResponse contains the list of namespaces.
func (*GetNamespacesResponse) Descriptor
deprecated
func (*GetNamespacesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetNamespacesResponse.ProtoReflect.Descriptor instead.
func (*GetNamespacesResponse) GetNamespaces ¶
func (x *GetNamespacesResponse) GetNamespaces() []*Namespace
func (*GetNamespacesResponse) MarshalJSON ¶
func (msg *GetNamespacesResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*GetNamespacesResponse) ProtoMessage ¶
func (*GetNamespacesResponse) ProtoMessage()
func (*GetNamespacesResponse) ProtoReflect ¶
func (x *GetNamespacesResponse) ProtoReflect() protoreflect.Message
func (*GetNamespacesResponse) Reset ¶
func (x *GetNamespacesResponse) Reset()
func (*GetNamespacesResponse) String ¶
func (x *GetNamespacesResponse) String() string
func (*GetNamespacesResponse) UnmarshalJSON ¶
func (msg *GetNamespacesResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type GetNodesRequest ¶
type GetNodesRequest struct {
// contains filtered or unexported fields
}
func (*GetNodesRequest) Descriptor
deprecated
func (*GetNodesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNodesRequest.ProtoReflect.Descriptor instead.
func (*GetNodesRequest) MarshalJSON ¶
func (msg *GetNodesRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*GetNodesRequest) ProtoMessage ¶
func (*GetNodesRequest) ProtoMessage()
func (*GetNodesRequest) ProtoReflect ¶
func (x *GetNodesRequest) ProtoReflect() protoreflect.Message
func (*GetNodesRequest) Reset ¶
func (x *GetNodesRequest) Reset()
func (*GetNodesRequest) String ¶
func (x *GetNodesRequest) String() string
func (*GetNodesRequest) UnmarshalJSON ¶
func (msg *GetNodesRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type GetNodesResponse ¶
type GetNodesResponse struct { // Nodes is an exhaustive list of nodes. Nodes []*Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` // contains filtered or unexported fields }
GetNodesResponse contains the list of nodes.
func (*GetNodesResponse) Descriptor
deprecated
func (*GetNodesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetNodesResponse.ProtoReflect.Descriptor instead.
func (*GetNodesResponse) GetNodes ¶
func (x *GetNodesResponse) GetNodes() []*Node
func (*GetNodesResponse) MarshalJSON ¶
func (msg *GetNodesResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*GetNodesResponse) ProtoMessage ¶
func (*GetNodesResponse) ProtoMessage()
func (*GetNodesResponse) ProtoReflect ¶
func (x *GetNodesResponse) ProtoReflect() protoreflect.Message
func (*GetNodesResponse) Reset ¶
func (x *GetNodesResponse) Reset()
func (*GetNodesResponse) String ¶
func (x *GetNodesResponse) String() string
func (*GetNodesResponse) UnmarshalJSON ¶
func (msg *GetNodesResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type HTTPHeader ¶
type HTTPHeader = flow.HTTPHeader
type IPCacheNotification ¶
type IPCacheNotification = flow.IPCacheNotification
type L7FlowType ¶
type L7FlowType = flow.L7FlowType
type Layer4_ICMPv4 ¶
type Layer4_ICMPv4 = flow.Layer4_ICMPv4
type Layer4_ICMPv6 ¶
type Layer4_ICMPv6 = flow.Layer4_ICMPv6
type Layer4_SCTP ¶
type Layer4_SCTP = flow.Layer4_SCTP
type Layer4_TCP ¶
type Layer4_TCP = flow.Layer4_TCP
type Layer4_UDP ¶
type Layer4_UDP = flow.Layer4_UDP
type Layer7_Dns ¶
type Layer7_Dns = flow.Layer7_Dns
type Layer7_Http ¶
type Layer7_Http = flow.Layer7_Http
type Layer7_Kafka ¶
type Layer7_Kafka = flow.Layer7_Kafka
type LostEventSource ¶
type LostEventSource = flow.LostEventSource
type Namespace ¶
type Namespace struct { Cluster string `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"` Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` // contains filtered or unexported fields }
func (*Namespace) Descriptor
deprecated
func (*Namespace) GetCluster ¶
func (*Namespace) GetNamespace ¶
func (*Namespace) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*Namespace) ProtoMessage ¶
func (*Namespace) ProtoMessage()
func (*Namespace) ProtoReflect ¶
func (x *Namespace) ProtoReflect() protoreflect.Message
func (*Namespace) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
type NetworkInterface ¶
type NetworkInterface = flow.NetworkInterface
type Node ¶
type Node struct { // Name is the name of the node. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Version is the version of Cilium/Hubble as reported by the node. Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // Address is the network address of the API endpoint. Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` // State represents the known state of the node. State relay.NodeState `protobuf:"varint,4,opt,name=state,proto3,enum=relay.NodeState" json:"state,omitempty"` // TLS reports TLS related information. Tls *TLS `protobuf:"bytes,5,opt,name=tls,proto3" json:"tls,omitempty"` // UptimeNS is the uptime of this instance in nanoseconds UptimeNs uint64 `protobuf:"varint,6,opt,name=uptime_ns,json=uptimeNs,proto3" json:"uptime_ns,omitempty"` // number of currently captured flows NumFlows uint64 `protobuf:"varint,7,opt,name=num_flows,json=numFlows,proto3" json:"num_flows,omitempty"` // maximum capacity of the ring buffer MaxFlows uint64 `protobuf:"varint,8,opt,name=max_flows,json=maxFlows,proto3" json:"max_flows,omitempty"` // total amount of flows observed since the observer was started SeenFlows uint64 `protobuf:"varint,9,opt,name=seen_flows,json=seenFlows,proto3" json:"seen_flows,omitempty"` // contains filtered or unexported fields }
Node represents a cluster node.
func (*Node) Descriptor
deprecated
func (*Node) GetAddress ¶
func (*Node) GetMaxFlows ¶
func (*Node) GetNumFlows ¶
func (*Node) GetSeenFlows ¶
func (*Node) GetUptimeNs ¶
func (*Node) GetVersion ¶
func (*Node) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*Node) ProtoMessage ¶
func (*Node) ProtoMessage()
func (*Node) ProtoReflect ¶
func (x *Node) ProtoReflect() protoreflect.Message
func (*Node) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
type ObserverClient ¶
type ObserverClient interface { // GetFlows returning structured data, meant to eventually obsolete GetLastNFlows. GetFlows(ctx context.Context, in *GetFlowsRequest, opts ...grpc.CallOption) (Observer_GetFlowsClient, error) // GetAgentEvents returns Cilium agent events. GetAgentEvents(ctx context.Context, in *GetAgentEventsRequest, opts ...grpc.CallOption) (Observer_GetAgentEventsClient, error) // GetDebugEvents returns Cilium datapath debug events. GetDebugEvents(ctx context.Context, in *GetDebugEventsRequest, opts ...grpc.CallOption) (Observer_GetDebugEventsClient, error) // GetNodes returns information about nodes in a cluster. GetNodes(ctx context.Context, in *GetNodesRequest, opts ...grpc.CallOption) (*GetNodesResponse, error) // GetNamespaces returns information about namespaces in a cluster. // The namespaces returned are namespaces which have had network flows in // the last hour. The namespaces are returned sorted by cluster name and // namespace in ascending order. GetNamespaces(ctx context.Context, in *GetNamespacesRequest, opts ...grpc.CallOption) (*GetNamespacesResponse, error) // ServerStatus returns some details about the running hubble server. ServerStatus(ctx context.Context, in *ServerStatusRequest, opts ...grpc.CallOption) (*ServerStatusResponse, error) }
ObserverClient is the client API for Observer service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Observer returns a stream of Flows depending on which filter the user want to observe.
func NewObserverClient ¶
func NewObserverClient(cc grpc.ClientConnInterface) ObserverClient
type ObserverServer ¶
type ObserverServer interface { // GetFlows returning structured data, meant to eventually obsolete GetLastNFlows. GetFlows(*GetFlowsRequest, Observer_GetFlowsServer) error // GetAgentEvents returns Cilium agent events. GetAgentEvents(*GetAgentEventsRequest, Observer_GetAgentEventsServer) error // GetDebugEvents returns Cilium datapath debug events. GetDebugEvents(*GetDebugEventsRequest, Observer_GetDebugEventsServer) error // GetNodes returns information about nodes in a cluster. GetNodes(context.Context, *GetNodesRequest) (*GetNodesResponse, error) // GetNamespaces returns information about namespaces in a cluster. // The namespaces returned are namespaces which have had network flows in // the last hour. The namespaces are returned sorted by cluster name and // namespace in ascending order. GetNamespaces(context.Context, *GetNamespacesRequest) (*GetNamespacesResponse, error) // ServerStatus returns some details about the running hubble server. ServerStatus(context.Context, *ServerStatusRequest) (*ServerStatusResponse, error) }
ObserverServer is the server API for Observer service. All implementations should embed UnimplementedObserverServer for forward compatibility
Observer returns a stream of Flows depending on which filter the user want to observe.
type Observer_GetAgentEventsClient ¶
type Observer_GetAgentEventsClient interface { Recv() (*GetAgentEventsResponse, error) grpc.ClientStream }
type Observer_GetAgentEventsServer ¶
type Observer_GetAgentEventsServer interface { Send(*GetAgentEventsResponse) error grpc.ServerStream }
type Observer_GetDebugEventsClient ¶
type Observer_GetDebugEventsClient interface { Recv() (*GetDebugEventsResponse, error) grpc.ClientStream }
type Observer_GetDebugEventsServer ¶
type Observer_GetDebugEventsServer interface { Send(*GetDebugEventsResponse) error grpc.ServerStream }
type Observer_GetFlowsClient ¶
type Observer_GetFlowsClient interface { Recv() (*GetFlowsResponse, error) grpc.ClientStream }
type Observer_GetFlowsServer ¶
type Observer_GetFlowsServer interface { Send(*GetFlowsResponse) error grpc.ServerStream }
type PolicyUpdateNotification ¶
type PolicyUpdateNotification = flow.PolicyUpdateNotification
type ServerStatusRequest ¶
type ServerStatusRequest struct {
// contains filtered or unexported fields
}
func (*ServerStatusRequest) Descriptor
deprecated
func (*ServerStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use ServerStatusRequest.ProtoReflect.Descriptor instead.
func (*ServerStatusRequest) MarshalJSON ¶
func (msg *ServerStatusRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*ServerStatusRequest) ProtoMessage ¶
func (*ServerStatusRequest) ProtoMessage()
func (*ServerStatusRequest) ProtoReflect ¶
func (x *ServerStatusRequest) ProtoReflect() protoreflect.Message
func (*ServerStatusRequest) Reset ¶
func (x *ServerStatusRequest) Reset()
func (*ServerStatusRequest) String ¶
func (x *ServerStatusRequest) String() string
func (*ServerStatusRequest) UnmarshalJSON ¶
func (msg *ServerStatusRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type ServerStatusResponse ¶
type ServerStatusResponse struct { // number of currently captured flows // In a multi-node context, this is the cumulative count of all captured // flows. NumFlows uint64 `protobuf:"varint,1,opt,name=num_flows,json=numFlows,proto3" json:"num_flows,omitempty"` // maximum capacity of the ring buffer // In a multi-node context, this is the aggregation of all ring buffers // capacities. MaxFlows uint64 `protobuf:"varint,2,opt,name=max_flows,json=maxFlows,proto3" json:"max_flows,omitempty"` // total amount of flows observed since the observer was started // In a multi-node context, this is the aggregation of all flows that have // been seen. SeenFlows uint64 `protobuf:"varint,3,opt,name=seen_flows,json=seenFlows,proto3" json:"seen_flows,omitempty"` // uptime of this observer instance in nanoseconds // In a multi-node context, this field corresponds to the uptime of the // longest living instance. UptimeNs uint64 `protobuf:"varint,4,opt,name=uptime_ns,json=uptimeNs,proto3" json:"uptime_ns,omitempty"` // number of nodes for which a connection is established NumConnectedNodes *wrapperspb.UInt32Value `protobuf:"bytes,5,opt,name=num_connected_nodes,json=numConnectedNodes,proto3" json:"num_connected_nodes,omitempty"` NumUnavailableNodes *wrapperspb.UInt32Value `protobuf:"bytes,6,opt,name=num_unavailable_nodes,json=numUnavailableNodes,proto3" json:"num_unavailable_nodes,omitempty"` // This list may not be exhaustive. UnavailableNodes []string `protobuf:"bytes,7,rep,name=unavailable_nodes,json=unavailableNodes,proto3" json:"unavailable_nodes,omitempty"` // Version is the version of Cilium/Hubble. Version string `protobuf:"bytes,8,opt,name=version,proto3" json:"version,omitempty"` // Approximate rate of flows seen by Hubble per second over the last minute. // In a multi-node context, this is the sum of all flows rates. FlowsRate float64 `protobuf:"fixed64,9,opt,name=flows_rate,json=flowsRate,proto3" json:"flows_rate,omitempty"` // contains filtered or unexported fields }
func (*ServerStatusResponse) Descriptor
deprecated
func (*ServerStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use ServerStatusResponse.ProtoReflect.Descriptor instead.
func (*ServerStatusResponse) GetFlowsRate ¶ added in v1.15.0
func (x *ServerStatusResponse) GetFlowsRate() float64
func (*ServerStatusResponse) GetMaxFlows ¶
func (x *ServerStatusResponse) GetMaxFlows() uint64
func (*ServerStatusResponse) GetNumConnectedNodes ¶
func (x *ServerStatusResponse) GetNumConnectedNodes() *wrapperspb.UInt32Value
func (*ServerStatusResponse) GetNumFlows ¶
func (x *ServerStatusResponse) GetNumFlows() uint64
func (*ServerStatusResponse) GetNumUnavailableNodes ¶
func (x *ServerStatusResponse) GetNumUnavailableNodes() *wrapperspb.UInt32Value
func (*ServerStatusResponse) GetSeenFlows ¶
func (x *ServerStatusResponse) GetSeenFlows() uint64
func (*ServerStatusResponse) GetUnavailableNodes ¶
func (x *ServerStatusResponse) GetUnavailableNodes() []string
func (*ServerStatusResponse) GetUptimeNs ¶
func (x *ServerStatusResponse) GetUptimeNs() uint64
func (*ServerStatusResponse) GetVersion ¶
func (x *ServerStatusResponse) GetVersion() string
func (*ServerStatusResponse) MarshalJSON ¶
func (msg *ServerStatusResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*ServerStatusResponse) ProtoMessage ¶
func (*ServerStatusResponse) ProtoMessage()
func (*ServerStatusResponse) ProtoReflect ¶
func (x *ServerStatusResponse) ProtoReflect() protoreflect.Message
func (*ServerStatusResponse) Reset ¶
func (x *ServerStatusResponse) Reset()
func (*ServerStatusResponse) String ¶
func (x *ServerStatusResponse) String() string
func (*ServerStatusResponse) UnmarshalJSON ¶
func (msg *ServerStatusResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
type ServiceDeleteNotification ¶
type ServiceDeleteNotification = flow.ServiceDeleteNotification
type ServiceUpsertNotification ¶
type ServiceUpsertNotification = flow.ServiceUpsertNotification
type ServiceUpsertNotificationAddr ¶
type ServiceUpsertNotificationAddr = flow.ServiceUpsertNotificationAddr
type SocketTranslationPoint ¶
type SocketTranslationPoint = flow.SocketTranslationPoint
type TLS ¶
type TLS struct { // Enabled reports whether TLS is enabled or not. Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` // ServerName is the TLS server name that can be used as part of the TLS // cert validation process. ServerName string `protobuf:"bytes,2,opt,name=server_name,json=serverName,proto3" json:"server_name,omitempty"` // contains filtered or unexported fields }
TLS represents TLS information.
func (*TLS) Descriptor
deprecated
func (*TLS) GetEnabled ¶
func (*TLS) GetServerName ¶
func (*TLS) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*TLS) ProtoMessage ¶
func (*TLS) ProtoMessage()
func (*TLS) ProtoReflect ¶
func (x *TLS) ProtoReflect() protoreflect.Message
func (*TLS) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
type TimeNotification ¶
type TimeNotification = flow.TimeNotification
type TraceContext ¶
type TraceContext = flow.TraceContext
type TraceObservationPoint ¶
type TraceObservationPoint = flow.TraceObservationPoint
type TraceParent ¶
type TraceParent = flow.TraceParent
type TraceReason ¶ added in v1.16.0
type TraceReason = flow.TraceReason
type TrafficDirection ¶
type TrafficDirection = flow.TrafficDirection
type UnimplementedObserverServer ¶
type UnimplementedObserverServer struct { }
UnimplementedObserverServer should be embedded to have forward compatible implementations.
func (UnimplementedObserverServer) GetAgentEvents ¶
func (UnimplementedObserverServer) GetAgentEvents(*GetAgentEventsRequest, Observer_GetAgentEventsServer) error
func (UnimplementedObserverServer) GetDebugEvents ¶
func (UnimplementedObserverServer) GetDebugEvents(*GetDebugEventsRequest, Observer_GetDebugEventsServer) error
func (UnimplementedObserverServer) GetFlows ¶
func (UnimplementedObserverServer) GetFlows(*GetFlowsRequest, Observer_GetFlowsServer) error
func (UnimplementedObserverServer) GetNamespaces ¶
func (UnimplementedObserverServer) GetNamespaces(context.Context, *GetNamespacesRequest) (*GetNamespacesResponse, error)
func (UnimplementedObserverServer) GetNodes ¶
func (UnimplementedObserverServer) GetNodes(context.Context, *GetNodesRequest) (*GetNodesResponse, error)
func (UnimplementedObserverServer) ServerStatus ¶
func (UnimplementedObserverServer) ServerStatus(context.Context, *ServerStatusRequest) (*ServerStatusResponse, error)
type UnsafeObserverServer ¶
type UnsafeObserverServer interface {
// contains filtered or unexported methods
}
UnsafeObserverServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ObserverServer will result in compilation errors.