Documentation
¶
Overview ¶
Package containerruntime resolves the local container runtime (docker or podman) and executes its CLI. Shared by pkg/controlplane and pkg/discovery.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Runner ¶
type Runner interface {
Run(ctx context.Context, args ...string) ([]byte, error)
Stream(ctx context.Context, args ...string) (<-chan string, error)
}
Runner executes runtime subcommands: Run returns stdout; Stream emits lines.
func NewExecRunner ¶
NewExecRunner returns a Runner invoking the kind's CLI binary.
Click to show internal directories.
Click to hide internal directories.