(c *stdapi.Context)
| 52 | } |
| 53 | |
| 54 | func (s *Server) AppDelete(c *stdapi.Context) error { |
| 55 | if err := s.hook("AppDeleteValidate", c); err != nil { |
| 56 | return err |
| 57 | } |
| 58 | |
| 59 | name := c.Var("name") |
| 60 | |
| 61 | err := s.provider(c).WithContext(c.Context()).AppDelete(name) |
| 62 | if err != nil { |
| 63 | return err |
| 64 | } |
| 65 | |
| 66 | return c.RenderOK() |
| 67 | } |
| 68 | |
| 69 | func (s *Server) AppGet(c *stdapi.Context) error { |
| 70 | if err := s.hook("AppGetValidate", c); err != nil { |
nothing calls this directly
no test coverage detected