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

Function newFakeEngineConfigurable

tailnet/configmaps_internal_test.go:1317–1326  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1315}
1316
1317func newFakeEngineConfigurable() *fakeEngineConfigurable {
1318 return &fakeEngineConfigurable{
1319 setNetworkMap: make(chan *netmap.NetworkMap),
1320 reconfig: make(chan reconfigCall),
1321 filter: make(chan *filter.Filter),
1322 setDERPMap: make(chan *tailcfg.DERPMap),
1323 status: make(chan *ipnstate.StatusBuilder),
1324 statusDone: make(chan struct{}),
1325 }
1326}
1327
1328func (f fakeEngineConfigurable) SetNetworkMap(networkMap *netmap.NetworkMap) {
1329 f.setNetworkMap <- networkMap

Calls

no outgoing calls

Tested by

no test coverage detected