Documentation ¶
Index ¶
- Variables
- func GetKernelNetworkEvent(pidList []int, sidecarOpt SidecarOpt, podName string)
- func GetRequestOverSidecarEvent(sidecarPidList []int, servicePidList []int, portList []int, podName string)
- type AcknowledgementsInPod
- type AcknowledgementsOutPod
- type ConnectIdType
- type ConnectionEstablishmentInPod
- type ConnectionEstablishmentOutPod
- type ConnectionTerminationInPod
- type ConnectionTerminationOutPod
- type ConnectionType
- type DataTransferInPod
- type DataTransferOutPod
- type DirectionType
- type InPodConnectionOverall
- type OutPodConnectionOverall
- type RequestOverSidecar
- type RequestOverSidecarKey
- type RequestOverSidecarValue
- type ServiceAcceptEvent
- type SidecarAcceptAndSidecarConnectKey
- type SidecarAcceptAndSidecarConnectValue
- type SidecarAcceptEvent
- type SidecarConnectAndServiceAcceptKey
- type SidecarConnectAndServiceAcceptValue
- type SidecarConnectEvent
- type SidecarOpt
Constants ¶
This section is empty.
Variables ¶
View Source
var TimeOffset = time.Now()
Functions ¶
func GetKernelNetworkEvent ¶
func GetKernelNetworkEvent(pidList []int, sidecarOpt SidecarOpt, podName string)
GetKernelNetworkEvent is an entrance to monitor network events
Types ¶
type AcknowledgementsInPod ¶
type AcknowledgementsInPod struct {
// contains filtered or unexported fields
}
type AcknowledgementsOutPod ¶
type AcknowledgementsOutPod struct {
// contains filtered or unexported fields
}
type ConnectIdType ¶
type ConnectIdType int
type ConnectionEstablishmentInPod ¶
type ConnectionEstablishmentInPod struct {
// contains filtered or unexported fields
}
type ConnectionEstablishmentOutPod ¶
type ConnectionEstablishmentOutPod struct {
// contains filtered or unexported fields
}
type ConnectionTerminationInPod ¶
type ConnectionTerminationInPod struct {
// contains filtered or unexported fields
}
type ConnectionTerminationOutPod ¶
type ConnectionTerminationOutPod struct {
// contains filtered or unexported fields
}
type ConnectionType ¶
type ConnectionType int32
const ( EST ConnectionType = 0 TRA ConnectionType = 1 TER ConnectionType = 2 ACK ConnectionType = 3 UDP ConnectionType = 4 UNKNOWN ConnectionType = 5 )
type DataTransferInPod ¶
type DataTransferInPod struct {
// contains filtered or unexported fields
}
type DataTransferOutPod ¶
type DataTransferOutPod struct {
// contains filtered or unexported fields
}
type DirectionType ¶
type DirectionType int32
const ( SIDECAR DirectionType = 0 // from service to sidecar SERVICE DirectionType = 1 // from sidecar to service CALLER DirectionType = 2 // from pod to remote POD DirectionType = 3 // from remote to pod REMOTE DirectionType = 4 // from local host to remote host LOCAL DirectionType = 5 // from remote host to local host OTHER DirectionType = 6 )
type InPodConnectionOverall ¶
type InPodConnectionOverall struct { Ce ConnectionEstablishmentInPod Dt DataTransferInPod Ct ConnectionTerminationInPod Ak AcknowledgementsInPod }
type OutPodConnectionOverall ¶
type OutPodConnectionOverall struct { Ce ConnectionEstablishmentOutPod Dt DataTransferOutPod Ct ConnectionTerminationOutPod Ak AcknowledgementsOutPod }
type RequestOverSidecar ¶
type RequestOverSidecar struct { SidecarAccept SidecarAcceptEvent SidecarConnect SidecarConnectEvent ServiceAccept ServiceAcceptEvent }
type RequestOverSidecarKey ¶
type RequestOverSidecarKey struct {
SidecarConnect SidecarConnectEvent
}
type RequestOverSidecarValue ¶
type RequestOverSidecarValue struct { SidecarAccept SidecarAcceptEvent SidecarConnect SidecarConnectEvent ServiceAccept ServiceAcceptEvent Ok bool }
type ServiceAcceptEvent ¶
type SidecarAcceptAndSidecarConnectValue ¶
type SidecarAcceptAndSidecarConnectValue struct { SidecarAccept SidecarAcceptEvent SidecarConnect SidecarConnectEvent Ok bool }
type SidecarAcceptEvent ¶
type SidecarConnectAndServiceAcceptValue ¶
type SidecarConnectAndServiceAcceptValue struct { SidecarConnect SidecarConnectEvent ServiceAccept ServiceAcceptEvent Ok bool }
type SidecarConnectEvent ¶
type SidecarConnectEvent tcpconnect.Event
Click to show internal directories.
Click to hide internal directories.