Documentation ¶ Index ¶ type Found type ImageWalker func (w *ImageWalker) Walk(ctx context.Context, req string) (int, error) type OnFound Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Found ¶ type Found struct { Image images.Image Req string // The raw request string. name, short ID, or long ID. MatchIndex int // Begins with 0, up to MatchCount - 1. MatchCount int // 1 on exact match. > 1 on ambiguous match. Never be <= 0. } type ImageWalker ¶ type ImageWalker struct { Client *containerd.Client OnFound OnFound } func (*ImageWalker) Walk ¶ func (w *ImageWalker) Walk(ctx context.Context, req string) (int, error) Walk walks images and calls w.OnFound . Req is name, short ID, or long ID. Returns the number of the found entries. type OnFound ¶ type OnFound func(ctx context.Context, found Found) error Source Files ¶ View all Source files imagewalker.go Click to show internal directories. Click to hide internal directories.