(c *routing.Context)
| 141 | } |
| 142 | |
| 143 | func (controller *Controller) GetResourceHandler(c *routing.Context) error { |
| 144 | resource := controller.runtimeDispatcher.ResourceStatistics() |
| 145 | body, err := json.Marshal(resource) |
| 146 | if err != nil { |
| 147 | return err |
| 148 | } |
| 149 | c.Response.SetBody(body) |
| 150 | return nil |
| 151 | } |
| 152 | |
| 153 | func (controller *Controller) InvalidateRuntime(c *routing.Context) error { |
| 154 | runtimeID := c.Param("runtimeID") |
nothing calls this directly
no test coverage detected