Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DockerRuntime ¶
type DockerRuntime struct {
// contains filtered or unexported fields
}
DockerRuntime implements runtime.Runtime using the moby Docker client.
func New ¶
func New(_ context.Context) (*DockerRuntime, error)
New creates a DockerRuntime using environment-configured Docker connection.
func (*DockerRuntime) Close ¶
func (r *DockerRuntime) Close() error
Close releases the underlying Docker client.
func (*DockerRuntime) Run ¶
func (r *DockerRuntime) Run(ctx context.Context, opts runtime.RunOptions) (runtime.Container, error)
Run pulls the image, creates, and starts a container with the given options.
Click to show internal directories.
Click to hide internal directories.