package
0.0.0-20220827054936-760a2b5af50e
Repository: https://github.com/sarun87/k8snetlook.git
Documentation: pkg.go.dev

# Functions

GetHostGatewayIP returns the IP of the default gw as listed in the route list.
PMTUProbeToDestIP runs ICMP pings to destination with varying payload size and returns the highest MTU that works.
RunDNSLookupUsingCustomResolver sends a dns lookup for hostFQDN to DNS server specified by nameserver.
SendRecvHTTPMessage sends out a HTTP GET request to the url specified add token to X-Auth-Token as a Bearer token if token is specified Return body from GET response as part of body *[]byte.
SendRecvICMPMessage checks if icmp ping is successful.