Documentation ¶
Overview ¶
Package containerruntime defines an interface abstracting container runtime interactions. A fake implementation is included to allow faking said interactions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerRuntime ¶
type ContainerRuntime interface { DeleteContainerIfExists( ctx context.Context, containerID string, ) error // RunContainer creates, starts, and waits on a container. ExitCode &/Or an error will be returned RunContainer( ctx context.Context, req *model.ContainerCall, rootCallID string, eventPublisher pubsub.EventPublisher, stdout io.WriteCloser, stderr io.WriteCloser, ) (*int64, error) }
ContainerRuntime defines the interface container runtimes must implement to be supported by
Directories ¶
Path | Synopsis |
---|---|
hostruntime/internal/fakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
internal/fakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
Click to show internal directories.
Click to hide internal directories.