Documentation
¶
Index ¶
Constants ¶
View Source
const TokenHeaderName = "X-Golangci-Token"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildCommandRequest ¶
type BuildCommandRequest struct {
ContainerID
build.Request
}
type BuildCommandResponse ¶
type BuildCommandResponse struct {
BuildResponse build.Response
ErrorResponse
}
type ContainerID ¶
type ErrorResponse ¶
type ErrorResponse struct {
Error string `json:",omitempty"`
}
type Orchestrator ¶
type Orchestrator struct {
// contains filtered or unexported fields
}
func NewOrchestrator ¶
func NewOrchestrator(log logutil.Log, token string) *Orchestrator
func (Orchestrator) Run ¶
func (o Orchestrator) Run(port int) error
type SetupContainerRequest ¶
type SetupContainerRequest struct {
TimeoutMs uint
}
type SetupContainerResponse ¶
type SetupContainerResponse struct {
ContainerID
ErrorResponse
}
type ShutdownContainerRequest ¶
type ShutdownContainerRequest struct {
TimeoutMs uint
ContainerID
}
type ShutdownContainerResponse ¶
type ShutdownContainerResponse ErrorResponse
Click to show internal directories.
Click to hide internal directories.