package thin import ( "context" "amadan.net/oficina/equipo/internal/runner" "amadan.net/oficina/equipo/internal/wire" ) // fakeMac is the test build's fake Mac worker; nil in every other build // (fakeworker_testbuild.go sets it), so EQUIPO_FAKE_PLATFORM is refused. type fakeMac interface { marker() string platform(spec string) (wire.Platform, bool) // probe is the fixture capability report, for a Mac whose checks // sandbox is sandbox (seatbelt: probe P2 denied). probe(sandbox string) func(context.Context) wire.Capabilities gate(bin, sandbox string) GateRunner // setup is the whole fake Mac worker for c and o: its report and // gate, its credential operations and its Engineering pieces (Mac // runners slice F, task 16). It may change c as a Mac's would be. setup(ctx context.Context, c *runner.Config, o Options) (workerSetup, error) } var fake fakeMac