Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is reading catalog metadata
func (*Client) GetPackage ¶ added in v0.13.0
func (c *Client) GetPackage(ctx context.Context, catalog *catalogd.ClusterCatalog, pkgName string) (*declcfg.DeclarativeConfig, error)
type Fetcher ¶ added in v0.6.0
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. FetchCatalogContents(ctx context.Context, catalog *catalogd.ClusterCatalog) (fs.FS, error) }
Fetcher is an interface to facilitate fetching catalog contents from catalogd.
Click to show internal directories.
Click to hide internal directories.