MCPcopy
hub / github.com/cilium/cilium / DefaultEtcdDbgDialer

Struct DefaultEtcdDbgDialer

pkg/kvstore/etcd_debug.go:45–45  ·  view source on GitHub ↗

DefaultEtcdDbgDialer provides a default implementation of the EtcdDbgDialer interface.

Source from the content-addressed store, hash-verified

43
44// DefaultEtcdDbgDialer provides a default implementation of the EtcdDbgDialer interface.
45type DefaultEtcdDbgDialer struct{}
46
47func (DefaultEtcdDbgDialer) LookupIP(ctx context.Context, hostname string) ([]net.IP, error) {
48 return net.DefaultResolver.LookupIP(ctx, "ip", hostname)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected