Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Search ¶
type Search struct {
// contains filtered or unexported fields
}
Search is the implementation for the searching and caching of image URLs.
func (*Search) LatestImage ¶
func (s *Search) LatestImage(ctx context.Context, imageURL string, opts *api.Options) (*api.ImageTag, error)
LatestImage will get the latestImage image given an image URL and options. If not found in the cache, or is too old, then will do a fresh lookup and commit to the cache.
Click to show internal directories.
Click to hide internal directories.