Documentation
¶
Overview ¶
Quincy is a CCDC-style competition scoring engine. It consists of two components: this API server, which manages scoring data, configuration, and user credentials; and a distributed check agent that polls the API for work, runs service checks, and posts results back.
@title Quincy API @version 1.0 @description CCDC-style competition scoring engine. Manages scoring data and serves check assignments to agents.
@BasePath /api/v1
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DumpConfig ¶
DumpConfig writes the default YAML config to disk, or prints it to stdout.
func Start ¶
func Start(cfg *config.APIConfigSpec) error
Start is the entry point for the API server. It validates the config, initializes all subsystems, and serves HTTP.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package config handles the delivery of the config to the rest of the API.
|
Package config handles the delivery of the config to the rest of the API. |
|
Package openapi Code generated by swaggo/swag.
|
Package openapi Code generated by swaggo/swag. |
|
Package routes contains all of the Gin HTTP API logic.
|
Package routes contains all of the Gin HTTP API logic. |
|
graphs
Package graphs contains routes that generate html/js graphs that can be embedded into other pages.
|
Package graphs contains routes that generate html/js graphs that can be embedded into other pages. |
|
misc
Package misc contains routes that don't belong in other categories.
|
Package misc contains routes that don't belong in other categories. |
|
scoring
Package scoring contains all the routes involving scorechecks.
|
Package scoring contains all the routes involving scorechecks. |
|
users
Package users contains all the API routes involving scoring users.
|
Package users contains all the API routes involving scoring users. |
|
Package services contains the logic for templating and serving checks to agents.
|
Package services contains the logic for templating and serving checks to agents. |
|
postgres
Package postgres contains all PostgreSQL databse connection logic and queries.
|
Package postgres contains all PostgreSQL databse connection logic and queries. |
|
postgres/conn
Package conn handles the initialization and distribution of the database connection object.
|
Package conn handles the initialization and distribution of the database connection object. |
|
postgres/graphs
Package graphs contains database functions for generating visualizations.
|
Package graphs contains database functions for generating visualizations. |
|
postgres/users
Package users contains the DB functions and all SQL queries involving scoring users.
|
Package users contains the DB functions and all SQL queries involving scoring users. |