Documentation ¶
Index ¶
- func GatherPidsTCPMap(procfs string, isCgroupV2 bool) (tcpMap map[uint64]bool, err error)
- func ResolveSymlinkWithoutValidation(path string) (string, error)
- type ConnectionCb
- type IpSocketLine
- type Resolver
- type ResolverImpl
- func (r *ResolverImpl) ResolveDestTCP(cInfo *api.ConnectionInfo) *api.Resolution
- func (r *ResolverImpl) ResolveDestUDP(cInfo *api.ConnectionInfo) *api.Resolution
- func (r *ResolverImpl) ResolveSourceTCP(cInfo *api.ConnectionInfo) *api.Resolution
- func (r *ResolverImpl) ResolveSourceUDP(cInfo *api.ConnectionInfo) *api.Resolution
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GatherPidsTCPMap ¶
Types ¶
type ConnectionCb ¶
type IpSocketLine ¶
type Resolver ¶
type Resolver interface { ResolveSourceTCP(cInfo *api.ConnectionInfo) *api.Resolution ResolveDestTCP(cInfo *api.ConnectionInfo) *api.Resolution ResolveSourceUDP(cInfo *api.ConnectionInfo) *api.Resolution ResolveDestUDP(cInfo *api.ConnectionInfo) *api.Resolution }
func NewResolver ¶
type ResolverImpl ¶
type ResolverImpl struct {
// contains filtered or unexported fields
}
func (*ResolverImpl) ResolveDestTCP ¶
func (r *ResolverImpl) ResolveDestTCP(cInfo *api.ConnectionInfo) *api.Resolution
func (*ResolverImpl) ResolveDestUDP ¶
func (r *ResolverImpl) ResolveDestUDP(cInfo *api.ConnectionInfo) *api.Resolution
func (*ResolverImpl) ResolveSourceTCP ¶
func (r *ResolverImpl) ResolveSourceTCP(cInfo *api.ConnectionInfo) *api.Resolution
func (*ResolverImpl) ResolveSourceUDP ¶
func (r *ResolverImpl) ResolveSourceUDP(cInfo *api.ConnectionInfo) *api.Resolution
Click to show internal directories.
Click to hide internal directories.