Documentation
¶
Overview ¶
Package server implements the Epoch HTTP server.
It serves two APIs:
- /v2/ — OCI Distribution-shaped push/pull protocol (manifests + blob streaming via object storage)
- /api/ — Control plane API backed by MySQL
Static frontend files are embedded and served at /.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SSOConfig ¶
type SSOConfig struct {
Provider string
ClientID string
ClientSecret string //nolint:gosec // OAuth configuration schema field name
RedirectURI string
AuthorizeURL string
TokenURL string
UserInfoURL string
LogoutURL string
Scopes string
HostedDomain string
CookieSecret []byte
}
SSOConfig holds optional UI auth settings loaded from the environment.
func LoadSSOConfig ¶
LoadSSOConfig reads optional UI auth configuration from the environment.
Click to show internal directories.
Click to hide internal directories.