Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerWalker ¶
type ContainerWalker struct { Client *containerd.Client OnFound OnFound }
func (*ContainerWalker) Walk ¶
Walk walks containers and calls w.OnFound . Req is name, short ID, or long ID. Returns the number of the found entries.
func (*ContainerWalker) WalkAll ¶ added in v1.2.1
WalkAll calls `Walk` for each req in `reqs`.
It can be used when the matchCount is not important (e.g., only care if there is any error or if matchCount == 0 (not found error) when walking all reqs). If `forceAll`, it calls `Walk` on every req and return all errors joined by `\n`. If not `forceAll`, it returns the first error encountered while calling `Walk`.
Click to show internal directories.
Click to hide internal directories.