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

Method SetDNSHosts

tailnet/controllers.go:117–117  ·  view source on GitHub ↗
(hosts map[dnsname.FQDN][]netip.Addr)

Source from the content-addressed store, hash-verified

115// of the tailnet.Conn that we use to configure DNS records.
116type DNSHostsSetter interface {
117 SetDNSHosts(hosts map[dnsname.FQDN][]netip.Addr) error
118}
119
120// UpdatesHandler is anything that expects a stream of workspace update diffs.

Callers 2

NewMethod · 0.65
handleUpdateMethod · 0.65

Implementers 2

fakeDNSSettertailnet/controllers_test.go
Conntailnet/conn.go

Calls

no outgoing calls

Tested by

no test coverage detected