Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions internal/catalogmetadata/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@ import (
// catalog contents from catalogd.
type Fetcher interface {
// FetchCatalogContents fetches contents from the catalogd HTTP
// server for the catalog provided. It returns an io.ReadCloser
// containing the FBC contents that the caller is expected to close.
// returns an error if any occur.
// server for the catalog provided. It returns a fs.FS containing the FBC contents.
// Each sub directory contains FBC for a single package
// and the directory name is package name.
// Returns an error if any occur.
FetchCatalogContents(ctx context.Context, catalog *catalogd.ClusterCatalog) (fs.FS, error)
}

Expand Down