Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Valid = []Runtime{Docker, ContainerD}
Valid is the list of valid runtimes.
Functions ¶
Types ¶
type Runner ¶
type Runner interface { // Run runs a container with the given working directory and entrypoint, // returning the container ID. Run(ctx context.Context, workingDir, cmd string) (string, error) }
Runner is the interface implemented by container runtimes.
Click to show internal directories.
Click to hide internal directories.