Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultDaemon ¶
type DefaultDaemon struct {
Contexts sync.Map
AuthToken string
// contains filtered or unexported fields
}
func NewDefaultDaemon ¶
func NewDefaultDaemon() *DefaultDaemon
NewDefaultDaemon loads the daemon's config and, if remote dispatch is enabled, prepares a Dispatcher. Failures to construct the dispatcher are logged but non-fatal — the daemon can still run as a local cache while the operator fixes the remote config.
func (*DefaultDaemon) Inflight ¶
func (d *DefaultDaemon) Inflight() int32
Inflight returns the current count of compile requests being handled. Exposed for the metrics observable gauge.
func (*DefaultDaemon) Run ¶
func (d *DefaultDaemon) Run(force bool) error
Directories
¶
| Path | Synopsis |
|---|---|
|
Package client is the side of the daemon protocol that runs inside the short-lived `hpcc wrap` / symlink invocation.
|
Package client is the side of the daemon protocol that runs inside the short-lived `hpcc wrap` / symlink invocation. |
|
Package dispatch implements the daemon's remote-compile path: read the cached JWT written by `hpcc auth login`, authenticate against the scheduler, route each compile to a worker, and dial the worker directly to invoke Compile.
|
Package dispatch implements the daemon's remote-compile path: read the cached JWT written by `hpcc auth login`, authenticate against the scheduler, route each compile to a worker, and dial the worker directly to invoke Compile. |
Click to show internal directories.
Click to hide internal directories.