AsJobReaper returns a context with an actor that has permissions required for reaper.Detector to function.
(ctx context.Context)
| 764 | // AsJobReaper returns a context with an actor that has permissions required |
| 765 | // for reaper.Detector to function. |
| 766 | func AsJobReaper(ctx context.Context) context.Context { |
| 767 | return As(ctx, subjectJobReaper) |
| 768 | } |
| 769 | |
| 770 | // AsKeyRotator returns a context with an actor that has permissions required for rotating crypto keys. |
| 771 | func AsKeyRotator(ctx context.Context) context.Context { |