SetAgentAPI sets the agent API client used to forward requests to coderd.
(api agentproto.DRPCAgentClient28)
| 124 | // SetAgentAPI sets the agent API client used to forward requests |
| 125 | // to coderd. |
| 126 | func (s *Server) SetAgentAPI(api agentproto.DRPCAgentClient28) { |
| 127 | s.service.SetAgentAPI(api) |
| 128 | } |
| 129 | |
| 130 | // ClearAgentAPI clears the agent API client. |
| 131 | func (s *Server) ClearAgentAPI() { |
no outgoing calls