Documentation
¶
Overview ¶
Package testtrace transports canonical test-run events over a private endpoint installed by the external process owner. It owns only instrumentation transport; process containment and correlation semantics remain independent.
Index ¶
Constants ¶
const ( EventFDEnvironment = "WINDSHARE_TEST_EVENT_FD" EventHandleEnvironment = "WINDSHARE_TEST_EVENT_HANDLE" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventSink ¶
type EventSink struct {
// contains filtered or unexported fields
}
EventSink binds one authenticated endpoint to one immutable operation. The identity check is intentionally repeated for WriteEvent: a Recorder supplies data, but possession of a Recorder must not bypass endpoint authentication.
func OpenEventSink ¶
OpenEventSink adopts the private inherited event endpoint installed by the process owner. It fails closed when called outside an owned child.