api

package
v0.0.0-...-d841fba Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2017 License: AGPL-3.0 Imports: 2 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RunRequest

type RunRequest struct {
	BinUri    string        `json:"bin_uri"`    // location of binary .tar
	RootfsUri string        `json:"rootfs_uri"` // location of rootfs .tar
	Timeout   time.Duration `json:"timeout"`    // cpu time limit
	MemLimit  int64         `json:"mem_limit"`  // memory limit in bytes
	Command   []string      `json:"command"`    // startup command
	Stdin     string        `json:"stdin"`      // stdin
}

type RunResponse

type RunResponse struct {
	RuntimeStats *cgroups.Stats `json:"runtime_stats"`
	// stdout is graded, stderr is not
	Stdout string `"json:stdout"`
	Stderr string `"json:stderr"`
}

Jump to

Keyboard shortcuts

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