diff --git a/internal/reconstitution/cache.go b/internal/reconstitution/cache.go index fcc7b003..1f4a1e20 100644 --- a/internal/reconstitution/cache.go +++ b/internal/reconstitution/cache.go @@ -60,6 +60,7 @@ func (c *cache) HasSynthesis(ctx context.Context, comp types.NamespacedName, syn return exists } +// Fill populates the cache with all (or no) resources that are part of the given synthesis. func (c *cache) Fill(ctx context.Context, comp types.NamespacedName, synthesis *apiv1.Synthesis, items []apiv1.ResourceSlice) ([]*Request, error) { logger := logr.FromContextOrDiscard(ctx)