MCPcopy Index your code
hub / github.com/coder/coder / UpdateSubAgentClient

Method UpdateSubAgentClient

agent/agentcontainers/api.go:704–706  ·  view source on GitHub ↗

UpdateSubAgentClient updates the `SubAgentClient` for the API.

(client SubAgentClient)

Source from the content-addressed store, hash-verified

702
703// UpdateSubAgentClient updates the `SubAgentClient` for the API.
704func (api *API) UpdateSubAgentClient(client SubAgentClient) {
705 api.subAgentClient.Store(&client)
706}
707
708// Routes returns the HTTP handler for container-related routes.
709func (api *API) Routes() http.Handler {

Callers 1

createOrUpdateNetworkMethod · 0.80

Calls 1

StoreMethod · 0.45

Tested by

no test coverage detected