Skip to content

Commit

Permalink
Add note for Fill
Browse files Browse the repository at this point in the history
  • Loading branch information
jveski committed Nov 7, 2023
1 parent 52029de commit 4fba6bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/reconstitution/cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 4fba6bc

Please sign in to comment.