MCPcopy Create free account
hub / github.com/convox/rack / InstanceKeyroll

Method InstanceKeyroll

pkg/api/controllers.go:547–558  ·  view source on GitHub ↗
(c *stdapi.Context)

Source from the content-addressed store, hash-verified

545}
546
547func (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
560func (s *Server) InstanceList(c *stdapi.Context) error {
561 if err := s.hook("InstanceListValidate", c); err != nil {

Callers

nothing calls this directly

Calls 5

hookMethod · 0.95
providerMethod · 0.95
ContextMethod · 0.80
InstanceKeyrollMethod · 0.65
WithContextMethod · 0.65

Tested by

no test coverage detected