- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for blockChannel (0.48 sec)
-
pkg/envoy/agent_test.go
type TestProxy struct { run func(<-chan error) error cleanup func() blockChannel chan any } func (tp TestProxy) Run(stop <-chan error) error { if tp.run == nil { return nil } return tp.run(stop) } func (tp TestProxy) Drain(bool) error { tp.blockChannel <- "unblock" return nil } func (tp TestProxy) Cleanup() { if tp.cleanup != nil { tp.cleanup() }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Oct 19 20:22:09 UTC 2023 - 4.3K bytes - Viewed (0)