Documentation
¶
Overview ¶
Package serverlib contains the main server loop and the modules used.
Index ¶
- Variables
- func ConfigureCORS(ctx context.Context, srv *server.Server)
- func GetDeviceManagerClient(ctx context.Context, cloudProject string) (*devicemanagerclient.Client, error)
- func GetUfsClient(ctx context.Context, cloudProject string) (ufsclient.Client, error)
- func Modules() []module.Module
- func Options() *server.Options
- func ServerMain(srv *server.Server) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ACLMap rpcacl.Map = map[string]string{ "/fleetconsole.FleetConsole/CleanExit": "fleet-console-access", "/fleetconsole.FleetConsole/CountDevices": "fleet-console-access", "/fleetconsole.FleetConsole/GetDeviceDimensions": "fleet-console-access", "/fleetconsole.FleetConsole/ListDevices": "fleet-console-access", "/fleetconsole.FleetConsole/ListResourceRequests": "fleet-console-access", "/fleetconsole.FleetConsole/Ping": "fleet-console-access", "/fleetconsole.FleetConsole/PingDB": "fleet-console-access", "/fleetconsole.FleetConsole/PingBigQuery": "fleet-console-access", "/fleetconsole.FleetConsole/PingDeviceManager": "fleet-console-access", "/fleetconsole.FleetConsole/PingUfs": "fleet-console-access", "/fleetconsole.FleetConsole/RepopulateCache": "fleet-console-access", "/discovery.Discovery/Describe": rpcacl.All, "/grpc.health.v1.Health/Watch": rpcacl.All, "/grpc.health.v1.Health/Check": rpcacl.All, }
Functions ¶
func GetDeviceManagerClient ¶
func GetUfsClient ¶
func ServerMain ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.