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

Struct fakeEngineConfigurable

tailnet/configmaps_internal_test.go:1300–1310  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1298var _ engineConfigurable = &fakeEngineConfigurable{}
1299
1300type fakeEngineConfigurable struct {
1301 setNetworkMap chan *netmap.NetworkMap
1302 reconfig chan reconfigCall
1303 filter chan *filter.Filter
1304 setDERPMap chan *tailcfg.DERPMap
1305
1306 // To fake these fields the test should read from status, do stuff to the
1307 // StatusBuilder, then write to statusDone
1308 status chan *ipnstate.StatusBuilder
1309 statusDone chan struct{}
1310}
1311
1312func (f fakeEngineConfigurable) UpdateStatus(status *ipnstate.StatusBuilder) {
1313 f.status <- status

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected