Filter returns a map of secrets based on a [Pattern]. Secrets returned will have both [Secret.SetMetadata] and [Secret.Unmarshal] called; in that order. Any error produced by any of them would result in an early return with a nil secrets map.
(ctx context.Context, pattern Pattern)
| 97 | // called; in that order. Any error produced by any of them would result in |
| 98 | // an early return with a nil secrets map. |
| 99 | Filter(ctx context.Context, pattern Pattern) (map[ID]Secret, error) |
| 100 | } |
| 101 | |
| 102 | type Factory[T Secret] func(context.Context, ID) T |
no outgoing calls