Documentation ¶
Index ¶
Constants ¶
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Daemon ¶
type Daemon struct {
// contains filtered or unexported fields
}
func New ¶
New creates a new Daemon and attaches the following handlers:
* GET /list: sends a `list` request to the daemon. list all test plans and test cases. * GET /describe: sends a `describe` request to the daemon. describes a test plan or test case. * POST /build: sends a `build` request to the daemon. builds a test plan. * POST /run: sends a `run` request to the daemon. (builds and) runs test case with name `<testplan>/<testcase>`. A type-safe client for this server can be found in the `pkg/client` package.
Click to show internal directories.
Click to hide internal directories.