github.com/jiasir/docker@v1.3.3-0.20170609024000-252e610103e7/hack/integration-cli-on-swarm/agent/types/types.go (about)

     1  package types
     2  
     3  // Args is the type for funker args
     4  type Args struct {
     5  	// ChunkID is an unique number of the chunk
     6  	ChunkID int `json:"chunk_id"`
     7  	// Tests is the set of the strings that are passed as `-check.f` filters
     8  	Tests []string `json:"tests"`
     9  }
    10  
    11  // Result is the type for funker result
    12  type Result struct {
    13  	// ChunkID corresponds to Args.ChunkID
    14  	ChunkID int `json:"chunk_id"`
    15  	// Code is the exit code
    16  	Code   int    `json:"code"`
    17  	RawLog string `json:"raw_log"`
    18  }