Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { TCPAddress *net.TCPAddr LocalAddress net.Addr Logger logrus.FieldLogger ProvidersConfig *catalog.ProvidersConfig }
Config conveys configurations for the Galadriel Server
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server represents a Galadriel Server.
func (*Server) Run ¶
Run starts the Galadriel Server, initializing the components and listening for incoming requests. It performs the following steps: 1. Loads catalogs from the providers configuration. 2. Creates a JWT issuer based on the key manager from the catalogs. 3. Sets up a JWT validator. 4. Creates the endpoints server, which handles incoming requests. 5. Starts the endpoints server and listens for requests until the context is canceled.
Directories ¶
Path | Synopsis |
---|---|
api
|
|
admin
Package admin provides primitives to interact with the openapi HTTP API.
|
Package admin provides primitives to interact with the openapi HTTP API. |
harvester
Package harvester provides primitives to interact with the openapi HTTP API.
|
Package harvester provides primitives to interact with the openapi HTTP API. |
Click to show internal directories.
Click to hide internal directories.