Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct {
// contains filtered or unexported fields
}
func New ¶
func New(artifactory *artifactory.Artifactory) *Application
func (*Application) Start ¶
func (application *Application) Start(port int) error
type CreateBuildJobRequest ¶
type CreateBuildJobRequest struct {
CommitHash string `json:"commit_hash"`
Flags []firmware.BuildFlag `json:"flags"`
}
func (*CreateBuildJobRequest) Validate ¶
func (req *CreateBuildJobRequest) Validate() []error
type ErrorResponse ¶
type ErrorResponse struct {
Error string `json:"error"`
}
func NewErrorResponse ¶
func NewErrorResponse(message string) *ErrorResponse
type GetBuildStatusRequest ¶
type GetBuildStatusRequest struct {
CommitHash string `json:"commit_hash"`
Flags []firmware.BuildFlag `json:"flags"`
}
func (*GetBuildStatusRequest) Validate ¶
func (req *GetBuildStatusRequest) Validate() []error
type ValidationErrorResponse ¶
type ValidationErrorResponse struct {
Error string `json:"error"`
ValidationErrors []string `json:"validation_errors"`
}
func NewValidationErrorResponse ¶
func NewValidationErrorResponse(message string, errs []error) *ValidationErrorResponse
Click to show internal directories.
Click to hide internal directories.