MCPcopy Index your code
hub / github.com/coder/coder / newFakeDNSSetter

Function newFakeDNSSetter

tailnet/controllers_test.go:1505–1511  ·  view source on GitHub ↗
(ctx context.Context, t testing.TB)

Source from the content-addressed store, hash-verified

1503}
1504
1505func newFakeDNSSetter(ctx context.Context, t testing.TB) *fakeDNSSetter {
1506 return &fakeDNSSetter{
1507 ctx: ctx,
1508 t: t,
1509 calls: make(chan *setDNSCall),
1510 }
1511}
1512
1513func (f *fakeDNSSetter) SetDNSHosts(hosts map[dnsname.FQDN][]netip.Addr) error {
1514 f.t.Helper()

Calls

no outgoing calls

Tested by

no test coverage detected