refSecret fetches a single secret from a SecretManager.
| 820 | |
| 821 | // refSecret fetches a single secret from a SecretManager. |
| 822 | type refSecret struct { |
| 823 | ref string |
| 824 | manager SecretManager // manager is expected to be not nil. |
| 825 | } |
| 826 | |
| 827 | func (s *refSecret) Fetch(ctx context.Context) (string, error) { |
| 828 | return s.manager.Fetch(ctx, s.ref) |
nothing calls this directly
no outgoing calls
no test coverage detected