mirror of
https://github.com/genuinetools/reg.git
synced 2024-09-19 08:41:02 -04:00
8e5eba8735
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
18 lines
475 B
Go
18 lines
475 B
Go
package types
|
|
|
|
// Args is the type for funker args
|
|
type Args struct {
|
|
// ChunkID is an unique number of the chunk
|
|
ChunkID int `json:"chunk_id"`
|
|
// Tests is the set of the strings that are passed as `-check.f` filters
|
|
Tests []string `json:"tests"`
|
|
}
|
|
|
|
// Result is the type for funker result
|
|
type Result struct {
|
|
// ChunkID corresponds to Args.ChunkID
|
|
ChunkID int `json:"chunk_id"`
|
|
// Code is the exit code
|
|
Code int `json:"code"`
|
|
RawLog string `json:"raw_log"`
|
|
}
|