statefulToolset is a test ToolSet that implements tools.Statable and tools.Describer so we can assert toolsetStatusFor unwraps and reports each piece correctly.
| 16 | // tools.Describer so we can assert toolsetStatusFor unwraps and reports |
| 17 | // each piece correctly. |
| 18 | type statefulToolset struct { |
| 19 | desc string |
| 20 | info lifecycle.StateInfo |
| 21 | } |
| 22 | |
| 23 | func (s *statefulToolset) Tools(context.Context) ([]tools.Tool, error) { return nil, nil } |
| 24 | func (s *statefulToolset) Describe() string { return s.desc } |
nothing calls this directly
no outgoing calls
no test coverage detected