Documentation ¶
Overview ¶
Package api defines the interface to a build service
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildRequest ¶
type BuildRequest struct { K6Constrains string `json:"k6:omitempty"` Dependencies []k6build.Dependency `json:"dependencies,omitempty"` Platform string `json:"platformomitempty"` }
BuildRequest defines a request to the build service
func (BuildRequest) String ¶
func (r BuildRequest) String() string
String returns a text serialization of the BuildRequest
type BuildResponse ¶
type BuildResponse struct { Error string `json:"error:omitempty"` Artifact k6build.Artifact `json:"artifact:omitempty"` }
BuildResponse defines the response for a BuildRequest
Click to show internal directories.
Click to hide internal directories.