Versions in this module Expand all Collapse all v1 v1.0.7 Jan 12, 2026 Changes in this version + const DockerHubSourceName + const HuggingFaceSourceName + func NewHTTPClient() *http.Client + type AggregatedClient struct + func NewAggregatedClient(source SourceType, errOut io.Writer) *AggregatedClient + func (c *AggregatedClient) Search(ctx context.Context, opts SearchOptions) ([]SearchResult, error) + type DockerHubClient struct + func NewDockerHubClient() *DockerHubClient + func (c *DockerHubClient) Name() string + func (c *DockerHubClient) Search(ctx context.Context, opts SearchOptions) ([]SearchResult, error) + type HuggingFaceClient struct + func NewHuggingFaceClient() *HuggingFaceClient + func (c *HuggingFaceClient) Name() string + func (c *HuggingFaceClient) Search(ctx context.Context, opts SearchOptions) ([]SearchResult, error) + type SearchClient interface + Name func() string + Search func(ctx context.Context, opts SearchOptions) ([]SearchResult, error) + type SearchOptions struct + Limit int + Query string + type SearchResult struct + Backend string + Description string + Downloads int64 + Name string + Official bool + Source string + Stars int64 + UpdatedAt string + type SourceType string + const SourceAll + const SourceDockerHub + const SourceHuggingFace + func ParseSource(s string) (SourceType, error)