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

Method SetAddresses

tailnet/conn.go:498–502  ·  view source on GitHub ↗
(ips []netip.Prefix)

Source from the content-addressed store, hash-verified

496}
497
498func (c *Conn) SetAddresses(ips []netip.Prefix) error {
499 c.configMaps.setAddresses(ips)
500 c.nodeUpdater.setAddresses(ips)
501 return nil
502}
503
504// SetDNSHosts replaces the map of DNS hosts for the connection.
505func (c *Conn) SetDNSHosts(hosts map[dnsname.FQDN][]netip.Addr) error {

Callers 1

createOrUpdateNetworkMethod · 0.45

Implementers 1

fakeConnvpn/tunnel_internal_test.go

Calls 1

setAddressesMethod · 0.45

Tested by

no test coverage detected