Documentation ¶
Index ¶
- type DNSManager
- func (dm *DNSManager) ContainerCallback(notif containercollection.PubSubEvent)
- func (dm *DNSManager) ReportEvent(dnsEvent tracerdnstype.Event)
- func (dm *DNSManager) ResolveContainerProcessToCloudServices(containerId string, pid uint32) mapset.Set[string]
- func (dm *DNSManager) ResolveIPAddress(ipAddr string) (string, bool)
- type DNSManagerClient
- type DNSManagerMock
- func (n *DNSManagerMock) ContainerCallback(notif containercollection.PubSubEvent)
- func (n *DNSManagerMock) ReportEvent(_ tracerdnstype.Event)
- func (n *DNSManagerMock) ResolveContainerProcessToCloudServices(_ string, _ uint32) mapset.Set[string]
- func (n *DNSManagerMock) ResolveIPAddress(_ string) (string, bool)
- type DNSResolver
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DNSManager ¶
type DNSManager struct {
// contains filtered or unexported fields
}
DNSManager is used to manage DNS events and save IP resolutions.
func CreateDNSManager ¶
func CreateDNSManager() *DNSManager
func (*DNSManager) ContainerCallback ¶ added in v0.2.197
func (dm *DNSManager) ContainerCallback(notif containercollection.PubSubEvent)
func (*DNSManager) ReportEvent ¶ added in v0.2.197
func (dm *DNSManager) ReportEvent(dnsEvent tracerdnstype.Event)
func (*DNSManager) ResolveContainerProcessToCloudServices ¶ added in v0.2.203
func (*DNSManager) ResolveIPAddress ¶
func (dm *DNSManager) ResolveIPAddress(ipAddr string) (string, bool)
type DNSManagerClient ¶
type DNSManagerClient interface { ReportEvent(networkEvent tracerdnstype.Event) ContainerCallback(notif containercollection.PubSubEvent) }
type DNSManagerMock ¶
type DNSManagerMock struct { }
func CreateDNSManagerMock ¶
func CreateDNSManagerMock() *DNSManagerMock
func (*DNSManagerMock) ContainerCallback ¶ added in v0.2.197
func (n *DNSManagerMock) ContainerCallback(notif containercollection.PubSubEvent)
func (*DNSManagerMock) ReportEvent ¶ added in v0.2.197
func (n *DNSManagerMock) ReportEvent(_ tracerdnstype.Event)
func (*DNSManagerMock) ResolveContainerProcessToCloudServices ¶ added in v0.2.203
func (*DNSManagerMock) ResolveIPAddress ¶
func (n *DNSManagerMock) ResolveIPAddress(_ string) (string, bool)
Click to show internal directories.
Click to hide internal directories.