container

package
v0.0.0-...-5855316 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2021 License: GPL-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildImage

func BuildImage(cli *client.Client, imageName string) error

BuildImage creates the docker image to run the test programs

func Compile

func Compile(ctx context.Context, cli *client.Client, image string, lang string,
	path string) (int, string)

Compile compiles the program and generates the executable

func Execute

func Execute(ctx context.Context, cli *client.Client, image string, lang string,
	path string, count int, time int, mem int64) error

Execute executes the test program against gives test cases

Types

This section is empty.

Jump to

Keyboard shortcuts

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