Documentation
¶
Index ¶
Constants ¶
View Source
const ( WaitFlagName = "wait" NoContainersFlagName = "no-containers" )
Names of the CLI flags defined and used in this package.
Variables ¶
This section is empty.
Functions ¶
func Containerizer ¶
func Containerizer(ctx context.Context, cmd *cobra.Command) containerizer.Containerizer
Containerizer returns a TurtleFinder containerizer that autodetects the available container engines. The containerizer is set up to wait a CLI flag specified time for synchronizing to the workload of newly found container engines; please note that this wait happens when discovering containers, not when creating the containerizer itself.
Types ¶
type NullContainerizer ¶
type NullContainerizer struct{}
func (*NullContainerizer) Close ¶
func (n *NullContainerizer) Close()
func (*NullContainerizer) Containers ¶
func (n *NullContainerizer) Containers(ctx context.Context, procs model.ProcessTable, pidmap model.PIDMapper) []*model.Container
Click to show internal directories.
Click to hide internal directories.