package
0.0.0-20250403150915-169f9a4308f2
Repository: https://github.com/osbuild/osbuild-composer.git
Documentation: pkg.go.dev
# Functions
Convert a ServiceErrorCode into an Error as defined in openapi.v2.yml serviceError is optional, prevents multiple find() calls.
GetSwagger returns the Swagger specification corresponding to the generated code in this file.
Make an echo compatible error out of a service error.
Convert an echo error into an AOC compliant one so we send a correct json error response.
echo.HTTPError has a message interface{} field, which can be used to include the ServiceErrorCode.
Constructs a synthetic filesystem for resolving external references when loading openapi specifications.
RegisterHandlers adds each server route to the EchoRouter.
Registers handlers, and prepends BaseURL to the paths, so that the paths can be served under a prefix.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
internal errors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Errors contained within this file.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
default basepath, can be overwritten.
# Structs
Error defines model for Error.
GetJobResponse defines model for GetJobResponse.
ObjectReference defines model for ObjectReference.
PostWorkersRequest defines model for PostWorkersRequest.
PostWorkersResponse defines model for PostWorkersResponse.
RequestJobRequest defines model for RequestJobRequest.
RequestJobResponse defines model for RequestJobResponse.
ServerInterfaceWrapper converts echo contexts to parameters.
StatusResponse defines model for StatusResponse.
UpdateJobRequest defines model for UpdateJobRequest.
# Interfaces
This is a simple interface which specifies echo.Route addition functions which are present on both echo.Echo and echo.Group, since we want to allow using either of them for path registration.
ServerInterface represents all server handlers.
# Type aliases
PostWorkersJSONRequestBody defines body for PostWorkers for application/json ContentType.
RequestJobJSONRequestBody defines body for RequestJob for application/json ContentType.
No description provided by the author
UpdateJobJSONRequestBody defines body for UpdateJob for application/json ContentType.
UpdateJobResponse defines model for UpdateJobResponse.