(c *stdapi.Context)
| 545 | } |
| 546 | |
| 547 | func (s *Server) InstanceKeyroll(c *stdapi.Context) error { |
| 548 | if err := s.hook("InstanceKeyrollValidate", c); err != nil { |
| 549 | return err |
| 550 | } |
| 551 | |
| 552 | err := s.provider(c).WithContext(c.Context()).InstanceKeyroll() |
| 553 | if err != nil { |
| 554 | return err |
| 555 | } |
| 556 | |
| 557 | return c.RenderOK() |
| 558 | } |
| 559 | |
| 560 | func (s *Server) InstanceList(c *stdapi.Context) error { |
| 561 | if err := s.hook("InstanceListValidate", c); err != nil { |
nothing calls this directly
no test coverage detected