ToolHostService is the subset of HostService needed by tool execution.
| 14 | |
| 15 | // ToolHostService is the subset of HostService needed by tool execution. |
| 16 | type ToolHostService interface { |
| 17 | ListAllContainers(labels container.ContainerLabels) ([]container.Container, []error) |
| 18 | FindContainer(host string, id string, labels container.ContainerLabels) (*container_support.ContainerService, error) |
| 19 | Hosts() []container.Host |
| 20 | } |
| 21 | |
| 22 | // Tool names. Declared as consts so dispatch and AvailableTools stay in sync |
| 23 | // — a mismatch here would otherwise surface only as a runtime "unknown tool". |
no outgoing calls
no test coverage detected