Documentation
¶
Overview ¶
Package server owns HTTP/gRPC serving, service registration, and listener lifecycle.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// Listen defaults to net.Listen. Embedders can supply already-bound listeners.
Listen func(network, address string) (net.Listener, error)
RPCAddress string
HTTPPort string
BasicAuth []*config.BasicCredential
OidcAuth *config.OidcAuth
TaskAccess string
Tasks tesrpc.TaskServiceServer
Events events.EventServiceServer
Nodes scheduler.SchedulerServiceServer
DisableHTTPCache bool
MaxResponseBytes int
Log *logger.Logger
Plugins *config.Plugins
}
Server represents a Funnel server. The server handles RPC traffic via gRPC, HTTP traffic for the TES API, and also serves the web dashboard.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package gateway contains the HTTP gateway's marshaling and response helpers.
|
Package gateway contains the HTTP gateway's marshaling and response helpers. |
|
Package middleware provides HTTP and gRPC middleware for the server.
|
Package middleware provides HTTP and gRPC middleware for the server. |
|
Package taskservice implements TES task operations over readers, events, and compute backends.
|
Package taskservice implements TES task operations over readers, events, and compute backends. |
Click to show internal directories.
Click to hide internal directories.