turtles

package
v0.42.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 20, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL