Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
autodeb-server
autodeb-server is the main server
|
autodeb-server is the main server |
autodeb-server/internal/cli
Package cli is responsible for parsing command line arguments and creating a server config.
|
Package cli is responsible for parsing command line arguments and creating a server config. |
autodeb-worker
autodeb-worker retrieves jobs from the main server and executes them
|
autodeb-worker retrieves jobs from the main server and executes them |
autodeb-worker/internal/cli
Package cli is responsible for parsing command line arguments and creating a worker config.
|
Package cli is responsible for parsing command line arguments and creating a worker config. |
internal
|
|
apiclient
Package apiclient implements a client for the autodeb-server REST API
|
Package apiclient implements a client for the autodeb-server REST API |
errorchecks
Package errorchecks implements functions for inspecting error meanings.
|
Package errorchecks implements functions for inspecting error meanings. |
errors
Package errors exposes a subset of the github.com/pkg/errors API.
|
Package errors exposes a subset of the github.com/pkg/errors API. |
exec
Package exec contains methods that call os commands
|
Package exec contains methods that call os commands |
filesystem
Package filesystem provides an abstraction for a file system.
|
Package filesystem provides an abstraction for a file system. |
http
Package http is responsible for creating an HTTP server
|
Package http is responsible for creating an HTTP server |
http/middleware
Package middleware contains general-purpose HTTP handlers
|
Package middleware contains general-purpose HTTP handlers |
http/sessions
Package sessions is wrapper around github.com/gorilla/sessions.
|
Package sessions is wrapper around github.com/gorilla/sessions. |
log
Package log provides a logger.
|
Package log provides a logger. |
log/http
Package http implements logging primitives for the http package
|
Package http implements logging primitives for the http package |
pgp/pgptest
Package pgptest contains an armored PGP key to be used for testing.
|
Package pgptest contains an armored PGP key to be used for testing. |
server
Package server contains the core of the autodeb server.
|
Package server contains the core of the autodeb server. |
server/appctx
Package appctx implements the application's context.
|
Package appctx implements the application's context. |
server/auth
Package auth contains implementations of authentification backends
|
Package auth contains implementations of authentification backends |
server/auth/disabled
Package disabled implements a disabled authentification backend.
|
Package disabled implements a disabled authentification backend. |
server/auth/oauth
Package oauth implements an authentification backend based on OAuth.
|
Package oauth implements an authentification backend based on OAuth. |
server/database
Package database is responsible for all database logic.
|
Package database is responsible for all database logic. |
server/handlers
Package router provides the main router.
|
Package router provides the main router. |
server/handlers/webpages
Package webpages contains handlers that serve autodeb-server's web pages
|
Package webpages contains handlers that serve autodeb-server's web pages |
server/models
Package models defines all models used within the application.
|
Package models defines all models used within the application. |
server/services
Package services implements the bulk of the application logic.
|
Package services implements the bulk of the application logic. |
udd
Package udd is a client for the API at udd.debian.org
|
Package udd is a client for the API at udd.debian.org |
worker
Package worker contains the core of the autodeb worker.
|
Package worker contains the core of the autodeb worker. |
Click to show internal directories.
Click to hide internal directories.