kubernetes/test/images/agnhost/no-snat-test/main.go

var CmdNoSnatTest

var port

func init() {}

type masqTester

func main(cmd *cobra.Command, args []string) {}

func (m *masqTester) Run() error {}

type handler

func joinErrors(errs []error, sep string) string {}

// Builds checknosnat handler, using pod and node ip of current location
func mkChecknosnat(pip string, nip string) handler {}

// Writes the req.RemoteAddr into the response, req.RemoteAddr is the address of the incoming connection
func whoami(w http.ResponseWriter, req *http.Request) {}

// Queries ip/whoami and compares response to pip, uses nip to differentiate SNAT from other potential failure modes
func check(ip string, pip string, nip string) error {}