MCPcopy
hub / github.com/dapr/dapr / Proxy

Struct Proxy

tests/integration/framework/process/scheduler/proxy/proxy.go:49–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47)
48
49type Proxy struct {
50 schedulerv1pb.UnimplementedSchedulerServer
51
52 sched *scheduler.Scheduler
53
54 ports *ports.Ports
55 port int
56 listener net.Listener
57 grpcSrv *grpc.Server
58 upstream *grpc.ClientConn
59 client schedulerv1pb.SchedulerClient
60
61 runOnce sync.Once
62 done chan struct{}
63 serveErr chan error
64
65 mu sync.Mutex
66 armed map[string]armConfig
67 failures atomic.Int32
68}
69
70// armConfig captures the per-method failure injection state.
71type armConfig struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected